/* Generated by build/make_sx_css.py from rumocarta/school/css/style.css (school page, sx-). Do not edit: change school.css. */
/* =====================================================================================================
   School page (sx-): layout and look of the UKLicence school page (2026-11-10), in RumoCarta colours.
   Variables live on .sx so nothing leaks into the directory's other pages; html.dark switches them.
   ===================================================================================================== */
.sx {
  --sx-blue: #24467f; --sx-blue-soft: #eef2f9; --sx-blue-line: #d6deec;
  --sx-gold: #c99a2e; --sx-gold-soft: #fbf3df; --sx-gold-text: #8a6410;
  --sx-green: #0b7a53; --sx-green-soft: #e3f6ee; --sx-green-line: #b9e6d2;
  --sx-ink: #10213f; --sx-ink-strong: #071631; --sx-muted: #5d6b84; --sx-faint: #6b778c;
  --sx-line: #dde4ef; --sx-card: #ffffff; --sx-page: #f4f7fb; --sx-band: #eef3f9; --sx-chip: #f1f4f9;
  --sx-radius: 18px; --sx-shadow: 0 10px 30px rgba(20, 33, 61, .08); --sx-shadow-lg: 0 18px 40px rgba(20, 33, 61, .14);
  color: var(--sx-ink); font-size: 16px; line-height: 1.55;
}
html.dark .sx {
  --sx-blue: #7fb0ff; --sx-blue-soft: #15284a; --sx-blue-line: #2b4877;
  --sx-gold: #e6bd5c; --sx-gold-soft: rgba(230, 189, 92, .12); --sx-gold-text: #e6bd5c;
  --sx-green: #4fd19b; --sx-green-soft: #0f2e24; --sx-green-line: #1f5a44;
  --sx-ink: #e6edf7; --sx-ink-strong: #ffffff; --sx-muted: #9fb0c8; --sx-faint: #8a9ab3;
  --sx-line: #2a3d5c; --sx-card: #13213a; --sx-page: #0a1424; --sx-band: #111f37; --sx-chip: #1c2d4a;
  --sx-shadow: 0 10px 30px rgba(0, 0, 0, .35); --sx-shadow-lg: 0 18px 40px rgba(0, 0, 0, .45);
}
.sx h1, .sx h2, .sx h3 { color: var(--sx-ink-strong); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.sx p { margin: 0; }
.sx a { color: var(--sx-blue); }
.sx .ph { line-height: 1; }
.sx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sx-wrap { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; }
.sx-muted { color: var(--sx-muted); }
.sx-small { font-size: 13px; line-height: 1.6; }
.sx-kicker { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; color: var(--sx-blue); }

/* Buttons */
.sx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s; }
.sx-btn-primary { background: #b8481a; color: #fff !important; }
.sx-btn-primary:hover { background: #9a3f15; }
.sx-btn-dark { background: #14213d; color: #fff !important; }
.sx-btn-dark:hover { background: #b8481a; }
html.dark .sx-btn-dark { background: #b8481a; }
.sx-btn-ghost { background: var(--sx-card); color: var(--sx-ink) !important; border-color: var(--sx-line); }
.sx-btn-ghost:hover { border-color: var(--sx-blue); color: var(--sx-blue) !important; }

/* Breadcrumbs */
.sx-crumb-wrap { padding-top: 14px; }
.sx-crumb-row { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--sx-line); }
.sx-back { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sx-line); background: var(--sx-card); color: var(--sx-ink) !important; }
.sx-back:hover { border-color: var(--sx-blue); color: var(--sx-blue) !important; }
.sx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--sx-muted); }
.sx-crumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.sx-crumbs a { color: var(--sx-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.sx-crumbs a:hover { color: var(--sx-blue); }
.sx-crumbs .ph { font-size: 11px; color: var(--sx-faint); }
.sx-crumbs [aria-current] { color: var(--sx-ink-strong); font-weight: 800; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* Top: hero (with the contact column inside) + map */
.sx-top { display: grid; gap: 20px; padding-top: 20px; align-items: stretch; }
@media (min-width: 1024px) { .sx-top { grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); } }
.sx-hero { display: grid; background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 22px; overflow: hidden; box-shadow: var(--sx-shadow); }
@media (min-width: 760px) { .sx-hero { grid-template-columns: minmax(0, 1fr) 280px; } }
.sx-hero-main { padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sx-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.03em; overflow-wrap: anywhere; }
.sx-hero h1.is-long { font-size: clamp(22px, 3vw, 30px); }
.sx-previous { margin-top: -8px !important; color: var(--sx-muted); font-size: 14px; }
.sx-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.sx-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; border: 1px solid transparent; line-height: 1.3; }
.sx-badge-cat { background: var(--sx-green-soft); color: var(--sx-green); border-color: var(--sx-green-line); }
.sx-badge-ok { background: var(--sx-blue-soft); color: var(--sx-blue); border-color: var(--sx-blue-line); }
.sx-badge-open { background: var(--sx-green-soft); color: var(--sx-green); border-color: var(--sx-green-line); font-size: 13px; }
.sx-badge-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sx-badge-open.is-closed { background: var(--sx-chip); color: var(--sx-muted); border-color: var(--sx-line); }
.sx-place { display: flex; align-items: center; gap: 6px; color: var(--sx-muted); font-weight: 600; font-size: 15px; margin-top: -6px !important; }
.sx-place .ph { color: var(--sx-blue); }
.sx-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; width: fit-content; padding: 8px 14px; border-radius: 12px; background: var(--sx-gold-soft); color: var(--sx-ink) !important; font-size: 14px; text-decoration: none; }
a.sx-rating:hover { box-shadow: inset 0 0 0 1px var(--sx-gold); }
.sx-rating strong { font-size: 17px; font-weight: 900; }
.sx-rating .rv-stars { font-size: 16px; }
.sx-rating .ph { color: var(--sx-faint); font-size: 13px; }
.sx-rating.is-few { background: var(--sx-chip); }
.sx-rating.is-none { background: var(--sx-chip); color: var(--sx-muted) !important; font-weight: 700; }
.sx-address { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--sx-page); border: 1px solid var(--sx-line); color: var(--sx-ink) !important; text-decoration: none; }
.sx-address:hover { border-color: var(--sx-blue); }
.sx-address-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sx-blue-soft); color: var(--sx-blue); font-size: 18px; flex-shrink: 0; }
.sx-address-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sx-address-copy small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--sx-muted); }
.sx-address-copy strong { font-weight: 700; overflow-wrap: anywhere; }
.sx-address-arrow { color: var(--sx-faint); }
.sx-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--sx-muted); }
.sx-tags li { display: inline-flex; align-items: center; gap: 5px; }
.sx-tags .ph { color: var(--sx-green); }
.sx-hero-contact { padding: 26px; background: var(--sx-band); border-top: 1px solid var(--sx-line); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (min-width: 760px) { .sx-hero-contact { border-top: 0; border-left: 1px solid var(--sx-line); } }
.sx-phone { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #b8481a; color: #fff !important; box-shadow: 0 10px 22px rgba(184, 72, 26, .3); text-decoration: none; }
html.dark .sx-phone { background: #b8481a; }
.sx-phone:hover { background: #9a3f15; }
.sx-phone-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.18); font-size: 18px; }
.sx-phone span:last-child { display: flex; flex-direction: column; }
.sx-phone small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.sx-phone strong { font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sx-no-contact { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; background: var(--sx-card); border: 1px dashed var(--sx-line); }
.sx-no-contact strong { color: var(--sx-ink-strong); }
.sx-no-contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.sx-open-line { margin-top: -2px !important; }
.sx-links { display: flex; flex-direction: column; gap: 8px; }
.sx-links a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 11px 14px; border-radius: 12px; background: var(--sx-card); border: 1px solid var(--sx-line); color: var(--sx-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.sx-links a:hover { border-color: var(--sx-blue); color: var(--sx-blue) !important; }
.sx-links a span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sx-links .ph { color: var(--sx-blue); }
.sx-links .ph:last-of-type:not(:first-child) { color: var(--sx-faint); font-size: 13px; }
.sx-legal { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--sx-muted); }

.sx-map-card { display: flex; flex-direction: column; background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: 22px; overflow: hidden; }
.sx-map-head, .sx-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; font-size: 13px; }
.sx-map-head { background: var(--sx-band); border-bottom: 1px solid var(--sx-line); font-weight: 800; }
.sx-map-head span, .sx-map-foot { display: inline-flex; align-items: center; gap: 6px; }
.sx-map-head .ph { color: var(--sx-blue); }
.sx-map-head a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-weight: 700; font-size: 12px; text-decoration: none; }
.sx-map-foot { border-top: 1px solid var(--sx-line); color: var(--sx-muted); font-weight: 600; justify-content: flex-start; }
.sx .sx-map-embed { position: relative; flex: 1; min-height: 300px !important; background: var(--sx-chip); }
@media (max-width: 640px) { .sx .sx-map-embed { min-height: 200px !important; } }

/* Lower: main column + sidebar */
.sx-lower { display: grid; gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 48px; }
@media (min-width: 1024px) { .sx-lower { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); } }
.sx-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.sx-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 1024px) { .sx-side { position: sticky; top: 88px; } }
@media (max-width: 1023px) { .sx-side-app { display: none !important; } }
.sx-panel { background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); padding: 24px; }
.sx-panel h2, .sx-section-head h2 { font-size: 21px; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.sx-panel h2 { margin-bottom: 16px; }
.sx-panel .sx-kicker + h2 { margin-top: 6px; }
.sx-panel h2 .ph, .sx-section-head h2 .ph { color: var(--sx-blue); }
.sx-section-head { margin-bottom: 14px; }
.sx-section-head p { margin-top: 6px !important; color: var(--sx-muted); font-size: 15px; }
.sx-section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.sx-aside { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--sx-muted) !important; text-decoration: none; }
.sx-aside:hover { color: var(--sx-blue) !important; }

.sx-hours { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 12px; }
.sx-hours th, .sx-hours td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--sx-line); }
.sx-hours th { font-weight: 700; width: 45%; color: var(--sx-ink); }
.sx-hours td { font-variant-numeric: tabular-nums; color: var(--sx-muted); }
.sx-hours tr.is-today th, .sx-hours tr.is-today td { background: var(--sx-blue-soft); color: var(--sx-blue); font-weight: 800; }
.sx-hours tr.is-today th { border-radius: 10px 0 0 10px; }
.sx-hours tr.is-today td { border-radius: 0 10px 10px 0; }
.sx-today { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--sx-blue); color: #fff; font-size: 11px; font-weight: 800; vertical-align: 1px; }
html.dark .sx-today { color: #0a1424; }

.sx-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.sx-services li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--sx-page); border: 1px solid var(--sx-line); font-size: 13px; font-weight: 600; }
.sx-services .ph { color: var(--sx-green); }

.sx-licence { padding: 18px; border-radius: 16px; background: var(--sx-card); border: 1px solid var(--sx-line); }
.sx-licence-own { border-color: var(--sx-blue-line); }
.sx-licence-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sx-licence-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sx-blue-soft); color: var(--sx-blue); font-size: 19px; }
.sx-licence-code { padding: 4px 10px; border-radius: 8px; background: var(--sx-chip); font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 800; }
.sx-licence h3 { margin-top: 14px; font-size: 16px; font-weight: 900; }
.sx-licence p { margin-top: 6px !important; font-size: 14px; color: var(--sx-muted); line-height: 1.6; }
.sx-licence-more { margin-top: 12px; border: 1px solid var(--sx-line); border-radius: 16px; background: var(--sx-card); }
.sx-licence-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 14px 16px; font-weight: 800; cursor: pointer; list-style: none; color: var(--sx-ink-strong); }
.sx-licence-more > summary::-webkit-details-marker { display: none; }
.sx-licence-grid { display: grid; gap: 12px; padding: 0 12px 12px; }
@media (min-width: 640px) { .sx-licence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sx-licence-more .sx-licence { border: 0; background: var(--sx-page); }
.sx-caret { transition: transform .2s; color: var(--sx-faint); transform: rotate(90deg); }
details[open] > summary .sx-caret { transform: rotate(-90deg); }

.sx-card-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .sx-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sx-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--sx-radius); background: var(--sx-card); border: 1px solid var(--sx-line); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.sx-card:hover { border-color: var(--sx-blue); box-shadow: var(--sx-shadow-lg); }
.sx-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sx-card-title { font-size: 17px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.sx-card-title a { color: var(--sx-ink-strong) !important; text-decoration: none; }
.sx-card-title a::after { content: ""; position: absolute; inset: 0; }
.sx-card:hover .sx-card-title a { color: var(--sx-blue) !important; }
.sx-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--sx-gold-soft); border: 1px solid rgba(201, 154, 46, .4); font-size: 13px; color: var(--sx-ink-strong); }
.sx-pill > span { color: var(--sx-gold-text); }
.sx-pill small { color: var(--sx-muted); }
.sx-card-place { display: flex; gap: 6px; font-size: 14px; color: var(--sx-muted); line-height: 1.45; }
.sx-card-place .ph { color: var(--sx-blue); margin-top: 3px; }
.sx-card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--sx-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sx-card-phone { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-weight: 800; color: var(--sx-ink) !important; font-size: 14px; text-decoration: none; }
.sx-card-phone .ph { color: var(--sx-blue); }
.sx-card-more { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 10px; background: var(--sx-chip); color: var(--sx-ink); font-size: 13px; font-weight: 800; transition: background .15s, color .15s; }
.sx-card:hover .sx-card-more { background: #b8481a; color: #fff; }

.sx-faq { display: flex; flex-direction: column; gap: 10px; }
.sx-faq details { border: 1px solid var(--sx-line); border-radius: 14px; background: var(--sx-page); }
.sx-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 14px 16px; font-weight: 800; cursor: pointer; list-style: none; color: var(--sx-ink-strong); }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq details p { padding: 0 16px 16px; color: var(--sx-muted); font-size: 15px; }

.sx-near-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 640px) { .sx-near-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sx-near-grid a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--sx-page); border: 1px solid var(--sx-line); color: var(--sx-ink) !important; text-decoration: none; }
.sx-near-grid a:hover { border-color: var(--sx-blue); }
.sx-near-grid a > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sx-near-grid strong { font-size: 14px; }
.sx-near-grid a:hover strong { color: var(--sx-blue); }
.sx-near-grid .ph { color: var(--sx-faint); }
.sx-near-grid small { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--sx-muted); }

.sx-side-card { background: var(--sx-card); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sx-side-dashed { background: var(--sx-band); border-style: dashed; }
.sx-side-app { background: var(--sx-gold-soft); border-color: rgba(201, 154, 46, .35); }
.sx-side-title { font-size: 17px !important; font-weight: 900; display: flex; align-items: center; gap: 8px; }
.sx-side-title .ph { color: var(--sx-blue); }
.sx-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.sx-check li { display: flex; gap: 8px; align-items: flex-start; }
.sx-check .ph { margin-top: 3px; }
.sx-check .yes .ph { color: var(--sx-green); }
.sx-check .no { color: var(--sx-muted); }
.sx-check .no .ph { color: var(--sx-faint); }

/* Photo and reviews inside the sx layout */
.sx .school-photo { border-radius: var(--sx-radius); background: var(--sx-chip); }
.sx .rv-head { border-color: var(--sx-line); }
.sx .rv-head h2 { margin: 0; }
.sx .rv-item { border-color: var(--sx-line); }
.sx .rv-text { color: var(--sx-ink); }
.sx .rv-head p, .sx .rv-date, .sx .rv-score-count { color: var(--sx-muted); }
.sx .rv-who strong, .sx .rv-score-num { color: var(--sx-ink-strong); }
.sx .rv-more, .sx .rv-all { color: var(--sx-blue); }

/* Phones: Ligar / Como chegar bar */
.sx-call-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--sx-card); border-top: 1px solid var(--sx-line); box-shadow: 0 -8px 24px rgba(20, 33, 61, .12); }
.sx-call-bar .sx-btn { flex: 1; padding: 11px 12px; font-size: 14px; }
.sx-call-bar .sx-btn-primary { flex: 2; }
@media (min-width: 1024px) { .sx-call-bar { display: none !important; } }
body.sx-has-call-bar { padding-bottom: 72px; }
@media (prefers-reduced-motion: reduce) { .sx * { transition: none !important; } }
body.sx-has-call-bar .mobile-app-cta { display: none !important; }

.sx-licence-name { display: block; margin-top: 12px; font-size: 15px; font-weight: 900; color: var(--sx-ink-strong); }
.sx-open-line { min-height: 26px; }


.school-map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.25rem; text-align: center; color: #475569; }
.school-map-consent > i { color: #24467f; font-size: 2rem; }
.school-map-consent p { max-width: 260px; margin: 0; font-size: .75rem; line-height: 1.5; }
.school-map-consent-btn { min-height: 44px; padding: .6rem 1.2rem; color: #fff; background: #24467f; border: 0; border-radius: 12px; font-size: .82rem; font-weight: 800; cursor: pointer; }
.school-map-consent-btn:hover { background: #1c3a6e; }
.school-map-consent-btn[hidden] { display: none; }
.school-map-consent-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; color: #24467f; font-size: .78rem; font-weight: 700; }
.school-map-consent-link:hover { text-decoration: underline; }
html.dark .school-map-consent, html[data-theme="dark"] .school-map-consent { color: #cbd5e1; }

.school-photo { position: relative; margin: 0; overflow: hidden; border-radius: 1rem; background: #e2e8f0; }
.school-photo img { position: relative; display: block; width: 100%; height: auto; }
@media (min-width: 640px) {
  .school-photo { height: 272px; }
  .school-photo::before { content: ""; position: absolute; inset: -24px; background: var(--ph) center / cover no-repeat; filter: blur(24px) brightness(.8); transform: scale(1.05); }
  .school-photo img { width: auto; max-width: 100%; height: 272px; margin: 0 auto; object-fit: contain; box-shadow: 0 0 40px rgba(15, 23, 42, .35); }
}
html.dark .school-photo { background: #1e293b; }
