@charset "UTF-8";
/* ===========================================================================
   FACILITIES — one board of eight, not eight cards
   ---------------------------------------------------------------------------
   vinyasayogaacademy.com runs this as prose in a left column with a 3x3 grid
   of bordered tiles beside it, each tile a circular icon badge over a centred
   label. Ours was identical, labels included.

   Here the prose sits full width above, and the amenities are a SINGLE bordered
   board split into eight cells by hairlines. That is the real difference: one
   object instead of eight, which is what their version — and the course rows,
   the why-choose cards and the facility tiles before it — all had in common.

   Icons are plain red marks. No circles, no badges, no per-cell shadow.
   =========================================================================== */

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

/* ---------------------------------------------------------------------------
   THE BOARD
   ---------------------------------------------------------------------------
   The hairlines are the 1px gaps with the board's own colour showing through;
   the cells paint themselves white over the rest. One border around the whole
   thing, none around the cells.
   --------------------------------------------------------------------------- */
#join-family .ryp-fac {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(222, 42, 29, .16);
    border: 1px solid rgba(222, 42, 29, .18);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 2px 6px rgba(222, 42, 29, .05),
        0 16px 40px rgba(26, 26, 26, .07);
}

#join-family .ryp-fac__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .75rem;
    padding: clamp(1.125rem, .9rem + 1vw, 1.75rem) clamp(.625rem, .5rem + .6vw, 1.125rem);
    background: #fff;
    text-align: center;
    transition: background-color 240ms cubic-bezier(.22, 1, .36, 1);
}
#join-family .ryp-fac__cell:hover { background: var(--ryp-red-tint); }

/* -- the icon ------------------------------------------------------------- */
/* No circle behind it. The SVGs are monochrome line art, so a mask paints them
   exactly --ryp-red with no filter chain to tune.

   The files live in assets/images/, NOT assets/images/icons/ — that was assumed
   first and every mask 404'd, which paints nothing at all rather than failing
   visibly. Checked against the files on disk. */
#join-family .ryp-fac__icon {
    display: block;
    width: 30px;
    height: 30px;
    background-color: var(--ryp-red);
    -webkit-mask-image: var(--fac-icon);
            mask-image: var(--fac-icon);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}
#join-family .ryp-fac__icon img { display: none; }

#join-family .ryp-fac__cell:nth-child(1) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-room.svg"); }
#join-family .ryp-fac__cell:nth-child(2) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-wifi.svg"); }
#join-family .ryp-fac__cell:nth-child(3) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-hc-water.svg"); }
#join-family .ryp-fac__cell:nth-child(4) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-water.svg"); }
#join-family .ryp-fac__cell:nth-child(5) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-hall.svg"); }
#join-family .ryp-fac__cell:nth-child(6) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-dining.svg"); }
#join-family .ryp-fac__cell:nth-child(7) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-spa.svg"); }
#join-family .ryp-fac__cell:nth-child(8) .ryp-fac__icon { --fac-icon: url("../../../assets/images/facility-taxi.svg"); }

#join-family .ryp-fac__label {
    font-family: "Figtree", system-ui, sans-serif;
    font-size: clamp(.8125rem, .79rem + .16vw, .9375rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--ryp-ink);
    text-wrap: balance;
}

/* ---------------------------------------------------------------------------
   THE QUESTIONS AND THE BUTTONS
   --------------------------------------------------------------------------- */
#join-family .ryp-fac__ask {
    display: grid;
    gap: clamp(1.25rem, 1rem + 1.2vw, 2rem);
    margin-top: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
}
#join-family .ryp-fac__questions {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#join-family .ryp-fac__questions li {
    position: relative;
    padding-left: 1.5rem;
    font-size: clamp(.9375rem, .91rem + .18vw, 1rem);
    line-height: 1.6;
    color: var(--ryp-ink-soft);
}
#join-family .ryp-fac__questions li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ryp-red);
}
#join-family .ryp-fac__questions strong { color: var(--ryp-ink); }

#join-family .ryp-fac__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ---------------------------------------------------------------------------
   TABLET AND PHONE — still 4 + 4 on a tablet, two across on a phone.
   --------------------------------------------------------------------------- */
@media (min-width: 48rem) {
    #join-family .ryp-fac__questions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
}
@media (max-width: 47.99rem) {
    #join-family .ryp-fac { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; }
    #join-family .ryp-fac__icon { width: 26px; height: 26px; }
    #join-family .ryp-fac__actions .theme-button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    #join-family .ryp-fac__cell { transition: none; }
}
