.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(350px, calc(100cqw - 24px));
    --gk-hero-card-height: calc(var(--gk-hero-card-width) * 5 / 4);
    --gk-hero-photo-height: var(--gk-hero-card-height);
    --gk-hero-gap: -32px;
    --gk-hero-card-scale: .96;
    --gk-hero-card-radius: 12px;
    --gk-hero-copy-gap: 8px;
    --gk-hero-copy-inset: 16px;
    --gk-hero-copy-color: #fff;
    --gk-hero-shade: linear-gradient(180deg, transparent, rgb(0 0 0 / 82%));
    --gk-hero-link-radius: 8px;
    --gk-hero-link-fill: rgb(255 255 255 / 16%);
    --gk-hero-link-hover: rgb(255 255 255 / 24%);
    --gk-hero-link-active: rgb(255 255 255 / 32%);
    container-type: inline-size;
    padding-block: 12px 16px;
    background: var(--gk-bg);
    min-width: 0;
}

.gk-hero-stage {
    position: relative;
    touch-action: pan-y;
}

.gk-home-hero.is-enhanced .gk-hero-stage {
    overflow: hidden;
}

.gk-hero-card {
    display: none;
    position: relative;
    width: var(--gk-hero-card-width);
    aspect-ratio: 4 / 5;
    min-height: var(--gk-hero-card-height);
    min-width: 0;
    margin-inline: auto;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--gk-hero-card-radius);
}

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

.gk-home-hero.is-enhanced .gk-hero-card {
    display: grid;
    align-items: end;
    position: absolute;
    inset: 8px auto auto 50%;
    margin: 0;
    transform: translateX(calc(-50% + var(--gk-offset) * (100% + var(--gk-hero-gap)))) scale(var(--gk-hero-card-scale));
    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);
    justify-items: start;
    gap: var(--gk-hero-copy-gap);
    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);
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.25;
    margin: 0;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.gk-hero-card p {
    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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: var(--gk-hero-link-radius);
    background: var(--gk-hero-link-fill);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gk-hero-copy-color);
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.gk-hero-card-photo {
    position: absolute;
    inset: 0;
    display: grid;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-radius: var(--gk-hero-card-radius);
    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: var(--gk-hero-link-hover);
}

.gk-hero-card-content a:active {
    background: var(--gk-hero-link-active);
}

.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: 0px;
        --gk-hero-card-width: clamp(320px, 32cqw, 420px);
        --gk-hero-copy-inset: 20px;
        padding-top: 24px;
    }

    .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;
    }
}

@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;
    }
}
