/* ═══════════════════════════════════════════════════════════════════
   S.O.T. Students of Timor — education portal (students.oftimor.com)
   Sits on top of stw.css (same tokens, type, buttons, tiles, heads).
   Only what this site adds: the audience picker, the kinds of places,
   the song player, the app cards and the pages for each kind.
   Loaded on the students site only.
   ═══════════════════════════════════════════════════════════════════ */

/* two more buttons */
.stw .stw-btn--line { border-color: var(--stw-ocean); color: var(--stw-ocean); background: transparent; }
.stw .stw-btn--line:hover { background: var(--stw-ocean); color: #fff; }
.stw .stw-btn--sand { background: var(--stw-sand); color: var(--stw-deep); }
.stw .stw-btn--sand:hover { background: #F0D7A6; }

.stw-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 12px; }

.stw-checklist { display: flex; flex-direction: column; gap: .7rem; }
.stw-checklist li { display: flex; align-items: flex-start; gap: .75rem; line-height: 1.5; }
.stw-checklist .stw-ic { flex: none; width: 20px; height: 20px; margin-top: .2rem; color: var(--stw-forest); }

/* ── Hero: the header here stays solid, so the hero starts below it ── */
.stw-edu .stw-hero { min-height: min(76svh, 740px); background: #4A2F1C; }
.stw-edu .stw-hero__media { background: #6B4527; }
.stw-edu .stw-hero__inner { padding-block: clamp(64px, 11vh, 120px) clamp(48px, 8vh, 88px); }
.stw-edu .stw-hero__scrim {
  background:
    linear-gradient(90deg, rgba(28,16,8,.82) 0%, rgba(28,16,8,.55) 38%, rgba(28,16,8,0) 70%),
    linear-gradient(0deg, rgba(28,16,8,.78) 0%, rgba(28,16,8,.3) 30%, rgba(28,16,8,0) 58%);
}
.stw-edu .stw-hero__sub { max-width: 46ch; }

.stw-edu-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 880px; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.stw .stw-edu-who__a {
  display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; border-radius: 18px;
  background: rgba(255,255,255,.97); color: var(--stw-ink); text-decoration: none; box-shadow: var(--stw-float);
  transition: transform .35s var(--stw-ease), box-shadow .35s var(--stw-ease);
}
.stw-edu-who__a > .stw-ic:first-child { flex: none; width: 30px; height: 30px; color: var(--stw-ocean); }
.stw-edu-who__a strong { display: block; font: 600 1.05rem/1.2 var(--stw-sans); color: var(--stw-ink); }
.stw-edu-who__a small { display: block; margin-top: .15rem; font-size: .8rem; line-height: 1.3; color: var(--stw-ink3); }
.stw-edu-who__go { flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--stw-ink4); transition: transform .25s var(--stw-ease), color .2s ease; }
.stw .stw-edu-who__a:hover { transform: translateY(-3px); }
.stw-edu-who__a:hover .stw-edu-who__go { color: var(--stw-ocean); transform: translateX(3px); }

/* ── Three audiences ─────────────────────────────────────────── */
.stw-edu-aud__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.stw-edu-aud__card {
  display: flex; flex-direction: column; overflow: clip; border: 1px solid var(--stw-line); border-radius: 24px; background: #fff;
  transition: transform .4s var(--stw-ease), box-shadow .4s var(--stw-ease), border-color .25s ease;
}
.stw-edu-aud__card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--stw-float); }
.stw-edu-aud__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stw-paper2); }
.stw-edu-aud__media .stw-media { position: absolute; inset: 0; }
.stw-edu-aud__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px; }
.stw-edu-aud__body .stw-eyebrow { margin-bottom: .5rem; }
.stw .stw-edu-aud__t { font: 500 1.65rem/1.12 var(--stw-serif); letter-spacing: -.02em; }
.stw .stw-edu-aud__t a { text-decoration: none; }
.stw .stw-edu-aud__list { display: flex; flex-direction: column; gap: 1px; margin: .8rem 0 1.1rem; }
.stw .stw-edu-aud__list a {
  display: flex; align-items: center; gap: .65rem; margin-inline: -.55rem; padding: .44rem .55rem; border-radius: 10px;
  font-size: .96rem; line-height: 1.3; text-decoration: none; color: var(--stw-ink2); transition: background .18s ease, color .18s ease;
}
.stw .stw-edu-aud__list a:hover { background: var(--stw-paper2); color: var(--stw-ocean); }
.stw-edu-aud__list .stw-ic { flex: none; width: 19px; height: 19px; color: var(--stw-ocean); }
.stw-edu-aud__body > .stw-more { margin-top: auto; }

.stw-edu-kinds__dir { margin: 1.8rem 0 0 !important; }

/* ── Songs ───────────────────────────────────────────────────── */
.stw-edu-songs__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.stw-edu-songs__text .stw-head { margin-bottom: 1.6rem; }

.stw-edu-player { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.stw-edu-player--compact { display: block; }
.stw-edu-player__stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: var(--stw-deep); box-shadow: var(--stw-float);
}
.stw-edu-player__video, .stw-edu-player__cover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: var(--stw-deep); }
.stw-edu-player__audio { position: absolute; left: 12px; right: 12px; bottom: 12px; width: calc(100% - 24px); }
.stw .stw-edu-player__big {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 96px; height: 96px; margin: auto; padding: 0;
  border: 0; border-radius: 50%; background: var(--stw-sand); color: var(--stw-deep); cursor: pointer;
  box-shadow: 0 10px 30px rgba(4,34,50,.45), 0 0 0 10px rgba(255,255,255,.22);
  transition: transform .3s var(--stw-ease), background .2s ease;
}
.stw-edu-player__big:hover { transform: scale(1.07); background: #F0D7A6; }
.stw-edu-player__big .stw-ic { width: 42px; height: 42px; margin-left: 6px; fill: currentColor; stroke-width: 0; }
.stw-edu-player__big[hidden], .stw-edu-player.is-playing .stw-edu-player__big { display: none; }
.stw .stw-edu-player__meta { margin: 0 0 .55rem; font: 600 .72rem/1.2 var(--stw-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stw-ocean); }
.stw .stw-edu-player__title { font: 500 clamp(1.7rem, 3.1vw, 2.5rem)/1.08 var(--stw-serif); letter-spacing: -.025em; }
.stw .stw-edu-player__teaches { margin: .5rem 0 0; color: var(--stw-ink3); }
.stw-edu-player--compact .stw-edu-player__info { margin-top: 1.1rem; }
.stw-edu-player--compact .stw-edu-player__title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.stw .stw-edu-player__more { margin: .9rem 0 0; }
.stw-edu-player__words { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--stw-line); }
.stw .stw-edu-player__words h3 { margin: 0 0 .45rem; font: 600 .7rem/1.2 var(--stw-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stw-ink3); }
.stw .stw-edu-player__words h3:not(:first-child) { margin-top: 1.15rem; }
.stw .stw-edu-player__words [data-stwe-words] p { margin: 0 0 .2rem; font: 500 1.12rem/1.45 var(--stw-sans); color: var(--stw-ink); }
.stw .stw-edu-player__meaning { margin: 0; color: var(--stw-ink3); }
.stw-edu-player__ctl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.stw-edu-player__ctl[hidden] { display: none; }
.stw .stw-edu-chipbtn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border: 1px solid var(--stw-line); border-radius: 999px;
  background: #fff; font: 600 .86rem/1.2 var(--stw-sans); color: var(--stw-ink2); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.stw-edu-chipbtn .stw-ic { width: 16px; height: 16px; }
.stw .stw-edu-chipbtn:hover { border-color: var(--stw-ocean); color: var(--stw-ocean); }
.stw .stw-edu-chipbtn[aria-pressed="true"] { border-color: var(--stw-ocean); background: var(--stw-ocean); color: #fff; }

.stw .stw-edu-player__list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: clamp(10px, 2vw, 22px); }
.stw .stw-edu-song {
  display: flex; align-items: center; gap: .85rem; width: 100%; padding: 8px 14px 8px 8px; border: 1px solid var(--stw-line); border-radius: 16px;
  background: #fff; font: inherit; text-align: left; color: var(--stw-ink); cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .3s var(--stw-ease);
}
.stw .stw-edu-song:hover { border-color: var(--stw-ocean); transform: translateY(-2px); }
.stw .stw-edu-song.is-on { border-color: var(--stw-ocean); box-shadow: 0 0 0 3px var(--stw-soft); }
.stw-edu-song img { flex: none; width: 96px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--stw-paper2); }
.stw-edu-song__t { display: flex; flex-direction: column; min-width: 0; }
.stw-edu-song__t strong { font: 600 .98rem/1.3 var(--stw-sans); color: var(--stw-ink); }
.stw-edu-song__t span { font-size: .8rem; line-height: 1.35; color: var(--stw-ink3); }
.stw-edu-song__len { flex: none; margin-left: auto; font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--stw-ink3); }
.stw .stw-edu-song--soon { padding: 14px 16px; border-style: dashed; background: transparent; cursor: default; color: var(--stw-ink3); }
.stw .stw-edu-song--soon:hover { border-color: var(--stw-line); transform: none; }
.stw-edu-song--soon > .stw-ic { flex: none; width: 24px; height: 24px; color: var(--stw-ocean); }
.stw-edu-song--soon strong { color: var(--stw-ink2); }

.stw-edu-songpage { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 100px); }
.stw-edu-songnotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--stw-line); }
.stw .stw-edu-songnotes h2, .stw .stw-edu-page h2, .stw .stw-edu-appsnote h2 { margin-bottom: .9rem; font: 500 clamp(1.4rem, 2.2vw, 1.8rem)/1.15 var(--stw-serif); letter-spacing: -.02em; }

/* ── Apps ────────────────────────────────────────────────────── */
.stw-edu-apps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.stw-edu-app {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 2.4vw, 28px); align-items: center;
  padding: clamp(20px, 2.6vw, 32px); overflow: clip; border: 1px solid var(--stw-line); border-radius: 28px; background: #fff;
}
.stw-edu-app__id { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.stw-edu-app__id img { flex: none; width: 64px; height: 64px; border-radius: 15px; box-shadow: var(--stw-card); }
.stw-edu-app__id .stw-eyebrow { margin-bottom: .3rem; }
.stw .stw-edu-app__name { font: 500 1.75rem/1.08 var(--stw-serif); letter-spacing: -.02em; }
.stw .stw-edu-app__lede { color: var(--stw-ink2); }
.stw .stw-edu-app__status { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .85rem; border-radius: 12px; background: var(--stw-paper2); font-size: .9rem; line-height: 1.35; color: var(--stw-ink2); }
.stw-edu-app__status .stw-ic { flex: none; width: 18px; height: 18px; color: var(--stw-ocean); }
.stw-edu-app__get { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; }
.stw-edu-app .stw-checklist { margin: 1.1rem 0 1.4rem; }
.stw-edu-app__shots { display: flex; gap: 12px; align-items: flex-start; }
.stw-edu-phone { width: 148px; margin: 0; padding: 6px; border-radius: 24px; background: var(--stw-ink); box-shadow: var(--stw-float); }
.stw-edu-phone img { display: block; width: 100%; height: auto; border-radius: 18px; }
.stw-edu-phone:nth-child(2) { margin-top: 26px; }
.stw-edu-phone:nth-child(3) { margin-top: 52px; }
/* On the homepage the two cards sit side by side: words on top, the phones
   below, looking out over the card's lower edge. */
.stw-edu-apps__grid .stw-edu-app { grid-template-columns: minmax(0, 1fr); align-items: start; padding-bottom: 0; }
.stw-edu-apps__grid .stw-edu-app__shots { justify-content: center; gap: 16px; max-height: 250px; margin-top: 4px; overflow: hidden; }
.stw-edu-apps__grid .stw-edu-phone { width: 168px; }
.stw-edu-apps__grid .stw-edu-app__text > p:last-child { margin-bottom: 0; }
.stw-edu-app--full { grid-template-columns: minmax(0, 1fr) auto; padding: clamp(24px, 3.4vw, 48px); }
.stw-edu-app--full .stw-edu-phone { width: 172px; }
.stw-edu-appspage { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 100px); }
.stw-edu-appsnote { max-width: 72ch; }
.stw .stw-edu-appsnote .stw-fine { margin: 0 0 1.4rem; }

/* ── For schools and centres ─────────────────────────────────── */
.stw-edu-list__band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); min-height: 360px; overflow: clip; border-radius: 32px; background: var(--stw-deep); color: #fff; }
.stw-edu-list__media { position: relative; min-height: 240px; }
.stw-edu-list__media .stw-media { position: absolute; inset: 0; }
.stw-edu-list__text { align-self: center; padding: clamp(28px, 4.4vw, 60px); }
.stw .stw-edu-list__text .stw-title { color: #fff; }
.stw .stw-edu-list__text .stw-title em { color: var(--stw-sand); }
.stw .stw-edu-list__text p { color: rgba(255,255,255,.86); }
.stw .stw-edu-list__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0 0; }
.stw .stw-edu-list__cta .stw-btn--ghost { border-color: rgba(255,255,255,.42); color: #fff; }
.stw .stw-edu-list__cta .stw-btn--ghost:hover { border-color: #fff; color: #fff; }

/* ── A kind of place ─────────────────────────────────────────── */
.stw-edu-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 100px); }
.stw-edu-page__main > section + section { margin-top: clamp(30px, 4vw, 48px); }
.stw-edu-empty { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px dashed var(--stw-line); border-radius: 20px; background: var(--stw-paper2); }
.stw-edu-empty > .stw-ic { flex: none; width: 42px; height: 42px; color: var(--stw-ocean); }
.stw .stw-edu-empty h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.stw .stw-edu-empty p { margin: 0; color: var(--stw-ink2); }
.stw .stw-edu-listed__go { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 0; }

/* ── Course providers (live Training & Courses businesses) ───── */
.stw-edu-provs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 1.1rem; }
.stw-edu-page .stw-edu-provs { grid-template-columns: minmax(0, 1fr); }
.stw-edu-prov {
  display: flex; flex-direction: column; min-width: 0; padding: 22px;
  border: 1px solid var(--stw-line); border-radius: 22px; background: #fff; box-shadow: var(--stw-card);
  transition: transform .3s var(--stw-ease), box-shadow .3s ease, border-color .2s ease;
}
.stw-edu-prov:hover, .stw-edu-prov:focus-within { transform: translateY(-3px); box-shadow: var(--stw-float); border-color: var(--stw-soft); }
.stw-edu-prov__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.stw-edu-prov__logo { flex: none; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; background: var(--stw-paper2); border: 1px solid var(--stw-line); }
.stw-edu-prov__logo--mark { display: grid; place-items: center; background: var(--stw-soft); color: var(--stw-ocean); font: 400 1.6rem/1 var(--stw-serif); }
.stw-edu-prov__who { min-width: 0; }
.stw .stw-edu-prov__name { margin: 0; font: 600 1.18rem/1.2 var(--stw-sans); letter-spacing: -.01em; overflow-wrap: anywhere; }
.stw .stw-edu-prov__name a { text-decoration: none; color: var(--stw-ink); }
.stw .stw-edu-prov__name a:hover { color: var(--stw-ocean); }
.stw .stw-edu-prov__place, .stw .stw-edu-prov__ok { display: flex; align-items: center; gap: .35rem; margin: .3rem 0 0; font-size: .86rem; color: var(--stw-ink3); }
.stw .stw-edu-prov__ok { font-weight: 600; color: var(--stw-forest); }
.stw-edu-prov__place .stw-ic, .stw-edu-prov__ok .stw-ic { flex: none; width: 14px; height: 14px; }
.stw .stw-edu-prov__tag { margin: 14px 0 0; font-size: .95rem; line-height: 1.45; color: var(--stw-ink2); }
.stw .stw-edu-prov__says { margin: 14px 0 0; font: 600 .72rem/1.2 var(--stw-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--stw-ocean); }
.stw .stw-edu-prov__list { display: grid; gap: 6px; margin: .6rem 0 0; }
.stw .stw-edu-prov__list li { position: relative; padding-left: 1rem; font-size: .93rem; line-height: 1.4; color: var(--stw-ink); }
.stw-edu-prov__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--stw-ocean); }
.stw .stw-edu-prov__list .stw-edu-prov__more { color: var(--stw-ink3); }
.stw-edu-prov__list .stw-edu-prov__more::before { background: var(--stw-line); }
.stw .stw-edu-prov__from { margin: .8rem 0 0; font: 700 1rem/1.2 var(--stw-sans); color: var(--stw-ink); }
.stw-edu-prov__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; }
.stw .stw-edu-prov__rate { display: inline-flex; align-items: center; gap: .3rem; margin: 0; font-size: .8rem; font-weight: 600; color: var(--stw-ink2); }
.stw-edu-prov__rate .stw-ic { width: 13px; height: 13px; }
.stw .stw-edu-prov__go {
  flex: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin-left: auto; padding: 0 1.05rem;
  border: 1.5px solid var(--stw-ocean); border-radius: 999px; text-decoration: none;
  color: var(--stw-ocean); font: 600 .92rem/1 var(--stw-sans); white-space: nowrap; transition: background .2s ease, color .2s ease;
}
.stw .stw-edu-prov__go:hover { background: var(--stw-ocean); color: #fff; }
.stw-edu-prov__go .stw-ic { width: 16px; height: 16px; }
.stw .stw-edu-ask { display: flex; flex-direction: column; gap: .6rem; counter-reset: stwask; }
.stw .stw-edu-ask li { position: relative; padding: .85rem 1rem .85rem 3.3rem; border: 1px solid var(--stw-line); border-radius: 14px; background: #fff; counter-increment: stwask; line-height: 1.45; }
.stw-edu-ask li::before {
  content: counter(stwask); position: absolute; left: .9rem; top: .8rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--stw-soft); font: 600 .85rem/1 var(--stw-sans); color: var(--stw-ocean);
}
.stw-edu-page__side { position: sticky; top: calc(var(--stw-head-h, 140px) + 16px); display: flex; flex-direction: column; gap: 14px; }
.stw-edu-sidebox { padding: 18px 20px 20px; border: 1px solid var(--stw-line); border-radius: 18px; background: #fff; }
.stw .stw-edu-sidebox h2 { margin: 0 0 .7rem; font: 600 .7rem/1.2 var(--stw-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--stw-ink3); }
.stw .stw-edu-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.stw .stw-edu-chips a { padding: .38rem .8rem; border: 1px solid var(--stw-line); border-radius: 999px; font-size: .86rem; font-weight: 500; text-decoration: none; color: var(--stw-ink2); }
.stw .stw-edu-chips a:hover { border-color: var(--stw-ocean); color: var(--stw-ocean); }
.stw .stw-edu-sidelist { margin-bottom: .8rem; }
.stw .stw-edu-sidelist a { display: flex; align-items: center; gap: .6rem; padding: .38rem 0; font-size: .93rem; line-height: 1.3; text-decoration: none; color: var(--stw-ink2); }
.stw .stw-edu-sidelist a:hover { color: var(--stw-ocean); }
.stw-edu-sidelist .stw-ic { flex: none; width: 18px; height: 18px; color: var(--stw-ocean); }
.stw-edu-cta { padding: 22px; border-radius: 18px; background: var(--stw-deep); color: #fff; }
.stw .stw-edu-cta h2 { margin: 0 0 .5rem; font: 500 1.3rem/1.2 var(--stw-serif); letter-spacing: -.015em; color: #fff; }
.stw .stw-edu-cta p { margin: 0 0 1rem; font-size: .93rem; color: rgba(255,255,255,.86); }
.stw .stw-edu-cta .stw-btn--solid { background: var(--stw-sand); color: var(--stw-deep); }
.stw .stw-edu-cta .stw-btn--solid:hover { background: #F0D7A6; }

/* ── Narrow screens ──────────────────────────────────────────── */
@media (max-width: 1040px) {
  .stw-edu-apps__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .stw-edu-aud__grid { grid-template-columns: minmax(0, 1fr); }
  .stw-edu-aud__card { flex-direction: row; }
  .stw-edu-aud__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
  .stw-edu-songs__grid, .stw-edu-player, .stw-edu-page, .stw-edu-list__band { grid-template-columns: minmax(0, 1fr); }
  .stw-edu-page__side { position: static; }
  .stw-edu-songnotes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .stw-edu .stw-hero { min-height: 0; }
  .stw-edu .stw-hero__inner { padding-block: 56px 40px; }
  .stw-edu .stw-hero__scrim { background: linear-gradient(0deg, rgba(28,16,8,.86) 0%, rgba(28,16,8,.62) 46%, rgba(28,16,8,.3) 100%); }
  .stw-edu-who { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stw .stw-edu-who__a { padding: .8rem 1rem; }
  .stw-edu-aud__card { flex-direction: column; }
  .stw-edu-aud__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .stw-edu-app, .stw-edu-app--full { grid-template-columns: minmax(0, 1fr); }
  .stw-edu-app__shots { justify-content: center; }
  .stw-edu-phone, .stw-edu-app--full .stw-edu-phone { width: min(30vw, 150px); padding: 4px; border-radius: 18px; }
  .stw-edu-phone img { border-radius: 14px; }
  .stw-edu-player__stage { border-radius: 18px; }
  .stw .stw-edu-player__big { width: 76px; height: 76px; }
  .stw-edu-player__big .stw-ic { width: 32px; height: 32px; }
  .stw-edu-list__band { border-radius: 24px; }
  .stw-edu-empty { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .stw-edu-aud__card, .stw-edu-who__a, .stw-edu-song, .stw-edu-player__big, .stw-edu-prov, .stw .stw-edu-prov__go { transition: none !important; }
}
@media print {
  .stw-edu-player__big, .stw-edu-player__ctl, .stw-edu-who { display: none !important; }
}

/* ── Learning content: the topics of a group ───────────────────────────── */
.stw .stw-edu-topic { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px dashed var(--stw-line); border-radius: 18px; background: transparent; color: var(--stw-ink3); scroll-margin-top: 120px; }
.stw-edu-topic .stw-tile__body { display: flex; flex-direction: column; min-width: 0; }
.stw-edu-topic .stw-tile__body strong { font: 600 1rem/1.3 var(--stw-sans); color: var(--stw-ink2); }
.stw-edu-topic .stw-tile__body span { font-size: .84rem; line-height: 1.4; color: var(--stw-ink3); }
.stw-edu-topic .stw-tile__ic { opacity: .7; }
.stw-edu-topic:target { border-style: solid; border-color: var(--stw-ocean); box-shadow: 0 0 0 3px var(--stw-soft); }
.stw .stw-edu-topics__more { margin: 1.4rem 0 0; }
.stw .stw-edu-topics__note { max-width: 62ch; margin: 1.4rem 0 0; color: var(--stw-ink2); }

/* ── Children's books: the shelf of covers ─────────────────────────────── */
.stw .stw-edu-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.stw .stw-edu-shelf a { display: block; color: var(--stw-ink); text-decoration: none; }
.stw-edu-shelf img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 509; border-radius: 14px; background: var(--stw-paper2); box-shadow: var(--stw-card); transition: transform .3s var(--stw-ease); }
.stw-edu-shelf a:hover img { transform: translateY(-3px); }
.stw-edu-shelf__t { display: flex; flex-direction: column; margin-top: .7rem; }
.stw-edu-shelf__t strong { font: 600 .98rem/1.3 var(--stw-sans); }
.stw-edu-shelf__t span { font-size: .82rem; color: var(--stw-ink3); }

/* ── Children's books: the page ─────────────────────────────────────────── */
.stw-edu-bookspage { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 100px); }
.stw-edu-booknote { margin-top: clamp(24px, 4vw, 44px); padding: 20px 24px; border: 1px solid var(--stw-line); border-radius: 18px; background: var(--stw-paper2); }
.stw .stw-edu-booknote h2 { margin: 0 0 .4rem; font: 600 1.05rem/1.3 var(--stw-sans); letter-spacing: 0; }
.stw .stw-edu-booknote p { max-width: 74ch; margin: 0 0 .5rem; color: var(--stw-ink2); }
.stw .stw-edu-booknote p:last-child { margin-bottom: 0; }
.stw-edu-book { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--stw-line); scroll-margin-top: 110px; }
.stw-edu-book__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 1.2rem; }
.stw .stw-edu-book__meta { margin: 0 0 .3rem; font: 600 .78rem/1.3 var(--stw-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--stw-ocean); }
.stw .stw-edu-book h2 { margin: 0 0 .5rem; font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.12 var(--stw-serif); letter-spacing: -.02em; }
.stw .stw-edu-book__about { max-width: 66ch; margin: 0 0 .5rem; color: var(--stw-ink2); }
.stw .stw-edu-book__teaches { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .9rem; color: var(--stw-ink3); }
.stw-edu-book__teaches .stw-ic { flex: none; width: 16px; height: 16px; color: var(--stw-ocean); }
.stw-edu-book__ctl { display: flex; flex: none; gap: 8px; }
.stw-edu-book__ctl[hidden] { display: none; }
.stw-edu-book__ctl .stw-edu-chipbtn { padding: .7rem; }
.stw-edu-book__ctl .stw-edu-chipbtn[disabled] { opacity: .35; cursor: default; }
.stw-edu-flip { transform: scaleX(-1); }
.stw .stw-edu-book__pages { display: flex; gap: 14px; margin: 0; padding: 4px 4px 14px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.stw-edu-book__pages:focus-visible { outline: 2px solid var(--stw-ocean); outline-offset: 4px; border-radius: 14px; }
.stw .stw-edu-book__pages li { flex: none; width: min(420px, 78vw); margin: 0; scroll-snap-align: start; }
.stw-edu-book__pages img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1273; border-radius: 12px; background: var(--stw-paper2); box-shadow: 0 1px 3px rgba(20, 30, 40, .16); }
@media (max-width: 760px) {
  .stw .stw-edu-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stw-edu-book__head { align-items: flex-start; }
  .stw .stw-edu-book__pages li { width: 84vw; }
}
@media (prefers-reduced-motion: reduce) {
  .stw-edu-shelf img { transition: none !important; }
}

/* ── Front page: the film runs up behind the header (CEO 2026-11-24) ─────
   stw.css slides the hero under the header and turns the theme's own header
   parts light (body.stw-overlay-head). This site's menu is its own markup, so
   its entries are turned light here. The header is taller than on the other
   sites (two rows, 202px), so the words start below it, and the top of the
   film is darkened: its paper mountains are white where the menu stands.
   Once the page is scrolled the header has its paper skin and dark text back. */
@media (min-width: 961px) {
  body.stw-edu-on.stw-overlay-head .stw-hero--home .stw-hero__inner { padding-top: calc(var(--stw-head-h, 200px) + clamp(56px, 9vh, 110px)); }
  body.stw-edu-on.stw-overlay-head .stw-hero--home .stw-hero__scrim::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: calc(var(--stw-head-h, 200px) + 70px); pointer-events: none;
    background: linear-gradient(180deg, rgba(18,24,30,.62) 0%, rgba(18,24,30,.38) 55%, rgba(18,24,30,0) 100%);
  }
  .stw-js body.stw-edu-on.stw-overlay-head:not(.stw-scrolled) .stot-header:not(.stot-header--scrolled) .stw-edu-menu .sotedu-megamenu__top { color: #fff; }
  .stw-js body.stw-edu-on.stw-overlay-head:not(.stw-scrolled) .stot-header:not(.stot-header--scrolled) .stw-edu-menu .sotedu-megamenu__top:hover,
  .stw-js body.stw-edu-on.stw-overlay-head:not(.stw-scrolled) .stot-header:not(.stot-header--scrolled) .stw-edu-menu .sotedu-megamenu__top:focus-visible { background: rgba(255,255,255,.16); color: #fff; }
  .stw-js body.stw-edu-on.stw-overlay-head:not(.stw-scrolled) .stot-header:not(.stot-header--scrolled) .stw-edu-menu .sotedu-megamenu__item--has-panel > .sotedu-megamenu__top::after { border-color: currentColor; }
}

/* ── Karta Kondusaun: the driving-licence page ─────────────────────────── */
.stw-edu-drivepage { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 100px); }
.stw-edu-drive { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; scroll-margin-top: 110px; }
.stw-edu-drive--flip { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--stw-line); }
.stw-edu-drive__pic--phone img { display: block; width: min(300px, 70vw); height: auto; margin-inline: auto; border: 8px solid #14202e; border-radius: 34px; box-shadow: var(--stw-card); background: #14202e; }
.stw-edu-drive__pic--pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.stw-edu-drive__pic--pages img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 1px 3px rgba(20, 30, 40, .2); background: var(--stw-paper2); }
.stw-edu-drive__pic--pages img:nth-child(2) { margin-top: 26px; }
.stw .stw-edu-drive__head { display: flex; align-items: center; gap: 14px; margin: 0 0 1.1rem; }
.stw-edu-drive__head img { flex: none; width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 2px 8px rgba(20, 30, 40, .22); }
.stw-edu-drive__head > span { display: flex; flex-direction: column; }
.stw-edu-drive__head strong { font: 600 1.35rem/1.2 var(--stw-sans); color: var(--stw-ink); }
.stw .stw-edu-drive h2, .stw .stw-edu-drive-how h2 { margin: 0 0 .9rem; font: 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.12 var(--stw-serif); letter-spacing: -.02em; }
.stw .stw-edu-drive__get { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 .8rem; }
.stw-edu-drive-how { max-width: 760px; margin-top: clamp(36px, 5vw, 64px); padding: 22px 26px; border: 1px solid var(--stw-line); border-radius: 18px; background: var(--stw-paper2); }
.stw .stw-edu-drive-how h2 { font-size: 1.35rem; }
@media (max-width: 760px) {
  .stw-edu-drive { grid-template-columns: minmax(0, 1fr); }
  .stw-edu-drive--flip .stw-edu-drive__pic { order: 2; }
}

/* ── Courses by topic (the pages for adults) ───────────────────────────── */
.stw-edu-topicgroup { margin-top: clamp(22px, 3vw, 36px); }
.stw .stw-edu-topicgroup__t { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--stw-line); font: 600 1.15rem/1.3 var(--stw-sans); letter-spacing: 0; color: var(--stw-ink); }
.stw-edu-topicgroup__t span { font: 600 .78rem/1 var(--stw-sans); padding: .25rem .5rem; border-radius: 999px; background: var(--stw-soft); color: var(--stw-ocean); }
.stw-edu-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.stw-edu-course { display: flex; flex-direction: column; gap: .55rem; padding: 18px 20px; border: 1px solid var(--stw-line); border-radius: 18px; background: #fff; transition: transform .3s var(--stw-ease), box-shadow .3s ease, border-color .2s ease; }
.stw-edu-course:hover, .stw-edu-course:focus-within { transform: translateY(-3px); box-shadow: var(--stw-float); border-color: var(--stw-soft); }
.stw .stw-edu-course__facts { margin: 0; font: 600 .72rem/1.4 var(--stw-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--stw-ocean); }
.stw .stw-edu-course__t { margin: 0; font: 600 1.06rem/1.3 var(--stw-sans); letter-spacing: 0; }
.stw .stw-edu-course__t a { color: var(--stw-ink); text-decoration: none; }
.stw .stw-edu-course__t a:hover { color: var(--stw-ocean); }
.stw .stw-edu-course__by, .stw .stw-edu-course__when { display: flex; align-items: flex-start; gap: .45rem; margin: 0; font-size: .88rem; line-height: 1.4; color: var(--stw-ink2); }
.stw-edu-course__by .stw-ic, .stw-edu-course__when .stw-ic { flex: none; width: 16px; height: 16px; margin-top: .12rem; color: var(--stw-ink3); }
.stw .stw-edu-course__by a { color: inherit; }
.stw-edu-course__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: .8rem; }
.stw-edu-course__foot strong { font: 600 1rem/1.2 var(--stw-sans); color: var(--stw-ink); }
@media (prefers-reduced-motion: reduce) { .stw-edu-course { transition: none !important; } }

