/* Keep the module heading compact so the page content starts sooner. */
body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) {
    padding: 24px 0;
}

body :is(.public-listing-heading > .module-hero-layout, .feelink-hero > .feelink-hero-inner) {
    grid-template-columns: minmax(0, 1fr) clamp(140px, 21vw, 258px);
    gap: clamp(16px, 4vw, 60px);
    min-height: 142px;
}

body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) .eyebrow,
.public-listing-heading .actions[aria-hidden="true"] {
    display: none !important;
}

body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) h1 {
    margin: 0 0 8px;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    line-height: 1.18;
}

body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) .hero-copy {
    max-width: 44em;
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

body :is(.public-listing-heading, .feelink-hero) .actions {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px !important;
}

body :is(.public-listing-heading, .feelink-hero) .actions .button {
    min-height: 48px;
    min-width: 104px;
    padding: 10px 20px;
    font-size: 1rem;
}

body .public-listing-heading .module-hero-visual {
    width: 100%;
    max-width: 258px;
    aspect-ratio: auto;
    justify-self: end;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.module-hero-visual::before {
    display: none;
}

body .feelink-hero .feelink-emblem {
    grid-row: auto;
    width: min(100%, 136px);
    justify-self: center;
    border-radius: 22%;
    box-shadow: none;
}

body .public-listing-heading + .section {
    padding-top: clamp(22px, 3vw, 38px);
}

@media (max-width: 640px) {
    body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) {
        padding: 18px 0;
    }

    body :is(.public-listing-heading > .module-hero-layout, .feelink-hero > .feelink-hero-inner) {
        grid-template-columns: minmax(0, 1fr) clamp(72px, 24vw, 128px);
        min-height: 0;
        gap: 10px;
    }

    body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) h1 {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }

    body :is(.page-heading.public-listing-heading.module-hero-heading, .feelink-hero) .hero-copy {
        font-size: .875rem;
    }

    body :is(.public-listing-heading, .feelink-hero) .actions .button {
        min-height: 44px;
        min-width: 0;
        padding-inline: 14px;
    }

    body .feelink-hero .feelink-emblem {
        width: min(100%, 96px);
    }
}
