/* Школа Газпром Кыргызстан — inner pages: title band, page content, «Сведения об ОО», «в разработке», news. */

/* ===== header: where the visitor is ===== */
.drawer a[aria-current="page"] { color: var(--orange-soft); }

/* ===== title band: breadcrumbs, the title, the title again in outline across the band ===== */
.page-hero { position: relative; overflow: clip; padding: clamp(128px, 14vw, 176px) 0 clamp(48px, 6vw, 80px); text-align: center; }
.page-hero__ghost { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-38%); pointer-events: none; }
.page-hero__ghost svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (prefers-reduced-motion: no-preference) { .page-hero__ghost svg { animation: ghost-drift 18s ease-in-out infinite alternate; } }
@keyframes ghost-drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
@media (max-width: 760px) { .page-hero__ghost { display: none; } }
.page-hero__ghost text { font: 700 calc(200px * var(--display-scale))/1.12 var(--display); fill: none; stroke: rgb(255 255 255 / 0.09); stroke-width: 2; vector-effect: non-scaling-stroke; }
.page-hero__inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.crumbs ol, .sv__list, .sv-hub { margin: 0; padding: 0; list-style: none; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; font-size: var(--step-small); font-weight: 500; color: var(--ice-2); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--orange-soft); }
.crumbs a { color: var(--white); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--orange-soft); } }
.page-hero__title .line { display: inline-block; vertical-align: top; }
.page-hero__title { max-width: 22ch; font: 700 calc(clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem) * var(--display-scale))/1.12 var(--display); text-wrap: balance; }
.page-hero__title--long { font-size: min(calc(clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem) * var(--display-scale)), 8.6vw); }   /* its longest word still fits a 320px phone */
.page-hero__title::after { content: ""; display: block; width: 64px; height: 6px; margin: 22px auto 0; border-radius: 3px; background: var(--orange); }
.page-hero__note { font-weight: 700; color: var(--orange-soft); }

.page-body { padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 120px); }

/* ===== content: what editors write in the block editor ===== */
/* in a classic theme WordPress wraps a group's blocks in an extra box; let the group lay its blocks out itself */
.content .wp-block-group__inner-container { display: contents; }
.content { max-width: 880px; margin-inline: auto; font-size: var(--step-body); line-height: 1.65; color: var(--navy); }
.content > * + * { margin-top: 1.1em; }
.content > :first-child { margin-top: 0; }
.content h2 { margin-top: 1.8em; font: 700 calc(clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem) * var(--display-scale))/1.12 var(--display); text-wrap: balance; }
.content h3 { margin-top: 1.5em; font: 700 calc(clamp(1.35rem, 1rem + 0.9vw, 1.8rem) * var(--display-scale))/1.12 var(--display); color: var(--blue-strong); text-wrap: balance; }
.content h4 { margin-top: 1.3em; font-weight: 700; font-size: 1.1em; }
.content h2 + *, .content h3 + *, .content h4 + * { margin-top: 0.6em; }
.content strong, .content b { font-weight: 700; }
.content a { color: var(--blue-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgb(19 121 186 / 0.4); transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .content a:hover { color: var(--navy); text-decoration-color: var(--orange); } }
.content ul, .content ol { padding-left: 1.4em; }
.content ul { list-style: disc; }
.content ol { list-style: decimal; }
.content li::marker { color: var(--orange); font-weight: 700; }
.content li + li { margin-top: 0.45em; }
.content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.content figure { margin-inline: 0; }
.content figcaption { margin-top: 10px; font-size: var(--step-small); color: #3c4f63; text-align: center; }
.content .wp-block-image { text-align: center; }
.content .wp-block-image img { display: inline-block; }
.content .sgp-lead, .content .has-large-font-size { font-size: var(--step-lead); line-height: 1.5; }
.content blockquote, .content .wp-block-quote { padding: 6px 0 6px 24px; border-left: 4px solid var(--orange); font-size: var(--step-lead); line-height: 1.5; }
.content hr, .content .wp-block-separator { width: 64px; height: 6px; margin-inline: auto; border: 0; border-radius: 3px; background: var(--orange); }
/* pictures in a set keep their whole frame: names are often written on the photos themselves */
.content .wp-block-gallery { display: block; columns: 3 240px; column-gap: var(--gap); }
.content .wp-block-gallery > figure, .content .wp-block-gallery .wp-block-image { display: block; break-inside: avoid; margin: 0 0 var(--gap); }
.content .wp-block-gallery img { width: 100%; height: auto; object-fit: contain; }
.content .wp-block-video video, .content video { width: 100%; border-radius: var(--radius); background: var(--navy); }
.content iframe { display: block; width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); }
.content .wp-block-embed__wrapper { position: relative; }
/* tables */
.content .wp-block-table, .content .table-wrap { overflow-x: auto; }
.content table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.content th, .content td { padding: 12px 14px; border-bottom: 2px solid var(--ice-2); text-align: left; vertical-align: top; }
.content th { background: var(--ice); font-weight: 700; }
/* hidden content from tabs and accordions */
.content details { border-radius: 18px; background: var(--ice); }
.content details + details { margin-top: 10px; }
.content summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.content summary::-webkit-details-marker { display: none; }
.content summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(45deg) translateY(-3px); transition: transform 300ms var(--ease-out); }
.content details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.content details > :not(summary) { margin: 0 22px; }
.content details > :not(summary):last-child { padding-bottom: 20px; }
.content details > * + :not(summary) { margin-top: 0.9em; }
/* buttons */
.content .wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--orange); color: var(--white); font-weight: 700; text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .content .wp-block-button__link:hover { background: var(--navy); color: var(--white); } }
/* documents: every link to a PDF or Word file becomes a document chip */
.content a[href$=".pdf" i], .content a[href$=".docx" i], .content a[href$=".doc" i] { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: var(--ice); color: var(--navy); font-weight: 600; line-height: 1.3; text-decoration: none; transition: background-color var(--t-hover) ease; }
.content a[href$=".pdf" i]::before, .content a[href$=".docx" i]::before, .content a[href$=".doc" i]::before { content: "PDF"; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--orange); color: var(--white); font: 700 calc(0.85rem * var(--display-scale))/1.12 var(--display); letter-spacing: 0.04em; }
.content a[href$=".docx" i]::before, .content a[href$=".doc" i]::before { content: "DOC"; background: var(--blue); }
@media (hover: hover) and (pointer: fine) { .content a[href$=".pdf" i]:hover, .content a[href$=".docx" i]:hover, .content a[href$=".doc" i]:hover { background: var(--ice-2); } }
.content .sgp-docs { display: grid; gap: 10px; }
.content .sgp-docs ul { display: grid; gap: 10px; padding: 0; list-style: none; }
.content .sgp-docs li + li { margin-top: 0; }
/* people: photo under an arch, name, role, facts */
.content .sgp-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); margin-top: 1.4em; }
.content :is(.sgp-people, .sgp-people > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-person { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 22px 20px 26px; border-radius: 24px; background: var(--ice); text-align: center; }
.content :is(.sgp-person, .sgp-person > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; outline: 2px solid var(--orange); outline-offset: 6px; }
.content .sgp-person h2, .content .sgp-person h3, .content .sgp-person h4 { margin: 6px 0 0; font: 700 calc(1.3rem * var(--display-scale))/1.12 var(--display); color: var(--navy); }
.content .sgp-person p { font-size: 0.95em; line-height: 1.45; }
.content .sgp-person ul { padding: 0; list-style: none; font-size: 0.92em; }
/* cards */
.content .sgp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--gap); }
.content :is(.sgp-cards, .sgp-cards > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-card { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 28px 24px; border-radius: 24px; background: var(--navy); color: var(--white); text-align: center; }
.content :is(.sgp-card, .sgp-card > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-card h2, .content .sgp-card h3, .content .sgp-card h4 { margin: 0; color: var(--white); }
.content .sgp-card a { color: var(--white); }
/* counters, contacts, hours */
.content .sgp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--gap); text-align: center; }
.content :is(.sgp-stats, .sgp-stats > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-contacts { display: grid; gap: 6px; text-align: center; }
.content :is(.sgp-contacts, .sgp-contacts > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-hours { display: grid; gap: 8px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--navy); color: var(--white); }
.content :is(.sgp-hours, .sgp-hours > .wp-block-group__inner-container) > * + * { margin-top: 0; }
.content .sgp-hours h2, .content .sgp-hours h3, .content .sgp-hours h4 { margin: 0; color: var(--white); }

/* ===== «Сведения об ОО»: the list of subsections beside the content ===== */
.sv { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sv__nav { position: sticky; top: 104px; max-height: calc(100svh - 120px); overflow-y: auto; scrollbar-width: thin; padding: 18px 14px; border-radius: 24px; background: var(--ice); }
.sv__head { margin-bottom: 10px; padding-inline: 10px; font: 700 calc(1.4rem * var(--display-scale))/1.12 var(--display); color: var(--blue-strong); }
.sv__list { display: grid; gap: 2px; counter-reset: sv; }
.sv__list a { display: grid; grid-template-columns: 24px 1fr; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background-color var(--t-hover) ease; }
.sv__list a::before { counter-increment: sv; content: counter(sv, decimal-leading-zero); font: 700 calc(0.95rem * var(--display-scale))/1.3 var(--display); color: var(--orange); }
.sv__list a[aria-current] { background: var(--navy); color: var(--white); }
.sv__list a[aria-current]::before { color: var(--orange-soft); }
@media (hover: hover) and (pointer: fine) { .sv__list a:not([aria-current]):hover { background: var(--ice-2); } }
.sv__body .content { max-width: none; }
.sv-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--gap); }
.sv-hub__link { display: grid; align-content: space-between; gap: 18px; min-height: 170px; height: 100%; padding: 24px; border-radius: 24px; background: var(--ice); text-decoration: none; transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), transform 300ms var(--ease-out); }
.sv-hub__num { font: 700 calc(2.6rem * var(--display-scale))/1.12 var(--display); color: var(--orange); }
.sv-hub__name { font-weight: 700; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) { .sv-hub__link:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); } }
@media (max-width: 900px) {
  .sv { grid-template-columns: minmax(0, 1fr); }
  .sv__nav { position: static; order: 2; max-height: none; overflow-y: visible; }
}

/* ===== «Страница сайта в разработке», alive ===== */
.dev { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 140px var(--margin) 96px; overflow: clip; background: var(--navy); color: var(--white); text-align: center; }
.dev__words { position: absolute; inset: 0; width: 100%; height: 100%; }
.dev__words text { font: 700 calc(110px * var(--display-scale))/1.12 var(--display); fill: none; stroke: rgb(255 255 255 / 0.1); stroke-width: 2; vector-effect: non-scaling-stroke; white-space: pre; }
.dev__inner { position: relative; display: grid; justify-items: center; gap: 26px; max-width: 960px; }
.dev__title { font: 700 var(--step-lead)/1.3 var(--text); color: var(--orange-soft); text-wrap: balance; }
.dev__message { font: 700 calc(clamp(2.6rem, 1.2rem + 5vw, 6.4rem) * var(--display-scale))/1.12 var(--display); text-wrap: balance; }
.dev__word { display: inline-block; }
.dev__dots { display: inline-flex; gap: 0.12em; margin-left: 0.08em; }
.dev__dots i { display: inline-block; width: 0.16em; height: 0.16em; border-radius: 50%; background: var(--orange); }
.dev__track { position: relative; display: block; width: min(320px, 70vw); height: 6px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / 0.16); }
.dev__run { position: absolute; inset: 0; width: 40%; border-radius: 3px; background: var(--orange); }
.dev--compact { min-height: 0; padding: clamp(48px, 7vw, 88px) 24px; border-radius: 28px; }
.dev--compact .dev__message { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.dev--compact .dev__words text { font-size: 150px; }
@media (prefers-reduced-motion: no-preference) {
  .dev .glide-row { animation: glide-x var(--speed, 70s) linear infinite; }
  .dev .glide-row--back { animation-direction: reverse; }
  .js .dev__word { opacity: 0; transform: translateY(0.4em); animation: word-in 700ms var(--ease-out) forwards; animation-delay: calc(200ms + var(--w) * 140ms); }
  .dev__dots i { animation: dot 1.4s var(--ease-soft) infinite; }
  .dev__dots i:nth-child(2) { animation-delay: 0.2s; }
  .dev__dots i:nth-child(3) { animation-delay: 0.4s; }
  .dev__run { animation: run 2.2s var(--ease-soft) infinite; }
}
@keyframes dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-0.12em); } }
@keyframes run { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ===== news page and a post ===== */
.news--grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
@media (max-width: 1100px) { .news--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .news--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .news--grid { grid-template-columns: minmax(0, 1fr); } }
.pages { margin-top: clamp(32px, 4vw, 48px); }
.pages ul, .pages .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pages a, .pages span { display: grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--ice); font-weight: 700; text-decoration: none; }
.pages .current { background: var(--navy); color: var(--white); }
.post-cover { display: grid; place-items: center; overflow: clip; border-radius: var(--radius); background: var(--ice); }
.post-cover img { width: 100%; max-height: 80svh; object-fit: contain; }
.back { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* ===== contacts: the form under the page ===== */
.write__form { max-width: 820px; margin-inline: auto; }

/* a heading inside a set of people or cards spans the whole row */
.content :is(.sgp-people, .sgp-people > .wp-block-group__inner-container) > :is(h2, h3, h4), .content :is(.sgp-cards, .sgp-cards > .wp-block-group__inner-container) > :is(h2, h3, h4), .content :is(.sgp-docs, .sgp-docs > .wp-block-group__inner-container) > :is(h2, h3, h4) { grid-column: 1 / -1; }
.content :is(.sgp-people, .sgp-people > .wp-block-group__inner-container) > :is(h2, h3, h4) { margin-bottom: 4px; text-align: center; }
/* pages with many cards use the full width; their running text keeps a reading measure */
.content--dopolnitelnoe-obrazovanie { max-width: 1240px; }
.content--dopolnitelnoe-obrazovanie > :not(.sgp-people) { max-width: 880px; margin-inline: auto; }

/* a document: its name on the left, the file on the right, one row per document */
.content :is(.sgp-docs, .sgp-docs > .wp-block-group__inner-container) > .wp-block-group { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 12px 12px 12px 22px; border-radius: 18px; background: var(--ice); }
.content :is(.sgp-docs, .sgp-docs > .wp-block-group__inner-container) > .wp-block-group > * { margin: 0; }
.content :is(.sgp-docs, .sgp-docs > .wp-block-group__inner-container) > .wp-block-group > p { flex: 1 1 260px; font-weight: 600; line-height: 1.4; }
.content .sgp-docs .wp-block-buttons { justify-content: flex-end; }
.content .sgp-docs a[href$=".pdf" i], .content .sgp-docs a[href$=".docx" i], .content .sgp-docs a[href$=".doc" i] { background: var(--white); }
@media (hover: hover) and (pointer: fine) { .content .sgp-docs a[href$=".pdf" i]:hover, .content .sgp-docs a[href$=".docx" i]:hover, .content .sgp-docs a[href$=".doc" i]:hover { background: var(--ice-2); } }

/* galleries: WordPress's own gallery styles squeeze each picture; here each keeps its whole frame in balanced columns */
.content .wp-block-gallery.has-nested-images { display: block; columns: 3 220px; column-gap: var(--gap); }
.content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#sgp) { display: block; width: 100%; max-width: none; margin: 0 0 var(--gap); break-inside: avoid; }
.content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#sgp) img { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); }
.content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#sgp) a { display: block; }

/* reception hours: one cell per office, two to a row */
.content .sgp-hours { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.content :is(.sgp-hours, .sgp-hours > .wp-block-group__inner-container) > :is(h2, h3, h4) { grid-column: 1 / -1; margin-bottom: 8px; text-align: center; }
.content :is(.sgp-hours, .sgp-hours > .wp-block-group__inner-container) > .wp-block-group { display: grid; align-content: start; gap: 4px; padding: 14px 18px; border-radius: 16px; background: rgb(255 255 255 / 0.07); }
.content :is(.sgp-hours, .sgp-hours > .wp-block-group__inner-container) > .wp-block-group > * { margin: 0; }
.content .sgp-hours .wp-block-group :is(h3, h4, strong) { color: var(--orange-soft); }
@media (max-width: 640px) { .content .sgp-hours { grid-template-columns: minmax(0, 1fr); } }

/* ===== the lead lighting up word by word as it is read (additional education) ===== */
.read-light p { max-width: 24ch; margin-inline: auto; font: 700 calc(clamp(2rem, 1rem + 3.4vw, 4.4rem) * var(--display-scale))/1.12 var(--display); text-align: center; text-wrap: balance; color: var(--navy); }
.js .read-light .rl-word { opacity: 0.18; transition: opacity 300ms var(--ease-out); }
.js .read-light .rl-word.is-lit { opacity: 1; }
.read-light .rl-word:nth-child(5n + 3).is-lit { color: var(--orange); }

/* ===== additional education: clubs gliding behind the title, the mission lighting up, the teachers ===== */
.clubs-hero { position: relative; display: grid; place-items: center; min-height: min(78svh, 720px); overflow: clip; padding: 130px 0 80px; text-align: center; }
.clubs-hero__words { position: absolute; inset: 0; width: 100%; height: 100%; }
.clubs-hero__words text { font: 700 calc(120px * var(--display-scale))/1.12 var(--display); fill: none; stroke: rgb(255 255 255 / 0.12); stroke-width: 2; vector-effect: non-scaling-stroke; white-space: pre; }
.clubs-hero__words .glide-row:nth-child(2) text { stroke: rgb(22 115 221 / 0.35); }
.clubs-hero__inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.clubs-hero__title { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.25em; max-width: 14ch; font: 700 calc(clamp(3rem, 1.4rem + 6vw, 7.6rem) * var(--display-scale))/1.12 var(--display); }
.clubs-hero__title::after { content: ""; flex-basis: 100%; height: 0; }
@media (prefers-reduced-motion: no-preference) { .clubs-hero .glide-row { animation: glide-x var(--speed, 70s) linear infinite; } .clubs-hero .glide-row--back { animation-direction: reverse; } }
/* the mission beside its heading, compact (owner, 2026-11-10) */
.mission__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 20px clamp(28px, 5vw, 72px); max-width: 1100px; }
.mission .mission__title { margin: 0; font-size: calc(clamp(2rem, 1.3rem + 2.2vw, 3.4rem) * var(--display-scale)); text-wrap: balance; }
.mission__lead p { margin: 0; padding-left: clamp(18px, 2vw, 28px); border-left: 4px solid var(--orange); font: 500 clamp(1.15rem, 1rem + 0.6vw, 1.5rem)/1.6 var(--text); color: #24384d; text-wrap: pretty; }
@media (max-width: 800px) { .mission__grid { grid-template-columns: minmax(0, 1fr); } }
/* the traditions: a navy panel, the first word in outline behind the words, a star */
.tradition { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(18px, 3vw, 36px); max-width: 1100px; margin: clamp(44px, 5vw, 72px) auto 0; padding: clamp(30px, 5vw, 64px); overflow: clip; border-radius: 32px; background: radial-gradient(90% 120% at 100% 100%, #0b3a8c, var(--navy) 70%); color: var(--white); box-shadow: 0 40px 70px -40px rgb(3 32 92 / 0.6); }
.tradition::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--orange), var(--orange-soft), #f2c14e); }
.tradition__ghost { position: absolute; right: -0.04em; bottom: -0.22em; font: 900 clamp(4.5rem, 2.5rem + 8vw, 11rem)/1 var(--display); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / 0.1); pointer-events: none; white-space: nowrap; }
.tradition__badge { position: relative; display: grid; place-items: center; width: clamp(56px, 6vw, 76px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--blue)); box-shadow: 0 14px 30px -12px rgb(22 115 221 / 0.9); }
.tradition__badge svg { width: 52%; height: 52%; fill: #f2c14e; }
.tradition__text { position: relative; }
.tradition__text p { max-width: 62ch; margin: 0; font: 500 clamp(1.15rem, 1rem + 0.7vw, 1.6rem)/1.55 var(--text); text-wrap: pretty; }
@media (max-width: 600px) { .tradition { grid-template-columns: minmax(0, 1fr); } }
.mission__title::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 18px; border-radius: 3px; background: var(--orange); }
.mission__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); max-width: 1040px; margin: clamp(40px, 6vw, 72px) auto 0; }
.mission__col { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--navy); color: var(--white); }
.mission__col p { font-size: var(--step-body); line-height: 1.65; }
.mission__col::before { content: ""; display: block; width: 48px; height: 6px; margin-bottom: 18px; border-radius: 3px; background: var(--orange); }
.content--teachers { max-width: 1240px; }
.content--teachers .sgp-people > :is(h2, h3), .content--teachers .sgp-people > .wp-block-group__inner-container > :is(h2, h3) { display: none; }
@media (max-width: 760px) { .mission__cols { grid-template-columns: minmax(0, 1fr); } }

/* ===== news page: the latest post as a cover ===== */
.lead-post { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(16px, 2vw, 24px); border-radius: 32px; background: var(--navy); color: var(--white); text-decoration: none; }
.lead-post__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: clip; border-radius: 22px; background: var(--navy); }
.lead-post__media .post__img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 900ms var(--ease-soft); }
.lead-post__media .post__img--framed { width: auto; margin-inline: auto; object-fit: cover; }   /* a square picture as a 3:4 strip, as in the cards (site.css) */
.lead-post__body { display: grid; justify-items: start; gap: 16px; padding-right: clamp(0px, 2vw, 24px); }
.lead-post__date { font-weight: 700; color: var(--orange-soft); }
.lead-post__title { font: 700 calc(clamp(2rem, 1.2rem + 2.2vw, 3.4rem) * var(--display-scale))/1.12 var(--display); text-wrap: balance; }
.lead-post__text { font-size: var(--step-body); line-height: 1.6; color: var(--ice-2); }
@media (hover: hover) and (pointer: fine) { .lead-post:hover .post__img { transform: scale(1.03); } .lead-post:hover .lead-post__more { background: var(--white); color: var(--navy); } }
@media (max-width: 760px) { .lead-post { grid-template-columns: minmax(0, 1fr); } .lead-post__media { aspect-ratio: 1; } }
