/* =========================================================
   WINSKOOP TOERE
   TOERLEDE PORTAAL
   ========================================================= */

:root {
    --portal-navy: #002241;
    --portal-blue: #002241;
    --rooi: #9d050b;
    --portal-gold: #be9a43;
    --portal-gold-light: #be9a43;
    --portal-cream: #f7f2e9;
    --portal-green: #034d25;
    --portal-text: #002241;
    --portal-white: #ffffff;
}

.portal-member-upload-card h3 {
    font-weight: 500;
    font-size: var(--font-body);
}

.portal-member-upload-status {
    color: var(--rooi);
}

.page-id-10 .winskoop-floating-buttons {
    display: none;
}

.portal-leader-details.is-open {
    display: block;
}

.portal-brochure-button-wrap {
    margin: 10px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 20px;
}

.portal-brochure-button-wrap a {
    width: 100%;
    justify-content: space-between !important;
}

.winskoop-notification-tour {
    font-weight: 600;
    opacity: 0.9 !important;
}

/* =========================================================
   PAGE
   ========================================================= */

.portal-page {
    width: 100%;
    background: var(--portal-cream);
    color: var(--portal-text);
    font-family: inherit;
}

.hero-overlay {
    width: 100%;
    display: flex;
    align-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
}

.portal-page * {
    box-sizing: border-box;
}

/* =========================================================
   HERO / WELCOME
   ========================================================= */

.portal-hero {
    height: 40vh;
    background-size: 100%;
    background-position: center center;
    text-align: center;
    color: #fff;
    display: flex;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--donkergroen);
    opacity: 0.45;
}

.portal-hero > * {
    position: relative;
    z-index: 1;
}

/* =========================================================
   PORTAL BODY
   ========================================================= */

.portal-body {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 17% minmax(0, 1fr) 20%;
    align-items: start;
}

/* =========================================================
   LEFT SIDEBAR
   ========================================================= */

.sidebar-left {
    width: 100%;
    background: var(--portal-navy);
    color: #fff;
}

/* PROFILE CARD */

.user-profile-card {
    padding: 25px 20px 22px;
    text-align: center;
    background: var(--portal-navy);
}

.avatar-wrap {
    width: 85px;
    height: 85px;
    margin: 0 auto 12px;
    overflow: hidden;
    border-radius: 50%;
    background: #ddd;
}

.avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.user-name {
    font-size: var(--font-body);
    font-weight: 600;
    color: #fff;
    margin-bottom: 18px;
}

/* NOTIFICATIONS */

.user-notifications {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.icon-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #fff;
    font-size: var(--font-body);
}

.icon-badge::after {
    content: attr(data-count);

    position: absolute;
    top: -7px;
    right: -9px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--rooi);
    color: #fff;

    font-size: var(--font-body);
    font-weight: 700;
}

/* =========================================================
   SIDEBAR RED BUTTONS
   ========================================================= */

.sidebar-actions {
    width: 100%;
}

.btn-sidebar-red {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 58px;
    padding: 15px 18px;

    background: var(--rooi);
    color: #fff !important;

    text-decoration: none !important;
    font-size: var(--font-body);
    font-weight: 700;
    line-height: 1.35;

    border-bottom: 1px solid rgba(255, 255, 255, 0.25);

    transition: background 0.2s ease;
}

.btn-sidebar-red:hover {
    background: #8f1c1c;
    color: #fff !important;
}

.btn-sidebar-red span {
    font-size: var(--font-body);
    margin-left: 10px;
}

/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.sidebar-nav {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    min-height: 55px;
    padding: 13px 18px;
    background: var(--portal-cream);
    color: var(--portal-navy) !important;
    border-bottom: 1px solid var(--portal-navy);
    text-decoration: none !important;
    font-size: var(--font-body);
    font-weight: 600;
    line-height: 1.25;
    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}

.sidebar-nav a:hover {
    background: var(--portal-cream);
    padding-left: 23px;
}

.sidebar-nav a span {
    font-size: var(--font-body);
}

/* =========================================================
   MAIN CONTENT
   ========================================================= */

.main-center-content {
    min-width: 0;
    background-color: var(--wit);
    padding: 30px;
}

/* =========================================================
   WELCOME HEADER
   ========================================================= */

.tour-header {
    margin-bottom: 30px;
}

.tour-subtitle {
    display: block;
    margin-bottom: 8px;
    color: var(--donkerblou);
    font-size: var(--font-large);
    font-weight: 500;
    text-transform: uppercase;
}

.tour-main-title {
    margin: 0 0 12px;

    color: var(--portal-navy);

    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
}

.tour-header p {
    margin: 0;

    color: var(--portal-text);

    font-size: var(--font-body);
    line-height: 1.7;
}

/* =========================================================
   THREE MAIN CARDS
   ========================================================= */

.portal-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 30px;
}

/* CARD */

.portal-card {
    position: relative;

    min-height: 285px;
    padding: 28px 22px 24px;

    background: #fff;

    border-radius: 0;
    border-top: 5px solid var(--portal-gold);

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
}

/* ICON */

.portal-card-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: var(--portal-gold-light);
    color: var(--rooi);

    font-size: var(--font-body);
}

/* LABEL */

.portal-card-label {
    display: block;
    margin-bottom: 8px;

    color: var(--rooi);

    font-size: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* TITLE */

.portal-card h3 {
    margin: 0 0 12px;

    color: var(--portal-navy);

    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

/* DESCRIPTION */

.portal-card p {
    margin: 0 0 20px;
    color: var(--portal-text);
    font-size: var(--font-body);
    line-height: 1.6;
}

/* BUTTON */

.portal-card-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: auto;

    color: var(--rooi) !important;

    font-size: var(--font-body);
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
}

.portal-card-button i {
    transition: transform 0.2s ease;
}

.portal-card-button:hover {
    color: var(--portal-navy) !important;
}

.portal-card-button:hover i {
    transform: translateX(4px);
}

/* =========================================================
   RIGHT SIDEBAR
   ========================================================= */

.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
}

/* GENERIC WIDGET */

.widget-box {
    width: 100%;
    padding: 17px;

    background: #fff;

    border-radius: 10px;
    border: 1px solid #dfd5c0;
}

/* =========================================================
   COUNTDOWN
   ========================================================= */

.countdown-box {
    text-align: center;
}

.countdown-box h4 {
    margin: 0 0 18px;

    color: var(--portal-navy);

    font-size: var(--font-body);
    font-weight: 700;
}

.timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.timer-unit {
    padding: 4px 5px;
    border-right: 1px solid #d7d0c3;
}

.timer-unit:last-child {
    border-right: 0;
}

.timer-unit .val {
    display: block;
    color: var(--portal-navy);
    font-size: var(--font-body);
    font-weight: 700;
}

.timer-unit .lbl {
    display: block;
    margin-top: 4px;
    color: var(--portal-text);
    font-weight: 600;
}

/* =========================================================
   IMPORTANT DATE
   ========================================================= */

.green-date-box {
    background: var(--portal-green);
    color: #fff;

    border: 0;
}

.green-box-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.calendar-icon {
    flex: 0 0 35px;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    color: #fff;

    font-size: var(--font-body);
}

.green-box-header h5 {
    margin: 0 0 5px;
    color: #fff;
    line-height: 1.3;
    font-weight: 600;
}

.green-box-header p {
    margin: 0;

    color: #fff;

    font-size: var(--font-body);
}

.big-date {
    margin: 12px 0;

    color: var(--portal-gold);

    font-size: var(--font-body);
    font-weight: 500;
    text-align: center;
}

/* GOLD PILL BUTTON */

.btn-pill-gold {
    display: table;

    margin: 0 auto;

    padding: 7px 17px;

    border-radius: 30px;

    background: var(--portal-gold);
    color: var(--portal-navy) !important;

    font-size: var(--font-body);
    font-weight: 700;
    text-decoration: none !important;
}

.btn-pill-gold:hover {
    background: #e4bd61;
    color: var(--portal-navy) !important;
}

/* =========================================================
   NOTIFICATION
   ========================================================= */

.alert-card {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 14px;
}

.alert-badge {
    flex: 0 0 25px;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rooi);
    color: #fff;

    font-size: var(--font-body);
    font-weight: 700;
}

.alert-text {
    min-width: 0;
}

.alert-text strong {
    display: block;

    color: var(--portal-navy);

    font-size: var(--font-body);
    line-height: 1.3;
}

.alert-text p {
    margin: 3px 0;

    color: var(--portal-text);

    font-size: 9px;
    line-height: 1.4;
}

.alert-text small {
    color: #777;

    font-size: 8px;
}

/* =========================================================
   PERSONAL DETAILS
   ========================================================= */

.btn-outline-full {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    padding: 8px 12px;

    border: 1px solid var(--portal-navy);
    border-radius: 8px;

    background: transparent;

    color: var(--portal-navy) !important;

    font-size: var(--font-body);
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;

    transition: all 0.2s ease;
}

.btn-outline-full:hover {
    background: var(--portal-navy);
    color: #fff !important;
}

/* =========================================================
   MEMORIES
   ========================================================= */

.memories-box {
    padding: 18px;
}

.script-font-heading {
    margin: 0 0 18px;

    color: var(--portal-navy);

    font-size: 24px;
    line-height: 1.1;
}

/* MEMORY ITEM */

.memory-item {
    padding: 14px 0;

    border-bottom: 1px solid #ddd4c4;
}

.memory-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.memory-item strong {
    display: block;

    color: var(--portal-navy);

    font-size: var(--font-body);
    line-height: 1.4;
}

.memory-item p {
    margin: 5px 0 9px;

    color: var(--portal-text);

    font-size: 9px;
}

/* MEMORY BUTTON */

.btn-pill-outline {
    display: inline-block;

    padding: 5px 10px;

    border: 1px solid var(--portal-gold);
    border-radius: 30px;

    color: var(--portal-navy) !important;

    font-size: 8px;
    font-weight: 600;
    text-decoration: none !important;
}

.btn-pill-outline:hover {
    background: var(--portal-gold);
    color: var(--portal-navy) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1100px) {
    .portal-body {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .sidebar-right {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .memories-box {
        grid-column: span 2;
    }
}

@media (max-width: 800px) {
    .portal-body {
        display: flex;
        flex-direction: column;

        padding: 30px 20px 50px;
    }

    .sidebar-left,
    .main-center-content,
    .sidebar-right {
        width: 100%;
    }

    .sidebar-left {
        order: 1;
    }

    .main-center-content {
        order: 2;
    }

    .sidebar-right {
        order: 3;

        display: flex;
    }

    .portal-card-grid {
        grid-template-columns: 1fr;
    }

    .portal-card {
        min-height: auto;
    }
}

@media (max-width: 500px) {
    .portal-body {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tour-main-title {
        font-size: 28px;
    }

    .tour-header p {
        font-size: var(--font-body);
    }

    .sidebar-nav a {
        font-size: var(--font-body);
    }

    .timer-unit .val {
        font-size: var(--font-body);
    }
}

/* =========================================================
   MY VOLGENDE TOER
   ========================================================= */

.next-tour-card {
    /*margin-bottom: 30px;*/
}

.next-tour-heading {
    margin-bottom: 20px;
}

.next-tour-heading h2 {
    margin: 0;
    color: var(--rooi);
    font-size: 28px;
    line-height: 1.2;
}

.next-tour-content {
    display: inline;
}

.next-tour-image {
    height: 40vh;
    background-position: center center;
    background-size: cover;
    border-radius: 20px;
}

.next-tour-image img {
    width: 100%;
    height: 100%;
    min-height: 180px;

    display: block;

    object-fit: cover;
}

.next-tour-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.next-tour-date,
.next-tour-days {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 14px;
}

.next-tour-date > i,
.next-tour-days > i {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--portal-gold-light);
    color: var(--rooi);

    border-radius: 50%;
}

.next-tour-date span,
.next-tour-days span {
    display: block;
    margin-bottom: 2px;
    color: var(--rooi);
    font-size: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.08em;
}

.next-tour-date strong,
.next-tour-days strong {
    display: block;
    color: var(--portal-navy);
    font-size: var(--font-body);
}

.next-tour-description {
    margin: 5px 0 18px;
    color: var(--portal-text);
    font-size: var(--font-body);
    line-height: 1.6;
}

.next-tour-empty {
    text-align: center;
}

.next-tour-empty h2 {
    margin: 5px 0 10px;

    color: var(--portal-navy);

    font-size: 25px;
}

.next-tour-empty p {
    margin-bottom: 18px;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .next-tour-content {
        grid-template-columns: 1fr;
    }

    .next-tour-image {
        min-height: 200px;
    }

    .next-tour-image img {
        min-height: 200px;
        max-height: 260px;
    }
}

/* =========================================================
   TOUR LEADERS
   ========================================================= */

.portal-tour-leaders {
    margin: 45px 0 55px;
}

.portal-tour-section-heading {
    margin-bottom: 25px;
}

.portal-script-title {
    display: flex;
    color: var(--donkerblou);
    font-size: 35px;
    line-height: 1.1;
    font-weight: 400;
    flex-wrap: wrap;
    align-items: center;
}

.portal-script-title span {
    color: var(--rooi);
    font-family: "Opulent Brush";
    font-weight: 400;
    font-size: var(--font-special);
}

/* LEADER GRID */

.portal-tour-leaders-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 25px;
}

/* LEADER */

.portal-tour-leader {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* IMAGE */

.portal-tour-leader-image {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    overflow: hidden;
    border-radius: 10px;
}

.portal-tour-leader-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* NAME + BUTTON */

.portal-tour-leader-info {
    flex: 1;
    min-width: 0;
}

.portal-tour-leader-info .button-rooi {
    justify-content: space-between;
    min-width: fit-content;
    padding: 13px;
    font-size: 20px;
    text-transform: inherit;
}

.portal-tour-leader-info h3 {
    margin: 0 0 18px;
    font-family: "Opulent Brush";
    color: var(--portal-navy);
    font-size: 55px;
    line-height: 1;
    font-weight: 400;
}

/* BUTTON */

.portal-tour-leader-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    max-width: 180px;

    padding: 7px 12px;

    border: 1px solid var(--rooi);
    border-radius: 30px;

    color: var(--rooi) !important;
    background: transparent;

    font-size: var(--font-body);
    font-weight: 600;
    text-decoration: none !important;
}

.portal-tour-leader-button span {
    font-size: var(--font-body);
    line-height: 10px;
    font-weight: 700;
}

.portal-tour-leader-button:hover {
    background: var(--rooi);
    color: #fff !important;
}

/* =========================================================
   ROUTE MAP
   ========================================================= */

.portal-route-section {
    margin: 20px 0 55px;
}

.portal-route-section .portal-tour-section-heading h2 {
    margin: 5px 0 0;
    color: var(--portal-navy);
    font-size: 28px;
    line-height: 1.2;
}

/* MAP */

.portal-route-map-wrap {
    width: 100%;
    margin-top: 25px;
    padding: 15px;

    background: #fff;

    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);

    text-align: center;
}

.portal-route-map {
    display: block;

    width: 100%;
    height: auto;

    max-height: 600px;

    object-fit: contain;
}

/* =========================================================
   REISPLAN PLACEHOLDER
   ========================================================= */

.portal-trip-plan-placeholder {
    margin: 0 0 40px;
    padding: 30px;

    background: #fff;

    border-top: 5px solid var(--portal-gold);

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.portal-trip-plan-placeholder h2 {
    margin: 5px 0 10px;

    color: var(--portal-navy);
    font-size: 26px;
}

.portal-trip-plan-placeholder p {
    margin: 0;

    color: var(--portal-text);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {
    .portal-tour-leaders-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .portal-script-title {
        font-size: 24px;
    }

    .portal-tour-leader {
        gap: 12px;
    }

    .portal-tour-leader-image {
        width: 95px;
        height: 95px;
        flex-basis: 95px;
    }

    .portal-tour-leader-info h3 {
        font-size: 26px;
    }

    .portal-tour-leader-button {
        font-size: var(--font-body);
        max-width: 165px;
    }

    .portal-route-map-wrap {
        padding: 8px;
    }
}

/* =========================================================
   COMPACT REISPLAN
   ========================================================= */

.portal-trip-plan {
    margin: 50px 0 55px;
}

/* HEADING */

.portal-trip-plan-heading {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;

    margin-bottom: 20px;

    text-align: center;
}

.portal-trip-plan-intro {
    color: var(--portal-navy);
    font-size: 55px;
    font-weight: 700;
}

.portal-trip-plan-script {
    color: var(--rooi);
    font-family: "Opulent Brush";
    font-size: 80px;
    line-height: 0.9;
    font-weight: 400;
}

/* LIST */

.portal-trip-plan-list {
    width: 100%;
}

/* ROW */

.portal-trip-plan-row {
    display: grid;
    grid-template-columns: 10% minmax(0, 1fr) 170px;
    align-items: center;
    min-height: 32px;
    border-bottom: 2px solid var(--portal-gold);
    font-size: var(--font-body);
}

/* DAY */

.portal-trip-plan-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 1px 7px;

    background: var(--portal-gold);
    color: #fff;

    border-radius: 10px;

    font-weight: 700;
    white-space: nowrap;
}

/* DESCRIPTION */

.portal-trip-plan-description {
    padding: 4px 10px;

    color: var(--portal-navy);

    line-height: 1.3;
}

/* DATE */

.portal-trip-plan-date {
    padding: 4px 0;

    color: var(--portal-navy);

    text-align: left;
    white-space: nowrap;
}

/* MOBILE */

@media (max-width: 700px) {
    .portal-trip-plan-heading {
        justify-content: flex-start;
    }

    .portal-trip-plan-intro {
        font-size: var(--font-body);
    }

    .portal-trip-plan-script {
        font-size: 38px;
    }

    .portal-trip-plan-row {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 0;
    }

    .portal-trip-plan-day {
        font-size: var(--font-body);
    }

    .portal-trip-plan-description {
        font-size: var(--font-body);
    }

    .portal-trip-plan-date {
        grid-column: 2;
        padding-top: 0;
        padding-bottom: 6px;

        font-size: var(--font-body);
        opacity: 0.75;
    }
}

/* MY TOUR DOCUMENTS */
.portal-documents {
    margin: 40px 0;
}

.portal-documents-list {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 20px;
}

.portal-document-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--wit);
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.portal-document-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8e9e9;
    color: var(--donkerrooi);
    border-radius: 8px;
    font-size: 22px;
}

.portal-document-info {
    flex: 1;
    min-width: 0;
}

.portal-document-info h3 {
    margin: 0 0 5px;
    font-size: 17px;
    color: var(--donkerblou);
}

.portal-document-info p {
    margin: 0;
    font-size: 13px;
}

.portal-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: var(--donkerrooi);
    color: var(--wit);
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.portal-document-button:hover {
    opacity: 0.85;
    color: var(--wit);
}

.portal-documents-empty {
    padding: 25px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 10px;
}

.portal-documents-empty > i {
    font-size: 28px;
    margin-bottom: 10px;
}

.portal-documents-empty p {
    margin: 0;
}

@media (max-width: 600px) {
    .portal-document-item {
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px;
        flex-direction: row !important;
    }

    .portal-document-info {
        flex: 1 1 calc(100% - 65px);
    }

    .portal-document-button {
        width: 100%;
    }
}

/* MY TOUR DOCUMENTS */
.portal-documents-list {
    margin-top: 20px;
}

.portal-document-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: var(--wit);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.portal-document-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    background: #f8e9e9;
    color: var(--donkerrooi);
    border-radius: 9px;
    font-size: 22px;
}

.portal-document-info {
    width: 100%;
    min-width: 0;
}

.portal-document-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    color: var(--donkerblou);
}

.portal-document-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.portal-document-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    padding: 13px 16px;
    background: var(--rooi);
    color: var(--wit);
    text-decoration: none;
    border-radius: 7px;
    transition: opacity 0.2s ease;
}

.portal-document-button:hover {
    opacity: 0.85;
    color: var(--wit);
}

.portal-documents-empty {
    padding: 25px;
    text-align: center;
    background: #f7f7f7;
    border-radius: 10px;
}

@media (max-width: 700px) {
    .portal-documents-list {
        grid-template-columns: 1fr;
        display: grid !important;
    }

    .portal-brochure-button-wrap {
        grid-template-columns: 1fr;
    }
}

/*KIESLYS*/

.portal-checklists {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}
.portal-checklist-card {
    background: #f8f3e9;
    border: 1px solid #d9c69f;
    border-radius: 10px;
    padding: 1.25rem;
    color: #082747;
}
.portal-checklist-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1rem;
    color: #082747;
    font-size: 1.2rem;
}
.portal-checklist-title-icon {
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #082747;
    border-radius: 50%;
    font-size: 1rem;
}
.portal-checklist-intro {
    margin: 0.5rem 0 1rem;
    font-weight: 600;
}
.portal-checklist-items {
    display: grid;
    gap: 0.8rem;
}
.portal-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    line-height: 1.45;
    cursor: pointer;
}
.portal-checklist-item input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0.2rem 0 0;
    accent-color: #082747;
}
.portal-checklist-progress {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}
.portal-checklist-submit {
    display: block;
    min-width: 140px;
    margin: 1.1rem auto 0;
    padding: 0.65rem 1.5rem;
    border: 0;
    border-radius: 30px;
    background: #082747;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.portal-checklist-notice {
    grid-column: 1 / -1;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}
.portal-checklist-notice.success {
    background: #e8f5e9;
}
.portal-checklist-notice.error {
    background: #fff0ee;
}
@media (max-width: 767px) {
    .portal-checklists {
        grid-template-columns: 1fr;
    }
}

.portal-loyalty-points {
    background: var(--donkergroen);
    color: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    text-align: center;
    font-size: var(--font-body);
}

.portal-loyalty-points a {
    color: var(--donkergroen);
    text-decoration: none;
    font-size: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--portal-white);
    padding: 10px;
    border-radius: 10px;
}

.portal-loyalty-points a i {
    flex-shrink: 0;
    font-size: 0.9em;
    line-height: 1;
    position: relative;
    top: -1px;
}

.portal-loyalty-points .punte {
    /*font-family: "Opulent Brush";*/
    font-weight: 400;
    font-size: 60px;
    color: var(--goud);
}

/* =========================================================
   PORTAL TOUR LEADERS + ADMIN TEAM
   Two cards per row, with the admin team below the leaders.
   ========================================================= */

.portal-tour-team-sections {
    display: block;
    width: 100%;
}

.portal-team-section {
    width: 100%;
    margin: 45px 0 55px;
}

.portal-team-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.portal-team-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    gap: 12px;
}

.portal-team-card .span-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    background: #e9e3d8;
}

.portal-team-card .span-person-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-team-card .span-card-name {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 14px 16px;
    color: #fff;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.15;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(0, 34, 65, 0.82));
}

.portal-team-card .span-person-title {
    margin: 0;
    color: var(--portal-navy);
    font-size: var(--font-body);
}

.portal-team-card .portal-team-modal-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0;
    cursor: pointer;
    text-align: left;
}

.portal-team-card .portal-team-modal-trigger .span-card-arrow {
    flex: 0 0 auto;
}

/* Reuse the same modal structure as the public Ons Span personnel page. */
.portal-team-person-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.portal-team-person-modal.is-open {
    display: flex;
}

.portal-team-person-modal .span-person-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 38, 0.78);
}

.portal-team-person-modal .span-person-modal-content {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    max-height: min(85vh, 800px);
    overflow-y: auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.portal-team-person-modal .span-person-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--portal-navy);
    font-size: 34px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.portal-team-person-modal .span-person-modal-content h2 {
    margin: 0 35px 8px 0;
    color: var(--portal-navy);
}

.portal-team-person-modal .span-person-modal-title {
    color: var(--rooi);
    margin-bottom: 16px;
}

.portal-team-person-modal .span-person-modal-divider {
    width: 100%;
    height: 1px;
    margin: 18px 0 22px;
    background: var(--portal-gold);
}

.portal-team-person-modal .span-modal-info + .span-modal-info {
    margin-top: 22px;
}

.portal-team-person-modal .span-modal-info h3 {
    margin: 0 0 8px;
    color: var(--rooi);
    font-size: var(--font-body);
}

body.portal-team-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .portal-team-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .portal-team-card .span-card-name {
        padding: 10px;
        font-size: 18px;
    }

    .portal-team-card .portal-team-modal-trigger {
        padding: 10px 12px;
        font-size: 14px;
    }

    .portal-team-person-modal {
        padding: 14px;
    }

    .portal-team-person-modal .span-person-modal-content {
        padding: 32px 22px 24px;
    }
}

@media (max-width: 420px) {
    .portal-team-cards-grid {
        gap: 12px;
    }

    .portal-team-card .span-card-name {
        font-size: 16px;
    }

    .portal-team-card .portal-team-modal-trigger {
        font-size: 12px;
    }
}

/* =========================================================
   TEAM CARDS - IMAGE LEFT, BUTTON RIGHT
   ========================================================= */

.portal-team-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.portal-team-card .span-card-image {
    width: 48%;
    flex: 0 0 48%;
    aspect-ratio: 4 / 3;
}

.portal-team-card .portal-team-modal-trigger {
    flex: 1;
    align-self: center;
    max-width: none;
    margin: 0;
}

/* Mobile */
@media (max-width: 600px) {
    .portal-team-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   TEAM CARD NAME - ABOVE THE READ MORE BUTTON
   ========================================================= */

.portal-team-card .span-card-image {
    position: relative;
}

.portal-team-card .span-card-name {
    display: none !important;
}

.portal-team-card-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
}

.portal-team-card .portal-team-card-name {
    margin: 0;
    padding: 0;
    color: var(--portal-navy);
    font-family: inherit;
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.portal-team-card .portal-team-modal-trigger {
    width: 100%;
    flex: 0 0 auto;
    align-self: stretch;
    margin: 0;
}

@media (max-width: 600px) {
    .portal-team-card-info {
        gap: 9px;
    }

    .portal-team-card .portal-team-card-name {
        font-size: 18px;
    }
}
