/* shared/css/base.css */
/* eschoolweb base styles. Structure, accessibility and the look of every shared block.
   A theme sets the design tokens below and adds its own layout rules in theme.css. */

:root {
  --es-bg: #ffffff;
  --es-fg: #1b1f24;
  --es-muted: #5b6470;
  --es-surface: #f5f6f8;
  --es-border: #dfe3e8;
  --es-primary: #1f3a6e;
  --es-primary-fg: #ffffff;
  --es-accent: #c9962b;
  --es-link: var(--es-primary);
  --es-radius: 8px;
  --es-max: 1120px;
  --es-gutter: 20px;
  --es-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --es-font-head: var(--es-font);
  --es-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.07);
  --es-ratio: 16 / 7; /* slider shape */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--es-font); font-size: 1rem; line-height: 1.65; color: var(--es-fg); background: var(--es-bg); }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--es-font-head); line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: var(--es-link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--es-accent); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- helpers ---------- */
.es-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.es-skip { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--es-primary); color: var(--es-primary-fg); border-radius: var(--es-radius); text-decoration: none; }
.es-skip:focus { top: 8px; }
.es-wrap { width: 100%; max-width: var(--es-max); margin-inline: auto; padding-inline: var(--es-gutter); }
.es-narrow { max-width: 780px; }
.es-section { padding-block: clamp(28px, 5vw, 56px); }
.es-i { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.es-lead { font-size: 1.15rem; color: var(--es-muted); max-width: 60ch; }
.es-h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.es-h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-top: 1.6em; }
.es-prose p { white-space: pre-line; max-width: 70ch; }
.es-prose--lead p:first-child { font-size: 1.15rem; }
.es-back { margin-top: 2em; }
.es-back a { text-decoration: none; }

.es-logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.es-monogram { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--es-primary); color: var(--es-primary-fg); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; flex: none; }

.es-btn { display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; padding: 0.55em 1.2em; border: 2px solid var(--es-primary); border-radius: var(--es-radius); background: var(--es-primary); color: var(--es-primary-fg); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.es-btn:hover { filter: brightness(1.1); }
.es-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.es-btn--ghost { background: transparent; color: var(--es-primary); }
.es-badge { display: inline-block; padding: 0.1em 0.65em; border-radius: 999px; background: var(--es-accent); color: #1b1f24; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.es-status, .es-empty { color: var(--es-muted); }
.es-error { color: #b00020; font-weight: 600; min-height: 1.5em; }

/* ---------- navigation ---------- */
.es-menu-btn { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid var(--es-border); border-radius: var(--es-radius); background: transparent; color: inherit; cursor: pointer; }
.es-nav__list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.es-nav a { text-decoration: none; color: inherit; padding: 0.4em 0; display: inline-block; border-bottom: 2px solid transparent; }
.es-nav a:hover, .es-nav a[aria-current="page"] { border-bottom-color: currentColor; }
@media (max-width: 860px) {
  .js .es-menu-btn { display: inline-flex; }
  .js .es-nav { display: none; }
  .js .es-nav.is-open { display: block; }
  .es-nav__list { flex-direction: column; gap: 0; }
  .es-nav a { display: block; padding: 0.7em 0; }
}

/* ---------- slider ---------- */
.es-slider { position: relative; overflow: hidden; background: #111; color: #fff; }
.es-slides { position: relative; aspect-ratio: var(--es-ratio); min-height: 240px; }
.es-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s; }
.es-slide.is-active { opacity: 1; visibility: visible; }
.es-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-slide__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(16px, 4vw, 48px); padding-bottom: 64px; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)); }
.es-slide__title { font-family: var(--es-font-head); font-size: clamp(1.4rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.15; margin: 0 0 0.3em; max-width: 24ch; }
.es-slide__text { font-size: clamp(1rem, 2vw, 1.25rem); margin: 0 0 1em; max-width: 50ch; }
.es-slider__ctl { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.es-slider__btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer; }
.es-slider__btn:hover { background: rgba(0, 0, 0, 0.8); }
.es-slider__btn--toggle.is-paused svg { transform: none; }
.es-dots { display: flex; gap: 8px; }
.es-dot { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.es-dot[aria-current="true"] { background: #fff; }
@media (max-width: 600px) { .es-slides { aspect-ratio: 4 / 3; } .es-slide__text { display: none; } }

/* ---------- gallery ---------- */
.es-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.es-gallery li { margin: 0; }
.es-gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--es-radius); background: var(--es-surface); }
.es-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.es-gallery a:hover img { transform: scale(1.05); }
.es-gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; color: #fff; font-size: 0.9rem; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); }
.es-lightbox { border: 0; padding: 0; background: transparent; color: #fff; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.es-lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.es-lightbox__fig { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 16px; }
.es-lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.es-lightbox__cap { margin-top: 12px; text-align: center; }
.es-lightbox__btn { position: fixed; min-height: 44px; padding: 0 16px; border: 1px solid #fff; border-radius: var(--es-radius); background: rgba(0, 0, 0, 0.6); color: #fff; font: inherit; cursor: pointer; }
.es-lightbox__close { top: 12px; right: 12px; }
.es-lightbox__prev { left: 12px; top: 50%; }
.es-lightbox__next { right: 12px; top: 50%; }

/* ---------- live lists ---------- */
.es-list { list-style: none; margin: 0; padding: 0; }
.es-notices { display: grid; gap: 12px; }
.es-notice__link { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--es-border); border-radius: var(--es-radius); background: var(--es-bg); color: inherit; text-decoration: none; }
.es-notice__link:hover { border-color: var(--es-primary); box-shadow: var(--es-shadow); }
.es-notice__date { font-size: 0.85rem; color: var(--es-muted); }
.es-notice__title { font-weight: 700; font-size: 1.1rem; color: var(--es-primary); }
.es-notice__excerpt { color: var(--es-muted); }
.es-notice__link .es-badge { justify-self: start; }
.es-notice__excerpt:empty { display: none; }
.es-more { margin-top: 18px; }
.es-article__meta { color: var(--es-muted); }
.es-groups { display: grid; gap: 36px; }
.es-group__title { font-size: 1.4rem; padding-bottom: 8px; border-bottom: 2px solid var(--es-border); }
.es-staff { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.es-person { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--es-border); border-radius: var(--es-radius); background: var(--es-bg); }
.es-person__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--es-primary); color: var(--es-primary-fg); font-weight: 700; flex: none; }
.es-person__text { display: grid; gap: 1px; min-width: 0; }
.es-person__role, .es-person__qual { font-size: 0.9rem; color: var(--es-muted); }
.es-person__role:empty, .es-person__qual:empty { display: none; }
.es-results { display: grid; gap: 12px; }
.es-result__link { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--es-border); border-radius: var(--es-radius); color: inherit; text-decoration: none; }
.es-result__link:hover { border-color: var(--es-primary); box-shadow: var(--es-shadow); }
.es-result__title { font-weight: 700; font-size: 1.1rem; color: var(--es-primary); }
.es-result__meta { color: var(--es-muted); font-size: 0.9rem; }
.es-result__go { font-weight: 600; }
.es-result__go::after { content: " →"; }

/* ---------- forms and marks card ---------- */
.es-result-title { font-size: 1.2rem; font-weight: 700; }
.es-form { display: grid; gap: 14px; max-width: 460px; }
.es-field { display: grid; gap: 6px; }
.es-field label { font-weight: 600; }
.es-field small { color: var(--es-muted); }
.es-field input, .es-field select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #8a93a0; border-radius: var(--es-radius); background: #fff; color: #1b1f24; font: inherit; }
.es-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 16px; }
.es-card-wrap { margin-top: 20px; }
.es-card { background: #fff; color: #111; border: 2px solid #222; padding: clamp(14px, 3vw, 28px); box-shadow: var(--es-shadow); font-family: Georgia, "Times New Roman", serif; }
.es-card__head { text-align: center; border-bottom: 2px solid #222; margin-bottom: 14px; padding-bottom: 10px; }
.es-card__school { font-size: clamp(1.2rem, 3.5vw, 1.7rem); margin: 0; }
.es-card__exam { margin: 4px 0 0; color: #444; }
.es-card__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 20px; margin: 0 0 16px; }
.es-card__meta div { display: flex; gap: 6px; }
.es-card__meta dt { font-weight: 700; }
.es-card__meta dt::after { content: ":"; }
.es-card__meta dd { margin: 0; }
.es-card__tablewrap { overflow-x: auto; }
.es-card__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.es-card__table th, .es-card__table td { border: 1px solid #555; padding: 6px 10px; text-align: left; }
.es-card__table thead th { background: #eee; }
.es-card__table .es-num { text-align: right; }
.es-card__overall th, .es-card__overall td { background: #f3f3f3; font-weight: 700; }
.es-card__result { margin: 14px 0 6px; font-size: 1.1rem; }
.es-card__note { font-size: 0.8rem; color: #444; margin: 0; }

/* ---------- contact, social, stats, principal ---------- */
.es-contact { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.es-contact__item { display: flex; gap: 12px; align-items: flex-start; }
.es-contact__item .es-i { margin-top: 0.25em; color: var(--es-primary); }
.es-contact__label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--es-muted); }
.es-contact-page { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .es-contact-page { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.es-map { width: 100%; height: 360px; border: 0; border-radius: var(--es-radius); }
.es-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.es-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; color: inherit; }
.es-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.es-stats li { text-align: center; }
.es-stats__value { display: block; font-family: var(--es-font-head); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--es-primary); line-height: 1.1; }
.es-stats__label { color: var(--es-muted); }
.es-principal { display: grid; gap: 20px; align-items: start; }
@media (min-width: 700px) { .es-principal:has(.es-principal__photo) { grid-template-columns: 200px minmax(0, 1fr); } }
.es-principal__photo { width: 200px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--es-radius); background: var(--es-surface); }
.es-principal__sign span { color: var(--es-muted); }

.es-download__buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }

/* themes/campus/theme.css */
/* campus: black, white and one orange. Oversized type, full-screen zooming hero, notice ticker, full-screen menu. */
:root {
  --es-bg: #ffffff; --es-fg: #111111; --es-muted: #4a4a4a; --es-surface: #f2f2f0; --es-border: #111111;
  --es-primary: #111111; --es-primary-fg: #ffffff; --es-accent: #ff5a1f; --es-link: #111111;
  --es-radius: 0px; --es-max: 1240px; --es-gutter: 24px;
  --es-font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; --es-font-head: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body { letter-spacing: -0.005em; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; }
a { text-decoration-thickness: 2px; }
.es-btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; border-width: 2px; }
.es-btn:hover { background: var(--es-accent); border-color: var(--es-accent); color: #111; filter: none; }
.es-btn--ghost:hover { background: var(--es-fg); border-color: var(--es-fg); color: #fff; }

.cp-header { position: absolute; z-index: 60; left: 0; right: 0; top: 0; color: #fff; }
.page-home .cp-header { color: #fff; }
body:not(.page-home) .cp-header { position: static; background: #111; }
.cp-header__in { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--es-gutter); }
.cp-brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; }
.cp-logo { width: 46px; height: 46px; background: #fff; color: #111; border-radius: 0; }
img.cp-logo { background: #fff; padding: 4px; }
.cp-brand__name { max-width: 24ch; line-height: 1.15; }
.cp-menu { display: inline-flex !important; border-radius: 0; color: inherit; border: 2px solid currentColor; width: 52px; height: 52px; background: rgba(0, 0, 0, 0.25); }
.js .cp-nav { display: none; }
.js .cp-nav.is-open { display: flex; position: fixed; inset: 0; z-index: 100; background: #111; color: #fff; align-items: center; justify-content: center; padding: 80px 24px 24px; }
.js .cp-menu[aria-expanded="true"] { position: fixed; right: 24px; top: 14px; z-index: 110; background: #111; }
.cp-nav .es-nav__list { flex-direction: column; gap: 4px; text-align: center; }
.cp-nav a { font-family: var(--es-font-head); font-size: clamp(2rem, 7vw, 4.2rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.03em; border: 0; padding: 4px 0; }
.cp-nav a:hover, .cp-nav a[aria-current="page"] { color: var(--es-accent); }
.no-js .cp-nav, html:not(.js) .cp-nav { background: #111; color: #fff; padding: 8px var(--es-gutter) 16px; }
html:not(.js) .cp-nav .es-nav__list { flex-direction: row; flex-wrap: wrap; text-align: left; }
html:not(.js) .cp-nav a { font-size: 1rem; }
html:not(.js) .cp-menu { display: none !important; }

.cp-hero { position: relative; background: #111; color: #fff; }
.cp-slider { --es-ratio: 16 / 9; }
.cp-slider .es-slides { aspect-ratio: auto; height: min(92vh, 860px); min-height: 520px; }
.cp-slider .es-slide.is-active img { animation: cp-zoom 14s ease-out forwards; }
@keyframes cp-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.cp-slider .es-slide__cap { display: none; }
.cp-slider .es-slider__ctl { justify-content: flex-end; padding-right: var(--es-gutter); bottom: 24px; }
.cp-slider .es-slider__btn { border-radius: 0; background: #111; border: 2px solid #fff; }
.cp-slider .es-dot { border-radius: 0; }
.cp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.35)); pointer-events: none; }
.cp-hero__plain { height: 70vh; background: #111; }
.cp-hero__title { position: absolute; z-index: 2; left: 0; right: 0; bottom: 70px; pointer-events: none; }
.cp-hero__title h1 { font-size: clamp(2.4rem, 8.5vw, 7rem); line-height: 0.95; text-transform: uppercase; margin: 0 0 14px; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.cp-hero__title p { font-size: clamp(1rem, 2.2vw, 1.5rem); max-width: 40ch; margin: 0; border-left: 6px solid var(--es-accent); padding-left: 14px; }

.cp-ticker { background: var(--es-accent); color: #111; border-block: 2px solid #111; }
.cp-ticker__in { display: flex; align-items: center; gap: 18px; max-width: var(--es-max); margin-inline: auto; padding: 12px var(--es-gutter); }
.cp-ticker__label { flex: none; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.cp-ticker .es-live { flex: 1; min-width: 0; }
.cp-ticker .es-status, .cp-ticker .es-empty { margin: 0; color: #111; }
.cp-ticker__list { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.cp-ticker__list.is-rotating { display: block; }
.cp-ticker__list.is-rotating .cp-tick__item { display: none; }
.cp-ticker__list.is-rotating .cp-tick__item.is-current { display: block; }
.cp-tick__item .es-notice__link { display: inline; padding: 0; border: 0; background: none; color: #111; font-weight: 700; box-shadow: none; }
.cp-tick__item .es-notice__title { color: #111; font-size: 1rem; }
.cp-tick__item .es-notice__date { font-weight: 400; margin-left: 8px; color: #111; }

.cp-kicker { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 800; font-size: 0.8rem; color: #c2410c; margin: 0 0 8px; }
.cp-kicker::before { content: ""; display: inline-block; width: 36px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.cp-big { font-size: clamp(1.7rem, 4.6vw, 3.4rem); line-height: 1.02; text-transform: uppercase; margin: 0 0 0.4em; }
.cp-band { background: var(--es-surface); }
.cp-band__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cp-band__grid { grid-template-columns: 1.1fr 1fr; } }
.cp-band__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border: 3px solid #111; box-shadow: 14px 14px 0 var(--es-accent); }
.cp-numbers { background: #111; color: #fff; padding-block: 44px; }
.cp-numbers .es-stats__value { color: var(--es-accent); font-family: var(--es-font-head); font-size: clamp(2.6rem, 7vw, 5rem); }
.cp-numbers .es-stats__label { color: #e6e6e6; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.cp-news { counter-reset: n; display: grid; gap: 0; border-top: 3px solid #111; }
.cp-news__item { counter-increment: n; border-bottom: 1px solid #111; }
.cp-news__item .es-notice__link { grid-template-columns: 70px 1fr; column-gap: 20px; padding: 22px 6px; border: 0; background: none; box-shadow: none; }
.cp-news__item .es-notice__link::before { content: counter(n, decimal-leading-zero); grid-row: span 3; font-family: var(--es-font-head); font-size: 2.2rem; color: var(--es-accent); line-height: 1; }
.cp-news__item .es-notice__link:hover { background: var(--es-surface); }
.cp-news__item .es-notice__title { font-size: clamp(1.2rem, 2.6vw, 1.8rem); font-family: var(--es-font-head); color: #111; text-transform: uppercase; letter-spacing: -0.02em; }
.cp-news__item .es-notice__date { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.cp-news__item .es-badge { justify-self: start; border-radius: 0; }
.cp-mosaic-sec { background: var(--es-surface); }
.cp-mosaic { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cp-mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.cp-mosaic li:first-child img, .cp-mosaic img { aspect-ratio: 1; height: 100%; }
.cp-mosaic a { border-radius: 0; height: 100%; }
@media (max-width: 700px) { .cp-mosaic { grid-template-columns: repeat(2, 1fr); } }
.cp-quote { background: #fff; }
.cp-principal { border-left: 8px solid var(--es-accent); padding-left: 24px; }
.cp-principal .es-principal__photo { border-radius: 0; filter: grayscale(1); }
.cp-principal .es-prose p { font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.45; }
.cp-cta { background: var(--es-accent); color: #111; padding-block: 64px; }
.cp-cta .es-btn { background: #111; border-color: #111; color: #fff; }
.cp-cta .es-btn:hover { background: #fff; border-color: #fff; color: #111; }
.cp-cta .es-btn--ghost { background: transparent; color: #111; }

.cp-pagehead { background: #111; color: #fff; padding-block: 40px 56px; border-bottom: 10px solid var(--es-accent); }
.cp-pagehead .es-h1 { font-size: clamp(2.4rem, 8vw, 6rem); text-transform: uppercase; margin: 0; line-height: 0.95; }
.cp-pagehead .es-lead { color: #e6e6e6; margin: 14px 0 0; }
.es-notice__link, .es-person, .es-result__link { border: 2px solid #111; border-radius: 0; }
.es-notice__link:hover, .es-result__link:hover { box-shadow: 8px 8px 0 var(--es-accent); }
.es-person__avatar { border-radius: 0; background: #111; }
.es-group__title { text-transform: uppercase; border-bottom: 4px solid #111; }
.es-card { border-width: 3px; }
.cp-footer { background: #111; color: #fff; padding-block: 56px 28px; margin-top: 48px; }
.cp-footer a { color: #fff; }
.cp-footer__big { font-family: var(--es-font-head); font-size: clamp(2rem, 8vw, 6.5rem); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.04em; margin: 0 0 36px; max-width: 16ch; }
.cp-footer__cols { display: grid; gap: 28px; }
@media (min-width: 860px) { .cp-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.cp-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.cp-footer .es-nav__list { flex-direction: column; }
.cp-footer .es-contact__item .es-i { color: var(--es-accent); }
.cp-social a { border-radius: 0; }
.cp-footer__c { margin-top: 20px; color: #bdbdbd; font-size: 0.85rem; }

/* shared/css/print.css */
/* Printing the marks card: only the card is printed. Themes mark their page heading wrapper with class "es-pagehead". */
@media print {
  @page { margin: 14mm; }
  header, footer, nav, .es-skip, .es-menu-btn, .es-form, .es-actions, .es-back, .es-slider, .es-status,
  .es-pagehead, .es-h1, .es-lead, .es-result-title, .es-no-print { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .es-section { padding: 0 !important; }
  .es-wrap { max-width: none !important; padding: 0 !important; }
  .es-card { border: 1px solid #000; box-shadow: none; break-inside: avoid; }
  .es-card__tablewrap { overflow: visible; }
  a { color: inherit; text-decoration: none; }
}
