@charset "UTF-8";
/* ===========================================================================
   "WHY PEOPLE PICK THIS YOGA SCHOOL" — six photo-led tiles
   ---------------------------------------------------------------------------
   vinyasayogaacademy.com runs this as a staggered 3x2 grid of bordered white
   cards, each one a circular photograph with a giant ghosted 01-06 in the
   corner, everything centred. Ours was the same markup under the same class
   name, so the CSS here replaces that shape outright.

   The ghost-number-on-a-card is dropped on purpose: they use it here and again
   in their certification block, which makes it one of the most recognisable
   things on their page.

   What is left is deliberately plain — six pictures on the section itself, no
   boxes at all. Every other block on this page (course rows, why-choose cards,
   facility tiles, the about card) is a bordered container; going borderless is
   what stops this one reading as another tray of cards.
   =========================================================================== */

.yttc-why-section .ryp-why {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, .9rem + 1.5vw, 2.25rem);
    margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0;
    padding: 0;
    list-style: none;
}

.yttc-why-section .ryp-why__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* No background, no border, no shadow, no padding — the tile IS the photo
       and the words under it. */
    text-align: left;
}

/* -- the picture ---------------------------------------------------------- */
.yttc-why-section .ryp-why__fig {
    margin: 0 0 .875rem;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    /* The rule under the photograph is the only decoration, and it is the one
       thing carrying the brand red in this block. */
    border-bottom: 3px solid var(--ryp-red);
}
.yttc-why-section .ryp-why__fig img {
    display: block;
    width: 100%;
    /* One ratio here keeps the six pictures on the same line as each other.
       The files themselves are nothing like it — three are portrait at 0.75
       and 0.81, two are landscape at 1.78, one is exactly 4:3 — so `cover`
       does the reconciling. */
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    /* The portrait files overflow this frame by about 200px of height, and a
       centred crop takes half of that off the top — which took the standing
       figure's head off the first tile. Each of those three carries its own
       anchor in the markup; the rest stay centred. */
    object-position: 50% var(--fig-pos, 50%);
    border-radius: 0;
    border: 0;
    box-shadow: none;
    transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
}
.yttc-why-section .ryp-why__item:hover .ryp-why__fig img { transform: scale(1.04); }

/* -- the words ------------------------------------------------------------ */
.yttc-why-section .ryp-why__title {
    margin: 0 0 .375rem;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
    line-height: 1.25;
    color: var(--ryp-ink);
    text-wrap: balance;
}
.yttc-why-section .ryp-why__text {
    margin: 0;
    font-size: clamp(.9375rem, .91rem + .18vw, 1rem);
    line-height: 1.65;
    color: var(--ryp-ink-soft);
}
.yttc-why-section .ryp-why__text strong { color: var(--ryp-ink); }

/* The section intro is one line now, not two clamped paragraphs behind a
   "View More" that had nothing to reveal. */
.yttc-why-section .heading-wrapper > p:not(.common-heading-top) {
    margin-bottom: 0;
}
.yttc-why-section .common-heading em {
    font-style: normal;
    color: var(--ryp-red-ink);
}

/* ---------------------------------------------------------------------------
   TABLET / PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    .yttc-why-section .ryp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 35.99rem) {
    .yttc-why-section .ryp-why { grid-template-columns: minmax(0, 1fr); }
    .yttc-why-section .ryp-why__fig { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .yttc-why-section .ryp-why__fig img { transition: none; }
    .yttc-why-section .ryp-why__item:hover .ryp-why__fig img { transform: none; }
}
