/* La Academia / School v3 — standalone. Load instead of editorial.css.
   Local Cyrillic fonts live beside this stylesheet. All UI is body.school-v3 scoped. */
@font-face {
  font-family: 'PT Sans'; src: url('pt-sans.ttf') format('truetype');
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'PT Sans'; src: url('pt-sans-bold.ttf') format('truetype');
  font-style: normal; font-weight: 700; font-display: swap;
}
body.school-v3 {
  --navy: #172841; --coral: #d83d3b; --coral-dark: #b82e2c;
  --paper: #fffcf7; --white: #fff; --peach: #fbe4d7; --sand: #f3ecdf;
  --ink: #172841; --muted: #566174; --line: #dddfe1; --blue-pale: #eef2f7;
  --sans: 'PT Sans', Arial, sans-serif; --radius: 24px;
  --shadow: 0 12px 36px rgb(23 40 65 / 6%);
  --container: 1200px; --gutter: clamp(20px, 4vw, 56px);
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
}
.school-v3 *, .school-v3 *::before, .school-v3 *::after { box-sizing: border-box; }
.school-v3 :where(h1,h2,h3,h4,h5,h6) {
  font-family: var(--sans); font-weight: 700; color: inherit;
  line-height: 1.13; letter-spacing: -.025em; margin: 0 0 .65em;
  overflow-wrap: break-word; text-wrap: pretty;
}
.school-v3 h1 { font-size: clamp(36px, 4vw, 56px); }
.school-v3 h2 { font-size: clamp(29px, 3vw, 42px); }
.school-v3 h3 { font-size: clamp(23px, 2vw, 28px); }
.school-v3 h4 { font-size: 22px; }
.school-v3 p { margin: 0 0 1.15em; }
.school-v3 p:last-child { margin-bottom: 0; }
.school-v3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.school-v3 a:hover { color: var(--coral-dark); }
.school-v3 :where(a,button,input,textarea,select,summary):focus-visible {
  outline: 3px solid #2864b5; outline-offset: 4px;
}
.school-v3 ::selection { background: var(--peach); color: var(--navy); }
.school-v3 :where(img,video,iframe,svg) { max-width: 100%; }
.school-v3 img { height: auto; }
.school-v3 figure { margin: 0; }
.school-v3 button, .school-v3 input, .school-v3 textarea, .school-v3 select { font: inherit; }
.school-v3 button, .school-v3 summary { cursor: pointer; }
.school-v3 :where(button,input[type='submit']) { min-height: 44px; }
.school-v3 :where(input:not([type='checkbox']):not([type='radio']),textarea,select) {
  max-width: 100%; border: 1px solid #9ba5b1; border-radius: 12px;
  padding: 12px 16px; background: white; color: var(--ink);
}
.school-v3 :where(h2,h3,h4,[id]) { scroll-margin-top: 28px; }
.school-v3 :where(main,article,section,aside,nav,header,footer,div) { min-width: 0; }
.school-v3 :where(.la-shell,.lae-header,.lae-breadcrumb,.lae-page-heading,.lae-reading-layout,.lae-journal-heading,.lae-journal-list,.lae-comments,.lac-quick) {
  width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto;
}
/* A quiet utility line, then a floating white navigation capsule. */
.school-v3 .lae-skip { position: fixed; top: 12px; left: 16px; z-index: 999; transform: translateY(-180%); padding: 12px 20px; border-radius: 12px; background: var(--navy); color: white; }
.school-v3 .lae-skip:focus { transform: none; }
.school-v3 .lae-mast { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 var(--gutter); max-width: 1440px; margin: auto; min-height: 44px; color: var(--muted); font-size: 12px; letter-spacing: .035em; }
.school-v3 .lae-mast a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; font-weight: 700; color: var(--navy); }
.school-v3 .lae-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; background: white; border: 1px solid #ece9e4; border-radius: 999px; box-shadow: var(--shadow); position: relative; z-index: 10; }
.school-v3 .lae-brand { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; flex-shrink: 0; text-decoration: none; font: 700 29px/1 var(--sans); letter-spacing: -.045em; color: var(--navy); }
.school-v3 .lae-brand-dot { color: var(--coral); }
.school-v3 .lae-brand small { margin-top: 8px; font: 700 9px/1.3 var(--sans); letter-spacing: .08em; }
.school-v3 .lae-nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 15px; line-height: 1.3; }
.school-v3 .lae-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 13px; text-decoration: none; border-radius: 999px; white-space: nowrap; }
.school-v3 .lae-nav a:hover, .school-v3 .lae-nav a[aria-current='page'] { background: var(--sand); color: var(--navy); }
.school-v3 .lae-nav a:last-child { background: var(--coral); color: white; font-weight: 700; padding-inline: 18px; }
.school-v3 .lae-nav a:last-child:hover { background: var(--coral-dark); }
.school-v3 .lae-nav a:last-child[aria-current='page'] { box-shadow: inset 0 0 0 2px var(--navy); }
.school-v3 .lae-menu-toggle { display: none; }
.school-v3 :where(.lae-kicker,.la-kicker,.la-eyebrow) { color: var(--coral-dark); font: 700 12px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
/* Secondary navigation is contextual, not a second header. */
.school-v3 :where(.lac-quick,.lac-course-nav) { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding-block: 14px; font-size: 14px; line-height: 1.35; }
.school-v3 .lac-quick { border-bottom: 1px solid var(--line); margin-top: 7px; }
.school-v3 :where(.lac-quick,.lac-course-nav) a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; padding: 10px 15px; border-radius: 999px; }
.school-v3 .lac-quick a { background: transparent; }
.school-v3 .lac-course-nav { margin: 24px 0 34px; }
.school-v3 .lac-course-nav a { background: white; border: 1px solid var(--line); }
.school-v3 :where(.lac-quick,.lac-course-nav) a:hover { background: var(--peach); color: var(--navy); }
.school-v3 :where(.lac-quick,.lac-course-nav) a[aria-current='page'] { background: var(--navy); color: white; border-color: var(--navy); }
/* Homepage: compact photographic opening, then deliberately different section rhythms. */
.school-v3 .la-home { overflow-wrap: break-word; }
.school-v3 .la-hero { padding: 48px 0 56px; }
.school-v3 .la-hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.school-v3 .la-home h1 { font-size: clamp(38px, 4.1vw, 59px); max-width: 650px; margin: 0 0 24px; line-height: 1.04; letter-spacing: -.035em; }
.school-v3 .la-hero-copy { padding-block: 12px; }
.school-v3 .la-lead { max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.school-v3 .la-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.school-v3 :where(.la-btn,.lae-button) { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 12px 21px; border-radius: 999px; border: 1px solid transparent; font: 700 16px/1.35 var(--sans); text-decoration: none; background: var(--coral); color: white; text-align: center; transition: background-color .18s, transform .18s; }
.school-v3 :where(.la-btn,.lae-button):hover { background: var(--coral-dark); color: white; transform: translateY(-2px); }
.school-v3 .la-btn-primary { background: var(--coral); }
.school-v3 .la-btn-ghost { background: transparent; border-color: #a9b0bb; color: var(--navy); }
.school-v3 .la-btn-ghost:hover { background: var(--blue-pale); color: var(--navy); }
.school-v3 .la-btn-secondary { background: var(--navy); color: white; }
.school-v3 .la-btn-secondary:hover { background: #2b466b; }
.school-v3 .la-hero-media { position: relative; padding: 0 0 28px; }
.school-v3 .la-hero-media::before { content: ''; position: absolute; inset: 25px -14px 12px 22px; border-radius: 28px; background: var(--peach); transform: rotate(3deg); }
.school-v3 .la-hero-media img { position: relative; display: block; width: 100%; height: 392px; border-radius: 24px; object-fit: cover; object-position: 60% center; }
.school-v3 .la-hero-media figcaption { position: relative; display: table; margin: -24px 20px 0 auto; padding: 12px 18px; background: white; color: var(--navy); box-shadow: var(--shadow); border-radius: 14px; font-size: 14px; font-weight: 700; }
.school-v3 .la-proof { display: flex; gap: 20px; list-style: none; border-top: 1px solid var(--line); margin: 30px 0 0; padding: 22px 0 0; }
.school-v3 .la-proof li { flex: 1; min-width: 0; }
.school-v3 .la-proof strong { display: block; font-size: 17px; line-height: 1.3; }
.school-v3 .la-proof span { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 6px; }
.school-v3 .la-section { padding: clamp(56px, 6vw, 88px) 0; }
.school-v3 .la-intro { background: var(--navy); color: white; }
.school-v3 .la-intro .la-narrow { display: grid; grid-template-columns: .7fr 1.3fr; column-gap: 72px; }
.school-v3 .la-intro .la-kicker { color: #ffd5c0; grid-column: 1; }
.school-v3 .la-intro h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.school-v3 .la-intro p:last-child { grid-column: 2; grid-row: 2; color: #e0e6ee; font-size: 20px; align-self: center; }
.school-v3 .la-section-tint { background: var(--sand); }
.school-v3 .la-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.school-v3 .la-heading-row h2 { max-width: 740px; margin-bottom: 0; }
.school-v3 .la-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; font-weight: 700; text-decoration: none; }
.school-v3 .la-text-link span { color: var(--coral); font-size: 23px; }
.school-v3 .la-card-grid { display: grid; gap: 24px; }
.school-v3 .la-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.school-v3 .la-course-card { display: grid; grid-template-columns: 38% minmax(0, 1fr); background: white; overflow: hidden; border-radius: var(--radius); box-shadow: 0 4px 18px rgb(23 40 65 / 3%); }
/* wpautop inserts empty paragraphs between the image and body. They must not occupy grid cells. */
.school-v3 .la-course-card p:empty { display: none; }
.school-v3 .la-course-card > img { display: block; grid-column: 1; grid-row: 1; width: 100%; height: 100%; min-height: 288px; object-fit: cover; }
.school-v3 .la-course-card > div { grid-column: 2; grid-row: 1; padding: 28px 26px; align-self: center; }
.school-v3 .la-course-card h3 { font-size: 27px; margin: 15px 0 12px; }
.school-v3 .la-course-card p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.school-v3 .la-course-card a { display: inline-flex; align-items: center; min-height: 44px; gap: 16px; font-size: 16px; font-weight: 700; text-decoration: none; }
.school-v3 .la-course-card a span { color: var(--coral); }
.school-v3 .la-tag { display: inline-block; border-radius: 999px; padding: 5px 11px; color: #85302d; background: var(--peach); font-size: 12px; font-weight: 700; line-height: 1.4; }
.school-v3 .la-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.school-v3 .la-benefit-grid article { border-top: 1px solid var(--line); padding: 28px 0; }
.school-v3 .la-benefit-grid article > span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--coral-dark); background: var(--peach); font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.school-v3 .la-benefit-grid h3 { font-size: 24px; }
.school-v3 .la-benefit-grid p { font-size: 16px; color: var(--muted); }
.school-v3 .la-method { background: var(--blue-pale); }
.school-v3 .la-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.school-v3 .la-image-stack img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: 24px; }
.school-v3 .la-checks { list-style: none; padding: 0; margin: 24px 0; }
.school-v3 .la-checks li { position: relative; padding: 7px 0 7px 29px; font-size: 16px; }
.school-v3 .la-checks li::before { content: '✓'; position: absolute; left: 0; color: var(--coral-dark); font-weight: 700; }
.school-v3 .la-section-dark { background: var(--navy); color: white; }
.school-v3 .la-section-dark .la-kicker { color: #ffd5c0; }
.school-v3 .la-section-dark .la-text-link:hover { color: #ffd5c0; }
.school-v3 .la-section-dark .la-text-link span { color: #ffd5c0; }
.school-v3 .la-team-grid { grid-template-columns: 1.15fr 1fr 1fr; align-items: start; gap: 32px; }
.school-v3 .la-team-grid article:nth-child(2) { margin-top: 32px; }
.school-v3 .la-team-grid article:nth-child(3) { margin-top: 64px; }
.school-v3 .la-team-grid img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: 50% 18%; border-radius: 20px; margin-bottom: 22px; }
.school-v3 .la-team-grid article:first-child img { height: 380px; }
.school-v3 .la-team-grid h3 { font-size: 27px; }
.school-v3 .la-team-grid p { font-size: 16px; line-height: 1.6; color: #dde4ee; }
.school-v3 .la-materials { background: var(--peach); }
.school-v3 .la-split-reverse { grid-template-columns: .9fr 1.1fr; }
.school-v3 .la-material-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 15px 10px; }
.school-v3 .la-material-collage img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 14px 25px rgb(23 40 65 / 12%); transform: rotate(-5deg); }
.school-v3 .la-material-collage img:last-child { margin-top: 50px; transform: rotate(6deg); }
.school-v3 .la-cta { padding: 64px 0; background: var(--coral); color: white; }
.school-v3 .la-cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.school-v3 .la-cta h2 { max-width: 680px; }
.school-v3 .la-cta .la-kicker { color: white; }
.school-v3 .la-cta .la-actions { flex-direction: column; align-items: flex-start; }
.school-v3 .la-btn-light { background: white; color: var(--coral-dark); }
.school-v3 .la-btn-light:hover { background: var(--paper); color: var(--navy); }
.school-v3 .la-btn-outline-light { background: transparent; border-color: white; color: white; }
.school-v3 .la-btn-outline-light:hover { background: white; color: var(--coral-dark); }
/* Interior pages share a vocabulary, not an identical giant hero. */
.school-v3 .lae-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin-block: 22px 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.school-v3 .lae-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.school-v3 .lae-page-heading { margin-block: 24px 44px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.school-v3 .lae-page-heading.has-image { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 64px; }
.school-v3 .lae-page-heading h1 { margin-bottom: 22px; max-width: 850px; }
.school-v3 .lae-heading-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.school-v3 .lae-heading-foot span:last-child { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--coral-dark); background: var(--peach); font-size: 26px; }
.school-v3 .lae-page-heading figure img { display: block; width: 100%; height: 270px; object-fit: cover; border-radius: 24px; }
.school-v3 .lae-page-heading figcaption { font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 10px; }
.school-v3.family-people .lae-page-heading { grid-template-columns: 1.5fr .8fr; }
.school-v3.family-people .lae-page-heading figure img { height: 320px; object-position: 50% 20%; }
.school-v3.family-materials .lae-page-heading figure img { object-fit: contain; background: var(--sand); padding: 14px; }
.school-v3.family-course .lae-page-heading { background: var(--peach); border: 0; border-radius: 28px; padding: 32px; }
.school-v3.family-method .lae-page-heading { padding-bottom: 0; border: 0; }
.school-v3.family-prices .lae-page-heading { padding: 36px 40px; background: var(--navy); color: white; border: 0; border-radius: 24px; }
.school-v3.family-prices .lae-page-heading .lae-kicker { color: #ffd5c0; }
.school-v3.family-prices .lae-heading-foot { color: #dce4ed; }
.school-v3 :where(.lae-caption,.lac-profile-brief,.lac-article-meta) { color: var(--muted); font-size: 15px; line-height: 1.55; }
.school-v3 .lac-profile-brief { padding: 16px 20px; border-left: 3px solid var(--coral); background: var(--sand); border-radius: 0 12px 12px 0; margin: 20px 0; max-width: 620px; }
.school-v3 .lac-article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 24px; }
/* DOM can remain aside-before-article: explicit placement moves it RIGHT visually. */
.school-v3 .lae-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: clamp(36px, 5vw, 76px); align-items: start; margin-bottom: 80px; }
.school-v3 .lae-prose { grid-column: 1; grid-row: 1; min-width: 0; overflow-wrap: anywhere; max-width: 100%; }
.school-v3 .lae-sidebar { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 24px; background: white; border: 1px solid #e8e5df; border-radius: 20px; padding: 22px 20px; font-size: 14px; }
.school-v3 .lae-sidebar .lae-kicker { font-size: 11px; margin-bottom: 12px; }
.school-v3 .lae-toc { display: flex; flex-direction: column; max-height: min(50vh, 480px); overflow-y: auto; scrollbar-width: thin; padding-right: 5px; margin-bottom: 16px; }
.school-v3 .lae-toc:empty { display: none; }
.school-v3 .lae-toc a { display: flex; align-items: center; min-height: 44px; line-height: 1.4; padding: 9px 0; text-decoration: none; border-bottom: 1px solid #f0eee9; }
.school-v3 .lae-toc a:hover { color: var(--coral-dark); }
.school-v3 .lae-side-link { display: flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; padding-block: 10px; }
.school-v3 .lae-sidebar .lae-button { width: 100%; border-radius: 12px; padding-inline: 12px; font-size: 14px; margin-top: 12px; }
.school-v3 .lae-prose :where(h2,h3,h4) { scroll-margin-top: 28px; }
.school-v3 .lae-prose h2 { font-size: clamp(28px, 2.7vw, 36px); margin: 44px 0 20px; }
.school-v3 .lae-prose h2:first-child { margin-top: 0; }
.school-v3 .lae-prose h2 + h2 { font-size: 23px; line-height: 1.3; color: var(--muted); margin-top: -10px; font-weight: 400; }
.school-v3 .lae-prose h3 { margin: 30px 0 16px; font-size: 26px; }
.school-v3 .lae-prose h6 { color: var(--coral-dark); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.school-v3 .lae-prose :where(ul,ol) { padding-left: 24px; margin: 20px 0 28px; }
.school-v3 .lae-prose li { margin-block: 8px; }
.school-v3 .lae-prose li::marker { color: var(--coral-dark); }
.school-v3 .lae-prose img { display: inline-block; object-fit: contain; max-height: 640px; margin: 12px 0 22px; border-radius: 12px; }
.school-v3 .lae-prose img[src*='Boton'] { max-width: 190px; }
.school-v3 .lae-prose :where(img[src*='970135'],img[src*='ozon']) { max-width: 150px; }
.school-v3 .lae-prose :where(video,iframe) { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; margin-block: 24px; }
.school-v3 .lae-prose blockquote { margin: 30px 0; padding: 24px 28px; background: var(--blue-pale); border: 0; border-left: 4px solid var(--coral); border-radius: 0 18px 18px 0; font-size: 18px; }
.school-v3 .lae-prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.school-v3 .lae-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.school-v3 .lae-prose :where(th,td) { padding: 14px 16px; border: 1px solid var(--line); text-align: left; min-width: 120px; }
.school-v3 .lae-prose th { background: var(--navy); color: white; font-weight: 700; }
.school-v3 .lae-prose tr:nth-child(even) td { background: var(--blue-pale); }
.school-v3 .lae-prose details { border: 1px solid var(--line); background: white; border-radius: 14px; margin: 12px 0; padding: 0 20px; }
.school-v3 .lae-prose summary { padding: 16px 0; min-height: 56px; font-weight: 700; }
.school-v3 .lae-prose details[open] { padding-bottom: 20px; }
.school-v3 .lae-prose ul.editorial-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 28px 0; list-style: none; }
.school-v3 .editorial-gallery li { min-width: 0; margin: 0; }
.school-v3 .lae-prose .editorial-gallery img { display: block; margin: 0; width: 100%; height: 210px; background: var(--sand); object-fit: contain; padding: 8px; }
.school-v3 .lae-prose .editorial-gallery h3 { font-size: 16px; margin: 12px 0; line-height: 1.4; }
.school-v3 .lae-prose .editorial-stories { list-style: none; padding: 0; counter-reset: stories; }
.school-v3 .editorial-stories > li { display: flow-root; counter-increment: stories; margin: 0 0 28px; padding: 28px; background: white; border-radius: 22px; border: 1px solid #e8e5df; }
.school-v3 .editorial-stories > li > img { float: left; width: 32%; max-height: 330px; margin: 0 26px 16px 0; }
.school-v3 .editorial-stories > li > h3 { margin-top: 0; }
.school-v3 .editorial-stories > li > h3::before { content: counter(stories, decimal-leading-zero) ' / '; color: var(--coral-dark); font-size: 14px; letter-spacing: 0; }
.school-v3.family-people .editorial-stories > li > img { max-height: 420px; object-fit: cover; object-position: top; }
.school-v3.family-method .lae-prose > div:first-of-type { font-size: 20px; }
.school-v3.family-article .lae-prose { max-width: 790px; font-size: 19px; line-height: 1.8; }
.school-v3.family-article .lae-page-heading { max-width: var(--container); }
/* Material index, with covers protected from cropping. */
.school-v3 .lac-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 48px; }
.school-v3 .lac-material-card { display: flex; flex-direction: column; min-width: 0; padding: 16px; background: white; border: 1px solid #e8e5df; border-radius: 20px; }
.school-v3 .lac-material-card img { display: block; width: 100%; height: 210px; object-fit: contain; padding: 12px; background: var(--sand); border-radius: 12px; margin: 0 0 18px; }
.school-v3 .lac-material-card :where(h2,h3) { font-size: 23px; line-height: 1.2; margin: 0 0 12px; }
.school-v3 .lac-material-card p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0 0 16px; }
.school-v3 .lac-material-card > a:last-child { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-size: 16px; font-weight: 700; color: var(--coral-dark); text-decoration: none; }
.school-v3 .lac-material-card :where(h2,h3) a { text-decoration: none; }
.school-v3 .lac-material-card > a:has(img) { display: block; }
/* Price rules target the real nested, classless post 8 sections, not invented plan markup.
   Information and amounts are untouched; only the existing groups become comparisons. */
.school-v3.family-prices .lae-prose section { padding: 28px; margin: 24px 0; background: white; border: 1px solid #e4e2dc; border-radius: 22px; box-shadow: 0 5px 18px rgb(23 40 65 / 3%); }
.school-v3.family-prices .lae-prose section > div:first-child { font-size: 25px; font-weight: 700; line-height: 1.3; margin-bottom: 18px; }
.school-v3.family-prices .lae-prose section > div:first-child + div:not(:has(> div)) { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.school-v3.family-prices .lae-prose section > div:has(> div + div) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; font-size: 16px; font-weight: 400; line-height: 1.6; }
.school-v3.family-prices .lae-prose section > div > div { min-width: 0; }
.school-v3.family-prices .lae-prose section > div > div > div { margin-bottom: 10px; }
.school-v3.family-prices .lae-prose section > div > div > div:has(> div + div) { padding: 16px; border-radius: 14px; background: var(--blue-pale); margin-bottom: 12px; }
.school-v3.family-prices .lae-prose section > div > div > div:has(> div + div):last-child { background: var(--peach); }
.school-v3.family-prices .lae-prose section > div > div > div > div:first-child { color: var(--navy); font-weight: 700; font-size: 17px; }
.school-v3.family-prices .lae-prose section > div > div > div > div:last-child > div:last-child { font-size: 21px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.school-v3.family-prices .lae-prose section:last-of-type > div:has(> div + div) { align-items: center; font-size: 17px; }
.school-v3.family-prices .lae-prose section:last-of-type > div:first-child { margin-bottom: 22px; }
.school-v3.family-prices .lae-prose time { display: inline-block; color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
/* Journal: image-led three-column cards, not editorial horizontal rows. */
.school-v3 .lae-journal-heading { margin-block: 44px 34px; }
.school-v3 .lae-journal-heading h1 { max-width: 860px; }
.school-v3 .lae-journal-heading > p:last-child { max-width: 640px; color: var(--muted); }
.school-v3 .lae-journal-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.school-v3 .lae-journal-story { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 22px; background: white; border: 1px solid #e8e5df; }
.school-v3 .lae-story-image { display: flex; justify-content: center; align-items: center; min-height: 220px; aspect-ratio: 1.65; background: var(--peach); color: var(--navy); font: 700 35px/1 var(--sans); text-decoration: none; overflow: hidden; }
.school-v3 .lae-story-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.school-v3 .lae-journal-story > div { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.school-v3 .lae-journal-story h2 { font-size: 26px; line-height: 1.18; margin: 0 0 16px; }
.school-v3 .lae-journal-story h2 a { text-decoration: none; }
.school-v3 .lae-journal-story .lae-kicker { font-size: 11px; margin-bottom: 13px; }
.school-v3 .lae-journal-story p:not(.lae-kicker) { font-size: 16px; line-height: 1.6; color: var(--muted); }
.school-v3 .lae-read { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding-top: 8px; color: var(--coral-dark); font-size: 15px; font-weight: 700; text-decoration: none; }
.school-v3 .lae-pagination { padding: 34px var(--gutter) 56px; text-align: center; }
.school-v3 .lae-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.school-v3 .lae-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.school-v3 .lae-pagination .current { background: var(--navy); color: white; border-color: var(--navy); }
.school-v3 .lae-pagination .dots { border-color: transparent; }
/* Shared closing invitation and compact, useful footer. */
.school-v3 .lae-endnote { padding: 52px max(var(--gutter), calc((100% - var(--container)) / 2)); display: grid; grid-template-columns: .7fr 1.4fr 1fr; align-items: center; gap: 30px; background: var(--peach); }
.school-v3 .lae-endnote .lae-kicker { margin: 0; }
.school-v3 .lae-endnote h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); }
.school-v3 .lae-endnote > a { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: white; font-weight: 700; text-decoration: none; font-size: 16px; }
.school-v3 .lae-endnote > a:hover { background: #2b466b; }
.school-v3:has(.la-home) .lae-endnote { display: none; }
.school-v3 .lae-footer { padding: 56px max(var(--gutter), calc((100% - var(--container)) / 2)) 20px; background: var(--navy); color: white; display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 24px 36px; font-size: 15px; }
.school-v3 .lae-footer .lae-brand { color: white; font-size: 32px; }
.school-v3 .lae-footer p { margin-top: 18px; font-size: 14px; color: #ccd6e3; }
.school-v3 .lae-footer nav { display: flex; flex-direction: column; align-items: flex-start; }
.school-v3 .lae-footer a:not(.lae-brand) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.school-v3 .lae-footer a:hover { color: #ffd5c0; }
.school-v3 .lae-colophon { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #42516a; margin-top: 14px; padding-top: 16px; color: #ccd6e3; font-size: 12px; }
.school-v3 .lae-comments { margin-block: 44px 64px; }
.school-v3 .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1180px) {
  .school-v3 .lae-header { padding: 14px 20px; gap: 16px; }
  .school-v3 .lae-nav { gap: 0; font-size: 14px; }
  .school-v3 .lae-nav a { padding-inline: 10px; }
  .school-v3 .lae-nav a:last-child { padding-inline: 14px; }
  .school-v3 .lae-brand { font-size: 26px; }
  .school-v3 .la-course-card { grid-template-columns: 34% minmax(0,1fr); }
  .school-v3 .la-course-card > div { padding: 22px; }
  .school-v3 .lac-catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .school-v3 .lae-header { border-radius: 28px; flex-wrap: wrap; padding: 16px 22px; }
  .school-v3 .lae-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px; font-size: 15px; background: var(--navy); color: white; border: 0; border-radius: 999px; }
  .school-v3 .lae-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 6px; padding-top: 12px; font-size: 17px; }
  .school-v3 .lae-nav.is-open { display: flex; }
  .school-v3 .lae-nav a { justify-content: flex-start; padding: 12px 16px; }
  .school-v3 .lae-nav a:last-child { margin-top: 6px; }
  .school-v3 .la-hero-grid { gap: 30px; }
  .school-v3 .la-home h1 { font-size: 43px; }
  .school-v3 .la-hero-media img { height: 360px; }
  .school-v3 .la-course-card { display: flex; flex-direction: column; }
  .school-v3 .la-course-card > img { min-height: 0; height: 210px; }
  .school-v3 .la-course-card > div { align-self: stretch; flex: 1; }
  .school-v3 .la-intro .la-narrow { gap: 16px 36px; }
  .school-v3 .la-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-v3 .la-team-grid { gap: 22px; }
  .school-v3 .la-team-grid img, .school-v3 .la-team-grid article:first-child img { height: 280px; }
  .school-v3 .la-team-grid h3 { font-size: 23px; }
  .school-v3 .lae-reading-layout { grid-template-columns: minmax(0,1fr) 210px; gap: 30px; }
  .school-v3 .lae-sidebar { padding: 18px 16px; }
  .school-v3 .lae-page-heading.has-image { gap: 32px; }
  .school-v3 .lae-journal-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-v3 .lae-endnote { grid-template-columns: 1.3fr 1fr; }
  .school-v3 .lae-endnote .lae-kicker { grid-column: 1 / -1; }
  .school-v3 .lae-footer { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 760px) {
  body.school-v3 { font-size: 17px; }
  .school-v3 .la-hero { padding-block: 36px 40px; }
  .school-v3 .la-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .school-v3 .la-home h1 { max-width: 620px; font-size: clamp(37px,7vw,50px); }
  .school-v3 .la-hero-media img { height: 300px; }
  .school-v3 .la-hero-media::before { right: -4px; }
  .school-v3 .la-intro .la-narrow { display: block; }
  .school-v3 .la-intro h2 { max-width: 560px; margin-bottom: 24px; }
  .school-v3 .la-intro p:last-child { font-size: 18px; }
  .school-v3 .la-split, .school-v3 .la-split-reverse { grid-template-columns: 1fr; gap: 30px; }
  .school-v3 .la-image-stack img { height: 330px; }
  .school-v3 .la-team-grid { grid-template-columns: 1fr; }
  .school-v3 .la-team-grid article { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 22px; align-items: center; }
  .school-v3 .la-team-grid article:nth-child(n) { margin-top: 0; }
  .school-v3 .la-team-grid img, .school-v3 .la-team-grid article:first-child img { height: 290px; margin: 0; }
  .school-v3 .la-cta-inner { grid-template-columns: 1fr; gap: 8px; }
  .school-v3 .la-cta .la-actions { flex-direction: row; }
  .school-v3 .lae-page-heading.has-image, .school-v3.family-people .lae-page-heading { grid-template-columns: 1.3fr 1fr; gap: 24px; }
  .school-v3 .lae-page-heading h1 { font-size: 36px; }
  .school-v3 .lae-page-heading figure img, .school-v3.family-people .lae-page-heading figure img { height: 240px; }
  .school-v3 .lae-reading-layout { display: flex; flex-direction: column; gap: 28px; margin-bottom: 56px; }
  .school-v3 .lae-sidebar { position: static; width: 100%; padding: 16px 18px; }
  .school-v3 .lae-toc { max-height: 176px; margin-bottom: 8px; }
  .school-v3 .lae-toc a { font-size: 14px; }
  .school-v3 .lae-sidebar .lae-button { width: auto; margin-top: 8px; }
  .school-v3 .lae-prose { width: 100%; }
  .school-v3 .lae-prose ul.editorial-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .school-v3.family-article .lae-prose { font-size: 18px; }
  .school-v3.family-prices .lae-prose section > div:has(> div + div) { gap: 18px; }
  .school-v3 .lae-endnote { gap: 20px; }
}
@media (max-width: 540px) {
  .school-v3 .lae-mast { gap: 8px; font-size: 10px; letter-spacing: 0; }
  .school-v3 .lae-mast span { max-width: 210px; line-height: 1.3; }
  .school-v3 .lae-mast a { font-size: 11px; }
  .school-v3 .lae-header { padding: 13px 16px; gap: 12px; border-radius: 24px; }
  .school-v3 .lae-brand { font-size: 27px; }
  .school-v3 .lae-brand small { font-size: 8px; letter-spacing: .045em; }
  .school-v3 .lae-menu-toggle { padding-inline: 12px; font-size: 14px; }
  .school-v3 :where(.lac-quick,.lac-course-nav) { gap: 4px; font-size: 13px; }
  .school-v3 :where(.lac-quick,.lac-course-nav) a { padding: 9px 10px; }
  .school-v3 .la-hero { padding-top: 28px; }
  .school-v3 .la-home h1 { font-size: 39px; }
  .school-v3 .la-eyebrow { font-size: 10px; letter-spacing: .07em; }
  .school-v3 .la-lead { font-size: 17px; }
  .school-v3 .la-actions { gap: 10px; }
  .school-v3 .la-btn { font-size: 15px; padding: 12px 18px; }
  .school-v3 .la-hero-media img { height: 240px; border-radius: 20px; }
  .school-v3 .la-hero-media figcaption { margin-right: 12px; font-size: 12px; }
  .school-v3 .la-proof { gap: 12px; margin-top: 24px; padding-top: 20px; }
  .school-v3 .la-proof strong { font-size: 15px; }
  .school-v3 .la-proof span { font-size: 12px; }
  .school-v3 .la-section { padding-block: 48px; }
  .school-v3 .la-heading-row { display: block; margin-bottom: 24px; }
  .school-v3 .la-heading-row .la-text-link { margin-top: 14px; }
  .school-v3 .la-course-grid { grid-template-columns: 1fr; gap: 18px; }
  .school-v3 .la-course-card > img { height: 200px; }
  .school-v3 .la-course-card > div { padding: 22px; }
  .school-v3 .la-course-card h3 { font-size: 28px; }
  .school-v3 .la-benefit-grid { grid-template-columns: 1fr; }
  .school-v3 .la-benefit-grid article { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 0 16px; padding-block: 24px; }
  .school-v3 .la-benefit-grid article > span { grid-row: 1 / 3; margin: 0; }
  .school-v3 .la-benefit-grid h3, .school-v3 .la-benefit-grid p { grid-column: 2; }
  .school-v3 .la-image-stack img { height: 260px; }
  .school-v3 .la-team-grid { gap: 34px; }
  .school-v3 .la-team-grid article { display: block; }
  .school-v3 .la-team-grid img, .school-v3 .la-team-grid article:first-child img { height: 360px; margin-bottom: 20px; }
  .school-v3 .la-team-grid h3 { font-size: 28px; }
  .school-v3 .la-material-collage { gap: 14px; }
  .school-v3 .la-cta { padding-block: 44px; }
  .school-v3 .la-cta .la-actions { flex-direction: column; }
  .school-v3 .lae-breadcrumb { margin-top: 14px; font-size: 12px; }
  .school-v3 .lae-page-heading { margin-block: 18px 28px; padding-bottom: 24px; }
  .school-v3 .lae-page-heading.has-image, .school-v3.family-people .lae-page-heading { display: block; }
  .school-v3 .lae-page-heading h1 { font-size: 36px; line-height: 1.1; }
  .school-v3 .lae-page-heading figure { margin-top: 24px; }
  .school-v3 .lae-page-heading figure img { height: 220px; border-radius: 18px; }
  .school-v3.family-people .lae-page-heading figure img { height: 310px; }
  .school-v3.family-course .lae-page-heading, .school-v3.family-prices .lae-page-heading { padding: 24px; border-radius: 20px; }
  .school-v3 .lae-prose h2 { font-size: 29px; margin-top: 36px; }
  .school-v3 .lae-prose h3 { font-size: 24px; }
  .school-v3 .lae-prose blockquote { padding: 20px; font-size: 17px; }
  .school-v3 .lae-prose .editorial-gallery img { height: 160px; }
  .school-v3 .editorial-stories > li { padding: 20px; }
  .school-v3 .editorial-stories > li > img { float: none; width: 100%; max-height: 350px; margin: 0 0 22px; }
  .school-v3 .lac-catalog { grid-template-columns: 1fr; gap: 18px; }
  .school-v3 .lac-material-card img { height: 240px; }
  .school-v3.family-prices .lae-prose section { padding: 22px 18px; }
  .school-v3.family-prices .lae-prose section > div:has(> div + div) { grid-template-columns: 1fr; gap: 16px; }
  .school-v3.family-prices .lae-prose section > div:first-child { font-size: 24px; }
  .school-v3 .lae-journal-heading { margin-block: 32px 26px; }
  .school-v3 .lae-journal-list { grid-template-columns: 1fr; gap: 22px; }
  .school-v3 .lae-story-image { min-height: 0; height: 220px; }
  .school-v3 .lae-journal-story > div { padding: 22px; }
  .school-v3 .lae-endnote { display: block; padding-block: 40px; }
  .school-v3 .lae-endnote h2 { margin-block: 16px 24px; }
  .school-v3 .lae-footer { grid-template-columns: 1fr 1fr; padding-top: 40px; gap: 24px 18px; font-size: 14px; }
  .school-v3 .lae-footer > div:first-child { grid-column: 1 / -1; }
  .school-v3 .lae-footer > div:not(:first-child):not(.lae-colophon) { grid-column: 1 / -1; }
  .school-v3 .lae-colophon { font-size: 11px; gap: 14px; align-items: flex-start; }
}
@media (max-width: 360px) {
  body.school-v3 { --gutter: 16px; }
  .school-v3 .lae-brand { font-size: 24px; }
  .school-v3 .lae-brand small { font-size: 7px; }
  .school-v3 .la-home h1 { font-size: 35px; }
  .school-v3 .la-proof { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .school-v3 *, .school-v3 *::before, .school-v3 *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .school-v3 :where(.la-btn,.lae-button):hover { transform: none; }
}
@media print {
  body.school-v3 { background: white; color: black; font-size: 11pt; }
  .school-v3 :where(.lae-mast,.lae-header,.lac-quick,.lae-sidebar,.lae-endnote,.lae-footer,.lae-menu-toggle) { display: none; }
  .school-v3 .lae-reading-layout { display: block; width: 100%; }
  .school-v3 .lae-prose { max-width: none; }
  .school-v3 .lae-page-heading { width: 100%; }
}
