/* Space Accounting — Bootstrap 5.3 theme
   Navy / gold academic brand · motion-ready · Laravel-friendly tokens */

:root {
  --sa-navy: #071322;
  --sa-navy-deep: #06111e;
  --sa-ink: #10283d;
  --sa-muted: #587083;
  --sa-gold: #d9aa60;
  --sa-gold-pale: #f5e3c4;
  --sa-sky: #45b7d9;
  --sa-paper: #f6f9fc;
  --sa-line: #dce5ed;
  --sa-white: #ffffff;
  --sa-header: rgba(7, 22, 37, 0.92);
  --sa-radius: 0.75rem;
  --sa-shadow: 0 18px 55px rgba(21, 50, 71, 0.12);
  --sa-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sa-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --bs-body-font-family: var(--sa-font-body);
  --bs-body-color: var(--sa-ink);
  --bs-body-bg: var(--sa-paper);
  --bs-primary: var(--sa-gold);
  --bs-link-color: #176495;
  --bs-border-radius: var(--sa-radius);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--sa-font-body);
  color: var(--sa-ink);
  background: var(--sa-paper);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Prevent media from overflowing; keep Bootstrap .container widths intact */
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}

/* Keep Bootstrap .container breakpoints; only cap XXL so content stays centered (~1140) */
@media (min-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}

.doilink,
.source-item a,
.meta {
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1, h2, h3, .display-font {
  font-family: var(--sa-font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--sa-navy);
}

h1 em, h2 em, h2 i, h3 em {
  color: var(--sa-gold);
  font-style: italic;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--sa-gold);
  color: var(--sa-navy);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Top bar */
.sa-topbar {
  background: #071322;
  color: #c9a46a;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-family: var(--sa-font-display);
}

/* Navbar */
.sa-navbar {
  background: var(--sa-header) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 170, 96, 0.15);
  transition: box-shadow 0.35s ease, background 0.35s ease;
  padding-block: 0.65rem;
}
.sa-navbar.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  background: rgba(6, 17, 30, 0.97) !important;
}

.sa-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--sa-white) !important;
}
.sa-brand .emblem {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  border: 1px solid rgba(217, 170, 96, 0.45);
  display: grid;
  place-items: center;
  color: var(--sa-gold);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(217, 170, 96, 0.08);
}
.sa-brand .emblem svg {
  display: block;
}
.sa-brand strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-family: var(--sa-font-display);
  line-height: 1.15;
}
.sa-brand small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--sa-gold);
  font-family: var(--sa-font-body);
  font-weight: 600;
  max-width: 22rem;
  line-height: 1.35;
}

.sa-navbar .nav-link {
  color: #e8eef4 !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem !important;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.sa-navbar .nav-link:hover,
.sa-navbar .nav-link.active {
  color: var(--sa-gold) !important;
}
.sa-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--sa-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.sa-navbar .nav-link:hover::after,
.sa-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.btn-lang {
  background: transparent;
  border: 1px solid rgba(217, 170, 96, 0.45);
  color: var(--sa-gold);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  min-width: 2.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.btn-lang:hover,
.btn-lang:focus-visible {
  background: var(--sa-gold);
  color: var(--sa-navy);
  border-color: var(--sa-gold);
}

.btn-sa {
  background: linear-gradient(135deg, #e5b464, var(--sa-gold)) !important;
  color: var(--sa-navy) !important;
  border: 1px solid transparent !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(217, 170, 96, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, filter 0.25s ease;
}
.btn-sa-header {
  border-radius: 0.45rem !important;
  padding: 0.65rem 1.15rem;
  font-size: 0.86rem;
  background: #c9a46a !important;
  box-shadow: none;
}
.btn-sa-header:hover,
.btn-sa-header:focus-visible {
  background: #dfb76f !important;
  color: #1a1208 !important;
  box-shadow: none;
  filter: none;
  transform: translateY(-1px);
}
.btn-sa:hover,
.btn-sa:focus-visible {
  background: linear-gradient(135deg, #edc57a, #d7a44f) !important;
  color: #1a1208 !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 170, 96, 0.4);
  filter: none;
}
/* Dark surfaces: keep gold button readable, never wash out */
.sa-dark-band .btn-sa:hover,
.sa-dark-band .btn-sa:focus-visible,
.sa-network .btn-sa:hover,
.sa-network .btn-sa:focus-visible,
.sa-hero .btn-sa:hover,
.sa-hero .btn-sa:focus-visible {
  background: linear-gradient(135deg, #f0cc86, #e0b45a) !important;
  color: #071322 !important;
}
/* Light/cream surfaces: deepen gold slightly on hover for contrast */
.academic-library .btn-sa:hover,
.academic-library .btn-sa:focus-visible,
.sa-contact .btn-sa:hover,
.sa-contact .btn-sa:focus-visible,
.global-forum .btn-sa:hover,
.global-forum .btn-sa:focus-visible,
.source-more .btn-sa:hover,
.source-more .btn-sa:focus-visible {
  background: linear-gradient(135deg, #d4a858, #b8893d) !important;
  color: #fff !important;
}
.btn-sa-ghost {
  background: transparent !important;
  color: #e8f0f7 !important;
  border: 1px solid rgba(198, 214, 228, 0.45) !important;
  font-weight: 650;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, color 0.25s;
}
.btn-sa-ghost:hover,
.btn-sa-ghost:focus-visible {
  border-color: var(--sa-gold) !important;
  color: #071322 !important;
  background: var(--sa-gold) !important;
  transform: translateY(-2px);
}
.btn-sa-outline {
  background: transparent !important;
  color: var(--sa-ink) !important;
  border: 1px solid var(--sa-line) !important;
  font-weight: 650;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
}
.btn-sa-outline:hover,
.btn-sa-outline:focus-visible {
  border-color: var(--sa-navy) !important;
  background: var(--sa-navy) !important;
  color: #fff !important;
}

/* Hero — same full-bleed fade slider as the congress homepage */
.sa-hero {
  position: relative;
  min-height: calc(100svh - 7.25rem);
  min-height: calc(100dvh - 7.25rem);
  background: #06111e;
  color: #e8f0f7;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 0 4.5rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.sa-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sa-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.sa-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.sa-hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
}
.sa-hero-slide.is-active img {
  animation: kenburns 12s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}
.sa-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 19, 23, 0.69);
  pointer-events: none;
}

.sa-hero-copy {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sa-hero-badge {
  display: inline-block;
  background: #f5d547;
  color: #111;
  font-family: var(--sa-font-body);
  font-size: clamp(0.9rem, 1.55vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  padding: 0.65rem 1.1rem;
  margin-bottom: 1.25rem;
  max-width: 100%;
}
.sa-hero h1 {
  font-family: var(--sa-font-body);
  font-size: clamp(2.35rem, 5.6vw, 4.05rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 1.25rem;
  max-width: 16em;
}
.sa-hero h1 em {
  color: inherit;
  font-style: normal;
}
.sa-hero .lead {
  font-size: clamp(1.12rem, 1.95vw, 1.35rem);
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 auto;
  color: #f2f5f8;
}
.sa-hero-date {
  margin: 1.45rem 0 0;
  font-family: var(--sa-font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.55rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
}

.sa-countdown {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.95rem, 2.6vw, 1.85rem);
  margin-top: 1.9rem;
  padding: 1.2rem 1.85rem 1rem;
  border-radius: 10px;
  background: rgba(120, 108, 168, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.sa-countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.4rem;
}
.sa-countdown-num {
  font-size: clamp(1.95rem, 4vw, 2.95rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.sa-countdown-label {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
}

.sa-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  transform: translateX(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(7, 17, 28, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  animation: sa-hero-bounce 1.8s ease-in-out infinite;
}
.sa-hero-scroll i {
  font-size: 1.35rem;
  line-height: 1;
}
.sa-hero-scroll:hover {
  color: var(--sa-gold);
  border-color: var(--sa-gold);
  background: rgba(7, 17, 28, 0.55);
}
@keyframes sa-hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .sa-hero-scroll { animation: none; }
}

/* Congress strip directly under the hero slider */
.agenda-strip {
  background: #f3efe6;
  color: #1a2b42;
}
.agenda-strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) auto;
  align-items: center;
  gap: 1.25rem 2.5rem;
  padding: 1.2rem 0 1.15rem;
}
.agenda-strip-kicker {
  font-family: var(--sa-font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4a35a;
  line-height: 1.3;
  margin-bottom: 0.28rem;
}
.agenda-strip-title,
.agenda-strip-month,
.agenda-strip-note {
  margin: 0;
}
.agenda-strip-title {
  font-family: var(--sa-font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1a2b42;
  line-height: 1.05;
}
.agenda-strip-title span {
  margin: 0 0.12em;
}
.agenda-strip-month {
  font-family: var(--sa-font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1a2b42;
  line-height: 1.1;
}
.agenda-strip-note {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #8d97a3;
}
.agenda-strip-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: #1a2b42;
  text-decoration: none;
  white-space: nowrap;
}
.agenda-strip-link:hover {
  color: #8a6a32;
}
@media (max-width: 767.98px) {
  .agenda-strip-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 1.15rem 0 1.2rem;
  }
  .agenda-strip-link {
    justify-self: start;
  }
}

/* Sections */
.sa-section {
  padding: 6rem 0;
}
.sa-section.alt {
  background: #eef3f7;
}

/* Shared research horizon */
.horizon {
  background:
    radial-gradient(ellipse at 82% 45%, rgba(217, 170, 96, 0.1), transparent 38%),
    #0b243c;
  color: #d5e4f0;
  padding: 5.5rem 0;
}
.horizon-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.horizon .kicker {
  color: var(--sa-gold);
  margin-bottom: 1rem;
}
.horizon h2 {
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  line-height: 1.12;
  margin: 0 0 1.35rem;
}
.horizon p {
  color: #b7c7d6;
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 0 0.9rem;
}
.horizon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.horizon-tags span {
  border: 1px solid rgba(214, 226, 236, 0.45);
  color: #e7eef5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  border-radius: 0.2rem;
}
.horizon-quote {
  margin: 0;
  padding: 0.25rem 0 0.25rem 1.35rem;
  border-left: 2px solid rgba(217, 170, 96, 0.85);
  color: #ead7b0;
  font-family: var(--sa-font-display);
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.35;
  font-weight: 500;
}
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #b18038;
  text-transform: uppercase;
  font-weight: 800;
}
.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.65rem 0 1rem;
}
.section-head p {
  color: var(--sa-muted);
  line-height: 1.75;
}

/* Tiles / cards */
.sa-tile {
  background: var(--sa-white);
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sa-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--sa-shadow);
  border-color: rgba(217, 170, 96, 0.45);
}
.sa-tile .ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, #0d2438, #163a58);
  color: var(--sa-gold);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.sa-tile h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}
.sa-tile p {
  color: var(--sa-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--sa-ink);
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sa-gold);
  box-shadow: 0 0 0 3px rgba(217, 170, 96, 0.2);
}

.info-art {
  min-height: 320px;
  border-radius: var(--sa-radius);
  background: #0a1f35;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sa-shadow);
}
.info-art-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}
.info-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(6, 17, 30, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 17, 30, 0.15), rgba(6, 17, 30, 0.35));
  pointer-events: none;
}
.info-art::after {
  content: "";
  position: absolute;
  inset: 18%;
  z-index: 2;
  border: 1px dashed rgba(245, 227, 196, 0.7);
  border-radius: 50%;
  animation: orbit-spin 40s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(217, 170, 96, 0.12);
}

/* Filters & publications */
.sa-filters .btn {
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 650;
  border-color: var(--sa-line);
  color: var(--sa-muted);
  margin: 0.25rem;
}
.sa-filters .btn.active,
.sa-filters .btn:hover {
  background: var(--sa-navy);
  border-color: var(--sa-navy);
  color: #fff;
}

.sa-pub {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 0.85rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.sa-pub:hover {
  transform: translateY(-3px);
  box-shadow: var(--sa-shadow);
}
.sa-pub .pub-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  background: #eef4f8;
  display: grid;
  place-items: center;
  color: #0a3756;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.sa-pub h3 {
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}
.sa-pub span:not(.badge) {
  color: var(--sa-muted);
  font-size: 0.88rem;
}
.sa-pub .badge-soon {
  background: rgba(217, 170, 96, 0.15);
  color: #9a6f28;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  margin-left: auto;
  white-space: nowrap;
}

.spotlight-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(120deg, #0d2438, #163a58);
  color: #dce8f2;
  border-radius: var(--sa-radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}
.spotlight-link a {
  color: var(--sa-gold);
  font-weight: 700;
  text-decoration: none;
}
.spotlight-link a:hover {
  text-decoration: underline;
}

/* Literature */
.academic-library {
  background: #f3f0e8;
  padding: 6rem 0;
}
.lit-head {
  max-width: none;
  margin-bottom: 2.75rem;
}
.lit-head-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}
.lit-head-row h2 {
  margin: 0.55rem 0 0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.12;
}
.lit-head-row p {
  margin: 0;
  color: #6d7f8f;
  line-height: 1.7;
  max-width: 28rem;
  justify-self: end;
}
.academic-feature {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(21, 50, 71, 0.06);
}
.academic-feature .authors {
  color: #3d5a70;
  font-weight: 650;
}
.academic-feature .meta {
  color: var(--sa-muted);
  font-size: 0.9rem;
}
.academic-sidebar {
  background: linear-gradient(160deg, #0a1f35, #12304a);
  color: #d5e4f0;
  border-radius: calc(var(--sa-radius) - 2px);
  padding: 1.75rem;
}
.academic-sidebar .kpi {
  font-family: var(--sa-font-display);
  font-size: 2.5rem;
  color: var(--sa-gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.academic-sidebar h3 {
  color: #fff;
  font-size: 1.25rem;
}
.doilink {
  display: inline-block;
  color: #176495;
  font-weight: 650;
  margin: 0.75rem 0;
}
.academic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.academic-links a {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--sa-line);
  color: var(--sa-ink);
}
.academic-links a.primary {
  background: var(--sa-navy);
  color: #fff;
  border-color: var(--sa-navy);
}
.academic-links a:hover,
.academic-links a:focus-visible {
  border-color: var(--sa-gold);
  background: rgba(217, 170, 96, 0.12);
  color: var(--sa-navy);
}
.academic-links a.primary:hover,
.academic-links a.primary:focus-visible {
  background: #12304a;
  border-color: var(--sa-gold);
  color: #fff;
}

.eyebrow-alt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b18038;
  font-weight: 800;
  margin: 2rem 0 1rem;
}

.academic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.academic-card {
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.35rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.academic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sa-shadow);
}
.academic-card .num {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #b18038;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.academic-card b, .academic-card h4 {
  display: block;
  font-family: var(--sa-font-display);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--sa-navy);
}
.academic-card span, .academic-card p {
  color: var(--sa-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.source-item {
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.35rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.source-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sa-shadow);
}
.source-org {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: #b18038;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.source-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.source-item a {
  font-weight: 650;
  font-size: 0.88rem;
  text-decoration: none;
}
.source-more {
  margin: 1.5rem 0 0;
}

/* Publication cards */
.academic-sources {
  margin-top: 2.75rem;
}
.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.pub-card {
  background: #fff;
  border: 1px solid #e4e0d6;
  border-radius: 0.85rem;
  padding: 1.35rem 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.pub-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.pub-year {
  color: #b18038;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pub-ext {
  color: #8a97a5;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}
a.pub-ext:hover { color: var(--sa-gold); }
.pub-authors {
  margin: 0 0 0.85rem;
  color: #8a97a5;
  font-size: 0.84rem;
  line-height: 1.45;
}
.pub-title {
  margin: 0 0 0.85rem;
  color: var(--sa-navy);
  font-family: var(--sa-font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.25;
  font-weight: 500;
}
.pub-venue {
  margin: 0 0 1.25rem;
  color: #8a97a5;
  font-size: 0.84rem;
  line-height: 1.45;
}
.pub-cta {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid #ebe6dc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sa-navy);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 650;
}
a.pub-cta:hover { color: #8a6a32; }
.pub-cta.is-static {
  color: #8a97a5;
  cursor: default;
}
@media (max-width: 991.98px) {
  .lit-head-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    align-items: start;
  }
  .lit-head-row p { justify-self: start; }
  .pub-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .pub-grid { grid-template-columns: 1fr 1fr; }
}
.literature-page h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0.65rem 0 1rem;
}
.literature-page .lead {
  max-width: 40rem;
  color: var(--sa-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.literature-page .pub-grid {
  margin-top: 0.5rem;
}
.literature-back {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 700;
  text-decoration: none;
}
.academic-disclaimer,
.source-disclaimer {
  font-size: 0.82rem;
  color: var(--sa-muted);
  line-height: 1.65;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(16, 40, 61, 0.04);
  border-left: 3px solid var(--sa-gold);
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Contact / interest */
.sa-contact {
  background: #f3f0e8;
  padding: 6rem 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-eyebrow {
  color: #b18038;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.contact-copy h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.12;
  max-width: 14ch;
}
.contact-copy > p {
  margin: 0;
  color: #6d7f8f;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 32rem;
}
.contact-note {
  margin-top: 2.5rem !important;
  padding-left: 1rem;
  border-left: 2px solid rgba(177, 128, 56, 0.55);
  color: #8a6a32 !important;
  font-size: 0.95rem !important;
  max-width: 28rem;
}
.contact-panel {
  background: #fff;
  border: 1px solid #e6e1d6;
  border-radius: 0.35rem;
  box-shadow: 0 18px 40px rgba(16, 40, 61, 0.06);
  padding: 2rem 2rem 1.65rem;
}
.contact-panel h3 {
  margin: 0 0 1.45rem;
  font-family: var(--sa-font-display);
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--sa-navy);
}
.contact-field {
  margin-bottom: 1.15rem;
}
.contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #6d7f8f;
  font-size: 0.86rem;
  font-weight: 600;
}
.contact-field input,
.contact-field select {
  width: 100%;
  appearance: none;
  border: 1px solid #d9d4c8;
  border-radius: 0.2rem;
  background: #fff;
  color: var(--sa-navy);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.78rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-field select {
  background-image: linear-gradient(45deg, transparent 50%, #8a6a32 50%),
    linear-gradient(135deg, #8a6a32 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.contact-field input:focus,
.contact-field select:focus {
  outline: none;
  border-color: #b18038;
  box-shadow: 0 0 0 3px rgba(177, 128, 56, 0.15);
}
.contact-submit {
  width: 100%;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 0.2rem;
  background: #c9a46a;
  color: #1d1408;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-submit:hover,
.contact-submit:focus-visible {
  background: #a8843f;
  color: #fff;
  transform: translateY(-1px);
}
.contact-disclaimer {
  margin: 0.95rem 0 0;
  color: #8a97a5;
  font-size: 0.78rem;
  line-height: 1.55;
}
@media (max-width: 991.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-copy h2 { max-width: none; }
}

/* Network dark */
.sa-network {
  background: linear-gradient(165deg, #0a1f35, #10273f 60%, #0d2438);
  color: #d5e4f0;
  padding: 6rem 0;
}
.sa-network .section-head h2,
.sa-network .section-head .kicker {
  color: var(--sa-gold);
}
.sa-network .section-head h2 { color: #fff; }
.sa-network .section-head p { color: #9ab1c6; }
.sa-network .sa-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(217, 170, 96, 0.22);
  color: #dce8f2;
}
.sa-network .sa-tile h3 { color: #fff; }
.sa-network .sa-tile p { color: #9ab1c6; }
.sa-network .note { color: #9ab1c6 !important; }

/* Global forum */
.global-forum {
  padding: 6rem 0;
  background: #fff;
}
.gf-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #b18038;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.global-forum h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 18ch;
  margin-bottom: 1rem;
}
.gf-intro {
  max-width: 48rem;
  color: var(--sa-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.gf-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gf-tile {
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.5rem;
  background: var(--sa-paper);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.gf-tile:hover {
  transform: translateY(-5px);
  border-color: var(--sa-gold);
  box-shadow: var(--sa-shadow);
}
.gf-number {
  display: block;
  font-family: var(--sa-font-display);
  font-size: 1.75rem;
  color: var(--sa-gold);
  margin-bottom: 0.5rem;
}
.gf-tile strong {
  display: block;
  font-family: var(--sa-font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--sa-navy);
}
.gf-tile p {
  color: var(--sa-muted);
  font-size: 0.9rem;
  margin: 0;
}
.gf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}
.gf-link {
  color: #176495;
  font-weight: 650;
  text-decoration: none;
}
.gf-link:hover,
.gf-link:focus-visible {
  color: #8a6a32;
}
.gf-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--sa-muted);
  line-height: 1.65;
}

/* Shared dark band: ICAFR + previous congress */
.sa-dark-band {
  background:
    radial-gradient(ellipse at 80% 18%, rgba(217, 170, 96, 0.12), transparent 42%),
    radial-gradient(ellipse at 15% 70%, rgba(69, 183, 217, 0.06), transparent 40%),
    linear-gradient(165deg, #06111e, #0d2438 55%, #071525);
}

/* Previous congress recap */
.past-congress {
  background: transparent;
  color: #e7eef5;
  padding: 2.5rem 0 5.5rem;
}
.past-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.past-head > div:first-child {
  flex: 1;
  min-width: 0;
}
.past-head .kicker {
  color: var(--sa-gold);
  margin-bottom: 0.65rem;
}
.past-congress h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.2;
  margin: 0;
}
.past-congress h2 strong {
  font-weight: 650;
}
.past-detail {
  flex: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(156, 196, 232, 0.85);
  color: #d7ebff;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.past-detail:hover,
.past-detail:focus-visible {
  background: rgba(217, 170, 96, 0.18);
  border-color: var(--sa-gold);
  color: #fff;
}
.past-congress > .container > p {
  max-width: 58rem;
  margin: 1.35rem 0 0;
  color: #d5e0ea;
  line-height: 1.75;
  font-size: 1.02rem;
}
.past-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
  margin-top: 2.25rem;
}
.past-carousel {
  position: relative;
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #040a12;
  aspect-ratio: 3 / 2;
}
.past-carousel-viewport {
  position: absolute;
  inset: 0;
}
.past-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 450ms ease;
  pointer-events: none;
}
.past-carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.past-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.past-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(7, 17, 28, 0.55);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.past-carousel-btn:hover {
  background: rgba(7, 17, 28, 0.85);
  border-color: #fff;
}
.past-carousel-prev { left: 0.75rem; }
.past-carousel-next { right: 0.75rem; }
.past-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  pointer-events: none;
}
.past-carousel-dots button {
  pointer-events: auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.past-carousel-dots button.is-active {
  background: #fff;
  width: 1rem;
}
.past-congress h3 {
  color: #3f93d6;
  font-family: var(--sa-font-body);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}
.past-congress ul {
  margin: 0 0 1.75rem;
  padding-left: 1.15rem;
  color: #f4f8fb;
}
.past-congress li {
  margin: 0.35rem 0;
  line-height: 1.55;
}
.past-congress ul:last-child {
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .past-head { flex-direction: column; }
  .past-layout { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* Heritage */
.heritage {
  padding: 6rem 0;
  background: #eef3f7;
}
.heritage h2 em { color: var(--sa-gold); }
.heritage-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.heritage-art {
  background: linear-gradient(160deg, #0a1f35, #1a3d5c);
  border-radius: var(--sa-radius);
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.heritage-art::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -40px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(69, 183, 217, 0.35), transparent 70%);
}
.heritage-year {
  font-family: var(--sa-font-display);
  font-size: 4rem;
  color: var(--sa-gold);
  line-height: 1;
  margin: 0.5rem 0;
}
.heritage-art h3 {
  color: #fff;
}
.heritage-small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--sa-gold-pale);
  font-weight: 700;
}
.heritage-detail {
  background: #fff;
  border-radius: var(--sa-radius);
  padding: 2rem;
  border: 1px solid var(--sa-line);
}
.heritage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}
.heritage-tags span {
  background: #eef4f8;
  color: #0a3756;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.heritage-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.heritage-links a {
  font-weight: 700;
  color: #176495;
  text-decoration: none;
}
.heritage-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.heritage-bottom article {
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.35rem;
}
.heritage-bottom h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.heritage-bottom p {
  color: var(--sa-muted);
  font-size: 0.9rem;
  margin: 0;
}
.heritage-source {
  font-size: 0.82rem;
  color: var(--sa-muted);
  margin-top: 1.25rem;
}

/* ICAFR */
.icafr-banner {
  padding: 6rem 0 3.25rem;
  background: transparent;
  color: #dce8f2;
}
.icafr-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.icafr-overline {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--sa-gold);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.icafr-banner h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.icafr-intro {
  color: #9ab1c6;
  line-height: 1.75;
  max-width: 38rem;
}
.icafr-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}
.icafr-chip {
  border: 1px solid rgba(217, 170, 96, 0.35);
  color: var(--sa-gold-pale);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.icafr-secondary {
  margin-left: 0.5rem;
  background: transparent !important;
  color: #e8f0f7 !important;
  border: 1px solid rgba(198, 214, 228, 0.35) !important;
  box-shadow: none !important;
}
.icafr-linkhint {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #7f96ab;
}
.icafr-poster {
  background: linear-gradient(160deg, #122a44, #0a1c30);
  border: 1px solid rgba(217, 170, 96, 0.35);
  border-radius: 1rem;
  padding: 1.75rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: poster-float 5s ease-in-out infinite alternate;
}
.poster-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.poster-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--sa-gold);
  font-weight: 700;
}
.poster-star {
  color: var(--sa-gold);
  animation: twinkle 3s ease-in-out infinite;
}
.poster-year {
  display: block;
  font-family: var(--sa-font-display);
  font-size: clamp(2.15rem, 3.2vw, 2.75rem);
  color: var(--sa-gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.poster-divider {
  display: block;
  width: 3rem;
  height: 2px;
  background: rgba(217, 170, 96, 0.5);
  margin: 0.75rem 0;
}
.poster-subline {
  display: block;
  margin-top: 0.5rem;
  color: #9ab1c6;
  font-size: 0.9rem;
}
.poster-lead {
  display: block;
  margin-top: 0.85rem;
  color: #e8eef4;
  font-family: var(--sa-font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.35;
}
.poster-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sa-gold-pale);
  border-top: 1px solid rgba(217, 170, 96, 0.25);
  padding-top: 1rem;
  margin-top: 1rem;
}
.icafr-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.icafr-theme {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 170, 96, 0.2);
  border-radius: var(--sa-radius);
  padding: 1.35rem;
  transition: transform 0.3s, border-color 0.3s;
}
.icafr-theme:hover {
  transform: translateY(-4px);
  border-color: var(--sa-gold);
}
.icafr-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--sa-gold);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.icafr-theme b {
  display: block;
  color: #fff;
  font-family: var(--sa-font-display);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.icafr-theme span:not(.icafr-tag) {
  color: #9ab1c6;
  font-size: 0.9rem;
}

/* Events */
.eventcard {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 0;
  background: #fff;
  border-radius: var(--sa-radius);
  overflow: hidden;
  border: 1px solid var(--sa-line);
  box-shadow: var(--sa-shadow);
}
.eventvisual {
  background: linear-gradient(160deg, #0a1f35, #163a58);
  color: #fff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  position: relative;
}
.eventvisual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(217, 170, 96, 0.2), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(69, 183, 217, 0.2), transparent 40%);
}
.eventvisual > * { position: relative; }
.eventvisual .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--sa-gold);
  font-weight: 700;
}
.eventvisual h3 {
  color: #fff;
  font-size: 2.4rem;
  margin: 0.5rem 0;
}
.eventcontent {
  padding: 2rem;
}
.eventmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #3d5a70;
}

/* News */
.newscard {
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: var(--sa-radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.newscard:hover {
  transform: translateY(-5px);
  box-shadow: var(--sa-shadow);
}
.newscard small {
  color: #b18038;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}
.newscard h3 {
  font-size: 1.35rem;
  margin-top: 0.75rem;
}

/* Editorial */
.editorial {
  background: linear-gradient(90deg, #0d2438, #12304a);
  color: #d5e4f0;
  padding: 4rem 0;
  border-top: 3px solid var(--sa-gold);
}
.editorial h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.editorial a {
  color: var(--sa-gold);
  font-weight: 700;
  text-decoration: none;
}
.editorial a:hover { text-decoration: underline; }

/* CTA */
.sa-cta {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(217, 170, 96, 0.15), transparent 50%),
    linear-gradient(165deg, #06111e, #0a1f35);
  color: #e8f0f7;
  padding: 5.5rem 0;
}
.sa-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}
.sa-cta p {
  color: #9ab1c6;
  max-width: 28rem;
}

/* Footer */
.sa-footer {
  background: var(--sa-navy-deep);
  color: #9ab1c6;
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(217, 170, 96, 0.2);
}
.sa-footer .sa-brand { margin-bottom: 1rem; }
.sa-footer h4 {
  color: var(--sa-gold);
  font-family: var(--sa-font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.sa-footer a {
  display: block;
  color: #b8c9d8;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}
.sa-footer a:hover { color: var(--sa-gold); }
.sa-footer .bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  border-top: 1px solid rgba(154, 177, 198, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
}
.sa-footer .bottom a {
  display: inline;
  margin: 0;
}

/* Animations */
@keyframes earth-drift {
  from { transform: rotate(-17deg) translateY(0); }
  to { transform: rotate(-14deg) translateY(-18px); }
}
@keyframes orbit-spin {
  from { transform: rotate(-32deg); }
  to { transform: rotate(328deg); }
}
@keyframes twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 3px rgba(217, 170, 96, 0.08); }
  50% { box-shadow: 0 0 0 6px rgba(217, 170, 96, 0.16); }
}
@keyframes poster-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--sa-gold);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .sa-brand small {
    max-width: 16rem;
    letter-spacing: 0.08em;
  }
  .sa-navbar .nav-link {
    padding: 0.45rem 0.5rem !important;
    font-size: 0.84rem;
  }
}

@media (max-width: 991.98px) {
  .academic-feature,
  .heritage-feature,
  .icafr-layout,
  .eventcard,
  .horizon-grid {
    grid-template-columns: 1fr;
  }
  .academic-cards,
  .gf-tiles,
  .icafr-themes,
  .heritage-bottom,
  .source-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sa-hero {
    min-height: 70vh;
    padding: 4rem 0 4.5rem;
  }
  .sa-navbar .navbar-collapse {
    background: rgba(6, 17, 30, 0.98);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--sa-radius);
    border: 1px solid rgba(217, 170, 96, 0.2);
    max-width: 100%;
  }
  .sa-navbar .nav-link { white-space: normal; }
  .sa-pub { flex-wrap: wrap; }
  .sa-pub .badge-soon { margin-left: 0; }
  .sa-brand strong { font-size: 0.72rem; letter-spacing: 0.1em; }
  .sa-brand small {
    font-size: 0.52rem;
    max-width: 11.5rem;
    letter-spacing: 0.06em;
  }
  .spotlight-link { flex-direction: column; align-items: flex-start; }
  .academic-feature,
  .heritage-detail,
  .eventcontent { padding: 1.35rem; }
  .gf-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .gf-actions .btn-sa,
  .source-more .btn-sa,
  .icafr-layout .btn-sa {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .contact-panel { padding: 1.5rem 1.25rem 1.35rem; }
  [data-aos="fade-left"],
  [data-aos="fade-right"],
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0) !important;
  }
}

@media (max-width: 575.98px) {
  .academic-cards,
  .gf-tiles,
  .icafr-themes,
  .heritage-bottom,
  .source-grid,
  .pub-grid {
    grid-template-columns: 1fr;
  }
  .sa-topbar {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.65rem;
  }
  .sa-hero {
    min-height: 100svh;
    padding: 3.5rem 0;
  }
  .sa-hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
  }
  .sa-hero-badge {
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem;
  }
  .sa-hero .lead { font-size: 1.08rem; }
  .sa-hero-date { font-size: clamp(1.55rem, 6.5vw, 1.95rem); }
  .sa-countdown-num { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .sa-countdown-label { font-size: 0.82rem; }
  .sa-section,
  .academic-library,
  .heritage,
  .global-forum,
  .icafr-banner,
  .sa-network,
  .sa-contact { padding: 3.5rem 0; }
  .sa-filters .btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
  .poster-foot { flex-direction: column; gap: 0.35rem; }
  .sa-footer .bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .icafr-chiprow { gap: 0.4rem; }
  .btn-sa:not(.btn-sa-header),
  .btn-sa-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .past-detail {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .academic-links { flex-direction: column; }
  .academic-links a { text-align: center; }
  .sa-hero .d-flex.flex-wrap { width: 100%; }
  .sa-countdown {
    width: 100%;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.9rem 0.85rem 0.7rem;
  }
  .sa-countdown-item { min-width: 0; }
  .sa-countdown-label { font-size: 0.72rem; }
}

/* Compatibility helpers */
.sa-cta .note { color: #b4c9d9; font-size: 0.9rem; }
.editorial .kicker { color: var(--sa-gold); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler { color: var(--sa-gold) !important; }

/* Mobile overflow hard-stop */
@media (max-width: 991.98px) {
  html, body, main, .sa-hero, .sa-network, .icafr-banner, .sa-cta, .sa-footer {
    overflow-x: clip;
  }
}
