.gk-home .gk-home-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.gk-home-hero {
    --gk-hero-card-width: min(312px, calc(100cqw - 48px));
    --gk-hero-card-height: 300px;
    --gk-hero-photo-height: 300px;
    --gk-hero-gap: -48px;
    --gk-hero-copy-inset: 16px;
    --gk-hero-copy-color: #fff;
    --gk-hero-shade: linear-gradient(180deg, transparent, rgb(0 0 0 / 82%));
    container-type: inline-size;
    padding-block: 24px 16px;
    background: var(--gk-bg);
    min-width: 0;
}

.gk-hero-stage {
    position: relative;
    height: calc(var(--gk-hero-card-height) + 16px);
    overflow: hidden;
    touch-action: pan-y;
}

.gk-hero-card {
    display: none;
    position: absolute;
    inset: 8px auto auto 50%;
    width: var(--gk-hero-card-width);
    min-height: var(--gk-hero-card-height);
    min-width: 0;
    isolation: isolate;
    background: var(--gk-ink);
    transform: translateX(-50%);
}

.gk-hero-card.is-active {
    display: grid;
    align-items: end;
}

.gk-hero-card--banner {
    --gk-hero-photo-height: calc(var(--gk-hero-card-width) * .75);
    min-height: var(--gk-hero-photo-height);
}

.gk-home-hero.is-enhanced .gk-hero-card {
    display: grid;
    align-items: end;
    transform: translateX(calc(-50% + var(--gk-offset) * (100% + var(--gk-hero-gap)))) scale(.86);
    opacity: .55;
    z-index: 1;
    transition: transform 420ms cubic-bezier(.22, .68, 0, 1.05), opacity 420ms ease;
}

.gk-home-hero.is-enhanced .gk-hero-card.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 2;
}

.gk-hero-card-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: var(--gk-hero-copy-inset);
    padding-top: max(var(--gk-hero-copy-inset), calc(var(--gk-hero-photo-height) * .4));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    color: var(--gk-hero-copy-color);
}

.gk-hero-card-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gk-hero-shade);
    pointer-events: none;
}

.gk-home-hero.is-enhanced .gk-hero-card:not(.is-active) .gk-hero-card-content {
    opacity: 0;
}

.gk-hero-card-label {
    display: none;
}

.gk-hero-card h2 {
    font-family: var(--gk-font-ui);
    grid-column: 1;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.25;
    margin: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.gk-hero-card p {
    display: none;
    grid-column: 1;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: var(--gk-hero-copy-color);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.gk-hero-card-content a {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    font-size: 0;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gk-hero-copy-color);
}

.gk-hero-card-content a span {
    font-size: 20px;
}

.gk-hero-card-photo {
    position: absolute;
    inset: 0;
    display: grid;
    min-width: 0;
    min-height: 0;
    background: transparent;
}

.gk-hero-card-photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 50% 25%;
}

.gk-hero-card-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    display: none;
}

.gk-home-hero.is-enhanced .gk-hero-card-select:not([hidden]) {
    display: block;
}

.gk-hero-controls:not([hidden]) {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.gk-hero-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--gk-ink);
    cursor: pointer;
}

.gk-hero-controls button:hover {
    color: var(--gk-red);
}

.gk-hero-card-content a:hover {
    color: var(--gk-hero-copy-color);
    background: rgb(255 255 255 / 16%);
}

.gk-hero-controls svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.gk-hero-dots {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 104px);
}

.gk-hero-dots button {
    width: 32px;
}

.gk-hero-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #777;
}

.gk-hero-dots [aria-pressed="true"] span {
    width: 20px;
    background: var(--gk-red);
}

.gk-home-hero:focus-visible,
.gk-home-hero button:focus-visible,
.gk-home-hero a:focus-visible {
    outline: 2px solid var(--gk-ink);
    outline-offset: 2px;
}

.gk-hero-card-content a:focus-visible {
    outline-color: var(--gk-hero-copy-color);
}

.gk-home .gk-editorial--compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--gk-ink);
    color: #fff;
}

.gk-home .gk-editorial--compact .gk-editorial-copy {
    padding: 0 !important;
    min-height: 0;
    gap: 16px;
    overflow: visible !important;
}

.gk-home .gk-editorial--compact h2 {
    max-width: 640px;
    font-size: 32px;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.gk-home .gk-editorial--compact .gk-editorial-description {
    margin-top: 16px;
    max-width: 540px;
}

.gk-home .gk-editorial--compact .gk-editorial-quote {
    padding: 0 !important;
    min-width: 0;
    min-height: 0;
    background: transparent;
}

.gk-home .gk-editorial--compact .gk-editorial-image {
    aspect-ratio: 3 / 2;
    max-height: 200px;
    min-height: 0;
}

@media (min-width: 768px) {
    .gk-hero-controls:not([hidden]) {
        gap: 16px;
    }

    .gk-home-hero {
        --gk-hero-gap: 16px;
        --gk-hero-card-width: clamp(280px, 38cqw, 440px);
        --gk-hero-card-height: 340px;
        --gk-hero-photo-height: 340px;
        --gk-hero-copy-inset: 20px;
    }

    .gk-home .gk-editorial--compact {
        grid-template-columns: minmax(0, 1fr) minmax(0, 36%) !important;
        gap: 32px;
        padding: 32px;
    }

    .gk-home .gk-editorial--compact h2 {
        font-size: 36px;
    }

    .gk-home .gk-editorial--compact .gk-editorial-image {
        max-height: 240px;
    }
}

@media (min-width: 1024px) {
    .gk-hero-card h2 {
        font-size: 24px;
    }

    .gk-hero-card p {
        display: block;
        margin-top: 4px;
    }

    .gk-hero-card-content a {
        grid-row: 1 / 3;
    }
}

@media (min-width: 1200px) {
    .gk-home .gk-editorial--compact {
        grid-template-columns: minmax(0, 1fr) minmax(0, 360px) !important;
    }

    .gk-home .gk-editorial--compact h2 {
        font-size: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gk-home-hero.is-enhanced .gk-hero-card {
        transition: none;
    }
}
