/* =========================================================
   ADI YOGPEETH
   STUDENT REVIEWS PAGE
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.ayp-reviews-page {
    width: 100%;
    background: #FAF8F3;
    color: #26332F;
    overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.ayp-rp-hero {
    position: relative;

    min-height: clamp(620px, 78vh, 800px);

    display: flex;
    align-items: flex-end;

    color: #FAF8F3;

    background: #102F2A;
}


.ayp-rp-hero__media,
.ayp-rp-hero__veil {
    position: absolute;
    inset: 0;
}


.ayp-rp-hero__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.ayp-rp-hero__veil {
    background:
        linear-gradient(
            90deg,
            rgba(10, 31, 26, .87),
            rgba(10, 31, 26, .45) 55%,
            rgba(10, 31, 26, .16)
        ),
        linear-gradient(
            0deg,
            rgba(10, 31, 26, .80),
            rgba(10, 31, 26, .04) 65%
        );
}


.ayp-rp-hero__content {
    position: relative;
    z-index: 2;

    padding: 110px 0 90px;
}


.ayp-rp-hero h1 {
    max-width: 850px;

    margin: 0;

    font-family: var(--font-display), Georgia, serif;
    font-size: clamp(52px, 7vw, 90px);
    font-weight: 500;
    line-height: .94;

    letter-spacing: -.035em;
}


.ayp-rp-hero h1 em {
    font-style: italic;
    color: #DEC99D;
}


.ayp-rp-hero__content > p:not(.ayp-page-eyebrow) {
    max-width: 650px;

    margin: 30px 0 26px;

    font-family: var(--font-body), Georgia, serif;
    font-size: 18px;
    line-height: 1.75;

    color: rgba(250, 248, 243, .88);
}


.ayp-rp-hero__facts {
    display: flex;
    align-items: center;

    gap: 15px;

    font-family: var(--font-body), Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: .08em;
    text-transform: uppercase;

    color: #FAF8F3;
}


.ayp-rp-hero__facts i {
    width: 4px;
    height: 4px;

    flex: 0 0 4px;

    border-radius: 50%;

    background: #B8945A;
}


/* =========================================================
   INTRO
   ========================================================= */

.ayp-rp-intro {
    padding: 110px 0 90px;

    background: #FAF8F3;
}


.ayp-rp-intro__grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: end;
}


.ayp-rp-intro h2 {
    margin: 0;

    font-family: var(--font-display), Georgia, serif;
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 500;
    line-height: 1.02;

    letter-spacing: -.025em;

    color: #173F35;
}


.ayp-rp-intro h2 em {
    font-style: italic;
    color: #8C4936;
}


.ayp-rp-intro__copy {
    max-width: 650px;
}


.ayp-rp-intro__copy p {
    margin: 0;

    font-family: var(--font-body), Georgia, serif;
    font-size: 17px;
    line-height: 1.8;

    color: #68736D;
}


.ayp-rp-intro__copy p + p {
    margin-top: 18px;
}


/* =========================================================
   STUDENT VIDEO REVIEWS
   ========================================================= */

.ayp-video-reviews {
    width: 100%;

    padding: 105px 0 115px;

    background: #EEF1E8;
}


/* ---------------------------------------------------------
   SECTION HEADING
   --------------------------------------------------------- */

.ayp-video-reviews__heading {
    max-width: 760px;

    margin: 0 auto 62px;

    text-align: center;
}


.ayp-video-reviews__heading h2 {
    margin: 12px 0 20px;

    font-family: var(--font-display), Georgia, serif;
    font-size: clamp(40px, 4.5vw, 58px);
    font-weight: 500;
    line-height: 1.04;

    letter-spacing: -.025em;

    color: #173F35;
}


.ayp-video-reviews__heading h2 em {
    font-style: italic;
    color: #8C4936;
}


.ayp-video-reviews__intro {
    max-width: 650px;

    margin: 0 auto;

    font-family: var(--font-body), Georgia, serif;
    font-size: 17px;
    line-height: 1.75;

    color: #68736D;
}


/* ---------------------------------------------------------
   VIDEO GRID
   --------------------------------------------------------- */

.ayp-video-reviews__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 34px 26px;
}


/* ---------------------------------------------------------
   VIDEO CARD
   --------------------------------------------------------- */

.ayp-video-card {
    min-width: 0;

    background: #FAF8F3;

    border: 1px solid rgba(23, 63, 53, .11);

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(16, 47, 42, .055);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}


.ayp-video-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 42px rgba(16, 47, 42, .11);
}


/* ---------------------------------------------------------
   VIDEO FRAME
   --------------------------------------------------------- */

.ayp-video-card__media {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #102F2A;
}


.ayp-video-card__media iframe {
    position: absolute;

    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* ---------------------------------------------------------
   CARD INFORMATION
   --------------------------------------------------------- */

.ayp-video-card__content {
    position: relative;

    min-height: 125px;

    padding: 23px 25px 26px;
}


.ayp-video-card__number {
    display: block;

    margin-bottom: 8px;

    font-family: var(--font-body), Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: .16em;
    text-transform: uppercase;

    color: #B8945A;
}


.ayp-video-card__content h3 {
    margin: 0 0 7px;

    font-family: var(--font-display), Georgia, serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;

    letter-spacing: -.01em;

    color: #173F35;
}


.ayp-video-card__content p {
    margin: 0;

    font-family: var(--font-body), Georgia, serif;
    font-size: 15px;
    line-height: 1.55;

    color: #68736D;
}


/* =========================================================
   TRUST SECTION
   ========================================================= */

.ayp-rp-trust {
    padding: 110px 0;

    background: #FAF8F3;
}


.ayp-rp-trust__heading h2 {
    margin: 0;

    font-family: var(--font-display), Georgia, serif;
    font-size: clamp(38px, 4.4vw, 60px);
    font-weight: 500;
    line-height: 1.03;

    letter-spacing: -.025em;

    color: #173F35;
}


.ayp-rp-trust__heading h2 em {
    font-style: italic;
    color: #8C4936;
}


.ayp-rp-trust__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 55px;
}


.ayp-rp-trust__grid article {
    padding: 34px;

    border-top:
        1px solid rgba(23, 63, 53, .18);

    background: #EEF1E8;
}


.ayp-rp-trust__grid span {
    display: block;

    font-family: var(--font-body), Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    color: #B8945A;
}


.ayp-rp-trust__grid h3 {
    margin: 22px 0 10px;

    font-family: var(--font-display), Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;

    color: #173F35;
}


.ayp-rp-trust__grid p {
    margin: 0;

    font-family: var(--font-body), Georgia, serif;
    font-size: 16px;
    line-height: 1.7;

    color: #68736D;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.ayp-rp-cta {
    padding: 100px 0;

    background: #173F35;

    color: #FAF8F3;
}


.ayp-rp-cta__panel {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 40px;
}


.ayp-rp-cta h2 {
    margin: 0;

    font-family: var(--font-display), Georgia, serif;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 500;
    line-height: 1.02;

    letter-spacing: -.025em;

    color: #FAF8F3;
}


.ayp-rp-cta h2 em {
    font-style: italic;
    color: #DEC99D;
}


.ayp-rp-cta__link {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 10px;

    border-bottom:
        1px solid rgba(250, 248, 243, .45);

    color: #FAF8F3;

    text-decoration: none;

    white-space: nowrap;

    font-family: var(--font-body), Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: .04em;

    transition:
        border-color 180ms ease,
        gap 180ms ease;
}


.ayp-rp-cta__link span {
    font-size: 20px;
    line-height: 1;
}


.ayp-rp-cta__link:hover {
    gap: 18px;

    border-color: #DEC99D;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .ayp-video-reviews__grid {
        gap: 28px 20px;
    }


    .ayp-video-card__content {
        padding: 21px 22px 24px;
    }


    .ayp-video-card__content h3 {
        font-size: 23px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 900px) {

    .ayp-rp-intro__grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .ayp-video-reviews {
        padding: 85px 0 90px;
    }


    .ayp-video-reviews__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px 22px;
    }


    .ayp-rp-trust__grid {
        grid-template-columns: 1fr;
    }


    .ayp-rp-cta__panel {
        display: block;
    }


    .ayp-rp-cta__link {
        margin-top: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .ayp-rp-hero {
        min-height: 650px;
    }


    .ayp-rp-hero__content {
        padding: 90px 0 65px;
    }


    .ayp-rp-hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }


    .ayp-rp-hero__facts {
        flex-wrap: wrap;

        gap: 8px 12px;
    }


    .ayp-rp-intro,
    .ayp-video-reviews,
    .ayp-rp-trust,
    .ayp-rp-cta {
        padding-top: 75px;
        padding-bottom: 75px;
    }


    .ayp-video-reviews__heading {
        margin-bottom: 42px;
    }


    .ayp-video-reviews__heading h2 {
        font-size: clamp(36px, 10vw, 46px);
    }


    .ayp-video-reviews__intro {
        font-size: 16px;
        line-height: 1.7;
    }


    .ayp-video-reviews__grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .ayp-video-card:hover {
        transform: none;
    }


    .ayp-video-card__content {
        min-height: auto;

        padding: 21px 22px 24px;
    }


    .ayp-video-card__content h3 {
        font-size: 24px;
    }


    .ayp-video-card__content p {
        font-size: 15px;
    }


    .ayp-rp-trust__grid {
        gap: 16px;
    }


    .ayp-rp-trust__grid article {
        padding: 28px;
    }

}