/*
|--------------------------------------------------------------------------
| ADI YOGPEETH — HOMEPAGE V2 COURSE FINDER HERO
|--------------------------------------------------------------------------
| Premium V2 design-system refinement.
|
| PHP + JS intentionally unchanged.
| All selectors remain scoped to .ayp-home-v2-hero.
| Desktop, 1280px laptop, tablet and mobile are tuned separately.
|--------------------------------------------------------------------------
*/

/* ========================================================================
   01. HERO BASE
======================================================================== */

.ayp-home-v2-hero,
.ayp-home-v2-hero * {
    box-sizing: border-box;
}

.ayp-home-v2-hero {

    --ayp-green: #173F35;
    --ayp-green-deep: #12382F;
    --ayp-gold: #B79A63;
    --ayp-gold-light: #D4BC88;
    --ayp-ivory: #FAF8F3;
    --ayp-sand: #F4EFE6;
    --ayp-terracotta: #B86A4B;
    --ayp-sage: #829487;
    --ayp-charcoal: #252825;
    --ayp-muted: #68736D;
    --ayp-line: rgba(23, 63, 53, 0.13);
    --ayp-white: #FFFDF9;

    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: calc(100vh - 80px);
    max-height: 900px;
    overflow: hidden;

    background: var(--ayp-ivory);
    color: var(--ayp-charcoal);

    font-family: var(--font-body);
}

.ayp-home-v2-hero button,
.ayp-home-v2-hero input {
    font: inherit;
}


/* ========================================================================
   02. BACKGROUND
======================================================================== */

.ayp-home-v2-hero__backdrop {

    position: absolute;
    inset: 0;
    z-index: -3;

    background-image:
        linear-gradient(
            90deg,
            rgba(250, 248, 243, 0.985) 0%,
            rgba(250, 248, 243, 0.94) 28%,
            rgba(250, 248, 243, 0.60) 51%,
            rgba(250, 248, 243, 0.16) 74%,
            rgba(250, 248, 243, 0.04) 100%
        ),
        url("../images/hero/yoga-course-finder-hero.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.ayp-home-v2-hero__backdrop::after {

    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(250, 248, 243, 0.94) 0%,
            rgba(250, 248, 243, 0.18) 22%,
            transparent 47%
        );
}


/* ========================================================================
   03. HERO CONTENT
======================================================================== */

.ayp-home-v2-hero__content {

    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;

    padding:
        clamp(48px, 6.5vh, 76px)
        0
        clamp(32px, 4.5vh, 56px);
}


/* ========================================================================
   04. EYEBROW
======================================================================== */

.ayp-home-v2-hero__eyebrow {

    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;

    color: var(--ayp-gold);

    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.ayp-home-v2-hero__eyebrow span {

    width: 38px;
    height: 1px;
    flex: 0 0 38px;

    background: var(--ayp-gold);
}


/* ========================================================================
   05. HERO HEADING
======================================================================== */

.ayp-home-v2-hero h1 {

    max-width: 720px;
    margin: 0;

    color: var(--ayp-green);

    font-family: var(--font-display);
    font-size: clamp(50px, 5.25vw, 76px);
    font-weight: var(--font-weight-medium);
    line-height: 0.94;
    letter-spacing: -0.045em;
}

.ayp-home-v2-hero h1 em {

    color: var(--ayp-gold);
    font-style: italic;
    font-weight: var(--font-weight-medium);
}


/* ========================================================================
   06. ORNAMENT
======================================================================== */

.ayp-home-v2-hero__ornament {

    width: min(430px, 100%);

    display: flex;
    align-items: center;
    gap: 10px;

    margin: 17px 0 12px;
}

.ayp-home-v2-hero__ornament i {

    flex: 1;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(183, 154, 99, 0.72)
        );
}

.ayp-home-v2-hero__ornament i:last-child {

    background:
        linear-gradient(
            90deg,
            rgba(183, 154, 99, 0.72),
            transparent
        );
}

.ayp-home-v2-hero__ornament b {

    color: var(--ayp-gold);
    font-size: 13px;
    line-height: 1;
}


/* ========================================================================
   07. INTRO
======================================================================== */

.ayp-home-v2-hero__intro {

    max-width: 540px;
    margin: 0 0 22px;

    color: #33433C;

    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1.72;
}


/* ========================================================================
   08. COURSE FINDER
======================================================================== */

.ayp-course-finder {

    position: relative;
    width: min(760px, 100%);
}


/* ========================================================================
   09. TABS
======================================================================== */

.ayp-course-finder__tabs {

    display: flex;
    width: 535px;
    max-width: 100%;
}

.ayp-course-finder__tab {

    flex: 1;

    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 15px;

    border: 1px solid rgba(23, 63, 53, 0.11);
    border-bottom: 0;
    border-radius: 13px 13px 0 0;

    background: rgba(255, 253, 249, 0.90);
    color: var(--ayp-charcoal);

    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.01em;

    cursor: pointer;

    transition:
        background-color 220ms ease,
        color 220ms ease,
        border-color 220ms ease;
}

.ayp-course-finder__tab + .ayp-course-finder__tab {
    border-left: 0;
}

.ayp-course-finder__tab span {

    color: var(--ayp-gold);
    font-size: 19px;
    line-height: 1;
}

.ayp-course-finder__tab.is-active {

    background: var(--ayp-green);
    border-color: var(--ayp-green);
    color: var(--ayp-ivory);
}


/* ========================================================================
   10. FINDER PANEL
======================================================================== */

.ayp-course-finder__panel {

    position: relative;
    overflow: visible;

    padding: 21px;

    border: 1px solid rgba(23, 63, 53, 0.11);
    border-radius: 0 14px 14px 14px;

    background: rgba(255, 253, 249, 0.96);

    box-shadow:
        0 22px 58px rgba(23, 63, 53, 0.14);

    backdrop-filter: blur(14px);
}

.ayp-finder-view {
    display: none;
}

.ayp-finder-view.is-active {
    display: block;
}


/* ========================================================================
   11. SEARCH
======================================================================== */

.ayp-finder-search {

    position: relative;
    display: flex;
    align-items: center;
}

.ayp-finder-search__icon {

    position: absolute;
    left: 17px;
    z-index: 2;

    color: var(--ayp-green);
    font-size: 21px;
    line-height: 1;
}

.ayp-finder-search input {

    width: 100%;
    height: 56px;

    padding: 0 48px;

    border: 1px solid rgba(183, 154, 99, 0.65);
    border-radius: 8px;
    outline: 0;

    background: #FFFDF8;
    color: var(--ayp-charcoal);

    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1;

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease;
}

.ayp-finder-search input::placeholder {
    color: #7B827D;
}

.ayp-finder-search input:focus {

    border-color: var(--ayp-gold);

    box-shadow:
        0 0 0 3px rgba(183, 154, 99, 0.10);
}

.ayp-finder-search__clear {

    position: absolute;
    right: 10px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: transparent;
    color: var(--ayp-muted);

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

.ayp-finder-search__clear:focus-visible,
.ayp-finder-filters button:focus-visible,
.ayp-course-finder__tab:focus-visible,
.ayp-date-finder__heading button:focus-visible,
.ayp-date-month:focus-visible,
.ayp-popular-search:focus-visible {

    outline: 2px solid var(--ayp-gold);
    outline-offset: 3px;
}


/* ========================================================================
   12. AUTOCOMPLETE
======================================================================== */

.ayp-finder-results {

    display: none;

    max-height: 390px;
    overflow-y: auto;

    margin-top: 7px;

    border: 1px solid var(--ayp-line);
    border-radius: 9px;

    background: #FFFDF8;

    box-shadow:
        0 18px 42px rgba(23, 63, 53, 0.12);
}

.ayp-finder-results.is-visible {
    display: block;
}

.ayp-finder-result {

    display: grid;
    grid-template-columns: 49px minmax(0, 1fr) 22px;

    gap: 11px;
    align-items: center;

    padding: 12px 13px;

    border-bottom: 1px solid rgba(23, 63, 53, 0.08);

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition: background-color 180ms ease;
}

.ayp-finder-result:last-child {
    border-bottom: 0;
}

.ayp-finder-result:hover {
    background: #F5F1E8;
}

.ayp-finder-result__mark {

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(183, 154, 99, 0.45);
    border-radius: 50%;

    background: rgba(244, 239, 230, 0.55);
    color: var(--ayp-gold);

    font-family: var(--font-display);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    line-height: 1.05;
    text-align: center;
}

.ayp-finder-result__body {
    min-width: 0;
}

.ayp-finder-result__title {

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;

    color: var(--ayp-green);

    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

.ayp-finder-result__popular {

    padding: 3px 6px;

    border-radius: 4px;

    background: var(--ayp-gold);
    color: var(--ayp-ivory);

    font-family: var(--font-body);
    font-size: 6px;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ayp-finder-result__subtitle {

    margin-top: 3px;

    color: var(--ayp-muted);

    font-family: var(--font-body);
    font-size: 8px;
    line-height: 1.45;
}

.ayp-finder-result__styles {

    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;

    margin-top: 6px;

    color: #56625B;

    font-family: var(--font-body);
    font-size: 7px;
}

.ayp-finder-result__styles span::before {

    content: "•";
    margin-right: 4px;
    color: var(--ayp-gold);
}

.ayp-finder-result__arrow {

    color: var(--ayp-green);
    font-size: 18px;
    line-height: 1;
}

.ayp-finder-empty {

    padding: 22px 14px;

    color: var(--ayp-muted);

    font-family: var(--font-body);
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}


/* ========================================================================
   13. FILTERS
======================================================================== */

.ayp-finder-filters {

    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.05fr;

    gap: 8px;
    margin-top: 10px;
}

.ayp-finder-filters button {

    min-height: 45px;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 0 11px;

    border: 1px solid var(--ayp-line);
    border-radius: 7px;

    background: #FFFDF8;
    color: var(--ayp-charcoal);

    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}

.ayp-finder-filters button span {

    color: var(--ayp-gold);
    font-size: 15px;
    line-height: 1;
}

.ayp-finder-filters button b {

    margin-left: auto;

    color: var(--ayp-gold);
    font-size: 13px;
    line-height: 1;
}

.ayp-finder-filters .ayp-finder-search__submit {

    justify-content: center;

    border-color: var(--ayp-green);
    background: var(--ayp-green);
    color: var(--ayp-ivory);

    font-size: 10px;
}

.ayp-finder-search__submit span {
    color: var(--ayp-ivory) !important;
}


/* ========================================================================
   14. BENEFITS
======================================================================== */

.ayp-finder-benefits {

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 12px;
    padding: 11px 7px;

    border-radius: 9px;

    background: #F5F1E7;
}

.ayp-finder-benefits > div {

    min-width: 0;

    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);

    gap: 7px;

    padding: 2px 10px;

    border-right: 1px solid rgba(23, 63, 53, 0.10);
}

.ayp-finder-benefits > div:last-child {
    border-right: 0;
}

.ayp-finder-benefits strong {

    color: var(--ayp-gold);
    font-size: 18px;
    line-height: 1;
}

.ayp-finder-benefits span {

    color: var(--ayp-muted);

    font-family: var(--font-body);
    font-size: 7px;
    line-height: 1.35;
}

.ayp-finder-benefits b {

    display: block;
    margin-bottom: 2px;

    color: var(--ayp-charcoal);

    font-size: 8px;
    font-weight: 800;
}


/* ========================================================================
   15. DATE FINDER
======================================================================== */

.ayp-date-finder__heading {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 15px;
}

.ayp-date-finder__heading small {

    color: var(--ayp-gold);

    font-family: var(--font-body);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.ayp-date-finder__heading h2 {

    margin: 4px 0 0;

    color: var(--ayp-green);

    font-family: var(--font-display);
    font-size: 21px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.1;
}

.ayp-date-finder__heading button {

    flex: 0 0 auto;

    min-height: 36px;
    padding: 7px 12px;

    border: 1px solid rgba(183, 154, 99, 0.45);
    border-radius: 6px;

    background: var(--ayp-ivory);
    color: var(--ayp-green);

    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}

.ayp-date-finder__months {

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
}

.ayp-date-month {

    min-height: 59px;

    display: grid;
    place-content: center;
    gap: 3px;

    padding: 5px;

    border: 1px solid var(--ayp-line);
    border-radius: 8px;

    background: #FFFDF8;
    color: var(--ayp-green);

    text-align: center;
    cursor: pointer;

    transition:
        transform 200ms ease,
        background-color 200ms ease,
        border-color 200ms ease;
}

.ayp-date-month:hover,
.ayp-date-month.is-active {

    border-color: var(--ayp-gold);
    background: #F7F0DF;

    transform: translateY(-2px);
}

.ayp-date-month strong {

    font-family: var(--font-display);
    font-size: 17px;
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.ayp-date-month span {

    color: var(--ayp-muted);

    font-family: var(--font-body);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.ayp-date-finder__results {
    margin-top: 11px;
}

.ayp-date-result {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 10px 12px;

    border: 1px solid var(--ayp-line);
    border-radius: 7px;

    background: #FFFDF8;

    color: inherit;
    text-decoration: none;
}

.ayp-date-result + .ayp-date-result {
    margin-top: 6px;
}

.ayp-date-result__main {
    min-width: 0;
}

.ayp-date-result__main strong {

    display: block;

    color: var(--ayp-green);

    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 800;
}

.ayp-date-result__main span {

    display: block;
    margin-top: 2px;

    color: var(--ayp-muted);

    font-family: var(--font-body);
    font-size: 7px;
    line-height: 1.4;
}

.ayp-date-result__date {

    flex: 0 0 auto;

    color: var(--ayp-gold);

    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 800;
}


/* ========================================================================
   16. POPULAR SEARCHES
======================================================================== */

.ayp-popular-searches {

    width: min(860px, 100%);
    margin-top: 15px;
}

.ayp-popular-searches__title {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: var(--ayp-ivory);

    font-family: var(--font-body);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.20);
}

.ayp-popular-searches__title span {

    width: 31px;
    height: 1px;

    background: rgba(250, 248, 243, 0.72);
}

.ayp-popular-searches__list {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;

    margin-top: 8px;
}

.ayp-popular-search {

    min-height: 34px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 13px;

    border: 1px solid rgba(250, 248, 243, 0.65);
    border-radius: 999px;

    background: rgba(250, 248, 243, 0.91);
    color: var(--ayp-charcoal);

    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 800;
    line-height: 1;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);

    cursor: pointer;

    transition:
        transform 200ms ease,
        background-color 200ms ease;
}

.ayp-popular-search:hover {

    transform: translateY(-2px);
    background: #FFFFFF;
}

.ayp-popular-search span {
    color: var(--ayp-gold);
}


/* ========================================================================
   17. EXPERIENCE BADGE
======================================================================== */

.ayp-home-v2-hero__badge {

    position: absolute;
    right: clamp(28px, 7%, 100px);
    bottom: clamp(30px, 6vh, 74px);

    width: 176px;
    min-height: 118px;

    display: grid;
    place-content: center;

    padding: 15px;

    text-align: center;

    border: 1px solid rgba(212, 188, 136, 0.32);
    border-radius: 11px;

    background: rgba(18, 56, 47, 0.91);
    color: var(--ayp-ivory);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(9px);
}

.ayp-home-v2-hero__badge span {

    color: var(--ayp-gold-light);
    font-size: 12px;
    line-height: 1;
}

.ayp-home-v2-hero__badge strong {

    margin-top: 5px;

    color: var(--ayp-gold-light);

    font-family: var(--font-display);
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.05;
}

.ayp-home-v2-hero__badge small {

    margin-top: 4px;

    color: var(--ayp-ivory);

    font-family: var(--font-body);
    font-size: 8px;
    line-height: 1.45;
}


/* ========================================================================
   18. LAPTOP / 1101–1300
======================================================================== */

@media (min-width: 1101px) and (max-width: 1300px) {

    .ayp-home-v2-hero {
        min-height: calc(100vh - 80px);
    }

    .ayp-home-v2-hero__content {

        width: min(1120px, calc(100% - 58px));

        padding-top: clamp(42px, 5.5vh, 62px);
        padding-bottom: clamp(30px, 4vh, 45px);
    }

    .ayp-home-v2-hero h1 {
        font-size: 62px;
    }

    .ayp-home-v2-hero__intro {
        font-size: 10px;
        max-width: 510px;
        margin-bottom: 19px;
    }

    .ayp-course-finder {
        width: 700px;
    }

    .ayp-course-finder__panel {
        padding: 18px;
    }

    .ayp-finder-search input {
        height: 53px;
    }

    .ayp-home-v2-hero__badge {
        right: 3.5%;
        bottom: 38px;
    }
}


/* ========================================================================
   19. 801–1100
======================================================================== */

@media (min-width: 801px) and (max-width: 1100px) {

    .ayp-home-v2-hero {
        min-height: calc(100vh - 70px);
        max-height: 850px;
    }

    .ayp-home-v2-hero__content {

        width: min(900px, calc(100% - 50px));

        padding-top: clamp(38px, 5.5vh, 60px);
        padding-bottom: clamp(28px, 4vh, 45px);
    }

    .ayp-home-v2-hero__backdrop {

        background-image:
            linear-gradient(
                90deg,
                rgba(250, 248, 243, 0.985) 0%,
                rgba(250, 248, 243, 0.91) 46%,
                rgba(250, 248, 243, 0.25) 100%
            ),
            url("/new-website/assets/images/hero/yoga-course-finder-hero.png");
    }

    .ayp-home-v2-hero h1 {
        font-size: clamp(48px, 6vw, 64px);
    }

    .ayp-course-finder {
        width: min(700px, 100%);
    }

    .ayp-home-v2-hero__badge {
        right: 4%;
        bottom: 32px;
    }
}


/* ========================================================================
   20. TABLET
======================================================================== */

@media (max-width: 800px) {

    .ayp-home-v2-hero {

        min-height: auto;
        max-height: none;
        overflow: hidden;
    }

    .ayp-home-v2-hero__content {

        width: min(650px, calc(100% - 32px));

        padding:
            55px
            0
            46px;
    }

    .ayp-home-v2-hero__backdrop {
        background-position: 66% center;
    }

    .ayp-home-v2-hero__backdrop::after {

        background:
            linear-gradient(
                0deg,
                rgba(250, 248, 243, 0.985) 0%,
                rgba(250, 248, 243, 0.16) 55%,
                transparent 100%
            );
    }

    .ayp-home-v2-hero h1 {
        font-size: clamp(43px, 9vw, 62px);
    }

    .ayp-home-v2-hero__intro {
        max-width: 560px;
        font-size: 11px;
    }

    .ayp-course-finder__panel {
        padding: 15px;
    }

    .ayp-finder-filters {
        grid-template-columns: 1fr 1fr;
    }

    .ayp-finder-filters .ayp-finder-search__submit {
        grid-column: span 2;
    }

    .ayp-finder-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .ayp-finder-benefits > div:nth-child(2) {
        border-right: 0;
    }

    .ayp-finder-benefits > div:nth-child(-n + 2) {
        padding-bottom: 9px;
    }

    .ayp-finder-benefits > div:nth-child(n + 3) {

        padding-top: 9px;

        border-top: 1px solid rgba(23, 63, 53, 0.10);
    }

    .ayp-date-finder__months {
        grid-template-columns: repeat(3, 1fr);
    }

    .ayp-home-v2-hero__badge {

        position: static;

        width: 176px;
        min-height: 108px;

        margin: 0 auto 40px;
    }
}


/* ========================================================================
   21. MOBILE
======================================================================== */

@media (max-width: 520px) {

    .ayp-home-v2-hero__content {

        width: calc(100% - 22px);

        padding:
            42px
            0
            38px;
    }

    .ayp-home-v2-hero__eyebrow {
        gap: 7px;
        font-size: 7.5px;
    }

    .ayp-home-v2-hero__eyebrow span {
        width: 23px;
        flex-basis: 23px;
    }

    .ayp-home-v2-hero h1 {

        font-size: 41px;
        line-height: 0.98;
    }

    .ayp-home-v2-hero__ornament {
        margin: 13px 0 10px;
    }

    .ayp-home-v2-hero__intro {

        margin-bottom: 19px;

        font-size: 10px;
        line-height: 1.65;
    }

    .ayp-course-finder__tabs {
        width: 100%;
    }

    .ayp-course-finder__tab {

        min-height: 50px;

        padding-inline: 8px;

        font-size: 9px;
    }

    .ayp-course-finder__tab span {
        font-size: 17px;
    }

    .ayp-course-finder__panel {

        padding: 10px;

        border-radius: 0 11px 11px 11px;
    }

    .ayp-finder-search input {

        height: 52px;

        padding-left: 45px;

        font-size: 10px;
    }

    .ayp-finder-search__icon {
        left: 15px;
        font-size: 19px;
    }

    .ayp-finder-filters {

        grid-template-columns: 1fr 1fr;

        gap: 6px;

        margin-top: 8px;
    }

    .ayp-finder-filters button {

        min-height: 43px;

        padding-inline: 8px;

        font-size: 7px;
    }

    .ayp-finder-filters button span {
        font-size: 14px;
    }

    .ayp-finder-filters .ayp-finder-search__submit {
        grid-column: span 2;
    }

    .ayp-finder-benefits {

        grid-template-columns: 1fr 1fr;

        padding: 8px 4px;
    }

    .ayp-finder-benefits > div {

        grid-template-columns: 22px minmax(0, 1fr);

        gap: 6px;

        padding-inline: 6px;
    }

    .ayp-finder-benefits strong {
        font-size: 16px;
    }

    .ayp-finder-benefits span {
        font-size: 6.5px;
    }

    .ayp-finder-benefits b {
        font-size: 7px;
    }

    .ayp-finder-result {

        grid-template-columns: 39px minmax(0, 1fr) 16px;

        gap: 8px;

        padding: 9px;
    }

    .ayp-finder-result__mark {

        width: 37px;
        height: 37px;

        font-size: 8px;
    }

    .ayp-finder-result__title {
        font-size: 9px;
    }

    .ayp-finder-result__subtitle {
        font-size: 7px;
    }

    .ayp-finder-result__styles {
        font-size: 6.5px;
    }

    .ayp-finder-result__arrow {
        font-size: 15px;
    }

    .ayp-date-finder__heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }

    .ayp-date-finder__heading h2 {
        font-size: 17px;
    }

    .ayp-date-finder__months {
        grid-template-columns: repeat(2, 1fr);
    }

    .ayp-date-result {

        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

    .ayp-date-result__main strong {
        font-size: 8px;
    }

    .ayp-date-result__main span {
        font-size: 6.5px;
    }

    .ayp-date-result__date {
        font-size: 7px;
    }

    .ayp-popular-searches {
        margin-top: 12px;
    }

    .ayp-popular-searches__title {
        font-size: 6.5px;
    }

    .ayp-popular-searches__list {
        gap: 5px;
        margin-top: 7px;
    }

    .ayp-popular-search {

        min-height: 31px;

        padding: 6px 10px;

        font-size: 7px;
    }

    .ayp-home-v2-hero__badge {

        width: 168px;
        min-height: 103px;

        margin-bottom: 34px;
    }
}


/* ========================================================================
   22. VERY SHORT DESKTOP
======================================================================== */

@media (min-width: 801px) and (max-height: 780px) {

    .ayp-home-v2-hero {

        min-height: calc(100vh - 70px);
    }

    .ayp-home-v2-hero__content {

        padding-top: 38px;
        padding-bottom: 26px;
    }

    .ayp-home-v2-hero__eyebrow {
        margin-bottom: 9px;
    }

    .ayp-home-v2-hero__ornament {
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .ayp-home-v2-hero__intro {

        margin-bottom: 14px;

        line-height: 1.48;
    }

    .ayp-course-finder__tab {
        min-height: 49px;
    }

    .ayp-course-finder__panel {
        padding: 15px;
    }

    .ayp-finder-search input {
        height: 50px;
    }

    .ayp-finder-filters button {
        min-height: 40px;
    }

    .ayp-finder-benefits {

        margin-top: 8px;

        padding-top: 8px;
        padding-bottom: 8px;
    }

    .ayp-popular-searches {
        margin-top: 8px;
    }

    .ayp-home-v2-hero__badge {
        bottom: 24px;
        min-height: 98px;
    }
}


/* ========================================================================
   23. EXTRA SHORT DESKTOP
======================================================================== */

@media (min-width: 801px) and (max-height: 680px) {

    .ayp-home-v2-hero__content {

        padding-top: 28px;
        padding-bottom: 18px;
    }

    .ayp-home-v2-hero h1 {

        font-size: clamp(42px, 4.4vw, 59px);
    }

    .ayp-home-v2-hero__intro {

        max-width: 480px;

        font-size: 10px;
    }

    .ayp-course-finder__panel {
        padding: 12px;
    }

    .ayp-finder-benefits {
        display: none;
    }

    .ayp-popular-searches {
        margin-top: 7px;
    }

    .ayp-home-v2-hero__badge {
        display: none;
    }
}


/* ========================================================================
   24. REDUCED MOTION
======================================================================== */

@media (prefers-reduced-motion: reduce) {

    .ayp-home-v2-hero *,
    .ayp-home-v2-hero *::before,
    .ayp-home-v2-hero *::after {

        scroll-behavior: auto !important;
        transition: none !important;
    }
}



/* ========================================================================
   COURSE FINDER SEARCH ENGINE UI REFINEMENT
   ======================================================================== */
.ayp-finder-result__collection {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 3px 6px;
    border: 1px solid rgba(183, 154, 99, 0.45);
    border-radius: 999px;
    color: var(--ayp-gold);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ayp-finder-result.is-collection {
    background: #F8F3E8;
}

/* iOS Safari: inputs below 16px can trigger automatic focus zoom. */
@media (max-width: 800px) {
    .ayp-finder-search input {
        font-size: 16px;
        line-height: 1.2;
    }
}

@media (max-width: 520px) {
    .ayp-finder-search input {
        font-size: 16px;
        line-height: 1.2;
    }

    .ayp-finder-result__collection {
        font-size: 7px;
        margin-left: 5px;
    }
}

/* ========================================================================
   25. RESULT BADGES + COMPACT POPULAR SEARCHES
   ======================================================================== */
.ayp-finder-result__mark {
    width: 68px;
    height: 68px;
    padding: 7px;
    border: 1px solid rgba(183, 154, 99, 0.52);
    border-radius: 50%;
    background: #FBF8F1;
}

.ayp-finder-result__mark-main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
}

.ayp-finder-result__mark-number {
    display: block;
    color: var(--ayp-gold);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    line-height: .9;
    letter-spacing: -.02em;
}

.ayp-finder-result__mark-label {
    display: block;
    margin-top: 2px;
    color: var(--ayp-gold);
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .05em;
}

.ayp-finder-result__mark-icon {
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    margin-top: 5px;
    color: var(--ayp-gold);
}

.ayp-finder-result__mark-icon svg {
    width: 100%;
    height: 100%;
}

.ayp-finder-result.is-collection .ayp-finder-result__mark {
    border-color: rgba(183, 154, 99, 0.72);
    background: #F8F2E4;
}

.ayp-finder-result.is-collection .ayp-finder-result__mark-number {
    font-size: 17px;
}

.ayp-finder-result.is-collection .ayp-finder-result__mark-icon {
    width: 16px;
    height: 16px;
}

/* Smaller, quieter popular-search pills. */
.ayp-popular-searches__list {
    gap: 5px;
    margin-top: 6px;
}

.ayp-popular-search {
    min-height: 27px;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 7px;
    letter-spacing: .01em;
}

.ayp-popular-search span {
    font-size: 11px;
}

@media (max-width: 800px) {
    .ayp-finder-result__mark {
        width: 54px;
        height: 54px;
        padding: 6px;
    }

    .ayp-finder-result__mark-number {
        font-size: 15px;
    }

    .ayp-finder-result__mark-label {
        font-size: 7px;
    }

    .ayp-finder-result__mark-icon {
        width: 14px;
        height: 14px;
        margin-top: 4px;
    }

    .ayp-popular-search {
        min-height: 26px;
        padding: 4px 8px;
        font-size: 7px;
    }
}

@media (max-width: 520px) {
    .ayp-finder-result {
        grid-template-columns: 54px minmax(0, 1fr) 16px;
        gap: 9px;
        padding: 9px;
    }

    .ayp-finder-result__mark {
        width: 50px;
        height: 50px;
    }

    .ayp-finder-result__mark-number {
        font-size: 14px;
    }

    .ayp-finder-result__mark-label {
        font-size: 6.5px;
    }

    .ayp-finder-result__mark-icon {
        width: 13px;
        height: 13px;
        margin-top: 3px;
    }

    .ayp-popular-searches__list {
        gap: 4px;
    }

    .ayp-popular-search {
        min-height: 25px;
        padding: 3px 7px;
        font-size: 6.5px;
    }

    .ayp-popular-search span {
        font-size: 10px;
    }
}
