@charset "UTF-8";
:root {
  --ink: #08111F;
  --ink-soft: #3A4453;
  --paper: #FBFBF8;
  --pure: #FFFFFF;
  --red: #E92214;
  --red-deep: #C71606;
  --azure: #039DE4;
  --azure-mist: #EAF5FC;
  --gold: #F3CA1C;
  --line: #E5E5DD;
  --line-strong: #D2D2C8;
  --display: "Archivo",system-ui,sans-serif;
  --body: "Source Serif 4",Georgia,serif;
  --maxw: 1180px;
  --pad: clamp(20px,5vw,64px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 251, 248, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

nav.main {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

nav.main a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

nav.main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--red);
  transition: width 0.25s ease;
}

nav.main a:hover::after, nav.main a:focus-visible::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lang {
  display: flex;
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  background: transparent;
  border: 0;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--ink-soft);
}

.lang button.active {
  background: var(--ink);
  color: var(--pure);
}

.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--red);
  color: var(--pure);
  padding: 11px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.btn:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--pure);
}

.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: 0.3s;
}

/* HERO */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 116px) clamp(70px, 10vw, 124px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero .lede {
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  color: var(--ink-soft);
  margin-top: 1.6rem;
  max-width: 36ch;
}

.hero .cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat .num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat .num .red {
  color: var(--red);
}

.stat .lab {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.hero-art {
  position: relative;
  height: clamp(340px, 38vw, 460px);
}

.hero-art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.swoosh-red, .swoosh-blue {
  transform-origin: center;
  animation: drift 14s ease-in-out infinite;
}

.swoosh-blue {
  animation-delay: -7s;
}

@keyframes drift {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(-1.2deg);
  }
}
.star {
  transform-origin: center;
  animation: twinkle 4s ease-in-out infinite;
}

.star:nth-child(2) {
  animation-delay: 0.5s;
}

.star:nth-child(3) {
  animation-delay: 1s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.hero-tags {
  position: absolute;
  bottom: -8px;
  left: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--pure);
}

/* TRUST */
.trust {
  border-block: 1px solid var(--line);
  background: var(--pure);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.4rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trust-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.trust-logos {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.trust-logos span {
  opacity: 0.7;
}

/* SECTION SHELL */
section {
  padding-block: clamp(64px, 9vw, 112px);
}

section:not(:first-of-type) {
  padding-block: clamp(56px, 8vw, 100px);
}

.sec-head {
  /* max-width: 65ch; */
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.sec-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 1rem;
  font-weight: 900;
}

.sec-head p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  margin-top: 1.1rem;
  /* max-width: 50ch */
}

/* PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--paper);
  padding: 2.4rem 2rem;
  position: relative;
  transition: background 0.25s ease;
}

.pillar:hover {
  background: var(--pure);
}

.pillar .idx {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--azure);
  letter-spacing: 0.05em;
}

.pillar h3 {
  font-size: 1.4rem;
  margin-top: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pillar p {
  color: var(--ink-soft);
  margin-top: 0.8rem;
  font-size: 1rem;
}

.pillar .bar {
  width: 34px;
  height: 3px;
  background: var(--red);
  margin-top: 1.6rem;
  transition: width 0.3s ease;
}

.pillar:hover .bar {
  width: 64px;
}

/* FOX / ABOUT */
.fox {
  background: var(--ink);
  color: #EDEFF3;
}

.fox .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.fox .eyebrow {
  color: var(--gold);
}

.fox .eyebrow::before {
  background: var(--gold);
}

.fox h2 {
  color: var(--pure);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 900;
  margin-top: 1rem;
}

.fox p {
  color: #B8BFCB;
  font-size: 1.1rem;
  margin-top: 1.3rem;
}

.fox p em {
  color: var(--gold);
  font-style: italic;
}

.fox-quote, blockquote {
  border-left: 3px solid var(--red);
  padding-left: 1.4rem;
  margin-top: 2rem;
  font-style: italic;
  font-size: 1.18rem;
  color: #E3E6EC;
}

.fox-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fox-art svg {
  width: 100%;
  max-width: 380px;
}

/* MEMBERS */
.members {
  background: var(--pure);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.member {
  background: var(--pure);
  padding: 1.7rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: background 0.2s ease;
}

.member:hover {
  background: var(--paper);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--pure);
  letter-spacing: 0.01em;
}

.member .m-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.member .m-role {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  line-height: 1.35;
}

.member .m-tag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azure);
  margin-top: 0.5rem;
  display: inline-block;
}

/* NEWSROOM / PRESS */
.press {
  background: var(--paper);
}

.press-feature {
  background: var(--pure);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(8, 17, 31, 0.4);
}

.press-banner {
  background: var(--ink);
  color: var(--pure);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  position: relative;
  overflow: hidden;
}

.press-banner-art {
  position: absolute;
  right: -40px;
  top: -30px;
  opacity: 0.85;
  pointer-events: none;
}

.press-banner .kind {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}

.press-banner h3 {
  color: var(--pure);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 900;
  margin-top: 0.8rem;
  max-width: 24ch;
  position: relative;
}

.press-banner .dateline {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.86rem;
  color: #9AA3B2;
  margin-top: 1rem;
  position: relative;
}

.press-caption {
  font-size: 0.82rem;
  color: #8C94A3;
  font-style: italic;
  margin-top: 1.3rem;
  max-width: 60ch;
  position: relative;
  border-top: 1px solid #1E2838;
  padding-top: 1rem;
}

.press-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--pure);
  padding-inline: clamp(1.2rem, 3vw, 2.4rem);
}

.press-tabs button {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color 0.2s, border-color 0.2s;
}

.press-tabs button:hover {
  color: var(--ink);
}

.press-tabs button.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.press-body {
  padding: clamp(1.8rem, 4vw, 3rem);
}

.press-panel {
  display: none;
}

.press-panel.active {
  display: block;
}

.press-panel .lead {
  font-size: 1.12rem;
  line-height: 1.7;
}

.press-panel .lead strong {
  font-weight: 600;
}

.press-panel h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 1.9rem;
  margin-bottom: 0.5rem;
}

.press-panel h4::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 3px;
  background: var(--azure);
  vertical-align: middle;
  margin-right: 0.6rem;
  transform: translateY(-3px);
}

.press-panel p {
  margin-top: 0.6rem;
  color: #27313F;
  font-size: 1.02rem;
}

.press-panel strong {
  font-weight: 600;
  color: var(--ink);
}

.press-contact {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.press-contact a {
  color: var(--red);
  font-weight: 600;
}

/* IMPACT */
.impact {
  background: var(--azure-mist);
}

.impact .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.impact h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 900;
}

.impact p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  margin-top: 1.2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.impact-cell {
  background: var(--paper);
  padding: 1.8rem 1.5rem;
}

.impact-cell .num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.impact-cell:nth-child(1) .num {
  color: var(--red);
}

.impact-cell:nth-child(2) .num {
  color: var(--azure);
}

.impact-cell:nth-child(3) .num {
  color: var(--ink);
}

.impact-cell:nth-child(4) .num {
  color: var(--gold);
}

.impact-cell .lab {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

/* SIGNUP */
.signup {
  background: var(--ink);
  color: var(--pure);
  border-radius: 8px;
  padding: clamp(2.4rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.signup-stars {
  position: absolute;
  right: -30px;
  top: -30px;
  opacity: 0.5;
}

.signup h2 {
  color: var(--pure);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  position: relative;
}

.signup p {
  color: #B8BFCB;
  margin-top: 1rem;
  font-size: 1.05rem;
  position: relative;
}

.signup-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  position: relative;
}

.signup-form input {
  flex: 1;
  min-width: 200px;
  font-family: var(--body);
  font-size: 1rem;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1.5px solid #2A3547;
  background: #0F1A2C;
  color: var(--pure);
}

.signup-form input::-moz-placeholder {
  color: #6B7689;
}

.signup-form input::placeholder {
  color: #6B7689;
}

.signup-form input:focus {
  outline: 2px solid var(--azure);
  outline-offset: 1px;
  border-color: var(--azure);
}

/* FOOTER */
footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.foot-brand .brand-name {
  font-size: 1.6rem;
}

.foot-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 30ch;
}

.foot-col h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.foot-col a {
  display: block;
  font-size: 0.96rem;
  padding: 5px 0;
  color: var(--ink);
}

.foot-col a:hover {
  color: var(--red);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.foot-flag {
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  width: 30px;
  height: 20px;
  border: 1px solid var(--line-strong);
}

.foot-flag i {
  flex: 1;
}

/* ANNOUNCEMENT BAR */
.announce {
  background: var(--ink);
  color: var(--pure);
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.7rem;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 500;
}

.announce .flag {
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--pure);
  padding: 3px 9px;
  border-radius: 4px;
  flex-shrink: 0;
}

.announce .txt {
  color: #D7DBE2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announce .txt strong {
  color: var(--pure);
  font-weight: 700;
}

.announce a.more {
  margin-left: auto;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
}

.announce a.more:hover {
  text-decoration: underline;
}

/* NEWS FILTER + GRID */
.news-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.news-filter button {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  background: var(--pure);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-filter button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.news-filter button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--pure);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.6rem;
}

.news-card {
  background: var(--pure);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(8, 17, 31, 0.4);
}

.news-card .strip {
  height: 6px;
}

.news-card .nc-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.chip {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  align-self: flex-start;
}

.chip.release {
  background: #FCE4E1;
  color: var(--red-deep);
}

.chip.event {
  background: var(--azure-mist);
  color: #0270A1;
}

.chip.research {
  background: #FBF1CF;
  color: #8A6D00;
}

.chip.member {
  background: #E9EBEF;
  color: var(--ink);
}

.news-card h3 {
  font-size: 1.16rem;
  margin-top: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.news-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-top: 0.6rem;
  flex: 1;
}

.news-card .nc-foot {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1.3rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-card .nc-foot .arrow {
  color: var(--red);
  font-weight: 800;
}

/* PRESS & MEDIA KIT */
.media {
  background: var(--ink);
  color: #EDEFF3;
}

.media .eyebrow {
  color: var(--gold);
}

.media .eyebrow::before {
  background: var(--gold);
}

.media .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.media h2 {
  color: var(--pure);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  margin-top: 1rem;
}

.media p.intro {
  color: #B8BFCB;
  font-size: 1.08rem;
  margin-top: 1.2rem;
}

.media-contact {
  background: #0F1A2C;
  border: 1px solid #20293A;
  border-radius: 8px;
  padding: 1.6rem 1.7rem;
  margin-top: 1.8rem;
}

.media-contact .lab {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7E8798;
}

.media-contact .who {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--pure);
  margin-top: 0.5rem;
}

.media-contact a {
  color: var(--gold);
  font-weight: 600;
}

.kit {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.kit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #0F1A2C;
  border: 1px solid #20293A;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.kit-item:hover {
  border-color: var(--azure);
  background: #12203A;
}

.kit-ic {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A2740;
}

.kit-ic svg {
  width: 20px;
  height: 20px;
}

.kit-item .ki-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--pure);
}

.kit-item .ki-meta {
  display: block;
  font-size: 0.82rem;
  color: #8C94A3;
  margin-top: 0.15rem;
}

.kit-item .ki-dl {
  margin-left: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--azure);
  flex-shrink: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    height: 280px;
  }
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
  .fox .wrap, .impact .wrap, .signup {
    grid-template-columns: 1fr;
  }
  .fox-art {
    order: -1;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  nav.main {
    display: none;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .media .wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .nav-right .btn, .nav-right .lang {
    display: inherit;
  }
  .nav-right a.btn.joinus {
    padding: 6px 10px;
    font-size: 11.2px;
  }
  .burger {
    display: flex;
  }
  .pillars, .impact-grid, .foot-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .member-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
  .press-tabs {
    overflow-x: auto;
  }
  .announce .txt {
    white-space: normal;
  }
}
@media (max-width: 460px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* brand logos (inline SVG symbols) */
.brand-logo {
  height: clamp(38px, 4.2vw, 48px);
  width: auto;
  display: block;
  flex-shrink: 0;
}

.foot-logo {
  width: clamp(166px, 19vw, 205px);
  height: auto;
  display: block;
  margin-bottom: 1.3rem;
}

.fox-logo {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.media {
  position: relative;
  overflow: hidden;
}

.media > .wrap {
  position: relative;
  z-index: 1;
}

.media-wm {
  position: absolute;
  right: -48px;
  bottom: -44px;
  width: min(46vw, 380px);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* nav robustness across languages */
nav.main {
  gap: 1.5rem;
}

nav.main a {
  white-space: nowrap;
  font-size: 0.93rem;
}

.nav-right {
  gap: 0.85rem;
}

.nav-right .btn {
  white-space: nowrap;
}

/* SUBPAGE / DETAIL */
.page-hero {
  padding-block: clamp(46px, 7vw, 84px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin-bottom: 1.1rem;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  max-width: 20ch;
}

.page-hero .intro {
  font-family: var(--body);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  margin-top: 1.4rem;
  /* max-width: 52ch */
}

.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.way {
  background: var(--pure);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem 1.7rem;
}

.way-ic {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--azure-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.way-ic svg {
  width: 22px;
  height: 22px;
}

.way h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.way p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-top: 0.6rem;
}

.gov {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2.4rem;
}

.gov-cell {
  background: var(--paper);
  padding: 1.7rem 1.4rem;
}

.gov-role {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--azure);
}

.gov-name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  margin-top: 0.7rem;
}

/* ARTICLE */
.article {
  max-width: 780px;
  margin: 0 auto;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

.back:hover {
  color: var(--red);
}

.art-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.8rem;
  margin-bottom: 2rem;
}

.art-kind {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.art-head h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  max-width: 24ch;
}

.art-dateline {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}

.art-figure {
  background: var(--ink);
  border-radius: 8px;
  /*padding: clamp(1.6rem,4vw,2.4rem);*/
  margin: 0 0 2.2rem;
  position: relative;
  overflow: hidden;
}

.art-figure svg.fig-art {
  position: absolute;
  right: -30px;
  top: -24px;
  opacity: 0.85;
  pointer-events: none;
}

.art-figure .cap {
  font-size: 0.86rem;
  color: #9AA3B2;
  font-style: italic;
  position: relative;
  max-width: 60ch;
}

.art-body p {
  font-size: 1.08rem;
  line-height: 1.72;
  margin-top: 1.1rem;
  color: #27313F;
}

.art-body p.lead {
  font-size: 1.2rem;
  line-height: 1.65;
}

.art-body strong {
  font-weight: 600;
  color: var(--ink);
}

.art-body h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-top: 2.2rem;
}

.art-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  padding-left: 0em;
  margin: 1.5em 0em;
  margin-bottom: -0.5em;
}

.art-body h2::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 3px;
  background: var(--azure);
  vertical-align: middle;
  margin-right: 0.6rem;
  transform: translateY(-4px);
}

.art-contact {
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.art-contact a {
  color: var(--red);
  font-weight: 600;
}

/* --- article lists --- */
.article ul,
.art-body ul {
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  list-style-position: outside;
  margin-top: 1rem;
}

.article li,
.art-body li {
  margin-bottom: 0.8rem;
  line-height: 1.72;
  color: #27313F;
}

.article ol,
.art-body ol {
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  list-style-position: outside;
}

.pagelink {
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 1.4rem;
}

.pagelink:hover {
  text-decoration: underline;
}

/* MEMBER PROFILE */
a.member {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.member:hover {
  transform: translateY(-3px);
}

a.member:hover .m-name {
  color: var(--red);
}

.profile-hero .back {
  display: inline-flex;
}

.prof-top {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.prof-avatar {
  width: clamp(88px, 12vw, 128px);
  height: clamp(88px, 12vw, 128px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--pure);
  flex-shrink: 0;
}

.prof-top h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 0.5rem;
}

.prof-role {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.prof-facts {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin: 2.2rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.prof-fact .lab {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azure);
}

.prof-fact .val {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  margin-top: 0.45rem;
}

@media (max-width: 680px) {
  .prof-facts {
    gap: 1.4rem;
  }
}
/* --- brand (new compact logo) --- */
.brand-logo {
  height: clamp(38px, 4.4vw, 46px);
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  display: none;
  line-height: 1.15;
}

@media (min-width: 520px) {
  .brand-sub {
    display: block;
  }
}
.foot-logo {
  height: 44px;
  width: auto;
  display: block;
}

.foot-brandname {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
}

.foot-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.foot-legal a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.foot-legal a:hover {
  color: var(--red);
}

/* --- hero logo --- */
.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.hero-logo svg {
  max-width: 430px;
}

/* --- forms --- */
.form-wrap {
  max-width: 660px;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--pure);
  color: var(--ink);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 3px var(--azure-mist);
}

input.invalid, textarea.invalid, select.invalid {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px #FCE4E1 !important;
}

.field-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.4rem 0 1.3rem;
}

.consent input {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.consent.invalid {
  color: var(--red);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.form-success {
  display: none;
  background: var(--azure-mist);
  border: 1px solid var(--azure);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  font-family: var(--display);
  font-weight: 600;
  color: #0270A1;
}

.notice {
  border-left: 3px solid var(--gold);
  background: #FBF7E8;
  padding: 1rem 1.2rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: #6b5d1e;
  margin-top: 1.4rem;
}

.notice.info {
  border-color: var(--azure);
  background: var(--azure-mist);
  color: #0270A1;
}

/* --- process steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
  counter-reset: s;
}

.step {
  background: var(--pure);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}

.step .n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.02rem;
  font-weight: 700;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* --- tiles (boards) --- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 2.4rem;
}

.tile {
  background: var(--pure);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.7rem;
  text-align: center;
}

.tile .ph {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.9rem;
  color: var(--ink-soft);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}

.tile h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.tile p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

/* --- partners --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.partner {
  aspect-ratio: 3/2;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: var(--pure);
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.partner.empty {
  border-style: dashed;
  color: var(--ink-soft);
  font-weight: 600;
}

/* --- members area --- */
.ma-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.login-card {
  background: var(--pure);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
}

.doc-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.doc {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: var(--pure);
}

.doc:last-child {
  border-bottom: none;
}

.doc .dname {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
}

.doc .lock {
  margin-left: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.doc-ic {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-ic svg {
  width: 18px;
  height: 18px;
}

/* --- legal --- */
.legal-body {
  max-width: 800px;
}

.legal-toc {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.legal-toc a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
}

.legal-toc a:hover {
  border-color: var(--ink);
}

.legal-sec {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.legal-sec h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.legal-sec p {
  color: #39424f;
  font-size: 1rem;
  line-height: 1.72;
  margin-top: 0.9rem;
  max-width: 75ch;
}

.legal-sec ul {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  color: #39424f;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .tile-grid {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field-2 {
    grid-template-columns: 1fr;
  }
  .ma-grid {
    grid-template-columns: 1fr;
  }
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  color: #0A66C2;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.linkedin-link:hover {
  opacity: 0.8;
}

.linkedin-link svg {
  color: currentColor;
}

/* Newsroom additions — templates/cer/css/news.css
   Everything else (.sec-head, .news-grid, .news-card, .chip, .nc-foot …)
   comes from template.css. This only adds what the category page needs. */
/* Lead story spans the full grid and lays out image beside text */
.news-card.lead {
  grid-column: 1/-1;
}

.news-card.lead .lead-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card.lead.has-image .lead-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.news-card.lead .lead-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--azure-mist);
}

.news-card.lead .lead-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.news-card.lead .nc-body {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  justify-content: center;
}

.news-card.lead h3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.news-card.lead p {
  font-size: 1.05rem;
  flex: 0;
}

/* Optional thumbnail on regular cards */
.news-card .nc-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--azure-mist);
}

.news-card .nc-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Title links + footer actions */
.news-card h3 a:hover {
  color: var(--red);
}

.news-card .nc-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

/* Empty state, pagination, admin */
.newsroom-empty {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 50ch;
}

.newsroom-pagination {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  font-family: var(--display);
}

.newsroom-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsroom-pagination .page-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--pure);
  color: var(--ink-soft);
}

.newsroom-pagination .page-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.newsroom-pagination .active .page-link {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--pure);
}

.newsroom-admin {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 680px) {
  .news-card.lead.has-image .lead-inner {
    grid-template-columns: 1fr;
  }
}
.newsroom-counter {
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Contacts (com_contact) additions — templates/cer/css/contacts.css
   The member grid and profile components come from template.css. */
/* Photo avatars in the list */
.avatar.has-photo {
  overflow: hidden;
  padding: 0;
}

.avatar.has-photo img,
.prof-avatar.has-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.prof-avatar.has-photo {
  overflow: hidden;
}

.contacts-empty {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Profile page */
.profile-hero .eyebrow {
  margin-bottom: 0.2rem;
}

.prof-facts .val a {
  color: var(--ink);
  border-bottom: 2px solid var(--azure);
}

.prof-facts .val a:hover {
  color: var(--azure);
}

.prof-bio {
  max-width: 68ch;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 1.12rem;
  line-height: 1.7;
}

.prof-bio p + p {
  margin-top: 1.1em;
}

.prof-bio h2, .prof-bio h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.35rem;
}

/* Pagination shares the newsroom styling */
.contacts-list .newsroom-pagination {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  font-family: var(--display);
}

.contacts-list .newsroom-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contacts-list .newsroom-pagination .page-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--pure);
  color: var(--ink-soft);
}

.contacts-list .newsroom-pagination .active .page-link {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--pure);
}

/* Events page — templates/cer/css/events.css
   Builds on .news-grid / .news-card / .chip / .nc-foot from template.css. */
.event-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.event-card {
  cursor: default;
}

.event-card .ev-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card h3 a {
  color: inherit;
}

.event-card h3 a:hover {
  color: var(--red);
}

/* Media block with the date badge; keeps a tinted panel when there is no photo */
.ev-media {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--azure-mist);
  overflow: hidden;
}

.ev-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.ev-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  min-width: 56px;
  padding: 8px 10px;
  background: var(--pure);
  color: var(--ink);
  border-radius: 8px;
  text-align: center;
  font-family: var(--display);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  line-height: 1;
}

.ev-badge b {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ev-badge span {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azure);
}

.ev-badge.season span {
  margin: 0;
  font-size: 0.7rem;
  color: var(--ink);
}

/* Chips */
.ev-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chip.access.open {
  background: #E6F4EA;
  color: #1E6B3A;
}

.chip.access.invite {
  background: #F1EDF7;
  color: #5B3F8A;
}

/* Footer: date/location left, register right */
.event-card .nc-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.event-card .ev-register {
  white-space: nowrap;
}

/* Lead: spans the grid, photo beside text */
.event-card.lead {
  grid-column: 1/-1;
}

.event-card.lead .ev-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.event-card.lead .ev-media {
  aspect-ratio: auto;
  min-height: 280px;
  height: 100%;
}

.event-card.lead .nc-body {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  justify-content: center;
}

.event-card.lead h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.event-card.lead p {
  font-size: 1.05rem;
  flex: 0;
}

.event-card.lead .ev-badge {
  left: 20px;
  top: 20px;
  padding: 10px 12px;
}

.event-card.lead .ev-badge b {
  font-size: 1.7rem;
}

.ev-empty {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 50ch;
}

@media (max-width: 680px) {
  .event-card.lead .ev-inner {
    grid-template-columns: 1fr;
  }
  .event-card.lead .ev-media {
    aspect-ratio: 16/9;
    min-height: 0;
  }
}
.visually-hidden {
  display: none;
}

/* MOBILE MENU STYLES */
/* Add this section to template.scss just before the @media(max-width: 820px) block (before line 2211) */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  nav.main {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(251, 251, 248, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem var(--pad);
    gap: 0.8rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 50;
  }
  nav.main.active {
    max-height: 500px;
    display: flex;
  }
  nav.main a {
    padding: 12px 0;
    font-size: 1rem;
  }
  /* Burger icon animation */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}
@media (max-width: 640px) {
  .navbar {
    height: 60px;
  }
  nav.main {
    top: 60px;
  }
  .brand-sub {
    display: none;
  }
  .nav-right {
    gap: 0.6rem;
  }
}/*# sourceMappingURL=template.css.map */