/* ==========================================================================
   Edukall Site — pages: the content pages: blog, events agenda, catalogues, FAQ, search, about, contact, facilities, legal, 404, TV, partner profiles, gift claim, admission application and the organisation landings.
   --------------------------------------------------------------------------
   Loaded after edukall-site.css only by the pages SiteStylesheets lists for
   this family, and before the skin's own layer. A rule lives here only when
   every page that can show what it styles is in this family: a component
   another family uses too belongs in edukall-site.css.
   ========================================================================== */

/* ── Eyebrows and the buttons for dark bands and photos ─────────────────────── */

/* Plans grid on the pricing page: room for the "most popular" flag */
.s-plans { padding-top: 14px; }
.s-plans__note { max-width: 720px; margin: 20px auto 0; text-align: center; }
.s-plans__note + .s-plans__note { margin-top: 8px; }
/* The pricing page's audience switch: two addresses, one per tab. */
.s-segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-surface); }
.s-site .s-segmented__item { padding: 10px 20px; border-radius: 999px; color: var(--s-muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.s-site .s-segmented__item:hover { color: var(--s-ink); }
.s-site .s-segmented__item.is-active { background: var(--s-ink); color: var(--s-bg); font-weight: 600; }

/* Comparison table */
/* Positioned, so the visually-hidden labels in its cells (position: absolute) are clipped by its
   scroll instead of widening the page on a phone. */
.s-table-wrap { position: relative; overflow-x: auto; max-width: 100%; min-width: 0; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); }
.s-compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.s-compare th, .s-compare td { padding: 16px 20px; border-bottom: 1px solid var(--s-line); text-align: center; }
.s-compare tbody tr:last-child th, .s-compare tbody tr:last-child td { border-bottom: 0; }
.s-compare thead th { font-weight: 700; }
.s-compare tbody th { text-align: left; font-weight: 500; }
/* On a narrow screen the table scrolls sideways; what each row is stays in view. */
.s-compare tbody th, .s-compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--s-surface); }
.s-compare .is-popular { background: var(--s-accent-soft); }
.s-compare thead .is-popular { color: var(--s-accent); }
.s-compare__yes { color: var(--s-accent); font-size: 20px; }
.s-compare__no { color: var(--s-faint); }

/* Accent banner (closing call to action) */
.s-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding: 56px; border-radius: var(--s-radius-lg); background: var(--s-accent); color: var(--s-on-accent); }
.s-banner .s-h2 { color: var(--s-on-accent); }
.s-banner__text { margin: 10px 0 0; color: var(--s-on-accent-muted); font-size: 17px; }
@media (max-width: 575.98px) { .s-banner { padding: 32px 20px; } }

/* Feature blocks (organisation landings) */
.s-blocks { display: flex; flex-direction: column; gap: 96px; }
.s-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.s-block--flip .s-block__media { order: -1; }
.s-block--solo { grid-template-columns: minmax(0, 820px); }
.s-block__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.s-block__media { aspect-ratio: 4 / 3; }
@media (max-width: 991.98px) {
    .s-blocks { gap: 56px; }
    .s-block { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .s-block--flip .s-block__media { order: 0; }
}

/* Signup */
.s-signup__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.s-signup__form { display: flex; flex-direction: column; gap: 18px; }
.s-signup__plan { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--s-radius-lg); background: var(--s-accent-soft); color: var(--s-accent-soft-ink); }
.s-signup__plan .s-plan__list { color: var(--s-accent-soft-ink); }
@media (max-width: 991.98px) {
    .s-signup__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .s-signup__plan { position: static; }
}

/* ── Catalogues (programs.php, courses.php via _catalog.php) ──────────────── */
.s-facets { width: 100%; display: flex; flex-direction: column; gap: 28px; }
.s-active-filters { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-site .s-active-filters__chip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--s-accent-soft); color: var(--s-accent-soft-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.s-site .s-active-filters__chip:hover { background: var(--s-accent); color: var(--s-on-accent); }
.s-active-filters__chip .bi { font-size: 18px; }
.s-site .s-active-filters__clear { margin-left: 4px; font-size: 14px; font-weight: 600; color: var(--s-muted); }
/* The recommender's "for you" mark (catalog-recommender.js places it on the image). */
.s-pcard .rec-badge { top: 12px !important; right: 12px !important; margin: 0 !important; padding: 5px 10px; border-radius: 999px; background: var(--s-surface); color: var(--s-accent); font-size: 12px; font-weight: 700; box-shadow: var(--s-shadow); }
.s-pcard .rec-badge i { display: none; }

/* ── Events: the agenda (events.php) and the event page (event_page.php) ──── */

.s-agenda { padding-top: 32px; padding-bottom: 72px; }
.s-agenda .s-catalog__head p { margin: 0; }
.s-agenda__month + .s-agenda__month { margin-top: 36px; }
.s-site .s-agenda__label { margin: 0 0 12px; font-family: var(--s-font-body); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); }
.s-agenda__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.s-agenda__row { position: relative; display: grid; grid-template-columns: 76px 140px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); transition: box-shadow .15s ease; }
.s-agenda__row:hover { box-shadow: var(--s-shadow); }
.s-agenda__row:hover .s-pcard__link { color: var(--s-accent); }
.s-agenda__row:has(.s-pcard__link:focus-visible) { outline: 3px solid var(--s-focus); outline-offset: 2px; }
.s-agenda__date { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; border-radius: var(--s-radius-sm); background: var(--s-accent-soft); color: var(--s-accent-soft-ink); line-height: 1.1; text-align: center; }
.s-agenda__date span { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.s-agenda__date span:last-child { font-size: 11px; font-weight: 600; letter-spacing: 0; }
.s-agenda__date strong { font-family: var(--s-font-display); font-size: 30px; }
.s-agenda__thumb { width: 140px; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--s-radius-sm); background: var(--s-tint-3); }
.s-agenda__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s-agenda__body p { margin: 0; }
.s-agenda__kicker { font-size: 13px; font-weight: 600; color: var(--s-accent); }
.s-agenda__title { margin: 0; font-family: var(--s-font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.s-agenda__subtitle { font-size: 14px; color: var(--s-muted); }
.s-agenda__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.s-agenda__side .s-pcard__price { margin: 0; }
@media (max-width: 991.98px) {
    .s-agenda__row { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
    .s-agenda__thumb { display: none; }
    .s-agenda__side { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; flex-wrap: wrap; }
    .s-agenda__date strong { font-size: 24px; }
}

/* ── Blog (blog.php, blog_read_post.php) ──────────────────────────────────── */
.s-popular { margin: 0; padding: 0; list-style: none; counter-reset: pop; display: flex; flex-direction: column; }
.s-popular li { counter-increment: pop; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.s-popular li::before { content: counter(pop); font-family: var(--s-font-display); font-size: 22px; font-weight: 700; line-height: 1; color: var(--s-accent); min-width: 22px; }
.s-site .s-popular a { color: var(--s-ink); font-weight: 600; text-decoration: none; line-height: 1.35; }
.s-site .s-popular a:hover { color: var(--s-accent); }

.s-newsbox { padding: 22px; border-radius: var(--s-radius); background: var(--s-accent-soft); color: var(--s-accent-soft-ink); display: flex; flex-direction: column; gap: 10px; }
.s-newsbox p { margin: 0; }
.s-newsbox .s-form { gap: 10px; }
.s-newsbox__result { font-size: 14px; font-weight: 600; }
.s-newsbox__result--error { color: var(--s-ink); }

.s-article { padding-top: 32px; padding-bottom: 56px; }
.s-article__head, .s-article__body { max-width: 760px; margin: 0 auto; padding: 0 var(--s-gutter); box-sizing: content-box; }
.s-article__head { display: flex; flex-direction: column; gap: 16px; }
.s-article__title { font-size: calc(clamp(34px, 4.6vw, 58px) * var(--s-h1-scale)); line-height: 1.04; }
.s-article__meta { display: flex; align-items: center; gap: 12px; }
.s-article__meta img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.s-article__meta p { margin: 0; }
.s-site .s-article__author { color: var(--s-ink); font-weight: 700; text-decoration: none; }
.s-article__cover { max-width: 1080px; margin: 32px auto; padding: 0 var(--s-gutter); }
.s-article__cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--s-radius-lg); display: block; background: var(--s-tint-3); }
.s-article__body { display: flex; flex-direction: column; gap: 28px; }
.s-article__cats { margin: 0; color: var(--s-muted); }
.s-article__comments { padding-top: 12px; border-top: 1px solid var(--s-line); }
.s-zoomable { cursor: zoom-in; }
.s-zoom { background: transparent; border: 0; }
.s-zoom img { width: 100%; height: auto; max-height: 88vh; object-fit: contain; }
.s-zoom__close { position: absolute; top: -40px; right: 0; }

/* ── Search and content pages (search_results, faq, contact_us, about_us, facilities, legal, page, 404) ── */

.s-search, .s-faqpage { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.s-search__head { display: flex; flex-direction: column; gap: 16px; }
.s-search__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--s-band); color: var(--s-muted); font-size: 12px; }
.s-blog__cats a[aria-current="page"] .s-search__count { background: rgba(255, 255, 255, .2); color: var(--s-on-accent); }
.s-search__group { display: flex; flex-direction: column; gap: 16px; }
.s-search__snippet { color: var(--s-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-faqpage__head { text-align: left; }
.s-faqpage__list { max-width: 860px; }
.s-faqpage__more { max-width: 860px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; border-radius: var(--s-radius); background: var(--s-accent-soft); color: var(--s-accent-soft-ink); }
.s-faqpage__more p { margin: 0; font-weight: 600; }
.s-legal { padding-bottom: 72px; }
.s-legal .s-article__body { margin-top: 24px; }
.s-notfound { min-height: 60vh; padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.s-notfound__code { margin: 0; font-family: var(--s-font-display); font-size: clamp(88px, 16vw, 160px); font-weight: 700; line-height: 1; color: var(--s-accent-soft); letter-spacing: -0.04em; }
.s-notfound .s-blog__search { width: 100%; }
.s-notfound .s-btn-row { justify-content: center; }
.s-about__intro { margin-top: 16px; }
.s-pillar { display: flex; flex-direction: column; gap: 12px; }
.s-pillar img { width: 56px; height: 56px; object-fit: contain; }
.s-pillar p { margin: 0; color: var(--s-muted); }
.s-teacher img { aspect-ratio: 1 / 1; }
.s-photos { columns: 3 280px; column-gap: 16px; }
.s-photos figure { margin: 0 0 16px; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--s-radius-sm); }
.s-photos img { width: 100%; height: auto; display: block; }
.s-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 12px; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0)); color: #fff; font-size: 14px; }
.s-contact { padding-top: 32px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 991.98px) { .s-contact { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.s-contact__form { display: flex; flex-direction: column; gap: 16px; }
.s-contact__form .s-lead { margin: 0; }
.s-contact__form .s-btn { align-self: flex-start; }
.s-contact__ways { display: flex; flex-direction: column; gap: 12px; }
.s-site .s-contact__way { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); color: var(--s-ink); text-decoration: none; overflow-wrap: anywhere; }
.s-contact__way > .bi { font-size: 22px; color: var(--s-accent); }
.s-contact__way > span { display: flex; flex-direction: column; gap: 2px; }
.s-contact__way strong { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--s-muted); }
.s-site a.s-contact__way:hover { border-color: var(--s-accent); color: var(--s-ink); }
.s-site .s-contact__way--primary { background: var(--s-accent); border-color: var(--s-accent); color: var(--s-on-accent); }
.s-site .s-contact__way--primary:hover { background: var(--s-accent-hover); color: var(--s-on-accent); }
.s-contact__way--primary > .bi, .s-contact__way--primary strong { color: var(--s-on-accent-muted); }

/* ── Profiles and the gift claim (user_profile, partner_profile, gift_redeem) ── */

.s-partner { padding-bottom: 72px; }
.s-partner__cover { height: 240px; overflow: hidden; background: var(--s-accent-soft); }
.s-partner__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-partner__cover--plain { height: 140px; }
.s-partner__head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
/* Only the mark overlaps the cover; the name sits below it, on the page. */
.s-partner__head > .s-partner__logo { margin-top: -56px; }
.s-partner__head > div { padding-top: 16px; }
.s-partner__head h1 { margin-bottom: 6px; }
.s-partner__logo { width: 112px; height: 112px; flex-shrink: 0; border-radius: var(--s-radius); border: 4px solid var(--s-bg); background: var(--s-surface); object-fit: contain; box-shadow: var(--s-shadow); }
.s-partner__logo--initial { display: inline-flex; align-items: center; justify-content: center; background: var(--s-accent); color: var(--s-on-accent); font-family: var(--s-font-display); font-size: 44px; font-weight: 700; }
.s-partner__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 991.98px) { .s-partner__layout { grid-template-columns: minmax(0, 1fr); } .s-partner__head { flex-direction: column; gap: 8px; } .s-partner__head > div { padding-top: 0; } }
.s-partner__main { display: flex; flex-direction: column; gap: 32px; }
.s-partner__more { align-self: center; }
.s-partner__more[hidden] { display: none; }
.s-partner__about { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.s-partner__about p { margin: 0; }
@media (max-width: 991.98px) { .s-partner__about { position: static; } }

/* ── A gift's claim page (gift_redeem.php) ───────────────────────────────────
   Shown as a present: the giver's line on the skin's deep ground, the programme's picture
   wrapped in a ribbon of the highlight colour, and the giver's words on a tag tied to it. The
   claim below stays quiet: what is paid, when to start, one button. */

.s-gift { padding-bottom: 88px; }

.s-gift__hero {
    padding: 56px 0 168px;
    background: var(--s-deep-ground, var(--s-deep));
    color: var(--s-on-deep);
    text-align: center;
}
.s-gift__intro { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.s-gift__seal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 999px;
    background: var(--s-highlight); color: var(--s-on-highlight);
    font-size: 28px;
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--s-highlight) 22%, transparent);
}
.s-gift__title { margin: 0; max-width: 22ch; display: flex; flex-direction: column; gap: 10px; }
.s-gift__gave {
    font-family: var(--s-font-body); font-size: clamp(17px, 1.6vw, 20px); font-weight: 500;
    letter-spacing: 0; line-height: 1.4; color: var(--s-on-deep-muted);
}
.s-gift__program {
    font-family: var(--s-font-display); font-weight: var(--s-display-weight, 700);
    font-size: calc(var(--s-h2-size) * 1.05); line-height: var(--s-h2-leading);
    letter-spacing: var(--s-h2-track); color: var(--s-on-deep); text-wrap: balance;
}

.s-gift__wrap { display: flex; flex-direction: column; align-items: center; }

/* The present: the picture, tied with a ribbon that crosses it, knotted where the bands meet. */
.s-gift__present {
    --ribbon: clamp(18px, 2.4vw, 26px);
    position: relative; width: 100%; max-width: 760px; margin: -128px 0 0;
    aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: var(--s-radius-lg);
    background: var(--s-gradient);
    box-shadow: var(--s-lift);
}
.s-gift__present img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-gift__present::before,
.s-gift__present::after {
    content: ""; position: absolute; background: var(--s-highlight);
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--s-on-highlight) 10%, transparent);
}
.s-gift__present::before { top: 0; bottom: 0; left: 70%; width: var(--ribbon); transform: translateX(-50%); }
.s-gift__present::after { left: 0; right: 0; top: 58%; height: var(--ribbon); transform: translateY(-50%); }
.s-gift__ribbon {
    position: absolute; z-index: 1; left: 70%; top: 58%;
    width: calc(var(--ribbon) * 5.6); height: calc(var(--ribbon) * 2.4);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--s-on-highlight) 35%, transparent));
}
/* The bow: two loops either side of the knot. */
.s-gift__ribbon::before,
.s-gift__ribbon::after {
    content: ""; position: absolute; top: 50%;
    width: calc(var(--ribbon) * 2.5); height: calc(var(--ribbon) * 1.6);
    border: calc(var(--ribbon) * .36) solid var(--s-highlight);
    border-radius: 50%;
    box-sizing: border-box;
}
.s-gift__ribbon::before { right: 50%; transform: translate(4%, -62%) rotate(-20deg); transform-origin: right center; }
.s-gift__ribbon::after { left: 50%; transform: translate(-4%, -62%) rotate(20deg); transform-origin: left center; }
.s-gift__knot {
    position: absolute; z-index: 1; left: 50%; top: 50%;
    width: calc(var(--ribbon) * 1.15); height: calc(var(--ribbon) * 1.15);
    transform: translate(-50%, -50%);
    border-radius: 35%;
    background: color-mix(in srgb, var(--s-highlight) 84%, var(--s-on-highlight));
}

/* The giver's words, on a tag: punched, tied, set a little askew as a hand would leave it. */
.s-gift__tag {
    position: relative; z-index: 2; width: min(100%, 560px); margin: -44px 0 0;
    padding: 30px 34px 26px 58px;
    border-radius: var(--s-radius-sm);
    background: var(--s-surface);
    box-shadow: var(--s-lift);
    transform: rotate(-1.5deg);
}
.s-gift__tag::before {
    content: ""; position: absolute; left: 22px; top: 32px;
    width: 14px; height: 14px; border-radius: 999px;
    background: var(--s-bg);
    box-shadow: inset 0 0 0 2px var(--s-line), 0 0 0 4px color-mix(in srgb, var(--s-highlight) 55%, transparent);
}
.s-gift__message {
    margin: 0;
    /* The body face: a display face without an italic (Bricolage) sets a hand-written line
       heavy and slanted by the browser. A skin with a true italic accent face sets it in that
       (skin-imago.css). */
    font-family: var(--s-font-body); font-weight: 500;
    font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--s-ink);
    overflow-wrap: anywhere;
}
.s-gift__signature { margin: 14px 0 0; text-align: right; font-size: 15px; font-weight: 600; color: var(--s-muted); }

@media (prefers-reduced-motion: no-preference) {
    .s-gift__tag { animation: s-gift-tag .9s var(--s-ease, cubic-bezier(.2, .7, .2, 1)) .25s both; }
}
@keyframes s-gift-tag {
    from { opacity: 0; transform: translateY(-18px) rotate(-7deg); }
    to   { opacity: 1; transform: translateY(0) rotate(-1.5deg); }
}

/* The claim: plain, after the present. */
.s-gift__claim {
    width: 100%; max-width: 640px; margin: 48px 0 0;
    display: flex; flex-direction: column; gap: 20px;
}
.s-gift__claim > p { margin: 0; }
.s-gift__paid { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--s-ink); }
.s-gift__paid .bi { flex: none; font-size: 24px; line-height: 1.1; color: var(--s-accent); }

.s-gift__dates {
    box-sizing: border-box; margin: 8px 0 0; padding: 28px; width: 100%; min-width: 0;
    display: flex; flex-direction: column; gap: 12px;
    border: 1px solid var(--s-line); border-radius: var(--s-radius-lg);
    background: var(--s-surface);
}
.s-gift__dates legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font-family: var(--s-font-display); font-weight: var(--s-display-weight, 700); letter-spacing: var(--s-track-display); color: var(--s-ink); }
.s-gift__dates legend + * { clear: left; }
.s-gift__schedule { margin: 6px 0 0; display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--s-muted); }
.s-gift__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.s-gift__date {
    position: relative; display: flex; flex-direction: column; gap: 2px;
    padding: 14px 16px; cursor: pointer;
    border: 1px solid var(--s-line); border-radius: var(--s-radius-sm);
    background: var(--s-bg);
    transition: border-color .2s, background-color .2s, color .2s;
}
.s-gift__date input { position: absolute; opacity: 0; pointer-events: none; }
.s-gift__date:hover { border-color: var(--s-accent); }
.s-gift__day { font-weight: 700; color: var(--s-ink); }
.s-gift__mode { font-size: 14px; color: var(--s-muted); }
.s-gift__date:has(input:checked) { border-color: var(--s-accent); background: var(--s-accent); }
.s-gift__date:has(input:checked) :is(.s-gift__day, .s-gift__mode) { color: var(--s-on-accent); }
.s-gift__date:has(input:focus-visible) { outline: 3px solid var(--s-focus); outline-offset: 2px; }
.s-gift__fine { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--s-muted); }

.s-gift__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.s-gift__actions .s-btn { flex: 1 1 220px; justify-content: center; }
.s-gift [data-ek-claim-error][hidden] { display: none; }

@media (max-width: 575.98px) {
    .s-gift__hero { padding: 40px 0 120px; }
    .s-gift__present { margin-top: -88px; border-radius: var(--s-radius); }
    .s-gift__tag { margin-top: -28px; padding: 24px 22px 20px 48px; }
    .s-gift__tag::before { left: 18px; top: 28px; }
    .s-gift__dates { padding: 20px 18px; }
    .s-gift__options { grid-template-columns: minmax(0, 1fr); }
}

/* ── Admission application (apply.php) ─────────────────────────────────────── */

.s-apply .s-crumbs { max-width: 820px; margin: 0 auto 16px; }
.s-apply__form, .s-apply__docs-field { width: 100%; }
.s-apply__docs-field { margin: 0; padding: 0; border: 0; }
.s-apply__docs-field legend { float: none; margin-bottom: 4px; }
.s-apply__docs { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.s-apply__doc { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: var(--s-bg); }
.s-apply__doc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.s-apply__upload { display: flex; flex-wrap: wrap; gap: 8px; }
.s-apply__upload .form-control { flex: 1 1 220px; }
.s-apply__result { margin: 0; font-size: 14px; font-weight: 600; }
.s-apply__result--error { color: var(--s-ink); }
.s-apply__result[hidden] { display: none; }
.s-apply__withdraw { width: 100%; padding-top: 16px; border-top: 1px solid var(--s-line); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.s-apply__withdraw form[hidden] { display: none; }

/* ── TV (tv.php, tv_watch_video.php) ──────────────────────────────────────── */

.s-tv { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.s-tv .s-blog__head { align-items: flex-start; }
.s-tv__thumb { position: relative; display: block; }
.s-tv__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; transition: transform .15s ease; }
.s-post:hover .s-tv__play { transform: scale(1.08); }
.s-watch { background: var(--s-viewer-bg); color: var(--s-viewer-ink); padding: 24px 0 40px; }
.s-watch__stage { display: flex; flex-direction: column; gap: 14px; max-width: 1100px; }
.s-site .s-watch__back { color: var(--s-viewer-muted); }
.s-site .s-watch__title { color: var(--s-viewer-ink); margin: 0; }
.s-watch__player { border-radius: var(--s-radius); overflow: hidden; }
.s-watch__text { margin: 0; color: var(--s-viewer-muted); max-width: 760px; }
