@charset "UTF-8";
/* ===========================================================================
   THE REMAINING PAGES — about, team, founder, gallery, faq, contact, blog
   ---------------------------------------------------------------------------
   Reviewed 15 Nov 2026 against vinyasayogaacademy.com's own
   /about-us.php, /teachers/, /faq.php, /gallery.php, /contact.php and /blog/.

   The review found that our inner pages carry THEIR class names, block for
   block: `.av-premium-cta`, `.exp-courses-section` with `.ec-card`, and
   `.guru-wrap` with `.guru-box-wrap`. Two of those three sit at the foot of
   EVERY inner page of theirs, which makes them the most repeated objects on
   their site and the quickest way to recognise it.

   Those three are rebuilt here. The rest of our page furniture — `.ab-*`,
   `.ct-*`, `.bl-*`, `.ig-*` — has no counterpart on their site at all
   (their gallery is one flat grid of eighty photographs, their blog is a
   WordPress theme with entirely different markup), so those keep their
   composition and take only the brand pass and the owner's corner radius.
   =========================================================================== */

/* ===========================================================================
   1. THE CLOSING CTA  (about, team, founder, faq, contact)
   ---------------------------------------------------------------------------
   Theirs: a full-bleed photograph under a radial black wash, everything
   centred over it, and two shadowed pill buttons. Ours was the same object
   with our photograph in it.

   Ours now: no photograph and no wash. A paper band under a red rule, the
   words ranged left, and the two buttons sitting beside them rather than
   under them — so it reads as the last line of the page rather than as a
   poster dropped on the end of it.
   =========================================================================== */
.av-premium-cta {
    background: #f2f0ec;
    border-top: 2px solid var(--ryp-red);
    padding: clamp(2.5rem, 2rem + 2.4vw, 4rem) 0;
    overflow: visible;
}
.av-premium-cta .cta-bg-img,
.av-premium-cta .cta-overlay { display: none; }

.av-premium-cta .cta-content-inner {
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(1.5rem, 1rem + 2.4vw, 3.5rem);
    align-items: center;
    /* .cta-content-inner also carries Bootstrap's .text-center, and every
       Bootstrap utility is !important — so this has to be too. */
    text-align: left !important;
}
.av-premium-cta .cta-tagline {
    grid-column: 1;
    color: var(--ryp-red-ink);
    letter-spacing: .2em;
    text-transform: uppercase;
}
.av-premium-cta .cta-title {
    grid-column: 1;
    margin: .25rem 0 .5rem;
    color: var(--ryp-ink);
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem);
    line-height: 1.2;
    text-shadow: none;
}
.av-premium-cta .cta-desc {
    grid-column: 1;
    margin: 0;
    max-width: 62ch;
    color: var(--ryp-ink-soft);
    text-shadow: none;
}
.av-premium-cta .cta-button-group {
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-content: flex-end;
    align-items: stretch;
    flex-direction: column;
    gap: .625rem;
}
.av-premium-cta .cta-btn-whatsapp,
.av-premium-cta .cta-btn-enquiry {
    justify-content: center;
    /* 44px is the smallest comfortable target */
    min-height: 2.875rem;
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    white-space: nowrap;
}
/* site.css gives every button on the redesign the same red/white sweep, so
   without this the two here come out identical and the pair has no hierarchy.
   WhatsApp keeps its own green — the brand's, not the old palette's — and the
   enquiry button is the outlined one beside it. */
.av-premium-cta .cta-button-group .cta-btn-whatsapp {
    background-image: none;
    background-color: #1f8a3b;
    border: 1.5px solid #1f8a3b;
    color: #fff;
}
.av-premium-cta .cta-button-group .cta-btn-whatsapp:hover,
.av-premium-cta .cta-button-group .cta-btn-whatsapp:focus-visible {
    background-color: #17702f;
    border-color: #17702f;
    color: #fff;
    box-shadow: none;
}
.av-premium-cta .cta-button-group .cta-btn-enquiry {
    background-image: none;
    background-color: transparent;
    border: 1.5px solid var(--ryp-red);
    color: var(--ryp-red-ink);
}
.av-premium-cta .cta-button-group .cta-btn-enquiry:hover,
.av-premium-cta .cta-button-group .cta-btn-enquiry:focus-visible {
    background-color: var(--ryp-red);
    border-color: var(--ryp-red);
    color: #fff;
    box-shadow: none;
}

@media (max-width: 47.99rem) {
    .av-premium-cta .cta-content-inner { grid-template-columns: minmax(0, 1fr); row-gap: 1.25rem; }
    .av-premium-cta .cta-button-group {
        grid-column: 1;
        grid-row: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* ===========================================================================
   2. OTHER COURSES  (about, team, founder, faq, contact)
   ---------------------------------------------------------------------------
   Theirs, checked again on vinyasayogaacademy.com/about-us.php: a swiper of
   rounded cards, each one a banner photograph with a floating pill, then a
   location line, then an H3, then "Learn More →" — four things stacked in a
   box, in that order, six times.

   The first pass here only unwound the carousel and moved the pill under the
   photograph. The owner's note was that the result still read as their block,
   and he was right: the same four things were still stacked in the same order
   inside the same rectangle, which is the part the eye recognises.

   So this is a different object. The photograph is a tall portrait, not a
   banner. The words are not under it — they sit on a plate that OVERLAPS its
   foot, inset from both edges, so the entry reads as a card laid on a
   photograph rather than a photograph pasted into a card. The plate opens
   with the entry's number in red serif figures, which is the site's own
   device (the course index, the syllabus, the phases) and nothing theirs. The
   place stays on the photograph, pinned top left as a small-caps line with a
   rule under it, where the pill used to float but with no pill around it.
   Nothing is removed and the markup is untouched.
   =========================================================================== */
.exp-courses-section .ec-slider-wrap { position: static; }
.exp-courses-section .ec-slider.ryp-ec-grid {
    padding: 0;
    overflow: visible;
}
.exp-courses-section .ec-slider.ryp-ec-grid .swiper-wrapper {
    /* style.css hides the wrapper (opacity: 0) until swiper reports itself
       initialised, and swiper no longer runs here — so without this the whole
       block measures correctly and paints nothing. */
    opacity: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, .9rem + 1.6vw, 2.25rem);
    transform: none !important;   /* in case swiper ever ran before */
    width: 100%;
    counter-reset: ryp-ec;
}
.exp-courses-section .ec-slider.ryp-ec-grid .swiper-slide {
    /* style.css caps a slide at 33.333% via
       `.ec-slider:not(.swiper-initialized) .swiper-slide`, which is 0,4,0 —
       hence .ryp-ec-grid on these selectors, the class the redesign copies
       carry in place of `swiper my-slider`. */
    width: 100%;
    max-width: none;
    flex: none;
    margin: 0 !important;
    height: auto;
    display: block;
    counter-increment: ryp-ec;
}

.exp-courses-section .ec-card {
    display: block;
    max-width: none;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}
.exp-courses-section .ec-card:hover,
.exp-courses-section .ec-card:focus-visible {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

/* -- the photograph: a portrait, and tall enough to carry a plate ---------- */
.exp-courses-section .ec-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    margin: 0;
    border-radius: var(--ryp-img-radius);
    background: #e7e3dd;
    overflow: hidden;
}
.exp-courses-section .ec-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(.2, .7, .3, 1);
}
.exp-courses-section .ec-card:hover .ec-card__media img { transform: scale(1.04); }
/* their scrim, replaced by one that only darkens the top, where the place
   reads — the foot of the picture is covered by the plate and needs none */
.exp-courses-section .ec-card__media::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 45%;
    background: linear-gradient(180deg, rgba(20, 14, 12, .5), rgba(20, 14, 12, 0));
    pointer-events: none;
}

/* -- the place: on the photograph, no pill ------------------------------- */
.exp-courses-section .ec-card__badge {
    position: absolute;
    top: clamp(.875rem, .7rem + .8vw, 1.25rem);
    left: clamp(.875rem, .7rem + .8vw, 1.25rem);
    right: auto;
    bottom: auto;
    z-index: 1;
    display: inline-block;
    margin: 0;
    padding: 0 0 .375rem;
    background: none;
    border: 0;
    border-bottom: 1.5px solid rgba(255, 255, 255, .55);
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

/* -- the plate, laid over the foot of the photograph ---------------------- */
.exp-courses-section .ec-card__body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: .875rem;
    row-gap: .5rem;
    width: auto;
    margin: clamp(-4.5rem, -3.6rem - 1.6vw, -3.25rem) clamp(.75rem, .4rem + 1.2vw, 1.25rem) 0;
    padding: clamp(1rem, .85rem + .7vw, 1.375rem) clamp(1rem, .85rem + .7vw, 1.375rem) clamp(.875rem, .75rem + .6vw, 1.125rem);
    background: #fff;
    border-top: 2px solid var(--ryp-red);
    border-radius: var(--ryp-img-radius);
    box-shadow: 0 14px 30px -22px rgba(26, 26, 26, .45);
    transition: transform 320ms cubic-bezier(.2, .7, .3, 1);
}
.exp-courses-section .ec-card:hover .ec-card__body { transform: translateY(-4px); }

/* the entry's number, the site's own device */
.exp-courses-section .ec-card__body::before {
    content: counter(ryp-ec, decimal-leading-zero);
    grid-column: 1;
    grid-row: 1;
    font-family: "Belleza", Georgia, serif;
    font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem);
    line-height: 1;
    color: var(--ryp-red);
}
.exp-courses-section .ec-card__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, .95rem + .45vw, 1.1875rem);
    line-height: 1.25;
    color: var(--ryp-ink);
}
.exp-courses-section .ec-card__link {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: center;
    padding-bottom: 2px;
    border-bottom: 1.5px solid var(--ryp-red);
    color: var(--ryp-red-ink);
    font-size: 13px;
    letter-spacing: .04em;
}

@media (max-width: 61.99rem) {
    .exp-courses-section .ec-slider.ryp-ec-grid .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 35.99rem) {
    .exp-courses-section .ec-slider.ryp-ec-grid .swiper-wrapper { grid-template-columns: minmax(0, 1fr); }
    /* one up, so the picture does not become a tower */
    .exp-courses-section .ec-card__media { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
    .exp-courses-section .ec-card__media img,
    .exp-courses-section .ec-card__body { transition: none; }
    .exp-courses-section .ec-card:hover .ec-card__media img,
    .exp-courses-section .ec-card:hover .ec-card__body { transform: none; }
}

/* ===========================================================================
   3. THE FACULTY  (/team/)
   ---------------------------------------------------------------------------
   Theirs: bordered rounded cards with a soft radial wash in one corner,
   alternating left and right down the page (`.bg-odd` flips the row), the
   portrait in a rounded panel and the credentials as coloured pills.

   Ours: every teacher the same way round — portrait left, words right — on
   the page itself rather than in a card, with a hairline between entries.
   The alternation is what made it theirs, so the alternation is what goes.
   The pills become one ruled line of small caps.
   =========================================================================== */
/* Bootstrap's .row overhangs its container by half a gutter and the old card
   padding used to cover it; with the card gone the portrait would hang 12px
   into the margin — on a phone, right up against the screen edge. */
.guru-wrap .row { margin-left: 0; margin-right: 0; }

.guru-wrap .guru-box-wrap,
.guru-wrap .guru-box-wrap.bg-odd {
    display: grid;
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 1.1rem + 2vw, 3rem);
    align-items: start;
    /* same direction every time — no row-reverse */
    flex-direction: row;
    padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem) 0 0;
    margin: 0 0 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
    background: none;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .13);
    border-radius: 0;
    box-shadow: none;
    transition: none;
}
.guru-wrap .guru-box-wrap:first-of-type { border-top: 0; padding-top: 0; }
.guru-wrap .guru-box-wrap::before,
.guru-wrap .guru-box-wrap.bg-odd::before { display: none; }
.guru-wrap .guru-box-wrap:hover {
    transform: none;
    border-color: rgba(26, 26, 26, .13);
    box-shadow: none;
}

.guru-wrap .guru-img-wrap {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--ryp-img-radius);
    overflow: hidden;
}
.guru-wrap .guru-img-wrap::after { display: none; }
.guru-wrap .guru-content-wrap { grid-column: 2; }

.guru-wrap .guru-content-wrap .guru-kicker {
    color: var(--ryp-red-ink);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 10px;
}
.guru-wrap .guru-content-wrap .sub-heading {
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    color: var(--ryp-ink);
}

/* the credentials: one ruled line, not a tray of pills */
.guru-wrap .guru-content-wrap .guru-meta {
    gap: 0 clamp(.875rem, .7rem + .8vw, 1.5rem);
    padding: .5rem 0;
    border-top: 1px solid rgba(26, 26, 26, .13);
    border-bottom: 1px solid rgba(26, 26, 26, .13);
}
.guru-wrap .guru-content-wrap .guru-meta li,
.guru-wrap .guru-content-wrap .guru-meta .gm-place,
.guru-wrap .guru-content-wrap .guru-meta .gm-exp {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--ryp-ink-soft);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 10.5px;
}
.guru-wrap .guru-content-wrap .guru-meta .gm-exp { color: var(--ryp-red-ink); }

.guru-wrap .guru-content-wrap .guru-skill {
    border-left-color: var(--ryp-red);
    background: none;
}
.guru-wrap .guru-content-wrap .guru-leads { border-top-color: rgba(26, 26, 26, .13); }

@media (max-width: 47.99rem) {
    .guru-wrap .guru-box-wrap,
    .guru-wrap .guru-box-wrap.bg-odd {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1rem;
    }
    .guru-wrap .guru-img-wrap {
        grid-column: 1;
        aspect-ratio: 16 / 11;
    }
    .guru-wrap .guru-content-wrap { grid-column: 1; }
}

/* ===========================================================================
   4. THE FAQ PAGE
   ---------------------------------------------------------------------------
   Theirs groups the questions under category headings with a small icon and
   runs the same boxed accordion the course pages use. The accordion was
   already rebuilt for the curriculum; this gives the FAQ page the same ruled
   treatment and turns the category heading into a label over a red rule.
   =========================================================================== */
.faq-section .faq-category-block + .faq-category-block {
    margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.faq-section .faq-category-heading {
    width: auto;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--ryp-red);
    font-weight: 400;
    color: var(--ryp-ink);
}
.faq-section .faq-cat-icon { opacity: .6; }

.faq-section .curriculum-accordion { gap: 0; }
.faq-section .ca-item {
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 26, .13);
    border-left: 3px solid transparent;
    border-radius: 0;
    box-shadow: none;
}
.faq-section .ca-item:hover {
    border-color: rgba(26, 26, 26, .13);
    border-left-color: rgba(222, 42, 29, .35);
    box-shadow: none;
}
.faq-section .ca-item[open] {
    border-color: rgba(26, 26, 26, .13);
    border-left-color: var(--ryp-red);
    box-shadow: none;
}
.faq-section .ca-item[open]::before { opacity: 0; }
.faq-section .ca-item[open] .ca-summary { background: none; color: var(--ryp-ink); }
.faq-section .ca-item[open] .ca-title { color: var(--ryp-red-ink); }
.faq-section .ca-summary {
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    /* the theme paints the row with a tinted gradient and lays a dotted
       texture over it; on a ruled list both read as grubby banding */
    background: none;
    color: var(--ryp-ink);
}
.faq-section .ca-summary:hover { background: none; color: var(--ryp-red-ink); }
.faq-section .ca-summary::after { display: none; }

/* the question number: a figure, not a bordered disc */
.faq-section .ca-summary::before,
.faq-section .ca-item[open] .ca-summary::before {
    min-width: 0;
    padding: 0;
    margin-right: .75rem;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--ryp-red-ink);
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

/* the category icon still carries the old teal hue-rotate chain */
.faq-section .faq-cat-icon { filter: brightness(0) saturate(100%) opacity(.55); }
.faq-section .ca-content { background: #fff; }
.faq-section .ca-icon {
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.faq-section .ca-icon::before,
.faq-section .ca-icon::after { background: var(--ryp-red); border-radius: 0; }
.faq-section .ca-item:not([open]) .ca-summary:hover .ca-icon { transform: none; box-shadow: none; }
.faq-section .ca-item[open] .ca-icon { background: none; box-shadow: none; }
.faq-section .ca-item[open] .ca-summary .ca-icon::before { background: var(--ryp-red); }

/* ===========================================================================
   5. OUR OWN BLOCKS — brand pass and the owner's corner radius
   ---------------------------------------------------------------------------
   None of these exist on their site. They keep their composition; what
   changes is the leftover tint from the green theme and the corners.
   =========================================================================== */

/* About: the four figures and the two-column notes */
.ab-stats {
    background: none;
    border-top: 2px solid var(--ryp-red);
    border-radius: 0;
    padding: clamp(1rem, .8rem + .8vw, 1.5rem) 0 0;
}
.ab-stats li { border-right-color: rgba(26, 26, 26, .13); }
.ab-stats strong {
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    color: var(--ryp-ink);
}
.ab-block { border-left-color: var(--ryp-red); }
.stats-wrap { background: none; border-top: 2px solid var(--ryp-red); border-radius: 0; }

/* Founder: the Yoga Alliance trust badge */
.ya-trust-badge {
    border-radius: 8px;
    border-color: var(--ryp-red);
    background: var(--ryp-red-tint);
}
.ya-trust-badge:hover,
.ya-trust-badge:focus-visible {
    transform: none;
    box-shadow: none;
    background: var(--ryp-red-tint);
}
.ya-trust-badge__icon { color: var(--ryp-red-ink); }

/* Contact: the cards, the quick links and the map */
.ct-card,
.ct-quick,
.ct-map { border-radius: var(--ryp-img-radius); }
.ct-quick:hover { transform: none; box-shadow: none; border-color: rgba(222, 42, 29, .35); }
.ct-quick__icon { border-radius: 10px; }

/* Blog post: the hero photograph and any figure in the body */
.bl-post__hero,
.bl-post__hero img,
.bl-post__body figure,
.bl-post__body figure img,
.bl-post__body > img {
    border-radius: var(--ryp-img-radius);
    overflow: hidden;
}

/* Blog: the cards, their covers and the date chip */
.bl-card { border-radius: var(--ryp-img-radius); }
.bl-card:hover { transform: none; box-shadow: none; border-color: rgba(222, 42, 29, .3); }
.bl-card__date { border-radius: 8px; }
.bl-latest__item img { border-radius: 8px; }

/* Gallery: every tile and the profile photograph */
.ig-wrap img,
.ig-wrap figure,
.ig-wrap [class*="tile"],
.ig-wrap [class*="grid"] > a { border-radius: var(--ryp-img-radius); }
.ig-wrap .ig-avatar { border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
    .exp-courses-section .ec-card__media img,
    .guru-wrap .guru-img-wrap .guru-image { transition: none; }
}

/* ===========================================================================
   8. WHAT YOU GET  (#ryp-about-offer — about, founder)
   ---------------------------------------------------------------------------
   Theirs, checked on vinyasayogaacademy.com/about-us.php: a centred heading,
   a centred paragraph, then "Together we will dive into these topics:" over a
   bulleted list of eight labelled lines in the left column, with the campus
   photograph in the right column. We had copied it exactly.

   Ours is a syllabus index, which is what those eight lines actually are.
   The bullets go; each line becomes a numbered entry on a ruled row, with the
   label on its own line in the display serif and the subjects under it — so
   the eight categories can be scanned down the left edge instead of read as
   one long list. The columns swap, the heading goes left, and the photograph
   becomes a tall portrait that STAYS WITH the index as it scrolls (sticky),
   which is only possible because the index is now the taller column.

   Nothing is removed: the same intro, the same cue line, the same eight
   labels and the same subjects, with every <strong> still bold.
   =========================================================================== */

/* -- the heading: left, not centred -------------------------------------- */
#ryp-about-offer .heading-wrapper {
    max-width: 62ch;
    /* the theme gives it a 12px gutter the two columns do not have, which
       left the heading a pencil's width right of everything under it */
    padding-left: 0;
    padding-right: 0;
    /* the theme centres this block with margin:auto */
    margin-left: 0;
    margin-right: auto;
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
    /* Bootstrap's .text-center carries !important, so this has to as well. */
    text-align: left !important;
}
#ryp-about-offer .heading-wrapper .common-heading-top {
    padding-top: .75rem;
    border-top: 2px solid var(--ryp-red);
    display: inline-block;
}

/* -- the row becomes a two-column spread, photograph first --------------- */
#ryp-about-offer .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 23rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 1.2rem + 3.2vw, 4.5rem);
    align-items: start;
    margin: 0;
}
#ryp-about-offer .heading-wrapper { grid-column: 1 / -1; }
#ryp-about-offer .col-lg-5,
#ryp-about-offer .col-lg-7 {
    width: 100%;
    max-width: none;
    flex: none;
    padding: 0;
}
#ryp-about-offer .col-lg-5 { grid-column: 1; grid-row: 2; }   /* the photograph, left */
#ryp-about-offer .col-lg-7 { grid-column: 2; grid-row: 2; }   /* the index, right */

/* -- the photograph: a portrait that stays with the index ---------------- */
#ryp-about-offer .img-wrap {
    position: sticky;
    top: 7rem;                      /* clears the sticky header */
    margin: 0;
    padding: 0;                     /* the theme frames it in white */
    box-shadow: none;
    border-radius: var(--ryp-img-radius);
    border-top: 3px solid var(--ryp-red);
    overflow: hidden;
    background: #e7e3dd;
}
#ryp-about-offer .img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* -- the cue line, now a label over a rule ------------------------------- */
#ryp-about-offer .common-content-wrapper { padding: 0; }
#ryp-about-offer .small-heading {
    margin: 0 0 .25rem;
    padding-bottom: .625rem;
    border-bottom: 2px solid var(--ryp-red);
    color: var(--ryp-ink-soft);
    font-family: "Figtree", system-ui, sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.4;
}

/* -- the index ------------------------------------------------------------ */
#ryp-about-offer ul.list {
    counter-reset: ryp-offer;
    margin: 0;
    padding: 0;
    list-style: none;
    columns: auto;                  /* the theme sets two columns on .list */
}
#ryp-about-offer ul.list li {
    position: relative;
    counter-increment: ryp-offer;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: .5rem;
    margin: 0;
    padding: clamp(.875rem, .75rem + .5vw, 1.125rem) 0;
    border-bottom: 1px solid rgba(26, 26, 26, .13);
    background: none;
    color: var(--ryp-ink-soft);
    font-size: clamp(.9375rem, .9rem + .2vw, 1rem);
    line-height: 1.65;
}
/* the theme's dot */
#ryp-about-offer ul.list li::marker { content: none; }
#ryp-about-offer ul.list li::before {
    content: counter(ryp-offer, decimal-leading-zero);
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-family: "Belleza", Georgia, serif;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--ryp-red);
}
/* the label on its own line, in the display face; the subjects fall under it */
#ryp-about-offer ul.list li strong {
    grid-column: 2;
    display: block;
    margin-bottom: .0625rem;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;               /* Belleza has one weight; the serif IS the emphasis */
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    line-height: 1.3;
    color: var(--ryp-ink);
}
#ryp-about-offer ul.list li:last-child { border-bottom: 0; }

@media (max-width: 61.99rem) {
    #ryp-about-offer .container > .row { grid-template-columns: minmax(0, 1fr); row-gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
    #ryp-about-offer .col-lg-5 { grid-column: 1; grid-row: 2; }
    #ryp-about-offer .col-lg-7 { grid-column: 1; grid-row: 3; }
    /* Sticky needs a column taller than the viewport to mean anything, and
       stacked there is none — so the photograph simply sits above the index
       as a band rather than a tower. */
    #ryp-about-offer .img-wrap { position: static; }
    #ryp-about-offer .img-wrap img { aspect-ratio: 16 / 9; }
}

@media (max-width: 35.99rem) {
    #ryp-about-offer .img-wrap img { aspect-ratio: 4 / 3; }
    #ryp-about-offer ul.list li { grid-template-columns: 2.25rem minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
   CONTACT — the three ways to reach us
   ---------------------------------------------------------------------------
   Owner, 16 Nov 2026: change the icons to match the site, and change the
   layout.

   The icons are now drawn in the markup as real SVG with
   stroke="currentColor", so the colour comes from here. What was there before
   could not be recoloured at all: assets/images/contact-location.svg and its
   two siblings are an <svg> element wrapping a base64 PNG — 12KB, 53KB and
   46KB of pixels with the old teal baked in. See the note in contact.php.

   The layout stops being three centred icon stacks and becomes one group under
   a red rule, left-aligned and divided by hairlines — the same object as the
   specification column on the course index and the entry list on the 404.
   --------------------------------------------------------------------------- */
#contact-us .ct-ways {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: clamp(.5rem, .4rem + .4vw, 1rem) 0 0;
    padding: 0;
    list-style: none;
    border-top: 2px solid var(--ryp-red);
}
#contact-us .ct-way {
    display: grid;
    grid-template-columns: 2.125rem minmax(0, 1fr);
    column-gap: .875rem;
    row-gap: .1875rem;
    align-items: start;
    margin: 0;
    padding: clamp(1rem, .8rem + .8vw, 1.5rem) 0;
}
#contact-us .ct-way + .ct-way { border-top: 1px solid rgba(26, 26, 26, .14); }

#contact-us .ct-way__ico {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.125rem;
    height: 2.125rem;
    background: var(--ryp-red-tint);
    color: var(--ryp-red-ink);
}
#contact-us .ct-way__ico svg { display: block; }

#contact-us .ct-way__label {
    grid-column: 2;
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ryp-red-ink);
}
#contact-us .ct-way__value {
    grid-column: 2;
    display: block;
    max-width: 30ch;
    font-size: clamp(.9375rem, .9rem + .25vw, 1.0625rem);
    line-height: 1.6;
    color: var(--ryp-ink);
    text-decoration: none;
    transition: color 180ms ease;
}
#contact-us .ct-way__value:hover,
#contact-us .ct-way__value:focus-visible { color: var(--ryp-red-ink); }
#contact-us .ct-way__value:focus-visible {
    outline: 2px solid var(--ryp-red);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Three across from 48rem, divided by hairlines rather than stacked. The
   horizontal rule between stacked entries has to be cleared, or the first
   column keeps a stray line above it. */
@media (min-width: 48rem) {
    #contact-us .ct-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #contact-us .ct-way + .ct-way {
        border-top: 0;
        border-left: 1px solid rgba(26, 26, 26, .14);
        padding-left: clamp(1.25rem, .8rem + 2vw, 2.5rem);
    }
    #contact-us .ct-way { padding-right: clamp(1rem, .6rem + 1.6vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
    #contact-us .ct-way__value { transition: none; }
}
