/* Single expertise — detailed layout. Loaded only when ACF `use_detailed_layout` is on. */
/* Source: resources/less/single-expertise-detailed.less */

.single-expertise-detailed .visually-hidden-pic { display: none; }

.single-expertise-detailed .section-inner {
    max-width: 1316px;
    margin: 0 auto;
    padding: 0 30px;
}

/* HERO */
.single-expertise-detailed .hero { padding-top: 0; }
.single-expertise-detailed .hero .hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}
.single-expertise-detailed .hero .breadcrumb {
    padding: 45px 0 0 0;
    margin: 0 0 36px 0;
    font-size: 14px;
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    color: #222222;
}
.single-expertise-detailed .hero .breadcrumb a { color: #222222; text-decoration: none; }
.single-expertise-detailed .hero .breadcrumb a:hover { text-decoration: underline; }
.single-expertise-detailed .hero .breadcrumb i {
    font-size: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.single-expertise-detailed .hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 60px;
}
.single-expertise-detailed .hero .hero-title {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #222222;
    margin: 0;
    max-width: none;
}
.single-expertise-detailed .hero .hero-desc {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(34, 34, 34, 0.6);
}
.single-expertise-detailed .hero .hero-desc p { margin: 0; }

/* HERO BANNER */
.single-expertise-detailed .hero-banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    max-width: 1440px;
    margin: 0 auto;
}
.single-expertise-detailed .hero-banner .hero-image {
    background-color: #b8a890;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 220px;
}
.single-expertise-detailed .hero-banner .hero-stats {
    background: #222222;
    color: #FFFFFF;
    padding: 28px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 28px;
    align-content: space-between;
}
.single-expertise-detailed .hero-banner .stat {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.single-expertise-detailed .hero-banner .stat-num {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1;
    color: #FFFFFF;
}
.single-expertise-detailed .hero-banner .stat-label {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.25;
    color: #FFFFFF;
    max-width: 130px;
}
.single-expertise-detailed .hero-banner .scroll-indicator {
    display: block;
    position: absolute;
    right: 22px;
    bottom: 28px;
    width: 80px;
    height: auto;
    aspect-ratio: 112 / 65;
}
.single-expertise-detailed .hero-banner .scroll-indicator svg {
    width: 100%;
    height: 100%;
}

/* EXPERTISE */
.single-expertise-detailed .expertise { padding: 80px 0 64px; }
.single-expertise-detailed .section-eyebrow {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #F00000;
    margin: 0 0 16px 0;
}
.single-expertise-detailed .section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
}
.single-expertise-detailed .section-title {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: #222222;
    margin: 0;
    max-width: none;
}
.single-expertise-detailed .section-desc {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(34, 34, 34, 0.7);
    margin-left: 0;
    max-width: none;
}
.single-expertise-detailed .section-desc p { margin: 0; }

.single-expertise-detailed .expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 44px;
    border-top: 1px solid rgba(34, 34, 34, 0.15);
    padding-top: 36px;
}
.single-expertise-detailed .card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: none;
}
.single-expertise-detailed .card-num {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 56px;
    line-height: 1;
    color: #F00000;
    margin: 0;
}
.single-expertise-detailed .card-title {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 26px;
    line-height: 1.1;
    color: #222222;
    margin: 0;
}
.single-expertise-detailed .card-text {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(34, 34, 34, 0.7);
    margin: 0;
}

/* DARK */
.single-expertise-detailed .dark-section {
    background: #222222;
    color: #FFFFFF;
    padding: 64px 0;
}
.single-expertise-detailed .dark-section .section-inner {
    display: flex;
    flex-direction: column;
}
.single-expertise-detailed .dark-section .dark-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.single-expertise-detailed .dark-section .dark-row:first-child { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.single-expertise-detailed .dark-section .dark-title {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-size: 26px;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0;
    max-width: none;
}
.single-expertise-detailed .dark-section .dark-text {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: none;
    margin-left: 0;
}
.single-expertise-detailed .dark-section .dark-text p { margin: 0; }

/* TEAM */
.single-expertise-detailed .team {
    padding: 80px 0 64px;
    background: #FBFBFB;
}
.single-expertise-detailed .team .section-head { margin-bottom: 56px; }
.single-expertise-detailed .team .team-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
.single-expertise-detailed .team a.team-figure {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.single-expertise-detailed .team a.team-figure .team-photo {
    transition: opacity 0.3s ease;
}
.single-expertise-detailed .team a.team-figure:hover .team-photo { opacity: 0.85; }
.single-expertise-detailed .team a.team-figure:hover .team-name { text-decoration: underline; }
.single-expertise-detailed .team .team-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: none;
}
.single-expertise-detailed .team .team-bio {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #222222;
    margin: 0;
}
.single-expertise-detailed .team .team-rule {
    border: 0;
    border-top: 1px solid rgba(34, 34, 34, 0.15);
    width: 100%;
    margin: 0;
}
.single-expertise-detailed .team .team-quote {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 300;
    font-style: normal;
    font-size: 24px;
    line-height: 1.25;
    color: #222222;
    margin: 0;
}
.single-expertise-detailed .team .team-figure {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}
.single-expertise-detailed .team .team-photo {
    width: 100%;
    max-width: 410px;
    height: auto;
    aspect-ratio: 410 / 519;
    object-fit: cover;
    display: block;
}
.single-expertise-detailed .team .team-figure {
    align-self: start;
}
.single-expertise-detailed .team .team-caption {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.single-expertise-detailed .team .team-name {
    font-family: 'Tiempos Headline', Georgia, serif;
    font-weight: 500;
    font-size: 17px;
    color: #222222;
    margin: 0;
}
.single-expertise-detailed .team .team-role {
    font-family: 'Frutiger LT Std', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #909090;
    margin: 0;
}

/* DESKTOP ≥960 */
@media (min-width: 960px) {
    .single-expertise-detailed .section-inner { padding: 0 65px; }

    .single-expertise-detailed .hero .hero-inner { padding: 0 65px; }
    .single-expertise-detailed .hero .breadcrumb {
        margin: 100px 0 50px 0;
    }
    .single-expertise-detailed .hero .hero-grid {
        grid-template-columns: 1fr 393px;
        gap: 80px;
        align-items: start;
        padding-bottom: 90px;
    }
    .single-expertise-detailed .hero .hero-title {
        font-size: 50px;
        line-height: 1.15;
        max-width: 673px;
    }
    .single-expertise-detailed .hero .hero-desc { font-size: 16px; }

    .single-expertise-detailed .hero-banner {
        grid-template-columns: 1fr 527px;
        height: 358px;
    }
    .single-expertise-detailed .hero-banner .hero-image { height: 100%; }
    .single-expertise-detailed .hero-banner .hero-stats {
        padding: 50px 64px 50px 70px;
        column-gap: 40px;
        row-gap: 50px;
    }
    .single-expertise-detailed .hero-banner .stat-num { font-size: 42px; }
    .single-expertise-detailed .hero-banner .stat-label {
        font-size: 14px;
        max-width: 150px;
    }
    .single-expertise-detailed .hero-banner .scroll-indicator {
        display: block;
        position: absolute;
        right: 64px;
        bottom: 56px;
        width: 112px;
        height: 65px;
    }
    .single-expertise-detailed .hero-banner .scroll-indicator svg {
        width: 100%;
        height: 100%;
    }

    .single-expertise-detailed .expertise { padding: 130px 0 100px; }
    .single-expertise-detailed .section-eyebrow {
        font-size: 18px;
        margin-bottom: 24px;
    }
    .single-expertise-detailed .section-head {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
        margin-bottom: 64px;
    }
    .single-expertise-detailed .section-title {
        font-size: 50px;
        max-width: 580px;
    }
    .single-expertise-detailed .section-desc {
        font-size: 16px;
        max-width: 440px;
        margin-left: auto;
    }
    .single-expertise-detailed .team .section-desc {
        max-width: 447px;
    }

    .single-expertise-detailed .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 60px;
        row-gap: 72px;
        padding-top: 60px;
    }
    .single-expertise-detailed .card {
        gap: 28px;
        max-width: 386px;
    }
    .single-expertise-detailed .card-num { font-size: 86px; }
    .single-expertise-detailed .card-title { font-size: 36px; }
    .single-expertise-detailed .card-text { font-size: 17px; }
    .single-expertise-detailed .card-offset {
        grid-column: 2;
        position: relative;
    }
    .single-expertise-detailed .card-offset::before {
        content: '';
        position: absolute;
        top: -36px;
        left: 0;
        width: calc(200% + 60px);
        height: 1px;
        background: rgba(34, 34, 34, 0.15);
    }

    .single-expertise-detailed .dark-section { padding: 100px 0; }
    .single-expertise-detailed .dark-section .dark-row {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
        padding: 50px 0;
    }
    .single-expertise-detailed .dark-section .dark-title {
        font-size: 48px;
        max-width: 510px;
    }
    .single-expertise-detailed .dark-section .dark-text {
        font-size: 16px;
        max-width: 460px;
        margin-left: auto;
    }

    .single-expertise-detailed .team {
        padding: 130px 0 80px;
    }
    .single-expertise-detailed .team .section-head { margin-bottom: 100px; }
    .single-expertise-detailed .team .team-card {
        grid-template-columns: 1fr 447px;
        gap: 200px;
    }
    .single-expertise-detailed .team .team-text {
        gap: 40px;
        max-width: 560px;
    }
    .single-expertise-detailed .team .team-bio { font-size: 18px; }
    .single-expertise-detailed .team .team-quote { font-size: 40px; }
    .single-expertise-detailed .team .team-photo {
        width: 410px;
        max-width: 410px;
        height: 519px;
        aspect-ratio: auto;
    }
}

/* TABLET ─ bump hero image height when stacked (≥600 below desktop) */
@media (min-width: 600px) and (max-width: 959.98px) {
    .single-expertise-detailed .hero-banner .hero-image { height: 320px; }
    .single-expertise-detailed .hero-banner .hero-stats {
        padding: 36px 40px;
        column-gap: 32px;
        row-gap: 36px;
    }
    .single-expertise-detailed .hero-banner .stat-num { font-size: 38px; }
    .single-expertise-detailed .hero-banner .stat-label {
        font-size: 13px;
        max-width: 200px;
    }
}

/* MID — relax desktop spacings on smaller laptops 960..1200 */
@media (min-width: 960px) and (max-width: 1200px) {
    .single-expertise-detailed .section-inner,
    .single-expertise-detailed .hero .hero-inner { padding: 0 40px; }
    .single-expertise-detailed .hero .hero-grid {
        grid-template-columns: 1fr 360px;
        gap: 48px;
    }
    .single-expertise-detailed .hero-banner { grid-template-columns: 1fr 420px; }
    .single-expertise-detailed .expertise-grid {
        column-gap: 40px;
        row-gap: 56px;
    }
    /* divider line must match the local column-gap (40px not 60px) */
    .single-expertise-detailed .card-offset::before {
        width: calc(200% + 40px);
    }
    .single-expertise-detailed .team .team-card { gap: 80px; }
}
