@charset "UTF-8";
/* ===========================================================================
   REVIEWS — "What Students Say About Our Yoga School in Rishikesh"
   ---------------------------------------------------------------------------
   This section was the most literal copy left on the page. Measured against
   vinyasayogaacademy.com's homepage on 15 Nov 2026, ours carried their markup
   class for class — .testi-head-wrap, .is-right-box, .irb-google,
   .irb-avatar-stack, .irb-avatar-count, .testimonial-slider.swiper.my-slider —
   their eyebrow "Reviews & Testimonials" word for word, and their headline
   pattern "Student Feedback About <brand>". Same shape too: heading left,
   Google badge right, one autoplay row of three cards under both.

   What it is now:
     - a two-column split. The left column is a standing panel that holds the
       whole argument (headline, why the reviews are trustworthy, the Google
       score, the graduate count, the link out) and STAYS as the reviews scroll
       past it. The right column is the reviews themselves.
     - the reviews are a vertical staggered stack, not a row. All five are on
       the page at once; nothing autoplays and nothing has to be swiped to.
     - each card carries more than the old slide did: the reviewer's Google
       badge, when they wrote it, and the full text rather than a trimmed
       excerpt, opening in place.

   Nothing from the old block was dropped: the 4.9 score, the five stars, the
   four student faces, the 1200+ count and the "See All Google Reviews" link
   are all still here, moved into the left panel.
   =========================================================================== */

.new-testimonial-section .ryp-reviews {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr);
    gap: clamp(2rem, 1.2rem + 3vw, 4.5rem);
    align-items: start;
}

/* ---------------------------------------------------------------------------
   1. THE LEFT PANEL
   --------------------------------------------------------------------------- */
@media (min-width: 62rem) {
    .new-testimonial-section .ryp-reviews__intro {
        position: sticky;
        /* clears the sticky header, which measures 86px at this width */
        top: clamp(6.5rem, 5rem + 4vw, 8.5rem);
    }
}

.new-testimonial-section .ryp-reviews__lede {
    margin: clamp(.875rem, .7rem + .6vw, 1.25rem) 0 0;
    max-width: 44ch;
    font-size: clamp(.9375rem, .9rem + .2vw, 1rem);
    line-height: 1.75;
    color: var(--ryp-ink-soft);
}
.new-testimonial-section .ryp-reviews__lede strong { color: var(--ryp-ink); }

/* The Google block: the same parts as before, but laid out as a quiet strip
   with a rule above it instead of a floated badge opposite the heading. */
.new-testimonial-section .ryp-reviews__proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(.875rem, .7rem + .8vw, 1.5rem);
    margin-top: clamp(1.25rem, 1rem + 1vw, 1.875rem);
    padding-top: clamp(1.125rem, .9rem + .9vw, 1.625rem);
    border-top: 1px solid rgba(222, 42, 29, .16);
}
.new-testimonial-section .ryp-reviews__proof .irb-google { gap: .625rem; }
.new-testimonial-section .ryp-reviews__proof .irb-stars { color: var(--ryp-red); }
.new-testimonial-section .ryp-reviews__proof .irb-divider {
    width: 1px;
    height: 34px;
    background: rgba(222, 42, 29, .2);
}
/* The four stock student faces that used to sit here were removed at the
   owner's request; the count they decorated stands on its own. */
.new-testimonial-section .ryp-reviews__stat {
    display: flex;
    flex-direction: column;
    gap: .125rem;
}
.new-testimonial-section .ryp-reviews__stat-num {
    font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ryp-red-ink);
}
.new-testimonial-section .ryp-reviews__stat-note {
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ryp-ink-soft);
    opacity: .85;
}

/* The theme centres this button with `display:flex; justify-content:center`,
   so text-align alone did nothing to it — measured: the button sat at x=217
   inside a panel starting at x=72. */
.new-testimonial-section .ryp-reviews__intro .testimonial-cta {
    margin-top: clamp(1.25rem, 1rem + 1vw, 1.875rem);
    justify-content: flex-start;
    text-align: left;
}

/* The keyword in the headline must read as part of the headline. Left to the
   theme, <strong> fell back to the body face at body size — the line broke
   into a serif display phrase followed by a small bold sans one. */
.new-testimonial-section .ryp-reviews__intro .common-heading strong {
    font: inherit;
    color: var(--ryp-red);
}

/* ---------------------------------------------------------------------------
   2. THE STACK
   --------------------------------------------------------------------------- */
.new-testimonial-section .ryp-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(.875rem, .7rem + .7vw, 1.375rem);
}

/* The stagger. It is what stops five cards in a column reading as a table, and
   it is the one thing on this section that moves the eye down the page. */
@media (min-width: 62rem) {
    .new-testimonial-section .ryp-rev__item:nth-child(even) {
        margin-left: clamp(1.25rem, .6rem + 2.4vw, 3rem);
    }
    .new-testimonial-section .ryp-rev__item:nth-child(odd) {
        margin-right: clamp(1.25rem, .6rem + 2.4vw, 3rem);
    }
}

/* ---------------------------------------------------------------------------
   3. THE CARD
   ---------------------------------------------------------------------------
   The theme paints these as teal glass cards (style.css:5715-5860). Everything
   below either re-colours or switches off one of those declarations; the class
   names stay because style.css owns the glyphs — the Google mark on .tc-source,
   the star on .testimonial-rating span, and the quote mark on .content-para.
   --------------------------------------------------------------------------- */
.new-testimonial-section .ryp-rev {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    height: auto;
    padding: clamp(1.125rem, .95rem + .7vw, 1.625rem);
    background: #fff;
    border: 1px solid rgba(222, 42, 29, .14);
    border-left: 3px solid rgba(222, 42, 29, .22);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(26, 26, 26, .04);
    transition: border-color 280ms cubic-bezier(.4, 0, .2, 1),
                box-shadow 280ms cubic-bezier(.4, 0, .2, 1),
                transform 280ms cubic-bezier(.4, 0, .2, 1);
}
.new-testimonial-section .ryp-rev:hover {
    transform: none;                /* the theme lifts these; the stagger is the movement here */
    border-color: rgba(222, 42, 29, .28);
    border-left-color: var(--ryp-red);
    box-shadow: 0 10px 28px rgba(26, 26, 26, .08);
}

/* One card wears the brand, the way the reference sheet marks a featured
   quote. The middle one, so it anchors the stack rather than topping it. */
.new-testimonial-section .ryp-rev__item:nth-child(3) .ryp-rev {
    border-left-color: var(--ryp-red);
    background: var(--ryp-paper);
}

.new-testimonial-section .ryp-rev .tc-head { gap: .75rem; }

.new-testimonial-section .ryp-rev .tc-avatar--initial {
    width: 44px;
    height: 44px;
    background: var(--ryp-red-tint);
    color: var(--ryp-red-ink);
    border-radius: 14px;            /* a squircle, not another circle */
    font-size: 1.125rem;
}

.new-testimonial-section .ryp-rev .testimonial-name {
    font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
    color: var(--ryp-ink);
}
.new-testimonial-section .ryp-rev .tc-meta {
    margin-top: .1875rem;
    color: var(--ryp-ink-soft);
    opacity: .85;
}

/* The theme's star filter resolves to a yellow; these are the brand red. */
.new-testimonial-section .ryp-rev .testimonial-rating span {
    width: 14px;
    height: 14px;
    filter: brightness(0) saturate(100%) invert(22%) sepia(81%)
            saturate(5000%) hue-rotate(356deg) brightness(92%) contrast(97%);
}

.new-testimonial-section .ryp-rev .content-para {
    padding-left: 1.375rem;
    font-size: .9375rem;
    line-height: 1.75;
    color: var(--ryp-ink-soft);
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.new-testimonial-section .ryp-rev .content-para::before { color: rgba(222, 42, 29, .45); }

/* ---------------------------------------------------------------------------
   4. THE CUE
   ---------------------------------------------------------------------------
   The old section made the paragraph itself clickable and said so nowhere, so
   the rest of each review was effectively invisible. This is a real button, in
   the tab order, with aria-expanded kept current by the inline script.
   --------------------------------------------------------------------------- */
.new-testimonial-section .ryp-rev__cue {
    align-self: flex-start;
    margin-left: 1.375rem;          /* lines up with the quoted text, not the quote mark */
    padding: 0;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--ryp-red-ink);
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(222, 42, 29, .35);
    border-radius: 0;
    cursor: pointer;
    transition: color 200ms ease, border-color 200ms ease;
}
.new-testimonial-section .ryp-rev__cue:hover,
.new-testimonial-section .ryp-rev__cue:focus-visible {
    color: var(--ryp-red);
    border-bottom-color: var(--ryp-red);
}
.new-testimonial-section .ryp-rev__cue:focus-visible {
    outline: 2px solid var(--ryp-red);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   5. TABLET AND PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    .new-testimonial-section .ryp-reviews {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    }
    .new-testimonial-section .ryp-reviews__lede { max-width: 62ch; }
}

@media (max-width: 47.99rem) {
    .new-testimonial-section .ryp-reviews__proof {
        gap: .875rem 1rem;
    }
    /* the hairline between the score and the faces has nothing to divide once
       the strip wraps onto two lines */
    .new-testimonial-section .ryp-reviews__proof .irb-divider { display: none; }
    .new-testimonial-section .ryp-rev { padding: 1.125rem 1rem; }
    .new-testimonial-section .ryp-rev .content-para {
        padding-left: 1.125rem;
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }
    .new-testimonial-section .ryp-rev__cue { margin-left: 1.125rem; }
    .new-testimonial-section .ryp-reviews__intro .testimonial-cta .theme-button {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .new-testimonial-section .ryp-rev { transition: none; }
}


/* ---------------------------------------------------------------------------
   HORIZONTAL BELOW 62rem
   ---------------------------------------------------------------------------
   The slider swipes left to right on a phone, so this track stops being a
   column and becomes one row of full-width cards. pager.css sets the same
   thing generically; it is repeated here because this file gives the track its
   own grid-template-columns at these widths, and the generic rule would lose
   to it on specificity.
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    .new-testimonial-section .ryp-reviews__list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        column-gap: 0;
        align-items: start;
    }
}

/* ===========================================================================
   THE TWO PLATFORM BADGES, MOVED INTO THE REVIEWS BLOCK
   ---------------------------------------------------------------------------
   The Yoga Alliance 4.9 and Google 4.9 badges used to sit in a strip of their
   own (.home-reviews-section) immediately under the hero, on all eight pages
   that carry them. The owner asked for them to come out of there and sit
   directly above the "See All Google Reviews" button instead — which is where
   they belong: the button sends the reader to Google, and the rating is the
   reason to go.

   The MARKUP move is done, once, by scratchpad/move_badges.py: the block is
   lifted by balancing <div>/</div> and dropped in just inside
   <div class="testimonial-cta">, before the anchor. Only the eight redesign
   copies are touched; the live originals keep the strip.

   What is left here is the restyling. In their old home they were two wide
   white cards with a 29px drop shadow, floating over the join between the
   hero and the page. Beside a button inside a panel that is itself a plate,
   that shadow reads as a card on a card, so they become two quiet plates on a
   hairline, laid out in a row: logo, the figure, the stars.
   =========================================================================== */

/* the button and the badges stack; the theme has this as a centred flex row */
.new-testimonial-section .ryp-reviews__intro .testimonial-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(.875rem, .7rem + .7vw, 1.25rem);
}

.new-testimonial-section .testimonial-cta .home-reviews-section {
    width: 100%;
    padding: 0;
    z-index: auto;
}
.new-testimonial-section .testimonial-cta .review-card-wrap {
    justify-content: flex-start;
    gap: .625rem;
}

/* -- the badge itself ----------------------------------------------------- */
.new-testimonial-section .testimonial-cta .review-card {
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: .625rem;
    padding: .5rem .75rem;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, .12);
    border-radius: var(--ryp-img-radius);
    box-shadow: none;
    transition: border-color 220ms ease;
}
.new-testimonial-section .testimonial-cta .review-card:hover {
    transform: none;
    border-color: rgba(222, 42, 29, .35);
}
.new-testimonial-section .testimonial-cta .review-card img {
    width: auto;
    height: 22px;
    max-width: 88px;
    object-fit: contain;
    object-position: left center;
}
.new-testimonial-section .testimonial-cta .review-card .middle-wrap {
    gap: .3125rem;
}
.new-testimonial-section .testimonial-cta .review-card .rating-num {
    margin: 0;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: 1.0625rem;
    color: var(--ryp-ink);
}
.new-testimonial-section .testimonial-cta .review-card .stars {
    flex: none;
    font-size: 14px;
    /* Measured at 375: as a shrinkable flex child the five stars came out in a
       64px box and broke across two lines, with the half star alone underneath. */
    white-space: nowrap;
}

@media (max-width: 47.99rem) {
    /* style.css:8111 turns this wrap into `display: grid` with two equal
       tracks below 768px, which is why `flex: 0 0 100%` on the cards did
       nothing — measured, they were still side by side and, with no
       `min-width: 0`, overflowing their own tracks by 29px on the left and
       right of a 351px wrap.

       Two plates side by side leave about 146px of content each. Five stars
       and the figure take ~98px of that, which would put the Yoga Alliance
       wordmark in 48px — unreadable. So one track, one badge per line, where
       each has 327px, and the pair reads as a stack with the button under it. */
    .new-testimonial-section .testimonial-cta .review-card-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .new-testimonial-section .testimonial-cta .review-card {
        min-width: 0;
        flex: none;
        /* full width, so the two plates and the button under them share one
           left edge instead of each finding its own */
        justify-self: stretch;
    }
    .new-testimonial-section .testimonial-cta .review-card img { height: 24px; max-width: 96px; }
}
