/* Homepage community refresh (fw-web-core #125; concept fw-doc-core #28).
 * Presentation only. Existing ACARS map, stats widgets and activity
 * interactions remain owned by their original modules.
 */
#promo {
    min-height: 90vh;
}
#promo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10,10,10,.42), rgba(10,10,10,.56) 48%, rgba(19,19,19,.82));
}
#promo .promo-content {
    min-height: 90vh;
    padding-top: 125px;
    padding-bottom: 105px;
}
#promo .hero-card {
    max-width: 880px;
    padding: 34px 36px;
}
/* Single-line headline, also at narrow mobile widths. Scale the type
 * rather than clipping the text or introducing a forced line break. */
#promo .hero-title {
    white-space: nowrap;
    font-size: clamp(14px, 4vw, 46px);
    letter-spacing: -.035em;
    max-width: 100%;
}
#promo .hero-subtitle {
    max-width: 750px;
    font-size: clamp(16px, 1.5vw, 18px);
}
#promo .hero-eyebrow {
    margin-bottom: 15px;
}
/* Both Hero CTAs use a centered flex layout on desktop and mobile. */
#promo .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
#promo .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    padding: 12px 22px;
    text-align: center;
    line-height: 1.3;
}
.fw-home-eyebrow {
    margin: 0 0 10px;
    color: #ffab70 !important;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}
#features.fw-home-philosophy {
    padding: 58px 0 68px;
}
/* The activity section title and the "Gemeinsam unterwegs" feature
 * title stay on one line without changing the compact 290px event cards. */
#fw-home-community #fw-home-community-heading {
    white-space: nowrap;
    font-size: clamp(20px, 4.5vw, 39px);
}
#features .feature-box--events h3 {
    white-space: nowrap;
    font-size: clamp(14px, 1.35vw, 19px);
    letter-spacing: -.02em;
}
#features .fw-home-story {
    max-width: 730px;
    margin: 22px auto 28px;
    text-align: center;
}
#features .fw-home-story p {
    margin: 0 0 13px;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
}
#features .fw-home-story p:last-child {
    margin-bottom: 0;
}
#features .feature-box {
    text-align: center;
}
#features .fw-home-feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 64px;
    margin-bottom: 14px;
    color: #ff9a3c;
    font-size: 35px;
}
#features .feature-box h3 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 12px;
}
#features .feature-box p {
    font-size: 15px;
    line-height: 1.65;
}
#about.fw-home-live-intro {
    padding: 60px 0 0;
    background: #202020;
}
#about.fw-home-live-intro .section-subtitle {
    margin-bottom: 28px;
}
#about .fw-mini-stats-row .item {
    margin-bottom: 16px;
}
#about .fw-mini-stat-card {
    min-height: 155px;
    padding: 17px 14px;
}
#about .fw-mini-stat-card .sub-title {
    font-size: 15px;
    margin-bottom: 8px;
}
#about .fw-mini-stat-card .stat-numbers {
    font-size: 31px;
    margin-bottom: 7px;
}
#about .fw-mini-stat-card .stat-label {
    font-size: 13px;
}
#map-cont.fw-home-live-map,
#map-cont {
    padding: 0 0 36px;
    background: #202020;
}
/* Keep the existing full-bleed Leaflet canvas and flight-detail sidebar. */
#map-cont .fw-map-shell-home {
    width: 100vw;
    height: 600px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}
#map-cont .fw-map-shell-home #map {
    width: 100%;
    height: 600px;
}
#map-cont > .container:last-child {
    padding-top: 6px;
}
#airplanes.fw-home-fleet {
    padding: 62px 0 56px;
}
#airplanes .fw-home-fleet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1030px;
    margin: 0 auto;
}
#airplanes .fw-home-fleet-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #242424;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
#airplanes .fw-home-fleet-media {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 210px;
    padding: 12px 22px;
    background: linear-gradient(145deg, #323232, #222);
}
#airplanes .fw-home-fleet-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
    margin: 0;
}
#airplanes .fw-home-fleet-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    color: #c9b8ab;
    text-align: center;
}
#airplanes .fw-home-fleet-placeholder i {
    color: #f07a1a;
    font-size: 36px;
}
#airplanes .fw-home-fleet-content {
    padding: 20px 24px 24px;
}
#airplanes .fw-home-fleet-operator {
    display: inline-block;
    margin-bottom: 6px;
    color: #ffab70;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}
#airplanes .fw-home-fleet-content h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}
#airplanes .fw-home-fleet-content p {
    color: #d9d9d9;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
#airplanes .fw-home-fleet-footer {
    margin-top: 24px;
    text-align: center;
}
#airplanes .fw-home-fleet-footer a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    padding: 11px 22px;
}
#vatsim.fw-home-vatsim {
    padding: 50px 0 46px;
    text-align: center;
    background: #202020;
}
#vatsim .section-subtitle {
    max-width: 795px;
    margin-bottom: 24px;
}
#vatsim .fw-home-vatsim-logo {
    display: inline-block;
    padding: 10px;
}
#vatsim .fw-home-vatsim-logo img {
    width: 200px;
    max-width: 100%;
}
#fw-home-operations.fw-home-operations {
    padding: 62px 0 60px;
    background: #262626;
}
#fw-home-operations .section-subtitle {
    margin-bottom: 30px;
}
#fw-home-operations .fw-home-operations-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
#fw-home-operations .stats.section {
    padding: 0;
    margin: 0;
    background: transparent;
    min-width: 0;
}
#fw-home-operations .stats.section > .container,
#fw-home-operations .stats.section > .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
/* Each statistics panel gets the same full content width; no truncation
 * caused by a narrow Goldwurst/member two-column layout. */
#fw-home-operations .fw-home-operations-grid > section {
    width: 100%;
    min-width: 0;
}
#fw-home-operations #stats-best-landing .fw-best-landing-wrap,
#fw-home-operations #stats-best-landing .fw-best-landing-card,
#fw-home-operations #stats-pilots .fw-widget-card {
    width: 100%;
    max-width: 100%;
}
#fw-home-operations .fw-widget-table-wrap,
#fw-home-operations .fw-table-scroll {
    overflow-x: auto;
}
#join.fw-home-join {
    background: linear-gradient(100deg, #b65411, #e7771d);
    padding: 55px 0 60px;
}
#join .fw-home-join-content {
    max-width: 790px;
    margin: 0 auto;
    text-align: center;
}
#join .fw-home-join-eyebrow {
    margin: 0 0 10px;
    color: #fff0dc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}
#join .fw-home-join-content .title {
    text-align: center;
    margin-bottom: 16px;
    font-size: clamp(28px, 3.2vw, 39px);
    line-height: 1.2;
}
#join .fw-home-join-description {
    max-width: 740px;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 17px;
    line-height: 1.75;
}
#join .btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 26px;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
}
@media (max-width: 991px) {
    #features .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    #promo,
    #promo .promo-content {
        min-height: 100svh;
    }
    #promo .promo-content {
        padding: 125px 14px 98px;
    }
    #promo .hero-card {
        padding: 28px 20px;
    }
    #promo .hero-eyebrow {
        font-size: 10px;
    }
    #features.fw-home-philosophy {
        padding: 46px 0 52px;
    }
    #features .fw-home-story p {
        font-size: 15px;
        line-height: 1.7;
    }
    #features .features-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    #about.fw-home-live-intro {
        padding-top: 45px;
    }
    #about .fw-mini-stat-card {
        min-height: 147px;
    }
    #map-cont .fw-map-shell-home,
    #map-cont .fw-map-shell-home #map {
        height: 420px;
    }
    #airplanes .fw-home-fleet-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }
    #airplanes .fw-home-fleet-media {
        height: 195px;
    }
    #vatsim.fw-home-vatsim,
    #fw-home-operations.fw-home-operations {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    #join.fw-home-join {
        padding: 45px 0 50px;
    }
    #join .fw-home-join-description {
        font-size: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #promo .hero-card,
    #airplanes .fw-home-fleet-card,
    #join a {
        transition: none !important;
    }
}

/* Visible, linked caption tracks the active Focus Airport slide. */
#fw-home-community .fw-home-community__focus-caption {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 14px 9px;
    color: #fff;
    line-height: 1.4;
}
#fw-home-community .fw-home-community__focus-caption strong {
    font-size: 15px;
    font-weight: 800;
    overflow-wrap: anywhere;
}
#fw-home-community .fw-home-community__focus-icao {
    color: #aadfbd;
    font-size: 13px;
    font-weight: 700;
}
#fw-home-community .fw-home-community__focus-icao i {
    margin-right: 4px;
}
