/**
 * SupAcademy Destinations - Frontend Styles
 * ==========================================
 * Stiluri care reproduc design-ul paginii Tenerife
 * pentru shortcode-urile dinamice.
 *
 * IMPORTANT: Aceste stiluri sunt un punct de start.
 * Ajustează culorile, spacing-ul și fonturile
 * să se potrivească cu tema ta Porto.
 * Version: 1.0.12
 */

/* Smooth scroll pentru ancore ▼ din listele include/nu include */
html {
    scroll-behavior: smooth;
}

/* ═══════════════════════════════════
   VARIABILE (customizează aici)
   ═══════════════════════════════════ */
:root {
    --sad-primary: #D2571A;        /* Orange din tema ta */
    --sad-primary-dark: #b84a15;
    --sad-dark: #2D1B12;           /* Brown închis */
    --sad-dark-alt: #3B2415;
    --sad-text: #0a0a0aff;
    --sad-text-light: #fff;
    --sad-bg-light: #FFF9F5;
    --sad-white: #FFFFFF;
    --sad-green: #71BCB0;
    --sad-red: #D2571A;
    --sad-border: #E0D5CC;
    --sad-radius: 8px;
}

/* ═══════════════════════════════════
   ICON LIST (Include / NU Include)
   ═══════════════════════════════════ */
.sad-includes-list,
.sad-not-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sad-icon-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--sad-text-light);
    font-family: var(--e-global-typography-text-font-family);
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

/* Bullet ca punct mic (replica icon-list Elementor) */
.sad-icon-list-icon {
    width: 11px;
    height: 11px;
    min-width: 11px;
    border-radius: 50%;
    margin-top: 6px;     /* Aliniere verticală cu textul */
    flex-shrink: 0;
    font-size: 0;        /* Ascunde caracterul ● */
    line-height: 0;
}


/* Include = verde */
.sad-includes-list .sad-icon-list-icon {
    background-color: var(--sad-green);
}

/* NU include = roșu */
.sad-not-includes-list .sad-icon-list-icon {
    background-color: var(--sad-red);
}

/* Ancore pe bullet-uri → link spre secțiunile detaliate */
.sad-icon-list-link {
    display: inline;
    color: var(--sad-text-light);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.sad-icon-list-link:hover {
    color: var(--sad-primary);
}

.sad-link-arrow {
    font-size: 10px;
    color: var(--sad-primary);
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
    margin-left: 4px;
}

.sad-icon-list-link:hover .sad-link-arrow {
    opacity: 1;
    transform: translateY(2px);
}

/* Icon imagine în lista summary (bullet înlocuit cu SVG/PNG) */
.sad-icon-has-img {
    width: auto;
    height: auto;
    background: none !important;
    border-radius: 0;
    margin-top: 0;
}

.sad-icon-img-bullet {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* Icon imagine în secțiunile detaliate (icon-box mare) */
.sad-detail-icon-img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    display: block;
}
.sad-detail-icon-img img {
    width: 100%;
}


/* ═══════════════════════════════════
   PACKAGE DETAILS (Detalii secțiuni)
   ═══════════════════════════════════ */
.sad-details-grid {
    margin: 40px 0;
}

.sad-detail-item {
    margin-bottom: 30px;
}

.sad-detail-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 10px;
}

.sad-detail-icon {
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sad-detail-icon img{
    width: 100%;
}
/* Înlocuiește emoji-urile cu SVG-urile tale custom */
/* .sad-detail-icon img, .sad-detail-icon svg { width: 48px; height: 48px; } */

.sad-detail-title {
    font-size: 16px;
    font-weight: 700;
    font-family: "Museo";
    color: var(--sad-dark);
    margin: 0;
    text-align: left;
    width: 100%;
}
.sad-detail-item {
    max-width: 388px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.sad-detail-content {
    color: var(--sad-text);
    line-height: 1.7;
    font-size: 15px;
    font-family: "Museo";
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0px;
}

.sad-detail-content p {
    margin: 0 0 12px;
    color: var(--sad-text);
    line-height: 1.7;
    font-size: 15px;
    font-family: "Museo";
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0px;
}

.sad-detail-content ul {
    padding-left: 20px;
}

.sad-detail-content li {
    margin-bottom: 4px;
}

/* Preț & Durată (Opționale) */
.sad-detail-meta {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.sad-meta-price {
    color: var(--sad-primary);
}

.sad-meta-duration {
    color: var(--sad-text-light);
}

/* Gallery toggle button */
.sad-gallery-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgb(113, 188, 176);
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
    border: none;
    border-radius: 25px;
    padding: 10px 40px;
    font-family: "Museo";
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0px;
    cursor: pointer;
    margin-top: 16px;
    transition: background-color 0.25s, transform 0.15s;
    align-self: flex-start;
}

.sad-gallery-toggle::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.sad-gallery-toggle:hover {
    background-color: var(--sad-primary);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════
   GALLERY POPUP LIGHTBOX
   ═══════════════════════════════════ */
.sad-gl {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.sad-gl.sad-gl-open {
    display: block;
}

.sad-gl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sad-gl-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
}
.sad-gl-wrap > * {
    pointer-events: auto;
}

/* Top bar */
.sad-gl-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    flex-shrink: 0;
}

.sad-gl-counter {
    font-family: "Museo", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.sad-gl-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}
.sad-gl-close:hover {
    color: #fff;
}

/* Stage (main image + arrows) */
.sad-gl-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 0;
    padding: 0 12px;
    position: relative;
}

.sad-gl-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    max-height: 100%;
    transition: opacity 0.15s ease;
}

.sad-gl-img-wrap.sad-gl-fading {
    opacity: 0.3;
}

.sad-gl-img {
    max-width: 90vw;
    max-height: calc(100vh - 180px);
    max-height: calc(100dvh - 180px);
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
    -webkit-user-drag: none;
}

/* Navigation arrows */
.sad-gl-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 2;
    padding: 0;
    line-height: 1;
}

.sad-gl-arr:hover {
    background: var(--sad-primary);
    border-color: var(--sad-primary);
    color: #fff;
}

.sad-gl-prev { left: 16px; }
.sad-gl-next { right: 16px; }

/* Thumbnail strip */
.sad-gl-thumbs {
    flex-shrink: 0;
    display: flex;
    gap: 6px;
    padding: 14px 20px 20px;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sad-gl-thumbs::-webkit-scrollbar {
    display: none;
}

.sad-gl-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.35;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.sad-gl-thumb:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.sad-gl-thumb.sad-gl-thumb-active {
    opacity: 1;
    border-color: var(--sad-primary);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sad-gl-arr {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .sad-gl-prev { left: 6px; }
    .sad-gl-next { right: 6px; }

    .sad-gl-thumb {
        width: 44px;
        height: 44px;
    }

    .sad-gl-img {
        max-width: 96vw;
        max-height: calc(100vh - 160px);
        max-height: calc(100dvh - 160px);
    }
}

/* CTA Button */
.sad-detail-cta {
    display: inline-block;
    background-color: rgb(113, 188, 176);
    color: rgb(255, 255, 255);
    fill: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 25px;
    padding: 10px 40px;
    font-family: "Museo";
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0px;
    margin-top: 12px;
    transition: background-color 0.25s, transform 0.15s;
    align-self: flex-start;
}

.sad-detail-cta:hover {
    background-color: var(--sad-primary);
    color: rgb(255, 255, 255);
    transform: translateY(-1px);
}


/* ═══════════════════════════════════
   BUDGET + OPTIONAL SUMMARY
   ═══════════════════════════════════ */
.sad-optional-summary p,
.sad-optional-summary,
.sad-budget {
    font-family: "Museo";
    font-size: 15px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0px;
    color: var(--sad-text-light);
}

.sad-budget-amount {
    font-weight: 700;
}

/* ═══════════════════════════════════
   DETAILS LINK (sub buton Rezerva)
   ═══════════════════════════════════ */
.sad-details-link {
    display: inline-block;
    font-family: "Museo", sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: var(--sad-text-light);
    text-decoration: none;
    transition: opacity 0.2s;
}
a.sad-details-link:hover {
    color: #fff;
}

.sad-price-note {
    font-size: 13px;
    font-style: italic;
    color: var(--sad-text-light);
    opacity: 0.8;
    margin-top: 6px;
}

/* ═══════════════════════════════════
   PRICE HIGHLIGHT (pret taiat + discount)
   ═══════════════════════════════════ */
.sad-price-highlight {
    display: inline-block;
}
.sad-price-highlight-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.sad-price-prefix {
    font-family: "Museo", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--sad-text-light);
}
.sad-price-old {
    font-family: "Museo", sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: var(--sad-text-light);
    text-decoration: line-through;
    opacity: 0.6;
}
.sad-price-new {
    font-family: "Museo", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--sad-primary);
}
.sad-price-current {
    font-family: "Museo", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--sad-text-light);
}
.sad-price-label {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 14px;
    background: var(--sad-primary);
    color: #fff;
    font-family: "Museo", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

@media (max-width: 767px) {
    .sad-price-old {
        font-size: 18px;
    }
    .sad-price-new,
    .sad-price-current {
        font-size: 26px;
    }
}

/* ═══════════════════════════════════
   DESTINATION TABS (Pills bar)
   ═══════════════════════════════════ */
.sad-destination-tabs {
    width: 100%;
    z-index: 90;
    padding: 10px 0;
}
.sad-tabs-sticky {
    position: sticky;
    top: 0;
}

.sad-tabs-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
}
.sad-tabs-inner::-webkit-scrollbar {
    display: none;
}

.sad-tab {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: "Museo", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
}
.sad-tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}
.sad-tab-active {
    color: #fff !important;
    border-color: var(--sad-primary) !important;
    background: var(--sad-primary) !important;
}
.sad-tab-active:hover {
    opacity: 0.9;
}

@media (max-width: 767px) {
    .sad-tabs-inner {
        gap: 6px;
        padding: 4px 16px;
    }
    .sad-tab {
        padding: 8px 18px;
        font-size: 13px;
    }
    button.sad-gallery-toggle {
        width: 100%;
        justify-content: center;
    }
    .sad-detail-cta {
        width: 100%;
        text-align: center;
    }
}

/* ═══════════════════════════════════
   PERIOD LABEL LINKS
   ═══════════════════════════════════ */
a.sad-period-label-link {
    color: var(--sad-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: inherit;
    transition: opacity 0.2s;
}
a.sad-period-label-link:hover {
    opacity: 0.8;
}

/* ═══════════════════════════════════
   DESTINATION TABS (cross-linking)
   ═══════════════════════════════════ */
.sad-destination-tabs {
    width: 100%;
    z-index: 90;
    padding: 12px 0;
}
.sad-destination-tabs.sad-tabs-sticky {
    position: sticky;
    top: 0;
    background: rgba(35, 13, 40, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sad-tabs-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4px;
}
.sad-tabs-inner::-webkit-scrollbar {
    display: none;
}

.sad-tab {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 24px;
    font-family: "Museo", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    flex-shrink: 0;
}
.sad-tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}
.sad-tab-active,
.sad-tab-active:hover {
    color: #fff;
    font-weight: 600;
    background: var(--sad-primary);
    border-color: var(--sad-primary);
}

/* Mobil: mai compact */
@media (max-width: 767px) {
    .sad-tab {
        padding: 6px 16px;
        font-size: 13px;
    }
    .sad-tabs-inner {
        gap: 6px;
    }
}

.sad-optional-summary strong {
    font-weight: 700;
}

/* Tot textul e clickabil ca ancoră (inline cu ▼) */
a.sad-optional-summary {
    display: inline;
    text-decoration: none;
    cursor: pointer;
}

a.sad-optional-summary:hover {
    color: var(--sad-primary);
}


/* ═══════════════════════════════════
   DETAILS TOGGLE ("Detalii" button)
   ═══════════════════════════════════ */
.sad-details-toggle-wrap {
    text-align: center;
    padding: 20px 0;
}

.sad-details-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none !important;
    background-color: transparent !important;
    border: none;
    cursor: pointer !important;
    font-family: "Museo", inherit;
    font-size: 33px;
    font-weight: 400;
    letter-spacing: 0px;
    color: var(--sad-text-light);
    padding: 10px 24px;
    transition: color 0.2s;
}
.sad-details-toggle:hover {
    color: var(--sad-primary);
}

.sad-toggle-chevron {
    font-size: 34px;
    line-height: 1;
    transition: transform 0.35s ease;
    display: block;
}

.sad-details-toggle.sad-toggle-active .sad-toggle-chevron {
    transform: rotate(180deg);
}

/* Secțiunea target — ascunsă implicit */
.sad-details-collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    pointer-events: none;
}
.sad-details-collapsed.sad-details-visible {
    max-height: none;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
}

/* ═══════════════════════════════════
   DIFFICULTY BARS
   ═══════════════════════════════════ */
.sad-bars {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sad-bar-group {
    display: flex;
    flex-direction: column;
    height: 85px;
}

/* Rândul cu iconuri: stânga + dreapta */
.sad-bar-icons {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6px;
}
.sad-bar-icon img {
    width: auto;
    height: 28px !important;
    display: block;
}

/* Bara: track alb, fill portocaliu din dreapta */
.sad-bar-track {
    position: relative;
    height: 6px;
    background: #fff;
    border-radius: 3px;
    overflow: visible;
}

/* Fill portocaliu din punct spre DREAPTA */
.sad-bar-fill {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--sad-primary);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.sad-bar-dot {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--sad-primary);
    border: 3px solid var(--sad-primary);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Labels sub bară */
.sad-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    margin-top: 6px;
    padding: 0 2px;
}



/* ═══════════════════════════════════
   ACCORDION (FAQ)
   ═══════════════════════════════════ */
.sad-accordion {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sad-accordion-item {
    border-radius: 6px;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.sad-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: var(--sad-primary);
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    transition: background 0.2s;
    font-family: inherit;
}

.sad-accordion-header:hover {
    background: var(--sad-primary-dark, #b84a15);
    color: #fff;
}

.sad-accordion-sign {
    font-size: 22px;
    font-weight: 400;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s;
}

.sad-accordion-open .sad-accordion-sign {
    transform: rotate(45deg);
}

.sad-accordion-title {
    flex: 1;
}

.sad-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    background: #fff;
}

.sad-accordion-open .sad-accordion-body {
    grid-template-rows: 1fr;
}

.sad-accordion-inner {
    overflow: hidden;
    min-height: 0;
    color: var(--sad-text);
    line-height: 1.7;
    padding: 0 20px;
}

.sad-accordion-open .sad-accordion-inner {
    padding: 16px 20px 24px;
}

.sad-accordion-inner p {
    margin: 0 0 12px;
}

.sad-accordion-inner p:last-child {
    margin-bottom: 0;
}

.sad-accordion-inner ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.sad-accordion-inner li {
    margin-bottom: 6px;
}

/* ═══════════════════════════════════
   TEAM
   ═══════════════════════════════════ */
.sad-team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}
.sad-team-cols-2 .sad-team-member { width: calc(50% - 15px); }
.sad-team-cols-3 .sad-team-member { width: calc(33.333% - 20px); }
.sad-team-cols-4 .sad-team-member { width: calc(25% - 23px); }

.sad-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sad-team-photo,
.sad-modal-photo {
    width: 144px;
    height: 144px !important;
    border-radius: 50% !important;
    object-fit: cover;
    margin-bottom: 12px;
}

.sad-team-name {
    font-weight: 600;
    line-height: normal;
    margin: 0;
    color: var(--sad-primary);
    font-family: var(--e-global-typography-primary-font-family, inherit);
}

.sad-team-role {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    text-transform: none;
}

.sad-team-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 12px;
}

.sad-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #333;
    transition: color 0.2s, transform 0.2s;
}
.sad-social-link:hover {
    color: var(--sad-primary);
    transform: scale(1.1);
}

.sad-team-bio {
    font-size: 15px;
    font-weight: 300;
    color: var(--sad-text);
    line-height: 1.6;
    margin: 0 0 8px;
    /* Trunchiază la ~4 rânduri */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sad-team-readmore {
    background-color: transparent !important;
    background: none;
    border: none;
    color: var(--sad-primary) !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
    font-family: inherit;
}
.sad-team-readmore:hover {
    color: var(--sad-primary-dark, #b84a15);
}

/* ═══════════════════════════════════
   MODAL (Team bio popup)
   ═══════════════════════════════════ */
.sad-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.sad-modal.sad-modal-active {
    display: flex;
}

.sad-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: sadFadeIn 0.2s ease;
}

.sad-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: sadSlideUp 0.3s ease;
}

.sad-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}
.sad-modal-close:hover {
    color: #333;
}

.sad-modal-body {
    text-align: center;
}

.sad-modal-name {
    font-weight: 600;
    line-height: normal;
    margin: 0;
    color: var(--sad-primary);
    font-family: var(--e-global-typography-primary-font-family, inherit);
}

.sad-modal-role {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px;
    text-transform: none;
}

.sad-modal-bio {
    text-align: left;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--sad-text);
}
.sad-modal-bio p {
    margin: 0 0 12px;
}
.sad-modal-bio p:last-child {
    margin-bottom: 0;
}

@keyframes sadFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes sadSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════
   STAGGER & RESPONSIVE
   ═══════════════════════════════════ */

/* Stagger effect pe 2 coloane — coloana stângă decalată în jos */
.sad-details-grid.sad-stagger .sad-detail-item:nth-child(odd) {
    margin-top: 100px;
}
.sad-details-grid.sad-stagger .sad-detail-item:first-child {
    margin-top: 100px;
}

@media (min-width: 987px){
    .sad-details-grid.sad-stagger{
        column-gap: 180px !important;  /* doar orizontal */
    }
}

@media (max-width: 768px) {
    .sad-details-grid {
        grid-template-columns: 1fr !important;
    }

    /* Anulează stagger pe mobile (1 coloană) */
    .sad-details-grid.sad-stagger .sad-detail-item:nth-child(odd) {
        margin-top: 0;
    }

    .sad-team-grid {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        margin: 0 auto;
    }
    .sad-team-grid .sad-team-member {
        width: 100% !important;
    }
    
    .sad-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .sad-detail-content li {
        margin-bottom: 15px;
    }

    .sad-detail-content li {
        margin-bottom: 15px;
    }
}