/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

 /* Elements */

mark {
  padding-left: 20px;
  padding-right: 20px;
}

/* projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.projects-grid--featured {
    margin-block-end: 0;
}

.projects-voorgaand {
    margin-top: 64px !important;
}

.projects-voorgaand__titel {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    position: relative;
}

.project-card__image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.project-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.project-card__amounts {
    font-size: 13px;
    color: #555;
    text-align: center;
}

.project-card__amounts strong {
    color: #012561;
    font-weight: 700;
}

.project-card__progress-wrap {
    background: #e0e0e0;
    border-radius: 99px;
    height: 26px;
    overflow: hidden;
    position: relative;
    margin-bottom:30px;
}

.project-card__progress-bar {
    height: 100%;
    border-radius: 99px;
    background: #3AABDB;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    min-width: 44px;
    box-sizing: border-box;
}

.project-card__progress-label {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.project-card__title {
    font-size: 17px;
    font-weight: 800;
    color: #012561;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.project-card__title a {
    color: inherit;
    text-decoration: none;
}

.project-card__title a:hover {
    text-decoration: underline;
}

.project-card__desc-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card__desc {
    font-size: 14px;
    color: #444;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}

.project-card__btn {
    display: block;
    background: #7bc001;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.project-card__btn:hover {
    background: #6aaa35;
    color: #fff;
}

/* --- Inactive card --- */
.project-card--inactive {
    opacity: 0.6;
    filter: grayscale(60%);
}

.project-card--inactive .project-card__btn {
    background: #aaa;
}

.project-card--inactive .project-card__btn:hover {
    background: #888;
}

.project-card--inactive a {
    cursor: pointer;
}

/* --- Featured card --- */

.project-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    align-items: stretch;
}

.project-card--featured .project-card__image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 12px 0 0 12px;
    object-fit: cover;
    display: block;
}

.project-card--featured .project-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.project-card--featured .project-card__title {
    font-size: 22px;
}

.project-card--featured .project-card__desc {
    font-size: 16px;
    -webkit-line-clamp: 4;
    min-height: 84px;
}

.project-card--featured .project-card__btn {
    max-width: 100%;
    margin-top: auto;
    border-radius: 99px;
}

/* --- Progress circle (featured card only) --- */

.project-card--featured .progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#3AABDB var(--pct), #e0e0e0 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 4px auto 12px;
    flex-shrink: 0;
}

.project-card--featured .progress-circle::after {
    content: '';
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fff;
}

.project-card--featured .progress-circle__label {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 700;
    color: #012561;
}

.project-card--featured .project-card__units {
    font-size: 15px;
    color: #555;
    text-align: center;
    margin-top: -4px;
    margin-bottom: 4px;
}

.project-card--featured .project-card__units strong {
    color: #012561;
    font-weight: 700;
}

/* --- Ribbon --- */

.ribbon {
    position: absolute;
    top: 18px;
    left: -6px;
    background: #7DC243;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 6px 16px 6px 12px;
    clip-path: polygon(0 0, 100% 0, 92% 50%, 100% 100%, 0 100%, 0 0);
    z-index: 2;
}

.ribbon::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 6px;
    height: 6px;
    background: #4a8a1f;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* --- Responsive --- */

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .project-card--featured .project-card__image {
        height: 100%;
        border-radius: 12px 0 0 12px;
    }
}

@media (max-width: 620px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .project-card--featured .project-card__image {
        height: 220px;
        border-radius: 12px 12px 0 0;
    }
}

/* --- Single Project --- */

.project-single-page {
    background: #f5f5f3;
    padding: 40px 20px 80px;
}

.project-single-container {
    max-width: 1400px;
    margin: 0 auto;
}

.project-single__breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 28px;
}

.project-single__breadcrumb a {
    color: #3AABDB;
    text-decoration: none;
}

.project-single__breadcrumb a:hover {
    text-decoration: underline;
}

.project-single__layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.project-single__image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.project-single__content {
    margin-top: 36px;
}

.project-single__content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #012561;
    margin-bottom: 16px;
}

.project-single__content p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
}

.project-single__sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 32px;
}

.project-single__afgerond {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
}

.project-single__afgerond span {
    color: #888;
    font-style: italic;
}

.project-single__afgerond a {
    color: #012561;
    font-weight: 600;
    text-decoration: underline;
}

.project-single__title {
    font-size: 24px;
    font-weight: 800;
    color: #012561;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0;
}

.project-single__stats {
    display: flex;
    gap: 12px;
}

.stat-box {
    flex: 1;
    background: #f5f5f3;
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
}

.stat-box__label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.stat-box__value {
    font-size: 16px;
    font-weight: 700;
    color: #012561;
}

.stat-box__value--blue {
    color: #3AABDB;
}

.project-single__progress-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.project-single__progress-meta strong {
    color: #012561;
}

.project-single__progress-wrap {
    background: #e0e0e0;
    border-radius: 99px;
    height: 12px;
    overflow: hidden;
}

.project-single__progress-bar {
    height: 100%;
    border-radius: 99px;
    background: #3AABDB;
}

.project-single__short-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.project-single__donate-btn {
    display: block;
    background: #7bc001;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.project-single__donate-btn:hover {
    background: #6aaa35;
    color: #fff;
}

.project-single__sidebar-donate-btn {
    display: block;
    background: #7bc001;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    scroll-behavior: smooth;
}

.project-single__sidebar-donate-btn:hover {
    background: #6aaa35;
    color: #fff;
}


@media (max-width: 960px) {
    .project-single__layout {
        grid-template-columns: 1fr;
    }

    .project-single__sidebar {
        position: static;
    }

    .project-single__image {
        height: 300px;
    }
}

@media (max-width: 520px) {
    .project-single__stats {
        flex-direction: column;
    }
}

/* --- Project Archive --- */

.project-archive-page {
    background: #f5f5f3;
    padding: 40px 20px 80px;
}

.project-archive-container {
    max-width: 1400px;
    margin: 0 auto;
}

.project-archive__title {
    font-size: 32px;
    font-weight: 800;
    color: #012561;
    margin-bottom: 16px;
}

.fietstocht-archive__intro {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    max-width: 720px;
    margin-bottom: 40px;
}

.project-archive__pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.project-archive__pagination .page-numbers {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
    font-size: 14px;
}

.project-archive__pagination .page-numbers.current {
    background: #3AABDB;
    color: #fff;
    border-color: #3AABDB;
}

.project-archive__pagination .page-numbers:hover {
    background: #f0f0f0;
}

.project-archive__empty {
    color: #888;
    font-size: 16px;
}

.projects-archive-link {
    text-align: center;
    margin-top: 32px;
}

.projects-archive-btn {
    display: inline-block;
    background: transparent;
    color: #012561;
    border: 2px solid #012561;
    border-radius: 99px;
    padding: 13px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.projects-archive-btn:hover {
    background: #012561;
    color: #fff;
}

/* --- Maps --- */
#projects-map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 40px;
    z-index: 0;
}

.project-map-pin .pin-inner {
    width: 20px;
    height: 20px;
    background: #7bc001;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.map-popup {
    font-family: sans-serif;
    min-width: 180px;
}

.map-popup__title {
    font-size: 13px;
    font-weight: 700;
    color: #012561;
    text-transform: uppercase;
    margin-bottom: 2px;
    line-height: 1.3;
}

.map-popup__country {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.map-popup__amounts {
    font-size: 12px;
    color: #555;
    margin-bottom: 6px;
}

.map-popup__bar-wrap {
    background: #e0e0e0;
    border-radius: 99px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 4px;
}

.map-popup__bar {
    height: 100%;
    border-radius: 99px;
    background: #3AABDB;
}

.map-popup__pct {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.map-popup__btn {
    display: block;
    background: #7bc001;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.map-popup__btn:hover {
    background: #6aaa35;
    color: #fff;
}

/* =============================================================================
   Donatie formulier
   ============================================================================= */

.donatie-sectie {
    max-width: 680px;
    margin: 48px 0 0;
    padding: 0 20px 60px;
}

.donatie-formulier {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
}

.donatie-formulier__titel {
    font-size: 22px;
    font-weight: 800;
    color: #012561;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 24px;
    text-align: left;
}

/* Bedragen */
.donatie-bedragen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.donatie-bedrag-btn {
    padding: 10px 20px;
    border: 2px solid #012561;
    border-radius: 4px;
    background: #fff;
    color: #012561;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.donatie-bedrag-btn:hover {
    background: #012561;
    color: #fff;
}

.donatie-bedrag-btn.actief {
    background: #012561;
    color: #fff;
}

/* Eigen bedrag */
.donatie-eigen-wrap {
    margin-bottom: 20px;
}

.donatie-eigen-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    margin-top: 6px;
    box-sizing: border-box;
}

/* Velden */
.donatie-velden {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.donatie-label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    gap: 6px;
}

.donatie-label input[type="text"],
.donatie-label input[type="email"] {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.donatie-label input[type="text"]:focus,
.donatie-label input[type="email"]:focus,
.donatie-eigen-input:focus {
    outline: none;
    border-color: #012561;
    box-shadow: 0 0 0 2px rgba(1,37,97,.12);
}

.donatie-label--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: #555;
    cursor: pointer;
}

.donatie-label--checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.donatie-verplicht {
    color: #c0392b;
}

/* Foutmelding */
.donatie-fout {
    background: #fdecea;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    color: #c0392b;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Submit */
.donatie-submit-btn {
    display: inline-block;
    background: #6aaa35;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    width: 100%;
    text-align: center;
}

.donatie-submit-btn:hover:not(:disabled) {
    background: #5a9228;
}

.donatie-submit-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.donatie-anbi-note {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 12px;
}

/* =============================================================================
   Donatie bevestigingspagina
   ============================================================================= */

.donatie-bevestiging {
    max-width: 560px;
    margin: 40px auto;
    padding: 32px;
    border-radius: 8px;
    text-align: center;
}

.donatie-bevestiging h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
}

.donatie-bevestiging p {
    font-size: 16px;
    color: #444;
    margin: 0 0 24px;
}

.donatie-bevestiging--geslaagd {
    background: #f0faf0;
    border: 1px solid #6aaa35;
}

.donatie-bevestiging--geslaagd h2 {
    color: #27ae60;
}

.donatie-bevestiging--mislukt {
    background: #fef6f6;
    border: 1px solid #e74c3c;
}

.donatie-bevestiging--mislukt h2 {
    color: #c0392b;
}

.donatie-bevestiging--verwerking {
    background: #fefaf0;
    border: 1px solid #e67e22;
}

.donatie-bevestiging--verwerking h2 {
    color: #e67e22;
}

/* =============================================================================
   Fietstocht — overzicht grid
   ============================================================================= */

.fietstochten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fietstocht-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.fietstocht-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.fietstocht-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.fietstocht-card__title {
    font-size: 18px;
    font-weight: 800;
    color: #012561;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.fietstocht-card__title a {
    color: inherit;
    text-decoration: none;
}

.fietstocht-card__title a:hover {
    text-decoration: underline;
}

.fietstocht-card__dates {
    font-size: 13px;
    color: #888;
}

.fietstocht-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.fietstocht-card__meta strong {
    color: #012561;
    font-weight: 700;
}

.fietstocht-card__riders {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.fietstocht-card__progress-wrap {
    background: #e0e0e0;
    border-radius: 99px;
    height: 10px;
    overflow: hidden;
}

.fietstocht-card__progress-bar {
    height: 100%;
    border-radius: 99px;
    background: #3AABDB;
    min-width: 0;
}

.fietstocht-card__amounts {
    font-size: 13px;
    color: #555;
}

.fietstocht-card__amounts strong {
    color: #012561;
    font-weight: 700;
}

.fietstocht-card__btn {
    display: block;
    background: #7bc001;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

.fietstocht-card__btn:hover {
    background: #6aaa35;
    color: #fff;
}

@media (max-width: 900px) {
    .fietstochten-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .fietstochten-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   Fietstocht — single pagina
   ============================================================================= */

.ft-single-page {
    background: #f5f5f3;
    padding: 40px 20px 80px;
}

.ft-single-container {
    max-width: 1400px;
    margin: 0 auto;
}

.ft-single__header {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.ft-single__hero {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.ft-single__header-body {
    background: #fff;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-single__title {
    font-size: 28px;
    font-weight: 800;
    color: #012561;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.ft-single__dates {
    font-size: 14px;
    color: #888;
    display: flex;
    gap: 6px;
}

.ft-single__progress-meta {
    font-size: 14px;
    color: #555;
}

.ft-single__progress-meta strong {
    color: #012561;
    font-weight: 700;
}

.ft-single__progress-wrap {
    background: #e0e0e0;
    border-radius: 99px;
    height: 12px;
    overflow: hidden;
}

.ft-single__progress-bar {
    height: 100%;
    border-radius: 99px;
    background: #3AABDB;
}

.ft-single__rider-count {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.ft-single__content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

.ft-single__section-title {
    font-size: 22px;
    font-weight: 800;
    color: #012561;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
}

/* Donorwall */
.ft-single__donorwall {
    margin-top: 48px;
}

.ft-donorwall__lijst {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ft-donorwall__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.ft-donorwall__naam {
    font-weight: 600;
    color: #222;
    min-width: 0;
}

.ft-donorwall__naam em {
    font-style: normal;
    color: #999;
}

.ft-donorwall__voor {
    font-size: 13px;
    color: #888;
    flex: 1;
}

.ft-donorwall__bedrag {
    font-weight: 700;
    color: #012561;
    margin-left: auto;
    white-space: nowrap;
}

/* Aanmeld-sectie */
.ft-single__aanmelden {
    margin-top: 56px;
    background: #f0f7ff;
    border: 1px solid #d0e4f7;
    border-radius: 12px;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.ft-single__aanmelden-titel {
    font-size: 22px;
    font-weight: 800;
    color: #012561;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ft-single__aanmelden-tekst {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

.ft-aanmelden-acties {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ft-aanmelden-code-link {
    font-size: 14px;
    color: #012561;
    text-decoration: underline;
}

.ft-aanmelden-code-link:hover {
    color: #01347e;
}

.ft-aanmelden-btn {
    display: inline-block;
    background: #012561;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .15s;
}

.ft-aanmelden-btn:hover {
    background: #01347e;
}

/* Aanmeld-modal */
.ft-aanmeld-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.ft-aanmeld-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.ft-aanmeld-modal {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(.95) translateY(12px);
    transition: transform .25s ease, opacity .25s ease;
    opacity: 0;
}

.ft-aanmeld-overlay.is-open .ft-aanmeld-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.ft-aanmeld-modal__sluiten {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 0;
}

.ft-aanmeld-modal__sluiten:hover {
    color: #222;
}

.ft-aanmeld-modal__titel {
    font-size: 20px;
    font-weight: 800;
    color: #012561;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
}

@media (max-width: 600px) {
    .ft-single__aanmelden { padding: 24px 20px; }
    .ft-aanmeld-modal     { padding: 28px 20px; }
}

/* =============================================================================
   Fietstocht — deelnemers grid (op single-fietstocht pagina)
   ============================================================================= */

.ft-deelnemers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.ft-deelnemer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s;
}

.ft-deelnemer-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.13);
}

.ft-deelnemer-card__photo {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.ft-deelnemer-card__photo--placeholder {
    width: 100%;
    height: 140px;
    background: #3AABDB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ft-deelnemer-card__photo--placeholder span {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.ft-deelnemer-card__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ft-deelnemer-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #012561;
}

.ft-deelnemer-card__raised {
    font-size: 13px;
    color: #555;
}

.ft-deelnemer-card__goal {
    font-size: 12px;
    color: #888;
}

.ft-deelnemer-card__progress-wrap {
    background: #e0e0e0;
    border-radius: 99px;
    height: 6px;
    overflow: hidden;
}

.ft-deelnemer-card__progress-bar {
    height: 100%;
    border-radius: 99px;
    background: #3AABDB;
}

.ft-deelnemer-card__story {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ft-deelnemer-card__btn {
    display: block;
    background: #7bc001;
    color: #fff;
    text-align: center;
    border-radius: 99px;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    text-decoration: none;
}

.ft-deelnemer-card:hover .ft-deelnemer-card__btn {
    background: #6aaa35;
}

@media (max-width: 1100px) {
    .ft-deelnemers-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .ft-deelnemers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ft-deelnemers-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   Deelnemer — single pagina
   ============================================================================= */

.ft-deelnemer-page {
    background: #f5f5f3;
    padding: 40px 20px 80px;
}

.ft-deelnemer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ft-deelnemer__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.ft-deelnemer__profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.ft-deelnemer__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.ft-deelnemer__photo--placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #3AABDB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ft-deelnemer__photo--placeholder span {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.ft-deelnemer__name {
    font-size: 26px;
    font-weight: 800;
    color: #012561;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
}

.ft-deelnemer__tour {
    font-size: 14px;
    color: #888;
}

.ft-deelnemer__tour a {
    color: #3AABDB;
    text-decoration: none;
}

.ft-deelnemer__tour a:hover {
    text-decoration: underline;
}

.ft-deelnemer__story {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.ft-deelnemer__story h2 {
    font-size: 18px;
    font-weight: 700;
    color: #012561;
    margin: 0 0 12px;
}

.ft-deelnemer__story p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin: 0;
}

.ft-deelnemer__feed {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
}

.ft-deelnemer__feed h2 {
    font-size: 18px;
    font-weight: 700;
    color: #012561;
    margin: 0 0 16px;
}

.ft-donatie-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ft-donatie-feed__item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.ft-donatie-feed__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ft-donatie-feed__top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ft-donatie-feed__amount {
    font-size: 16px;
    font-weight: 700;
    color: #012561;
}

.ft-donatie-feed__name {
    font-size: 14px;
    color: #444;
}

.ft-donatie-feed__date {
    font-size: 12px;
    color: #aaa;
    margin-left: auto;
}

.ft-donatie-feed__message {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 4px;
}

.ft-deelnemer__sidebar {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ft-deelnemer__progress-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-deelnemer__raised {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ft-deelnemer__raised-amount {
    font-size: 28px;
    font-weight: 800;
    color: #3AABDB;
}

.ft-deelnemer__raised-goal {
    font-size: 13px;
    color: #888;
}

.ft-deelnemer__pct {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.ft-deelnemer__mijlpaal {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 99px;
    padding: 4px 14px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.ft-deelnemer__donor-count {
    font-size: 13px;
    color: #888;
}

.ft-deelnemer__delen {
    margin-top: 16px;
    text-align: center;
}

.ft-deelnemer__delen-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.ft-deelnemer__wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 99px;
    padding: 12px 24px;
    transition: background .15s;
}

.ft-deelnemer__wa-btn:hover {
    background: #1da851;
    color: #fff;
}

@media (max-width: 820px) {
    .ft-deelnemer__layout {
        grid-template-columns: 1fr;
    }
    .ft-deelnemer__sidebar {
        position: static;
    }
}

/* =============================================================================
   Deelnemer registratie formulier
   ============================================================================= */

.dreg-wrap {
    max-width: 560px;
}

.dreg-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dreg-veld {
    display: flex;
    flex-direction: column;
}

.dreg-label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    gap: 6px;
}

.dreg-input {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.dreg-input:focus {
    outline: none;
    border-color: #012561;
    box-shadow: 0 0 0 2px rgba(1,37,97,.12);
}

.dreg-textarea {
    resize: vertical;
}

.dreg-verplicht {
    color: #c0392b;
}

.dreg-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.dreg-fout {
    background: #fdecea;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    color: #c0392b;
    padding: 10px 14px;
    font-size: 14px;
}

.dreg-succes {
    background: #f0faf0;
    border: 1px solid #6aaa35;
    border-radius: 8px;
    padding: 20px;
    font-size: 14px;
    text-align: center;
}

.dreg-succes__bericht {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 12px;
}

.dreg-succes__label {
    color: #333;
    margin-bottom: 16px;
    font-size: 15px;
}

.dreg-succes__profiel-btn {
    display: inline-block;
    background: #012561;
    color: #fff;
    border-radius: 99px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    margin-right: 8px;
    transition: background .15s;
}

.dreg-succes__profiel-btn:hover {
    background: #01347e;
    color: #fff;
}

.dreg-succes__wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    border-radius: 99px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background .15s;
}

.dreg-succes__wa-btn:hover {
    background: #1da851;
    color: #fff;
}

.dreg-submit-btn {
    background: #7bc001;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.dreg-submit-btn:hover:not(:disabled) {
    background: #6aaa35;
}

.dreg-submit-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}