@charset "UTF-8";
/* ===========================================================================
   "A DAY HERE" — a photo line above a horizontal schedule rail
   ---------------------------------------------------------------------------
   vinyasayogaacademy.com lays this section out as a 2x2 photo collage on the
   left with the prose beside it, then four bordered cards across the bottom,
   each an icon over a time pill over a title over a sentence.

   Here the four photographs run as ONE LINE across the full width, and the
   schedule under them is a RAIL — a single red line threading through four
   markers — rather than four separate boxes. Same horizontal rhythm the owner
   asked for, none of their component anatomy.
   =========================================================================== */

/* -- the prose above it all ----------------------------------------------- */
.ashram-section .ryp-day__intro {
    display: grid;
    gap: .875rem;
    margin-bottom: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
}
.ashram-section .ryp-day__intro p {
    margin: 0;
    font-size: clamp(1rem, .96rem + .22vw, 1.0625rem);
    line-height: 1.7;
    color: var(--ryp-ink-soft);
}
.ashram-section .ryp-day__intro strong { color: var(--ryp-ink); }

/* ---------------------------------------------------------------------------
   THE PHOTO LINE
   --------------------------------------------------------------------------- */
.ashram-section .ryp-day__strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.625rem, .45rem + .7vw, 1.125rem);
    margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.ashram-section .ryp-day__shot {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(222, 42, 29, .16);
    box-shadow: 0 2px 6px rgba(222, 42, 29, .05), 0 14px 32px rgba(26, 26, 26, .08);
}
.ashram-section .ryp-day__shot img {
    display: block;
    width: 100%;
    /* One ratio for all four. The source files are 900x1350, 900x601, 950x633
       and 900x581 — four different shapes, which would give four different
       heights in a line. */
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

/* ---------------------------------------------------------------------------
   THE RAIL
   --------------------------------------------------------------------------- */
.ashram-section .ryp-day {
    --dot: 3.5rem;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, .7rem + 1.2vw, 1.75rem);
}

/* The line, threaded through the middle of the markers. It starts and stops at
   the first and last marker rather than running off both edges. */
.ashram-section .ryp-day::before {
    content: "";
    position: absolute;
    top: calc(var(--dot) / 2 - 1px);
    left: calc(100% / 8);
    right: calc(100% / 8);
    height: 2px;
    background: linear-gradient(90deg,
        rgba(222, 42, 29, .14) 0%,
        rgba(222, 42, 29, .38) 18%,
        rgba(222, 42, 29, .38) 82%,
        rgba(222, 42, 29, .14) 100%);
}

.ashram-section .ryp-day__step {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: .5rem;
    text-align: center;
}

.ashram-section .ryp-day__time {
    position: relative;
    z-index: 1;                            /* sits on top of the line */
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--dot);
    height: var(--dot);
    margin: 0 0 .375rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ryp-red);
    font-family: "Figtree", system-ui, sans-serif;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;                   /* "10:00 AM" was wrapping */
    color: var(--ryp-red-ink);
    font-variant-numeric: tabular-nums;
}

.ashram-section .ryp-day__title {
    margin: 0;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem);
    line-height: 1.25;
    color: var(--ryp-ink);
    text-wrap: balance;
}
.ashram-section .ryp-day__desc {
    margin: 0;
    max-width: 30ch;
    font-size: clamp(.875rem, .85rem + .15vw, .9375rem);
    line-height: 1.6;
    color: var(--ryp-ink-soft);
}

/* ---------------------------------------------------------------------------
   THE CLOSE
   --------------------------------------------------------------------------- */
.ashram-section .ryp-day__close {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(.875rem, .7rem + .6vw, 1.25rem);
    margin-top: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.ashram-section .ryp-day__quote {
    position: relative;
    margin: 0;
    padding-left: clamp(1rem, .8rem + .6vw, 1.5rem);
    max-width: 62ch;
    font-family: "Belleza", Georgia, serif;
    font-size: clamp(1.125rem, 1rem + .7vw, 1.4375rem);
    line-height: 1.5;
    color: var(--ryp-ink);
}
.ashram-section .ryp-day__quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    bottom: .3em;
    width: 3px;
    border-radius: 2px;
    background: var(--ryp-red);
}
.ashram-section .ryp-day__with {
    margin: 0;
    max-width: 62ch;
    font-size: clamp(.9375rem, .91rem + .18vw, 1rem);
    line-height: 1.65;
    color: var(--ryp-ink-soft);
}

/* ---------------------------------------------------------------------------
   TABLET — two across, both for the photos and the hours
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    .ashram-section .ryp-day__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ashram-section .ryp-day { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    /* A line drawn across four columns means nothing across two rows of two. */
    .ashram-section .ryp-day::before { display: none; }
}

/* ---------------------------------------------------------------------------
   PHONE — the photos stay two across so they still read as a line, and the
   hours stack into a readable single column.
   --------------------------------------------------------------------------- */
@media (max-width: 35.99rem) {
    .ashram-section .ryp-day { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
    .ashram-section .ryp-day__desc { max-width: 42ch; }
    .ashram-section .ryp-day__shot { border-radius: 12px; }
}
