:root {
    --store-cyan: #32c6ff;
    --store-text: #222;
}

/* Keep the store navigation visible while viewing the full organization chart. */
.nav { position: sticky !important; top: 0 !important; z-index: 1000 !important; }

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--store-text);
    background: #fff;
}

.store-structure-page {
    padding-top: 0;
}

.store-structure-hero {
    position: relative;
    height: clamp(300px, 31vw, 470px);
    overflow: hidden;
    background: #111;
}

.store-structure-hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.store-structure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 9, 11, .82) 0%, rgba(7, 9, 11, .52) 45%, rgba(7, 9, 11, .16) 100%);
}

.store-structure-hero-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1200px, calc(100% - 48px));
    color: #fff;
    transform: translate(-50%, -50%);
}

.store-structure-kicker {
    margin: 0 0 14px;
    color: var(--store-cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.store-structure-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 4.4vw, 68px);
    font-weight: 500;
    letter-spacing: 3px;
}

.store-structure-hero-inner > p:not(.store-structure-kicker) {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(15px, 1.4vw, 20px);
    line-height: 1.8;
}

.store-structure-hero-inner > span {
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 26px;
    background: var(--store-cyan);
}

.store-structure-chart {
    padding: clamp(56px, 7vw, 104px) 24px;
    background: #fff;
}

.store-structure-chart-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.store-structure-chart img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .store-structure-hero {
        height: 360px;
    }

    .store-structure-hero-inner {
        width: calc(100% - 36px);
    }

    .store-structure-chart {
        padding: 48px 12px;
        overflow-x: auto;
    }

    .store-structure-chart-inner {
        min-width: 760px;
    }
}

@media (max-width: 1024px) {
    body.website-shop-structure .store-structure-hero {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        padding: 0 !important;
        background: #15191f !important;
    }

    body.website-shop-structure .store-structure-hero > img, body.website-shop-structure .store-structure-hero > .store-structure-overlay {
        display: none !important;
    }

    body.website-shop-structure .store-structure-hero > .store-structure-hero-inner {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 26px 18px 22px !important;
        transform: none !important;
        background: #15191f !important;
    }

    body.website-shop-structure .store-structure-hero h1,
    body.website-shop-structure .store-structure-hero p {
        color: #fff !important;
    }
}
