/* Shared by the public site and block editor. Page content and layout stay in blocks. */
:root {
  --school-ink:#103e42;
  --school-accent:#087d82;
  --school-paper:#fff;
  --school-surface:#e9f7fb;
  --school-line:#c6ddda;
  --school-muted:#42645f;
  --school-action:#cf4918;
  --school-action-hover:#b83e13;
  --school-action-border:#bd4115;
  --school-action-shadow:#a53812;
  --school-highlight:#ffe13e;
  --school-font-body:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --school-font-hero:"Zen Maru Hero","Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;
  --school-heading-size:clamp(38px,5.1vw,70px);
  --school-content-width:1240px;
  --school-news-width:1060px;
  --school-article-width:900px;
}
@font-face {
  font-family:'Zen Maru Hero'; font-style:normal; font-weight:900; font-display:swap;
  src:url('assets/fonts/zen-maru-hero.ttf') format('truetype');
}
.school-section-heading { font-size:var(--school-heading-size); font-weight:900; }
.school-eyebrow { color:var(--school-accent); font-size:14px; font-weight:800; }
.preview-policy-title { word-break:keep-all; }
.preview-policy-origin mark,
.preview-teacher-title mark {
  padding-inline-end:0.08em; color:inherit; white-space:nowrap;
  background:linear-gradient(transparent 60%, var(--school-highlight) 60%);
}
.preview-policy-shortcut { white-space:nowrap; }
.preview-policy-shortcut kbd {
  display:inline-block; padding:0.12em 0.42em;
  border:1px solid var(--school-line); border-bottom-width:3px; border-radius:5px;
  color:var(--school-ink); background:var(--school-paper);
  font:700 0.88em/1.25 var(--school-font-body);
}
.school-button-primary,
.wp-block-button.is-style-school-primary .wp-block-button__link {
  padding:15px 30px; color:var(--school-paper); background:var(--school-action);
  border:1px solid var(--school-action-border); border-radius:12px;
  box-shadow:0 4px 0 var(--school-action-shadow);
  font-size:18px; font-weight:800; text-align:center; text-decoration:none;
}
.school-button-primary:hover,
.wp-block-button.is-style-school-primary .wp-block-button__link:hover {
  color:var(--school-paper); background:var(--school-action-hover);
}
.school-button-outline,
.wp-block-button.is-style-school-outline .wp-block-button__link {
  padding:10px 18px; color:var(--school-ink); background:transparent;
  border:2px solid var(--school-ink); border-radius:9px;
  box-shadow:0 2px 0 var(--school-ink);
  font-size:13px; font-weight:800; text-decoration:none;
  transition:background .2s,box-shadow .2s;
}
.school-button-outline:hover,
.wp-block-button.is-style-school-outline .wp-block-button__link:hover {
  background:#eaf7f6; box-shadow:none;
}
.school-button-outline-wide {
  padding:12px 26px; background:var(--school-paper); border-radius:10px;
  box-shadow:none; font-size:17px; text-align:center;
}
.school-button-outline-wide:hover { background:var(--school-surface); }
.wp-block-table.preview-teacher-career {
  margin:0; color:var(--school-ink); font-size:17px; font-weight:600; line-height:1.8;
}
.preview-teacher-career table { margin:0; border-block:1px solid var(--school-line); }
.wp-block-table.preview-teacher-career table :is(tr,th,td) { background:transparent; }
.wp-block-table.preview-teacher-career table :is(th,td) {
  padding:12px 0; border:0; text-align:left; vertical-align:top;
  font-size:inherit;
}
.preview-teacher-career tbody tr + tr { border-top:1px solid var(--school-line); }
.preview-teacher-career tbody th { box-sizing:border-box; width:4.75rem; }
.preview-teacher-career tbody th strong {
  display:inline-block; padding:3px 10px; border-radius:6px;
  background:var(--school-surface); font-size:0.9375rem; font-weight:800; white-space:nowrap;
}
/* Course images keep their intrinsic proportions at every column width. */
.hero-image-frame { display:flex; align-items:center; justify-content:center; height:auto; }
.hero-image-frame .hero-image { display:block; width:auto; max-width:100%; height:auto; max-height:min(43svh,380px); object-fit:contain; }
/* Match GreenShift's mobile typography breakpoint. Header navigation uses 767px. */
@media(max-width:833.98px) {
  :root { --school-heading-size:clamp(31px,8.1vw,51px); }
  .school-eyebrow { font-size:13px; }
  .wp-block-table.preview-teacher-career { font-size:16px; }
  .preview-teacher-career tbody th { width:4rem; }
  .school-button-primary,
  .wp-block-button.is-style-school-primary .wp-block-button__link { padding:14px 16px; font-size:16px; }
  .school-button-outline,
  .wp-block-button.is-style-school-outline .wp-block-button__link { padding:8px 13px; font-size:12px; }
  .school-button-outline-wide { padding:12px 26px; font-size:16px; }
  .hero-image-frame .hero-image { max-height:clamp(100px,calc(100svh - 600px),200px); }
}
/* Preserve the photo's arch shape instead of compressing it to viewport height.
   GreenShift block styles use important declarations, so these overrides do too. */
@media(max-width:833.98px) {
  .landing-hero .landing-hero-title {
    font-size:clamp(28px,9.3vw,48px) !important;
    line-height:1.25 !important;
  }
  .landing-hero .landing-hero-lead {
    font-size:clamp(14px,3.8vw,16px) !important;
    line-height:1.7 !important;
    text-wrap:pretty;
  }
  .landing-hero .landing-hero-photo {
    align-self:center !important;
    width:min(calc(100% - 12px),360px) !important;
  }
  .landing-hero .landing-hero-photo-frame {
    height:auto !important;
    aspect-ratio:1.08;
  }
  .landing-hero .landing-hero-seal strong { white-space:nowrap; }
}
