@charset "UTF-8";

:root {
  --ink: #16324B;
  --muted: #5A6B7C;
  --surface: #FFFFFF;
  --surface-2: #F5F8FC;
  --border: #E3E9F1;
  --shadow: 0 6px 20px rgba(22, 50, 75, 0.10);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --r-card: 16px;
  --r-btn: 10px;
  --r-input: 10px;
  --r-pill: 999px;
  --red: #E5423C;
  --red-deep: #C8352F;
  --red-soft: #FCECEB;
  --yellow: #F4B826;
  --yellow-ink: #926E16;
  --yellow-soft: #FDF7E9;
  --green: #04A44D;
  --green-deep: #038940;
  --green-soft: #E5F5ED;
  --blue: #3E7DF1;
  --blue-deep: #3972DD;
  --blue-soft: #EBF2FD;
}

body.theme-structure {
  --accent: var(--blue);
  --accent-deep: var(--blue-deep);
  --accent-soft: var(--blue-soft);
}

body.theme-english {
  --accent: var(--red);
  --accent-deep: var(--red-deep);
  --accent-soft: var(--red-soft);
}

body.theme-arts {
  --accent: var(--yellow);
  --accent-deep: var(--yellow-ink);
  --accent-soft: var(--yellow-soft);
}

body.theme-football {
  --accent: var(--green);
  --accent-deep: var(--green-deep);
  --accent-soft: var(--green-soft);
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) {
  font-family: var(--font-body);
  color: var(--ink);
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) h1,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) h2,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) h3,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) h4,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .font-gilroy,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .btn,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .container-title,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .section-page-header,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .article-header {
  font-family: var(--font-display);
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) a,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) button,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .btn,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) input,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) textarea,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) select {
  outline-color: transparent;
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) a:focus-visible,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) button:focus-visible,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .btn:focus-visible,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) input:focus-visible,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) textarea:focus-visible,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent);
  outline-offset: 3px;
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .btn,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .btn:active,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .btn:focus {
  border-radius: var(--r-pill);
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) input.form-input,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) textarea.form-input,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .form-select,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .choices[data-type*=select-one] .choices__inner {
  border-color: var(--ink);
}

:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .form-popup input.form-input:focus,
:where(body.theme-structure, body.theme-english, body.theme-arts, body.theme-football) .form-popup textarea.form-input:focus {
  border-bottom-color: var(--accent);
}

body.theme-structure .online-page,
body.theme-structure .sections-hub {
  --online-ink: var(--ink);
  --online-muted: var(--muted);
  --online-brand: var(--blue);
  --online-brand-deep: var(--blue-deep);
  --online-on: var(--blue);
  --online-on-dark: var(--blue-deep);
  --online-on-soft: var(--blue-soft);
  --online-mist: var(--blue-soft);
  --online-line: var(--border);
  --online-shadow: var(--shadow);
  --sections-ink: var(--ink);
  --sections-blue: var(--blue);
  --sections-orange: var(--blue-deep);
  --sections-purple: var(--yellow);
  --sections-green: var(--green);
  --sections-cream: #FBF8F3;
  --sections-mist: var(--blue-soft);
  --sections-line: var(--border);
  --sections-shadow: var(--shadow);
}

body.theme-english .cambridge-hub,
body.theme-english .cambridge-level-page {
  --cl-ink: var(--ink);
  --cl-brand: var(--red);
  --cl-brand-deep: var(--red-deep);
  --cl-accent: var(--red);
  --cl-accent-dark: var(--red-deep);
  --cl-blue: var(--red);
  --cl-blue-dark: var(--red-deep);
  --cl-blue-soft: var(--red-soft);
  --cl-gold: var(--red-deep);
  --cl-gold-soft: var(--red-soft);
  --cl-cream: #FBF8F3;
  --cl-line: var(--border);
  --cl-muted: var(--muted);
  --cl-shadow: var(--shadow);
  --cl-shadow-sm: 0 4px 14px rgba(22, 50, 75, 0.08);
}

body.theme-football .football-page {
  --football-dark: var(--ink);
  --football-navy: var(--ink);
  --football-blue: var(--blue);
  --football-green: var(--green);
  --football-lime: var(--green);
  --football-cream: #FBF8F3;
  --football-soft: var(--green-soft);
  --football-card: var(--surface);
  --football-border: var(--border);
  --football-shadow: var(--shadow);
}

body.theme-arts .artmusic-page {
  --am-ink: var(--ink);
  --am-brand: var(--yellow);
  --am-brand-deep: var(--yellow-ink);
  --am-accent: var(--yellow);
  --am-art: var(--yellow);
  --am-art-d: var(--yellow-ink);
  --am-art-soft: var(--yellow-soft);
  --am-cream: #FBF8F3;
  --am-mist: var(--surface-2);
  --am-card: var(--surface);
  --am-line: var(--border);
  --am-muted: var(--muted);
  --am-sun: var(--yellow);
  --am-shadow: var(--shadow);
  --am-shadow-sm: 0 4px 14px rgba(22, 50, 75, 0.08);
  --am-r: var(--r-card);
}

body.theme-arts .guitar-page {
  --g-ink: var(--ink);
  --g-brand: var(--yellow);
  --g-brand-deep: var(--yellow-ink);
  --g-accent: var(--yellow);
  --g-art: var(--yellow);
  --g-art-dark: var(--yellow-ink);
  --g-art-soft: var(--yellow-soft);
  --g-wood: var(--yellow-ink);
  --g-wood-soft: var(--yellow-soft);
  --g-cream: #FBF8F3;
  --g-mist: var(--surface-2);
  --g-card: var(--surface);
  --g-line: var(--border);
  --g-muted: var(--muted);
  --g-shadow: var(--shadow);
  --g-shadow-sm: 0 4px 14px rgba(22, 50, 75, 0.08);
}

body.theme-arts .drums-page {
  --drums-purple: var(--yellow);
  --drums-purple-dark: var(--yellow-ink);
  --drums-purple-soft: var(--yellow-soft);
  --drums-accent: var(--yellow);
  --drums-muted: var(--muted);
}

body.theme-arts .piano-page {
  --piano-ink: var(--ink);
  --piano-muted: var(--muted);
  --piano-brand: var(--yellow);
  --piano-brand-2: var(--yellow);
  --piano-soft: var(--yellow-soft);
  --piano-accent: var(--yellow);
  --piano-cream: #FBF8F3;
  --piano-tint: var(--surface-2);
  --piano-line: var(--border);
  --piano-shadow: var(--shadow);
  --piano-shadow-sm: 0 4px 14px rgba(22, 50, 75, 0.08);
}

body.theme-arts .acting-page {
  --acting-ink: var(--ink);
  --acting-muted: var(--muted);
  --acting-line: var(--border);
  --acting-card: var(--surface);
  --acting-cream: #FBF8F3;
  --acting-tint: var(--surface-2);
  --acting-art: var(--yellow);
  --acting-art-dark: var(--yellow-ink);
  --acting-art-soft: var(--yellow-soft);
  --acting-blue: var(--yellow);
  --acting-blue-dark: var(--yellow-ink);
  --acting-orange: var(--yellow);
  --acting-radius: var(--r-card);
}

body.theme-arts .artmusic-btn-primary,
body.theme-arts .guitar-btn-art,
body.theme-arts .piano-btn-primary,
body.theme-arts .piano-btn-accent,
body.theme-arts .acting-btn-primary {
  color: var(--ink);
}

.cambridge-hub .seo-text-block,
.cambridge-level-page .seo-text-block,
.sections-hub-seo .seo-text-block,
.artmusic-seo-section .seo-text-block,
.piano-seo-section .seo-text-block {
  background: transparent;
  box-shadow: none;
}

body.single-news .news-detail-simple {
  margin-top: 24px;
}

body.single-news .news-detail-header,
body.single-news .news-detail-body.news-item-body {
  width: 100%;
  max-width: 1180px;
}

body.single-news .news-detail-body.news-item-body {
  margin-top: 36px;
}

body.single-news .news-detail-body .news-item-content {
  width: 100%;
}

body.single-news .news-detail-body .news-item-content > * {
  max-width: 100%;
}

body.single-news .news-detail-body .post-gallery-container,
body.single-news .news-detail-body .swiper,
body.single-news .news-detail-body iframe,
body.single-news .news-detail-body video {
  max-width: 100%;
}

@media screen and (min-width: 1280px) {
  body.single-news .news-detail-header,
  body.single-news .news-detail-body.news-item-body {
    max-width: min(1180px, calc(100vw - 2 * var(--x-pad)));
  }
}
