/* Groups and Feature heroes share the visual components used by Home/Overview. */
.page-hero-shell { padding: 0; }
.page-hero-shell > .page-breadcrumb { margin: 0 0 var(--feature-breadcrumb-gap); }
.feature-layout .page-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    isolation: isolate;
    box-sizing: border-box;
    padding-bottom: var(--feature-scroll-space);
    min-height: calc(100svh - 60px - var(--feature-page-top) - var(--feature-breadcrumb-height) - var(--feature-breadcrumb-gap));
}
.page-hero-shell h1 {
    font-size: clamp(2.5rem, 4.6vw, 4rem);
    font-weight: 700;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.page-hero-shell .features-hero-summary { max-width: 56ch; }
.page-hero-shell .features-hero-image img { max-width: 440px; }

/* Groups use the hero's navigation instead of a full-screen scroll prompt. */
.feature-layout .feature-group-hero {
    min-height: 0;
    padding-bottom: 0;
    row-gap: calc(var(--feature-section-gap) * 1.25);
}
.feature-group-hero-content {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: inherit;
    align-items: start;
    gap: var(--feature-column-gap);
    position: relative;
    isolation: isolate;
    min-width: 0;
}
.feature-group-hero .feature-group-jump-nav {
    grid-column: 1 / -1;
    position: static;
    top: auto;
    min-width: 0;
    gap: 8px;
    padding: 16px;
    border: 1px solid #d9e3ec;
    border-radius: 16px;
    background: #fff;
}
.feature-group-hero .feature-group-jump-nav a:focus-visible {
    outline-offset: -3px;
}

@media (max-width: 767px) {
    .feature-layout .page-hero { grid-template-columns: 1fr; }
    .page-hero-shell h1 { font-size: 38px; }
    .page-hero-shell .features-hero-image img {
        width: auto;
        max-width: 100%;
        height: clamp(140px, 24svh, 220px);
        margin-inline: auto;
    }
    .feature-group-hero .feature-group-jump-nav { padding: 12px; }
}

@media (max-width: 575px) and (max-height: 740px) {
    .page-hero-shell h1 { font-size: 32px; }
    .page-hero-shell .features-hero-image img { height: 120px; }
}
