/* ==========================================================================
   MSTIEA — 澳門科技創新教育學會
   Hand-written design system (replaces the WordPress / Divi theme).
   Brand tokens are taken from the original site: #4796bb top bar,
   #0894d2 buttons, #1c1c1c footer bar, Microsoft JhengHei / PingFang TC.
   ========================================================================== */

/* 1. tokens ---------------------------------------------------------------- */
:root {
  --brand: #4796bb;
  --brand-600: #3d89ad;
  --brand-700: #31799a;
  --brand-900: #12384b;
  --accent: #0894d2;
  --accent-700: #0a7ca8;

  --ink: #1d2b34;
  --body: #5b6770;
  --muted: #8a959c;
  --line: #e6ebee;
  --line-strong: #d6dee3;
  --soft: #f6f9fa;
  --soft-2: #eef4f7;
  --white: #fff;

  --ok: #1d9a6c;
  --warn: #c8811a;

  --radius-sm: 3px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(18, 56, 75, .06);
  --shadow: 0 14px 34px -20px rgba(18, 56, 75, .45);
  --shadow-lg: 0 24px 60px -34px rgba(18, 56, 75, .55);

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);

  --fs-body: 15.5px;
  --fs-hero: clamp(30px, 4.2vw, 44px);
  --fs-h1: clamp(26px, 3.2vw, 34px);
  --fs-h2: clamp(21px, 2.4vw, 27px);
  --fs-h3: 19px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei",
    "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. reset / base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 400 var(--fs-body)/1.85 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg { max-width: 100%; }
img { height: auto; border: 0; }
svg { display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-700); }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }

strong, b { color: var(--ink); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

:focus-visible {
  outline: 3px solid rgba(8, 148, 210, .45);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: rgba(71, 150, 187, .22); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1280px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--brand-900);
  color: #fff;
  border-radius: 0 0 6px 6px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 3. buttons / badges ------------------------------------------------------ */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 15px/1.5 var(--font);
  letter-spacing: .02em;
  cursor: pointer;
  text-align: center;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 10px 22px -14px rgba(8, 148, 210, .8);
}
.btn:hover {
  background: var(--accent-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -16px rgba(8, 148, 210, .85);
}
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { background: var(--soft); color: var(--brand-900); box-shadow: inset 0 0 0 1.5px var(--brand); }

.btn--dark { --btn-bg: #444; box-shadow: none; }
.btn--dark:hover { background: #2c2c2c; }

.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 14px 32px; font-size: 16px; }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.7;
  white-space: nowrap;
}
.badge--results { background: #e7f5ee; color: #167a55; }
.badge--rules { background: #e8f2f8; color: #23668a; }
.badge--workshop { background: #e6f6f8; color: #10707f; }
.badge--event { background: #eaf1f8; color: #2b5d8c; }
.badge--press { background: #f0f2f6; color: #4a5568; }
.badge--media { background: #f1eef8; color: #59478f; }
.badge--news { background: #eef3f6; color: #3f5d6d; }

/* 4. top bar --------------------------------------------------------------- */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar__contact,
.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .93);
  padding: 4px 0;
}
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { opacity: .9; }

/* 5. header / nav ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(18, 56, 75, .6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  width: auto;
  height: 54px;
  transition: height .25s var(--ease);
}
.header.is-stuck .brand img { height: 46px; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #56646d;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
}
.nav__link:hover { color: var(--brand-700); background: var(--soft); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__chevron { opacity: .55; transition: transform .2s var(--ease); }
.nav__item--has-children:hover .nav__chevron { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item--has-children:hover .nav__sub,
.nav__item--has-children:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: #56646d;
  font-size: 14.5px;
}
.nav__sub a:hover { background: var(--soft); color: var(--brand-700); }

.nav__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 6px;
  border-radius: 50%;
  color: #56646d;
}
.nav__search:hover { background: var(--soft); color: var(--brand-700); }

.navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.navtoggle__close { display: none; }
body.nav-open .navtoggle__open { display: none; }
body.nav-open .navtoggle__close { display: block; }

/* 6. hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 46vw, 470px);
  padding: 72px 0 78px;
  text-align: center;
  background: var(--soft);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/img/brand/hero-home-1920.webp");
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .62) 55%, rgba(255, 255, 255, .9));
}
.hero__inner { width: 100%; max-width: 760px; }
.hero h1 {
  margin-bottom: .35em;
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: .06em;
  color: #16242d;
}
.hero__lead {
  max-width: 640px;
  margin: 0 auto 1.6em;
  color: #4f5d66;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.9;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 7. sections -------------------------------------------------------------- */
.section { padding: clamp(48px, 6vw, 76px) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(36px, 4vw, 52px); }
.section--line { border-top: 1px solid var(--line); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.section__head h2 { margin: 0; }
.section__head p { margin: .35em 0 0; color: var(--muted); font-size: 14.5px; }
.section__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}
.section__more:hover { gap: 10px; }
.section__more svg { transition: transform .2s var(--ease); }
.section__more:hover svg { transform: translateX(2px); }

/* 8. news feature (home) --------------------------------------------------- */
.newsfeature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.feature__media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft-2); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.02); }
.feature__body { padding: 22px 24px 24px; }
.feature__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.feature__title { margin: 0 0 .5em; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.45; }
.feature__title a { color: var(--ink); }
.feature__title a:hover { color: var(--accent); }
.feature__excerpt { margin: 0 0 1.1em; color: var(--body); font-size: 14.5px; }
.feature__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; }

.newslist {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.newslist__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-700);
}
.newslist__item { border-bottom: 1px solid var(--line); }
.newslist__item:last-child { border-bottom: 0; }
.newslist__link { display: block; padding: 16px 20px; transition: background-color .2s var(--ease); }
.newslist__link:hover { background: var(--soft); }
.newslist__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }
.newslist__title { display: block; color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.newslist__link:hover .newslist__title { color: var(--accent); }
.newslist__all { margin-top: auto; padding: 14px 20px; border-top: 1px solid var(--line); }
.newslist__all a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }

/* 9. generic card grid ----------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 12.5px; color: var(--muted); }
.card__title { margin: 0 0 .45em; font-size: 17px; line-height: 1.55; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--accent); }
.card__excerpt { margin: 0; color: var(--body); font-size: 14px; line-height: 1.8; }
.card__foot { margin-top: auto; padding-top: 14px; }

/* 10. activities ----------------------------------------------------------- */
.activities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.activity {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.activity:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.activity__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-2); }
.activity__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.activity:hover .activity__media img { transform: scale(1.04); }
.activity__body { padding: 16px 20px 20px; text-align: center; }
.activity__body h3 { margin: 0 0 .4em; font-size: 17px; }
.activity__body p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* 11. member call to action ------------------------------------------------ */
.member {
  position: relative;
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.member h2 { margin-bottom: .3em; }
.member p { max-width: 620px; margin: 0 auto 1.6em; color: var(--body); }
.member__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.member__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* 12. contact strip -------------------------------------------------------- */
.contactstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contactstrip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.contactstrip__item:hover { border-color: rgba(71, 150, 187, .5); transform: translateY(-2px); }
.contactstrip__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft-2);
  color: var(--brand);
}
.contactstrip__label { font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.contactstrip__value { font-size: 15.5px; font-weight: 600; color: var(--ink); word-break: break-word; }

/* 13. page header ---------------------------------------------------------- */
.pagehead {
  padding: clamp(36px, 5vw, 64px) 0;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.pagehead--brand {
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700) 65%, var(--brand));
  color: #fff;
  border-bottom: 0;
}
.pagehead.pagehead--brand h1, .pagehead.pagehead--brand p { color: #fff; }
.pagehead.pagehead--brand p { color: rgba(255, 255, 255, .88); }
.pagehead.pagehead--brand .crumbs a, .pagehead.pagehead--brand .crumbs span, .pagehead.pagehead--brand .crumbs li { color: rgba(255, 255, 255, .8); }
.pagehead.pagehead--brand .crumbs a:hover { color: #fff; }
.pagehead h1 { margin-bottom: .35em; }
.pagehead p { max-width: 720px; margin: 0; color: var(--body); font-size: 15.5px; }

.crumbs { margin-bottom: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.crumbs li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* 14. entrance animation --------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* 15. news listing --------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filters a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #5b6770;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.filters a:hover { border-color: var(--brand); color: var(--brand-700); }
.filters a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 44px; }
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #5b6770;
  font-size: 14px;
}
.pager a:hover { border-color: var(--brand); color: var(--brand-700); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .is-gap { border: 0; background: none; }

.empty {
  padding: 64px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

/* 16. article -------------------------------------------------------------- */
.article { padding: clamp(32px, 5vw, 60px) 0 clamp(48px, 6vw, 80px); }
.article__head { max-width: 860px; margin: 0 auto clamp(24px, 3vw, 36px); }
.article__title { margin: .25em 0 .6em; font-size: clamp(25px, 3.4vw, 37px); line-height: 1.4; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 13.5px;
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article__body { min-width: 0; }

.prose { color: var(--body); font-size: 16px; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin: 1.8em 0 .7em; font-size: 23px; }
.prose h3 { margin: 1.6em 0 .6em; font-size: 19.5px; }
.prose h4, .prose h5 { margin: 1.4em 0 .5em; color: var(--ink); font-size: 17px; }
.prose p { margin: 0 0 1.15em; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(8, 148, 210, .35);
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 4px solid var(--brand);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #4c5a63;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14.5px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--radius); }
.prose figure { margin: 1.6em 0; }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--radius); }
.prose hr { margin: 2em 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 1.6em 0;
}
.gallery--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery img, .figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery img:hover { transform: scale(1.01); box-shadow: var(--shadow); }
.figure { margin: 1.6em 0; }
.figure img { aspect-ratio: auto; max-height: 620px; object-fit: contain; background: var(--soft); }

/* document download list */
.doc-list { list-style: none; margin: 1.4em 0; padding: 0; display: grid; gap: 10px; }
.doc-list li { margin: 0; }
.doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.doc:hover { border-color: rgba(71, 150, 187, .55); background: var(--soft); transform: translateX(2px); }
.doc__badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #fdeceb;
  color: #c0392b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.doc__badge--doc, .doc__badge--docx { background: #e9f0fb; color: #2b579a; }
.doc__badge--ppt, .doc__badge--pptx { background: #fdeee6; color: #c05621; }
.doc__badge--mp4, .doc__badge--video { background: #efe9fb; color: #5b3fa8; }
.doc__badge--zip { background: #f1f2f4; color: #555; }
.doc__name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500; line-height: 1.6; word-break: break-word; }
.doc__meta { flex: none; font-size: 12.5px; color: var(--muted); }

.doc-link {
  display: inline;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(8, 148, 210, .07);
  color: var(--accent);
  text-decoration: none;
  font-size: .95em;
  word-break: break-all;
}
.doc-link:hover { background: rgba(8, 148, 210, .14); text-decoration: underline; }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.6em 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0e2430 center / cover no-repeat;
  box-shadow: var(--shadow);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: rgba(8, 24, 33, .35);
  color: #fff;
  cursor: pointer;
  font: 600 15px var(--font);
}
.video-embed__btn:hover { background: rgba(8, 24, 33, .5); color: #fff; }
.video-embed__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
}
.video-embed__icon::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 18px solid var(--brand-700);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

/* article sidebar */
.sidebar { position: sticky; top: 104px; display: grid; gap: 18px; }
.sidebar__box { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sidebar__title { margin: 0 0 14px; font-size: 13px; letter-spacing: .1em; color: var(--brand-700); text-transform: uppercase; }
.sidebar__list { margin: 0; padding: 0; list-style: none; }
.sidebar__list li { margin: 0; border-bottom: 1px solid var(--line); }
.sidebar__list li:last-child { border-bottom: 0; }
.sidebar__list a { display: block; padding: 10px 0; color: var(--ink); font-size: 14px; line-height: 1.6; }
.sidebar__list a:hover { color: var(--accent); }
.sidebar__cta { background: linear-gradient(150deg, var(--brand-900), var(--brand-700)); color: #fff; border: 0; }
.sidebar__cta h2 { margin: 0 0 .4em; color: #fff; font-size: 17px; }
.sidebar__cta p { margin: 0 0 1em; color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.sidebar__cta .btn { background: #fff; color: var(--brand-900); box-shadow: none; }
.sidebar__cta .btn:hover { background: #eaf4f8; color: var(--brand-900); }

.pager-articles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.pager-articles a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
}
.pager-articles a:hover { border-color: var(--brand); color: var(--accent); }
.pager-articles span { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.pager-articles .is-next { text-align: right; }

/* 17. forms ---------------------------------------------------------------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 6px; }
.form__row--split { grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form label .req { color: #c0392b; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.6 var(--font);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(71, 150, 187, .16);
}
.form textarea { min-height: 140px; resize: vertical; }
.form__hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

.formcard {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.formcard h2 { margin-bottom: .35em; font-size: 22px; }
.formcard > p { color: var(--muted); font-size: 14px; }

.alert {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #e7f5ee;
  color: #167a55;
  font-size: 14px;
}
.alert--warn { background: #fdf3e3; color: #8a5a12; }

/* 18. contact page --------------------------------------------------------- */
.contactcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contactcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.contactcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contactcard__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 4px; border-radius: 50%; background: var(--soft-2); color: var(--brand); }
.contactcard h2 { margin: 0; font-size: 17px; }
.contactcard p { margin: 0; color: var(--body); font-size: 14.5px; word-break: break-word; }
.contactcard .btn { margin-top: 8px; align-self: center; }

/* 19. footer --------------------------------------------------------------- */
.footer { margin-top: auto; }
.footer__band { background: var(--brand-900); color: rgba(255, 255, 255, .78); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 48px;
}
.footer__logo {
  width: auto;
  height: 62px;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .7);
}
.footer__col p { margin: 0; font-size: 13.5px; line-height: 1.9; max-width: 40ch; }
.footer__title { margin: 0 0 16px; color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.footer__links, .footer__contact { margin: 0; padding: 0; list-style: none; }
.footer__links li, .footer__contact li { margin: 0 0 10px; }
.footer__links a { color: rgba(255, 255, 255, .82); font-size: 14px; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .82); font-size: 14px; }
.footer__contact a:hover { color: #fff; }
.footer__contact svg { color: var(--brand); flex: none; }
.footer__bottom { background: #1c1c1c; color: #9aa3a8; font-size: 12.5px; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #c7ced2; }
.footer__bottom a:hover { color: #fff; }

/* 20. search --------------------------------------------------------------- */
.searchbox { display: flex; gap: 10px; margin-bottom: 28px; }
.searchbox input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: 400 16px var(--font);
  color: var(--ink);
}
.searchbox input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(71, 150, 187, .16); }
.searchresult { padding: 18px 0; border-bottom: 1px solid var(--line); }
.searchresult:first-of-type { border-top: 1px solid var(--line); }
.searchresult h2 { margin: 0 0 .3em; font-size: 18px; }
.searchresult h2 a { color: var(--ink); }
.searchresult h2 a:hover { color: var(--accent); }
.searchresult p { margin: 0; font-size: 14px; color: var(--body); }
.searchresult mark { background: #fff3b8; color: inherit; padding: 0 2px; border-radius: 2px; }
.searchmeta { margin-bottom: 8px; font-size: 13px; color: var(--muted); }

/* 21. WRO 2017 ------------------------------------------------------------- */
.wro-hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  background: linear-gradient(160deg, #2f9bc9 0%, #37a7d4 45%, #2f8fbd 100%);
  text-align: center;
  overflow: hidden;
}
.wro-hero__logo { width: min(760px, 88%); height: auto; margin: 0 auto 26px; display: block; }
.wro-intro {
  position: relative;
  padding: clamp(36px, 5vw, 64px) 0;
  background: #fff;
}
.wro-intro::after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 26%;
  background: linear-gradient(160deg, #37a7d4, #2f8fbd);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%, 62% 50%);
}
.wro-intro__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding-right: clamp(0px, 9vw, 150px); }
.wro-intro__logo { width: min(360px, 100%); }
.wro-intro h2 { margin-bottom: .25em; font-size: clamp(22px, 2.8vw, 30px); }
.wro-intro h3 { margin: 0 0 .8em; color: var(--muted); font-size: 15px; letter-spacing: .14em; font-weight: 600; }
.wro-intro p { font-size: 14.5px; }

.wro-section { padding: clamp(40px, 5vw, 64px) 0; }
.wro-section--soft { background: var(--soft); }
.wro-section h2 { font-size: clamp(22px, 2.6vw, 28px); }
.wro-section__lead { max-width: 760px; color: var(--body); font-size: 14.5px; }

.wro-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 32px; text-align: center; }
.wro-timeline__item h3 { margin: 0 0 .35em; font-size: 16px; }
.wro-timeline__item p { margin: 0; color: var(--muted); font-size: 13.5px; }
.wro-timeline__dot { width: 10px; height: 10px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); }

.wro-intl { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.wro-flags { width: 100%; height: auto; border-radius: 4px; }
.wro-dots {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  margin: 40px 0; color: var(--muted); font-size: 15px; letter-spacing: .1em;
}
.wro-dots::before, .wro-dots::after { content: ""; flex: 1; border-top: 1px dashed var(--line-strong); max-width: 220px; }

.wro-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.wro-cat { border-radius: 4px; overflow: hidden; }
.wro-cat__head { padding: 16px; color: #fff; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.wro-cat--regular .wro-cat__head { background: #e8467c; }
.wro-cat--creative .wro-cat__head { background: #4bc49a; }
.wro-cat--football .wro-cat__head { background: #a03fe0; }
.wro-cat__tags { display: flex; gap: 8px; padding: 12px 0 0; flex-wrap: wrap; }
.wro-cat__tags span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 13px; color: #5b6770; }

.wro-team { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin: 28px 0; }
.wro-team__box {
  display: grid; place-items: center; min-height: 96px; padding: 16px;
  background: #54b8d4; color: #fff; font-size: clamp(16px, 2vw, 22px); font-weight: 600; border-radius: 3px;
}
.wro-team__plus { color: #b9c4ca; font-size: 24px; }

.wro-gear { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; margin-top: 28px; }
.wro-gear__media { display: flex; gap: 20px; align-items: center; justify-content: center; }
.wro-gear__media img { width: min(46%, 240px); height: auto; }

.wro-support { background: linear-gradient(90deg, #2cd7dd, #36bae2); padding: 26px 0; color: #fff; text-align: center; }
.wro-support h2 { margin: 0; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: .06em; }

.wro-sponsors { display: grid; grid-template-columns: 120px 1fr; gap: 16px 24px; align-items: center; padding: 36px 0; }
.wro-sponsors dt { color: var(--muted); font-size: 13.5px; }
.wro-sponsors dd { margin: 0; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.wro-sponsors img { height: 56px; width: auto; }

.wro-contact { background: var(--soft); padding: clamp(36px, 5vw, 56px) 0; text-align: center; }
.wro-contact h2 { margin-bottom: 1.2em; }
.wro-contact__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.wro-contact__links a {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.wro-contact__links a:hover { border-color: var(--brand); color: var(--accent); }

/* 22. review pages --------------------------------------------------------- */
.review { padding: clamp(32px, 5vw, 60px) 0 clamp(48px, 6vw, 80px); }
.review__figure { margin: 0; }
.review__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: var(--soft);
}
.review__caption { margin-top: 14px; color: var(--muted); font-size: 13.5px; text-align: center; }
.review__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* 23. lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(9, 22, 30, .94);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; width: auto; border-radius: 4px; box-shadow: 0 30px 80px -30px #000; }
.lightbox__close {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* 24. responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .article__layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 28px; }
}

@media (max-width: 980px) {
  .header__inner { min-height: 72px; }
  .brand img { height: 46px; }
  .navtoggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    z-index: 95;
    display: block;
    max-height: calc(100dvh - 72px);
    margin: 0;
    padding: 12px var(--gutter) 32px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(18, 56, 75, .5);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { display: block; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { display: flex; justify-content: space-between; padding: 14px 4px; font-size: 16px; }
  .nav__link.is-active::after { display: none; }
  .nav__sub {
    position: static;
    min-width: 0;
    margin: 0 0 10px;
    padding: 0 0 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__item--has-children.is-expanded .nav__sub { display: block; }
  .nav__item--has-children.is-expanded .nav__chevron { transform: rotate(180deg); }
  .nav__search { display: none; }

  .newsfeature { grid-template-columns: 1fr; }
  .activities, .grid--3, .contactstrip, .contactcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wro-intro__grid, .wro-intl, .wro-gear { grid-template-columns: 1fr; gap: 28px; }
  .wro-intro::after { display: none; }
  .wro-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wro-cats { grid-template-columns: 1fr; }
  .wro-team { grid-template-columns: 1fr; }
  .wro-team__plus { text-align: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --fs-body: 15px; }
  .topbar__inner { min-height: 34px; font-size: 12.5px; }
  .topbar__contact { gap: 14px; }
  .topbar__links { display: none; }
  .topbar a span { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .hero { min-height: 0; padding: 56px 0 60px; }
  .hero h1 { letter-spacing: .04em; }

  .activities, .grid--3, .grid--2, .contactstrip, .contactcards, .wro-contact__links { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form__row--split { grid-template-columns: 1fr; }
  .gallery, .gallery--grid, .gallery--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { grid-template-columns: 1fr; }
  .pager-articles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; padding: 40px 0 32px; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .article__meta { font-size: 13px; }
  .doc { flex-wrap: wrap; }
  .doc__meta { margin-left: 58px; }
  .wro-timeline { grid-template-columns: 1fr 1fr; }
  .wro-sponsors { grid-template-columns: 1fr; }
  .wro-sponsors img { height: 38px; }
}

@media (max-width: 420px) {
  .btn { padding: 11px 20px; }
  .gallery, .gallery--grid, .gallery--duo { grid-template-columns: 1fr; }
}

/* 25. print ---------------------------------------------------------------- */
@media print {
  .topbar, .header, .footer, .sidebar, .pager-articles, .filters, .pager, .skip-link, .lightbox { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .article, .section { padding: 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .prose a[href]::after { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* 26. about page ----------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about-intro__media { margin: 0; }
.about-intro__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-intro__text h2 { margin-bottom: .5em; }
.about-intro__text p { color: var(--body); }

.facts { margin: 26px 0 0; display: grid; gap: 12px; }
.facts > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: 13.5px; }
.facts dd { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 600; }

.about-two {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about-two__media { margin: 0; }
.about-two__media img { width: 100%; height: auto; }

.purpose {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 90px) 0;
  background: linear-gradient(120deg, #1f6fa8, #2384bd 55%, #2f9bc9);
  color: #fff;
  text-align: center;
}
.purpose::before,
.purpose::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.purpose::before { width: 420px; height: 420px; left: -160px; top: -180px; }
.purpose::after { width: 320px; height: 320px; right: -120px; bottom: -160px; }
.purpose__mark {
  display: block;
  margin-bottom: -10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(255, 255, 255, .22);
}
.purpose h2 { color: #fff; margin-bottom: .35em; }
.purpose p { margin: 0 auto; max-width: 660px; color: rgba(255, 255, 255, .92); font-size: 16px; }

.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.member-grid h2 { margin-bottom: .5em; }
.member-grid > div > p { color: var(--body); }

.list-check { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.list-check li { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14.5px; color: var(--body); }
.list-check svg { flex: none; margin-top: 3px; color: var(--ok); }

/* 27. article extras ------------------------------------------------------- */
.article__files { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.article__files h2 { font-size: 19px; }
.article__meta--top { margin-bottom: 12px; }

/* 28. news list extras ----------------------------------------------------- */
.newslist__list { display: contents; list-style: none; margin: 0; padding: 0; }
.filters__count {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(71, 150, 187, .12);
  color: var(--brand-700);
  font-size: 11.5px;
  line-height: 1.8;
}
.filters a.is-active .filters__count { background: rgba(255, 255, 255, .24); color: #fff; }

/* 29. small utilities ------------------------------------------------------ */
.ta-center { text-align: center; }
.u-mt { margin-top: 16px; }
.u-mt-lg { margin-top: 28px; }
.section--404 { padding-block: clamp(64px, 10vw, 120px); }
.wro-section--flush { padding-bottom: 0; }
.wro-section__lead--spaced { margin-top: 28px; }

/* 30. responsive for new blocks -------------------------------------------- */
@media (max-width: 980px) {
  .about-intro, .about-two, .member-grid { grid-template-columns: 1fr; }
  .about-intro__media { order: -1; }
}

/* 31. generated covers (posts without photography) -------------------------- */
.cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 20px 22px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1b5c7e, #3c93b8);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1.3px, transparent 0);
  background-size: 22px 22px;
  opacity: .55;
}
.cover--results { background: linear-gradient(135deg, #14624f, #2f9e7d); }
.cover--workshop { background: linear-gradient(135deg, #14625f, #2aa7a2); }
.cover--event { background: linear-gradient(135deg, #1c4a6e, #3f80ad); }
.cover--press { background: linear-gradient(135deg, #33455a, #5d748c); }
.cover--media { background: linear-gradient(135deg, #40376e, #6a5aa8); }
.cover--news { background: linear-gradient(135deg, #274b5f, #4a839c); }

.cover__year {
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(255, 255, 255, .18);
}
.cover__brand { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .22em; opacity: .8; }
.cover__label { position: relative; font-size: 17px; font-weight: 600; letter-spacing: .04em; }

/* 32. article lead + mobile search link ------------------------------------ */
.article__lead {
  margin: 0 0 26px;
  padding: 16px 20px;
  border-left: 3px solid var(--brand);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #4c5a63;
  font-size: 15.5px;
}
.nav__searchlink { display: none; }
@media (max-width: 980px) {
  .nav__searchlink {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: var(--soft);
    color: var(--brand-700);
    font-size: 15px;
    font-weight: 600;
  }
}
