@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-04FF, U+1C89-1C8A, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fscp-bg: #f5f7fb;
  --fscp-surface: #ffffff;
  --fscp-text: #15213a;
  --fscp-muted: #77839a;
  --fscp-line: #e4e9f2;
  --fscp-primary: #5271ff;
  --fscp-primary-dark: #3c59e7;
  --fscp-blue-soft: #edf2ff;
  --fscp-green: #178d68;
  --fscp-radius: 24px;
  --fscp-shadow: 0 18px 55px rgba(27, 42, 78, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fscp-page,
body.fsc-public-body {
  margin: 0;
  min-width: 320px;
  color: var(--fscp-text);
  background: var(--fscp-bg);
  font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.fscp-page a { color: inherit; }
body.fscp-page img { max-width: 100%; }
.fscp-container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.fscp-icon { width: 20px; height: 20px; flex: 0 0 auto; }

.fscp-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 229, 240, .85);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
}
.fscp-header .fscp-container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fscp-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.fscp-brand > .fscp-icon { width: 34px; height: 34px; padding: 7px; color: #fff; background: var(--fscp-primary); border-radius: 11px; }
.fscp-header__lessons { text-decoration: none; color: #5b6780 !important; font-size: 14px; font-weight: 650; transition: color .18s ease; }
.fscp-header__lessons:hover { color: var(--fscp-primary) !important; }

.fscp-main { min-height: calc(100vh - 150px); }
.fscp-catalog-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--fscp-line);
  background:
    radial-gradient(circle at 86% 15%, rgba(82,113,255,.13), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f8faff 100%);
}
.fscp-catalog-hero .fscp-container { position: relative; padding: 76px 0 62px; }
.fscp-eyebrow { margin: 0 0 12px; color: var(--fscp-primary); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fscp-catalog-hero h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.fscp-catalog-hero .fscp-container > p:not(.fscp-eyebrow) { max-width: 720px; margin: 20px 0 0; color: var(--fscp-muted); font-size: 17px; line-height: 1.7; }
.fscp-catalog-count { position: absolute; right: 0; bottom: 62px; display: flex; align-items: baseline; gap: 10px; padding: 15px 18px; border: 1px solid #dfe6f6; border-radius: 16px; background: rgba(255,255,255,.78); }
.fscp-catalog-count strong { color: var(--fscp-primary); font-size: 24px; }
.fscp-catalog-count span { color: var(--fscp-muted); font-size: 13px; }
.fscp-catalog-section { padding: 52px 0 76px; }
.fscp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.fscp-card { overflow: hidden; min-width: 0; border: 1px solid var(--fscp-line); border-radius: var(--fscp-radius); background: var(--fscp-surface); box-shadow: 0 8px 28px rgba(31,49,88,.045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.fscp-card:hover { transform: translateY(-3px); border-color: #d7def0; box-shadow: var(--fscp-shadow); }
.fscp-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(135deg, #eaf0ff, #f5f7fb); }
.fscp-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: center top; transition: transform .35s ease; }
.fscp-card:hover .fscp-card__media img { transform: scale(1.025); }
.fscp-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #a0aed2; background: radial-gradient(circle at 25% 25%, #fff, transparent 35%), linear-gradient(135deg, #eef2ff, #f8faff); }
.fscp-card__placeholder .fscp-icon { width: 64px; height: 64px; opacity: .6; }
.fscp-card__chips { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fscp-card__chips span, .fscp-detail-hero__chips span { padding: 7px 10px; color: #33435e; border: 1px solid rgba(220,226,238,.9); border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(20,31,55,.06); font-size: 11px; font-weight: 750; backdrop-filter: blur(10px); }
.fscp-card__body { display: flex; flex-direction: column; min-height: 280px; padding: 20px; }
.fscp-card__date { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; color: var(--fscp-muted); font-size: 16px; line-height: 1.35; }
.fscp-card__date span { font-weight: 750; white-space: nowrap; }
.fscp-card__date b { color: var(--fscp-primary); font-weight: 750; white-space: nowrap; }
.fscp-card h2 { margin: 14px 0 0; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.fscp-card h2 a { text-decoration: none; }
.fscp-card h2 a::after { content: ""; position: absolute; }
.fscp-card__body > p { margin: 10px 0 18px; color: var(--fscp-muted); font-size: 13px; line-height: 1.6; }
.fscp-card__meta { display: grid; gap: 8px; margin-top: auto; padding-top: 8px; }
.fscp-card__meta span { display: flex; align-items: center; gap: 8px; min-width: 0; color: #68758d; font-size: 12px; }
.fscp-card__meta .fscp-icon { width: 16px; height: 16px; color: #8290ac; }
.fscp-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding-top: 16px; border-top: 1px solid #edf0f5; }
.fscp-card__footer strong { font-size: 16px; }
.fscp-card__footer a { display: inline-flex; align-items: center; gap: 6px; color: var(--fscp-primary) !important; text-decoration: none; font-size: 12px; font-weight: 750; }
.fscp-card__footer a .fscp-icon { width: 15px; height: 15px; }

.fscp-load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 42px; }
.fscp-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 0; border-radius: 13px; color: #fff !important; background: var(--fscp-primary); text-decoration: none; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; box-shadow: 0 9px 22px rgba(82,113,255,.2); transition: transform .18s ease, background .18s ease; }
.fscp-button:hover { transform: translateY(-1px); background: var(--fscp-primary-dark); }
.fscp-button:disabled { cursor: wait; opacity: .68; transform: none; }
.fscp-button--more { min-width: 190px; }
.fscp-load-more small { color: var(--fscp-muted); font-size: 12px; }
.fscp-load-more small.is-error { color: #b84b4b; }
.fscp-empty, .fscp-unavailable { padding: 64px 24px; border: 1px dashed #d6ddea; border-radius: var(--fscp-radius); text-align: center; background: rgba(255,255,255,.68); }
.fscp-empty > .fscp-icon { width: 44px; height: 44px; color: #a6b1c8; }
.fscp-empty h2 { margin: 15px 0 7px; font-size: 21px; }
.fscp-empty p, .fscp-unavailable > p:not(.fscp-eyebrow) { margin: 0; color: var(--fscp-muted); line-height: 1.6; }

/* Detail page */
.fscp-detail { padding: 28px 0 72px; }
.fscp-breadcrumbs { display: flex; gap: 9px; margin: 6px 0 24px; color: #8a95a9; font-size: 12px; }
.fscp-breadcrumbs a { color: var(--fscp-primary) !important; text-decoration: none; }
.fscp-detail-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); min-height: 480px; overflow: hidden; border: 1px solid var(--fscp-line); border-radius: 30px; background: #fff; box-shadow: var(--fscp-shadow); }
.fscp-detail-hero__content { padding: clamp(32px, 5vw, 64px); }
.fscp-detail-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fscp-detail-hero__chips span { background: var(--fscp-blue-soft); border-color: #dce5ff; box-shadow: none; color: #4c65c8; }
.fscp-detail-hero h1 { max-width: 690px; margin: 0; font-size: clamp(35px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.fscp-lead { max-width: 680px; margin-top: 18px; color: #68758d; font-size: 15px; line-height: 1.75; }
.fscp-lead p { margin: 0 0 10px; }
.fscp-hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 34px; }
.fscp-hero-facts > div { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #edf0f5; border-radius: 14px; background: #fafbfe; }
.fscp-hero-facts .fscp-icon { color: var(--fscp-primary); }
.fscp-hero-facts span { display: flex; flex-direction: column; gap: 2px; }
.fscp-hero-facts small { color: #8b96aa; font-size: 10px; }
.fscp-hero-facts strong { font-size: 13px; }
.fscp-detail-hero__media { min-height: 100%; display: grid; place-items: center; overflow: hidden; color: #9aa8ca; background: linear-gradient(145deg, #eaf0ff, #f9faff); }
.fscp-detail-hero__media img { width: 100%; height: 100%; min-height: 480px; object-fit: contain; }
.fscp-detail-hero__media > span .fscp-icon { width: 90px; height: 90px; opacity: .65; }
.fscp-location-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: stretch; margin-top: 26px; }
.fscp-location-row--single { grid-template-columns: 1fr; }
.fscp-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 26px; }
.fscp-detail-main { display: grid; gap: 22px; }
.fscp-section, .fscp-location-card, .fscp-parking-card { padding: 30px; border: 1px solid var(--fscp-line); border-radius: 22px; background: #fff; }
.fscp-section h2 { margin: 0 0 18px; font-size: 24px; letter-spacing: -.025em; }
.fscp-map-card { display: flex; min-width: 0; height: 100%; flex-direction: column; }
.fscp-map-card h3 { margin: 0 0 16px; font-size: 17px; letter-spacing: -.015em; overflow-wrap: anywhere; }
.fscp-richtext { color: #68758d; font-size: 14px; line-height: 1.75; }
.fscp-richtext p { margin: 0 0 12px; }
.fscp-tag-block { margin-top: 23px; }
.fscp-tag-block small { display: block; margin-bottom: 10px; color: #8792a6; font-size: 11px; font-weight: 700; }
.fscp-tag-block > div { display: flex; flex-wrap: wrap; gap: 8px; }
.fscp-tag-block span, .fscp-waterbody { display: inline-flex; padding: 8px 11px; border-radius: 10px; color: #4e6288; background: #f2f5fa; font-size: 11px; font-weight: 700; }
.fscp-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.fscp-audience-grid > div { display: flex; flex-direction: column; gap: 5px; padding: 15px 16px; border-radius: 14px; background: #f7f9fc; }
.fscp-audience-grid small { color: #8a95a9; font-size: 10px; }
.fscp-audience-grid strong { font-size: 13px; }
.fscp-info-panels { display: grid; gap: 12px; }
.fscp-info-panels > div { display: flex; gap: 14px; padding: 17px; border: 1px solid #edf0f5; border-radius: 16px; }
.fscp-info-panels > div > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 11px; color: var(--fscp-primary); background: var(--fscp-blue-soft); }
.fscp-info-panels h3 { margin: 0 0 7px; font-size: 14px; }
.fscp-info-panels p { margin: 0; color: #718098; font-size: 12px; line-height: 1.6; }
.fscp-detail-aside { position: sticky; top: 24px; display: grid; gap: 18px; }
.fscp-location-card > p:not(.fscp-eyebrow) { color: #738097; font-size: 13px; line-height: 1.6; }
.fscp-waterbody { align-self: flex-start; margin-top: 14px; margin-bottom: 16px; }
.fscp-map-card > a { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 0; border-top: 1px solid #edf0f5; text-decoration: none; }
.fscp-map-card > a > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; color: var(--fscp-primary); border-radius: 10px; background: #f1f4fb; }
.fscp-map-card > a > div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.fscp-map-card > a strong { font-size: 12px; }
.fscp-map-card > a small { overflow: hidden; color: #8894a9; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.fscp-map-card > a > .fscp-icon { width: 15px; height: 15px; color: #98a4b8; }
.fscp-back-row { margin-top: 28px; }
.fscp-back-row a { display: inline-flex; align-items: center; gap: 8px; color: #64728a !important; text-decoration: none; font-size: 13px; font-weight: 700; }

.fscp-unavailable { max-width: 720px; margin: 80px auto; border-style: solid; background: #fff; }
.fscp-unavailable > span { display: grid; width: 62px; height: 62px; margin: 0 auto 18px; place-items: center; border-radius: 18px; color: var(--fscp-primary); background: var(--fscp-blue-soft); }
.fscp-unavailable > span .fscp-icon { width: 32px; height: 32px; }
.fscp-unavailable h1 { margin: 4px 0 12px; font-size: 31px; }
.fscp-unavailable .fscp-button { margin-top: 24px; }
.fscp-footer { color: #8792a6; border-top: 1px solid var(--fscp-line); background: #fff; }
.fscp-footer .fscp-container { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fscp-footer span { color: #526077; font-size: 13px; font-weight: 750; }
.fscp-footer small { font-size: 11px; }

@media (max-width: 1020px) {
  .fscp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fscp-catalog-count { position: static; width: fit-content; margin-top: 28px; }
  .fscp-detail-hero { grid-template-columns: 1fr; }
  .fscp-detail-hero__media { min-height: 360px; order: -1; }
  .fscp-detail-hero__media img { min-height: 360px; max-height: 480px; }
  .fscp-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .fscp-container { width: min(100% - 28px, 1240px); }
  .fscp-header .fscp-container { min-height: 64px; }
  .fscp-brand > .fscp-icon { width: 31px; height: 31px; }
  .fscp-catalog-hero .fscp-container { padding: 48px 0 42px; }
  .fscp-catalog-hero h1 { font-size: 38px; }
  .fscp-catalog-hero .fscp-container > p:not(.fscp-eyebrow) { font-size: 14px; line-height: 1.65; }
  .fscp-catalog-section { padding: 30px 0 50px; }
  .fscp-grid { grid-template-columns: 1fr; gap: 16px; }
  .fscp-card__media { aspect-ratio: 4 / 5; }
  .fscp-card__body { min-height: 0; padding: 18px; }
  .fscp-load-more { margin-top: 30px; }
  .fscp-button--more { width: 100%; }
  .fscp-detail { padding: 16px 0 50px; }
  .fscp-breadcrumbs { overflow: hidden; margin-bottom: 16px; white-space: nowrap; }
  .fscp-breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .fscp-detail-hero { min-height: 0; border-radius: 22px; }
  .fscp-detail-hero__media, .fscp-detail-hero__media img { min-height: 0; max-height: none; }
	.fscp-detail-hero__media { aspect-ratio: 4 / 5; }
  .fscp-detail-hero__content { padding: 24px 20px; }
  .fscp-detail-hero h1 { font-size: 34px; }
  .fscp-lead { font-size: 14px; }
  .fscp-hero-facts { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .fscp-hero-facts > div { padding: 11px; }
  .fscp-location-row { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .fscp-detail-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
  .fscp-detail-main { gap: 16px; }
  .fscp-detail-aside { position: static; gap: 16px; }
  .fscp-section, .fscp-location-card, .fscp-parking-card { padding: 22px 18px; border-radius: 18px; }
  .fscp-section h2 { font-size: 21px; }
  .fscp-audience-grid { grid-template-columns: 1fr; }
  .fscp-footer .fscp-container { min-height: 64px; }
}

@media (max-width: 430px) {
  .fscp-header__lessons { display: none; }
  .fscp-card__date { align-items: flex-start; flex-direction: column; gap: 4px; }
  .fscp-hero-facts { grid-template-columns: 1fr; }
  .fscp-detail-hero h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 1.19.4 — public catalogue details and registration. */
.fscp-card__chips .is-orange,
.fscp-detail-hero__chips .is-orange {
  color: #fff;
  border-color: #e98935;
  background: #e98935;
}
.fscp-card__body { min-height: 430px; }
.fscp-card__meta > span > span { min-width: 0; }
.fscp-card__map-link,
.fscp-location-inline-map { color: var(--fscp-primary) !important; font-weight: 700; text-decoration: none; }
.fscp-location-inline-map { display: inline; font-size: .52em; white-space: nowrap; }
.fscp-card__details { display: grid; gap: 9px; margin-top: 16px; padding: 14px; border-radius: 14px; background: #f7f9fc; }
.fscp-card__details > div { display: grid; gap: 3px; }
.fscp-card__details small { color: #8894a9; font-size: 10px; font-weight: 650; }
.fscp-card__details strong { color: #344158; font-size: 12px; line-height: 1.45; }
.fscp-card__footer > div { display: flex; align-items: center; gap: 10px; }
.fscp-button--signup { min-height: 36px; padding: 0 13px; border-radius: 10px; font-size: 11px; }
.fscp-detail-signup { margin-top: 24px; }

/* 1.19.42 — optional lesson information below catalogue actions and above signup. */
.fscp-lesson-notice { min-width: 0; margin-top: 14px; padding: 12px 14px; border: 1px solid #efb779; border-radius: 12px; color: #743d11; background: #fff0da; font-size: 13px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.fscp-detail-hero__content > .fscp-lesson-notice { margin-top: 22px; font-size: 14px; }

.fscp-signup-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  color: var(--fscp-text);
  background: #fff;
  box-shadow: 0 28px 90px rgba(20, 31, 55, .28);
}
.fscp-signup-dialog::backdrop { background: rgba(20, 31, 55, .58); backdrop-filter: blur(4px); }
.fscp-signup-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 26px; border-bottom: 1px solid var(--fscp-line); background: #f8faff; }
.fscp-signup-dialog__head h2 { margin: 4px 0 0; font-size: 24px; line-height: 1.25; }
.fscp-dialog-close { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid #dfe5ef; border-radius: 11px; color: #748198; background: #fff; font: inherit; font-size: 24px; cursor: pointer; }
.fscp-signup-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 26px; }
.fscp-signup-form label { display: grid; gap: 7px; }
.fscp-signup-form label.is-wide,
.fscp-signup-error,
.fscp-signup-actions { grid-column: 1 / -1; }
.fscp-signup-form label > span { color: #58667d; font-size: 12px; font-weight: 700; }
.fscp-signup-form input,
.fscp-signup-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #dce3ed; border-radius: 12px; color: var(--fscp-text); background: #fff; font: inherit; font-size: 14px; outline: none; }
.fscp-signup-form textarea { min-height: 88px; resize: vertical; }
.fscp-signup-form input:focus,
.fscp-signup-form textarea:focus { border-color: var(--fscp-primary); box-shadow: none; }
.fscp-signup-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.fscp-signup-error { margin: 0; padding: 11px 13px; border-radius: 10px; color: #a94343; background: #ffeded; font-size: 12px; }
.fscp-signup-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; padding-top: 18px; border-top: 1px solid #edf0f5; }
.fscp-button--secondary { color: #526077 !important; border: 1px solid #dfe5ef; background: #fff; box-shadow: none; }
.fscp-button--secondary:hover { background: #f7f9fc; }
.fscp-signup-success { padding: 42px 28px; text-align: center; }
.fscp-signup-success > span { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; border-radius: 18px; color: #178d68; background: #e9f8f2; }
.fscp-signup-success h2 { margin: 0 0 10px; font-size: 26px; }
.fscp-signup-success p { max-width: 520px; margin: 0 auto 24px; color: var(--fscp-muted); font-size: 15px; line-height: 1.65; }
.fscp-signup-success .fscp-button { min-width: 150px; }

@media (max-width: 760px) {
  .fscp-card__body { min-height: 0; }
  .fscp-card__footer { align-items: flex-start; flex-direction: column; }
  .fscp-card__footer > div { width: 100%; justify-content: space-between; }
  .fscp-signup-dialog { width: calc(100vw - 18px); max-height: calc(100vh - 18px); border-radius: 18px; }
  .fscp-signup-dialog__head { padding: 18px; }
  .fscp-signup-dialog__head h2 { font-size: 20px; }
  .fscp-signup-form { grid-template-columns: 1fr; padding: 18px; }
  .fscp-signup-form label.is-wide,
  .fscp-signup-error,
  .fscp-signup-actions { grid-column: auto; }
  .fscp-signup-actions { flex-direction: column-reverse; }
  .fscp-signup-actions .fscp-button { width: 100%; }
}

/* 1.19.39 — separate, compact confirmation dialog after a successful signup. */
.fscp-signup-dialog--success { width: min(480px, calc(100vw - 28px)); }
.fscp-signup-dialog--success .fscp-signup-success h2,
.fscp-signup-dialog--success .fscp-signup-success p { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .fscp-signup-dialog--success .fscp-signup-success { padding: 32px 20px; }
  .fscp-signup-dialog--success .fscp-button { width: 100%; min-height: 48px; }
}

/* 1.19.5 — shared, editable content below every public lesson. */
.fscp-shared-sections { display: grid; gap: 30px; margin-top: 40px; }
.fscp-shared-block { scroll-margin-top: 24px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--fscp-line); border-radius: 24px; background: #fff; box-shadow: 0 14px 44px rgba(31, 49, 88, .07); }
.fscp-shared-block h2 { margin: 0 0 24px; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.13; letter-spacing: -.04em; text-transform: uppercase; }
.fscp-shared-block h2 span { color: #121a2a; }
.fscp-shared-block h2 strong { color: #f26322; font-weight: 800; }
.fscp-shared-copy { max-width: 1060px; color: #66738a; font-size: 16px; line-height: 1.8; }
.fscp-shared-copy p { margin: 0 0 16px; }
.fscp-shared-copy p:last-child { margin-bottom: 0; }
.fscp-flexible-day { border-color: rgba(242, 99, 34, .34); background: linear-gradient(135deg, #fff 0%, #fffbf8 100%); }
.fscp-flexible-day .fscp-button { margin-top: 28px; background: #f26322; box-shadow: 0 9px 22px rgba(242, 99, 34, .2); }
.fscp-flexible-day .fscp-button:hover,
.fscp-methodology__action .fscp-button:hover { background: #d94f13; }

.fscp-lesson-contacts { border-color: #dfe4ec; }
.fscp-lesson-contacts > h2 { color: #f26322; text-align: center; font-size: clamp(25px, 2.7vw, 36px); font-weight: 600; }
.fscp-lesson-contacts__layout { display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.fscp-lesson-contacts__media { display: grid; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; border-radius: 24px; color: #f26322; background: #f7f9fc; }
.fscp-lesson-contacts__media img { width: 100%; height: 100%; object-fit: contain; }
.fscp-lesson-contacts__media .fscp-icon { width: 112px; height: 112px; }
.fscp-contact-links { display: grid; gap: 10px; margin-top: 20px; }
.fscp-contact-links a { display: flex; width: fit-content; align-items: center; gap: 9px; color: #149d94 !important; text-decoration: none; font-size: 15px; font-weight: 750; }
.fscp-contact-links a:hover { color: #0b716c !important; }
.fscp-contact-links a span { color: #f26322; font-size: 12px; }

.fscp-methodology { background: #f8f9fb; }
.fscp-methodology__layout { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.7fr); gap: clamp(28px, 4vw, 54px); align-items: start; }
.fscp-methodology__intro h2 { font-size: clamp(28px, 3vw, 38px); }
.fscp-methodology__intro .fscp-shared-copy { font-size: 14px; line-height: 1.9; }
.fscp-methodology__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fscp-methodology__cards article { display: flex; min-height: 230px; align-items: center; justify-content: center; flex-direction: column; padding: 22px 14px; border-radius: 16px; color: #fff; text-align: center; }
.fscp-methodology__cards article.is-blue { background: #1387d4; }
.fscp-methodology__cards article.is-green { background: #6db500; }
.fscp-methodology__cards article.is-orange { background: #f26322; }
.fscp-methodology__cards article.is-dark { background: #253149; }
.fscp-methodology__icon { display: grid; width: 76px; height: 76px; margin-bottom: 13px; place-items: center; overflow: hidden; border-radius: 18px; color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .13); }
.fscp-methodology__icon img { width: 100%; height: 100%; object-fit: contain; }
.fscp-methodology__icon .fscp-icon { width: 48px; height: 48px; }
.fscp-methodology__cards h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.fscp-methodology__cards p { margin: 6px 0 0; font-size: 12px; line-height: 1.45; }
.fscp-methodology__action { margin-top: 22px; text-align: center; }
.fscp-methodology__action .fscp-button { background: #f26322; box-shadow: 0 9px 22px rgba(242, 99, 34, .2); }

.fscp-bring-block { box-shadow: none; }
.fscp-bring-block .fscp-shared-copy { max-width: none; }
.fscp-past-gallery { padding-left: 0; padding-right: 0; border: 0; background: transparent; box-shadow: none; }
.fscp-past-gallery h2 { padding: 0 clamp(2px, 1vw, 12px); }
.fscp-past-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fscp-past-gallery__grid a { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: #e9edf4; }
.fscp-past-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.fscp-past-gallery__grid a:hover img { transform: scale(1.035); }

@media (max-width: 1020px) {
  .fscp-methodology__layout { grid-template-columns: 1fr; }
  .fscp-methodology__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fscp-past-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fscp-shared-sections { gap: 18px; margin-top: 24px; }
  .fscp-shared-block { padding: 25px 18px; border-radius: 18px; }
  .fscp-shared-block h2 { margin-bottom: 18px; font-size: 27px; }
  .fscp-shared-copy { font-size: 14px; line-height: 1.7; }
  .fscp-lesson-contacts > h2 { font-size: 24px; text-align: left; }
  .fscp-lesson-contacts__layout { grid-template-columns: 1fr; }
  .fscp-lesson-contacts__media { width: min(210px, 70vw); margin: 0 auto; }
  .fscp-methodology__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fscp-methodology__cards article { min-height: 210px; }
  .fscp-past-gallery { padding-left: 0; padding-right: 0; }
  .fscp-past-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .fscp-methodology__cards { grid-template-columns: 1fr; }
  .fscp-methodology__cards article { min-height: 195px; }
  .fscp-past-gallery__grid { grid-template-columns: 1fr; }
}

/* 1.19.8 — compact lesson typography and gallery lightbox. */
.fscp-detail-hero h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: anywhere; }
.fscp-detail .fscp-eyebrow { margin-bottom: 9px; font-size: 10px; letter-spacing: .1em; }
.fscp-detail .fscp-lead { font-size: 14px; line-height: 1.68; }
.fscp-detail .fscp-section h2 { margin-bottom: 15px; font-size: 20px; }
.fscp-detail .fscp-info-panels h3 { font-size: 13px; }
.fscp-detail .fscp-shared-block h2 { font-size: clamp(22px, 2.25vw, 32px); line-height: 1.18; letter-spacing: -.03em; }
.fscp-detail .fscp-lesson-contacts > h2 { font-size: clamp(21px, 2vw, 28px); }
.fscp-detail .fscp-methodology__intro h2 { font-size: clamp(22px, 2.25vw, 30px); }

html.fscp-gallery-open { overflow: hidden; }
.fscp-past-gallery__grid a { position: relative; cursor: zoom-in; }
.fscp-past-gallery__grid a::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 34, .24)); content: ""; opacity: 0; transition: opacity .22s ease; }
.fscp-past-gallery__grid a > span { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.58); border-radius: 11px; color: #fff; background: rgba(20,31,55,.58); font-size: 22px; line-height: 1; opacity: 0; transform: translateY(5px); backdrop-filter: blur(8px); transition: opacity .22s ease, transform .22s ease; }
.fscp-past-gallery__grid a:hover::after,
.fscp-past-gallery__grid a:focus-visible::after,
.fscp-past-gallery__grid a:hover > span,
.fscp-past-gallery__grid a:focus-visible > span { opacity: 1; }
.fscp-past-gallery__grid a:hover > span,
.fscp-past-gallery__grid a:focus-visible > span { transform: translateY(0); }

.fscp-gallery-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; color: #fff; background: rgba(8, 13, 25, .96); }
.fscp-gallery-lightbox[open] { display: grid; place-items: center; }
.fscp-gallery-lightbox::backdrop { background: rgba(8, 13, 25, .78); backdrop-filter: blur(12px); }
.fscp-gallery-lightbox__frame { position: relative; display: grid; width: 100%; height: 100%; grid-template-columns: 88px minmax(0, 1fr) 88px; align-items: center; padding: 34px; }
.fscp-gallery-lightbox figure { display: grid; min-width: 0; height: min(86vh, 920px); grid-template-rows: minmax(0, 1fr) auto; margin: 0; }
.fscp-gallery-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; opacity: 1; transform: scale(1); transition: opacity .18s ease, transform .22s ease; }
.fscp-gallery-lightbox figure img.is-loading { opacity: .35; transform: scale(.985); }
.fscp-gallery-lightbox figcaption { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 24px; padding-top: 15px; color: rgba(255,255,255,.78); font-size: 12px; }
.fscp-gallery-lightbox figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fscp-gallery-lightbox figcaption strong { flex: 0 0 auto; color: #fff; font-size: 12px; }
.fscp-gallery-lightbox__close,
.fscp-gallery-lightbox__nav { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.08); font: inherit; cursor: pointer; backdrop-filter: blur(10px); transition: background .18s ease, transform .18s ease; }
.fscp-gallery-lightbox__close:hover,
.fscp-gallery-lightbox__nav:hover { background: rgba(255,255,255,.17); transform: scale(1.04); }
.fscp-gallery-lightbox__close { position: absolute; top: 24px; right: 24px; z-index: 3; width: 46px; height: 46px; border-radius: 14px; font-size: 30px; line-height: 1; }
.fscp-gallery-lightbox__nav { width: 52px; height: 70px; justify-self: center; border-radius: 16px; font-size: 42px; line-height: 1; }

@media (max-width: 760px) {
  .fscp-detail-hero h1 { font-size: 24px; }
  .fscp-detail .fscp-section h2 { font-size: 18px; }
  .fscp-detail .fscp-shared-block h2 { font-size: 23px; }
  .fscp-detail .fscp-lesson-contacts > h2 { font-size: 21px; }
  .fscp-gallery-lightbox__frame { grid-template-columns: 52px minmax(0, 1fr) 52px; padding: 66px 8px 16px; }
  .fscp-gallery-lightbox figure { height: calc(100vh - 90px); }
  .fscp-gallery-lightbox__nav { width: 42px; height: 58px; border-radius: 13px; font-size: 34px; }
  .fscp-gallery-lightbox__close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .fscp-gallery-lightbox figcaption { padding: 12px 6px 0; }
}
@media (max-width: 430px) {
  .fscp-detail-hero h1 { font-size: 22px; }
  .fscp-gallery-lightbox__frame { display: block; padding: 62px 10px 12px; }
  .fscp-gallery-lightbox figure { height: calc(100vh - 74px); }
  .fscp-gallery-lightbox__nav { position: absolute; z-index: 2; top: 50%; width: 40px; height: 52px; transform: translateY(-50%); }
  .fscp-gallery-lightbox__nav:hover { transform: translateY(-50%) scale(1.04); }
  .fscp-gallery-lightbox__nav.is-prev { left: 12px; }
  .fscp-gallery-lightbox__nav.is-next { right: 12px; }
  .fscp-gallery-lightbox figcaption span { display: none; }
  .fscp-gallery-lightbox figcaption { justify-content: center; }
}

/* 1.20.8: align catalogue actions across each responsive row. */
.fscp-grid > .fscp-card { display: flex; flex-direction: column; }
.fscp-grid > .fscp-card > .fscp-card__media { flex-shrink: 0; }
.fscp-card__body { flex: 1; min-height: 0; }
.fscp-card__main { min-width: 0; }
.fscp-card__main > p { margin: 10px 0 18px; color: var(--fscp-muted); font-size: 13px; line-height: 1.6; }
.fscp-card__main .fscp-card__meta { margin-top: 0; }
.fscp-card__bottom { min-width: 0; margin-top: auto; padding-top: 17px; }
.fscp-card__bottom .fscp-card__footer { margin-top: 0; }
/* Shared tracks align the footer start even when notes have different lengths. */
@supports (grid-template-rows: subgrid) {
 .fscp-grid > .fscp-card {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
 }
 .fscp-grid > .fscp-card > .fscp-card__body {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
 }
 .fscp-card__bottom { margin-top: 0; }
}

/* Location geography. */
.fscp-map-card .fscp-location-geography { margin:12px 0 18px; color:var(--fscp-muted, #77839a); font-size:15px; line-height:1.55; text-align:left; overflow-wrap:anywhere; }

/* 1.20.23 — a formed group remains visible, with public signup disabled. */
.fscp-button.fscp-button--closed:disabled,
.fscp-button.fscp-button--closed:disabled:hover {
  color: #647084 !important;
  background: #eef1f5;
  border: 1px solid #d7dee8;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  line-height: 1.35;
  padding-top: 9px;
  padding-bottom: 9px;
}
.fscp-button--closed .fscp-icon { width: 16px; height: 16px; flex-shrink: 0; }
.fscp-card__footer > div { flex-wrap: wrap; }
.fscp-card__footer > strong { flex-shrink: 0; white-space: nowrap; }

/* 1.20.25 — highlight formed groups in the catalogue and lesson page. */
.fscp-button.fscp-button--group-formed:disabled,
.fscp-button.fscp-button--group-formed:disabled:hover {
  border: 3px solid #f97316;
  padding-top: 7px;
  padding-bottom: 7px;
}

.fscp-region-form { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:22px; }
.fscp-region-form label { color:#324460; font-weight:650; }
.fscp-region-form select { min-height:44px; max-width:100%; padding:8px 34px 8px 12px; color:#15243d; background:#fff; border:1px solid #dce3ee; border-radius:10px; font:inherit; }
.fscp-region-form select:focus-visible { outline:2px solid #3f64cc; outline-offset:2px; }
[data-public-lessons-total][hidden], [data-public-lessons-filter][hidden], [data-public-lessons-empty][hidden], [data-public-lessons-more][hidden] { display:none; }
[data-public-lessons-status]:empty { display:none; }
.fscp-load-more:has(> button[hidden]):has(> small:empty) { display:none; }
