/* ==========================================================================
   FUEL THE SHIFT — DESIGN SYSTEM & HOMEPAGE STYLES (v3 - Refined Overlay)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #060e0c;
  --bg-card: #081411;
  --bg-card-alt: #0a1714;
  --bg-hover: #0d1e19;

  --border-color: #1a2f29;
  --border-subtle: rgba(40, 70, 60, 0.35);

  --accent-orange: #FF5714;
  --accent-orange-hover: #e04808;
  --accent-green-icon: #4e836d;

  --text-main: #f5f2eb;
  --text-muted: #99a8a1;
  --text-subtle: #6b8076;

  --bg-header: rgba(6, 14, 12, 0.92);
  --bg-mobile-menu: rgba(6, 14, 12, 0.98);
  --bg-footer: #040a08;

  --btn-outline-bg: rgba(16, 32, 27, 0.7);
  --btn-outline-border: rgba(255, 255, 255, 0.18);
  --btn-outline-bg-hover: rgba(26, 48, 41, 0.9);
  --icon-btn-hover-bg: rgba(255, 255, 255, 0.05);
  --hero-fade-rgb: 6, 14, 12;

  /* Fonts */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1380px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

/* LIGHT THEME — toggled via data-theme="light" on <html>, see script.js */
[data-theme="light"] {
  --bg-dark: #f8f6f1;
  --bg-card: #ffffff;
  --bg-card-alt: #f2efe7;
  --bg-hover: #ece8dd;

  --border-color: #e3dfd2;
  --border-subtle: rgba(60, 90, 75, 0.18);

  --accent-orange: #FF5714;
  --accent-orange-hover: #e04808;
  --accent-green-icon: #3f7359;

  --text-main: #1c2620;
  --text-muted: #56655c;
  --text-subtle: #838f87;

  --bg-header: rgba(248, 246, 241, 0.9);
  --bg-mobile-menu: rgba(248, 246, 241, 0.98);
  --bg-footer: #efece1;

  --btn-outline-bg: rgba(255, 255, 255, 0.7);
  --btn-outline-border: rgba(20, 30, 25, 0.16);
  --btn-outline-bg-hover: rgba(230, 226, 214, 0.9);
  --icon-btn-hover-bg: rgba(20, 30, 25, 0.06);
  --hero-fade-rgb: 248, 246, 241;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body,
body.fts-theme {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container-max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 44px 0;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
}

.btn-orange {
  background-color: var(--accent-orange);
  color: #ffffff;
}
.btn-orange:hover {
  background-color: var(--accent-orange-hover);
  box-shadow: 0 4px 20px rgba(255, 87, 20, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--btn-outline-bg);
  border-color: var(--btn-outline-border);
  color: var(--text-main);
}
.btn-outline:hover {
  background-color: var(--btn-outline-bg-hover);
  border-color: var(--btn-outline-border);
  transform: translateY(-1px);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 0;
}

.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

/* Two logo files (dark-theme cream text / light-theme black text) swap via
   the same [data-theme="light"] mechanism as the theme-toggle sun/moon
   icons, so the wordmark stays legible against either background. */
.brand-logo-light-theme { display: none; }
[data-theme="light"] .brand-logo-dark-theme { display: none; }
[data-theme="light"] .brand-logo-light-theme { display: inline-block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}
.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active,
.nav-link.current-menu-item,
.nav-link.current_page_item,
.nav-link.current_page_parent {
  color: var(--accent-orange);
}
.nav-link.active::after,
.nav-link.current-menu-item::after,
.nav-link.current_page_item::after,
.nav-link.current_page_parent::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  font-size: 18px;
  transition: color 0.2s, background-color 0.2s;
}
.icon-btn:hover {
  color: var(--text-main);
  background-color: var(--icon-btn-hover-bg);
}

.search-btn {
  border-radius: var(--radius-sm);
  gap: 6px;
  padding: 8px 10px;
}
.search-shortcut-hint {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.5;
}
@media (max-width: 840px) {
  .search-shortcut-hint { display: none; }
}

.theme-toggle-btn .theme-icon-dark { display: none; }
[data-theme="light"] .theme-toggle-btn .theme-icon-light { display: none; }
[data-theme="light"] .theme-toggle-btn .theme-icon-dark { display: block; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
}

/* FULL BLEED HERO SECTION */
.hero-section {
  position: relative;
  z-index: 20;
  width: 100%;
  min-height: 620px;
  padding: 180px 0 64px;
  background-color: var(--bg-dark);
}

/* FOUNDING PARTNER STRIP — closes the gap between hero and Featured Stories,
   per client feedback that this transition felt empty. Deliberately a single
   confirmed partner (Vice Versa Global) only, not a generic trust-logo bar. */
.hero-partners {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-partners-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.hero-partners-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-partner-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  background-image: url('../img/hero/hero-home.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(var(--hero-fade-rgb)) 0%, rgba(var(--hero-fade-rgb), 0.94) 18%, rgba(var(--hero-fade-rgb), 0.5) 38%, rgba(var(--hero-fade-rgb), 0.04) 62%, rgba(var(--hero-fade-rgb), 0) 75%),
              linear-gradient(180deg, rgba(6, 14, 12, 0.05) 0%, rgba(6, 14, 12, 0.45) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* SECTION HEADERS */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-main);
}

.section-subtext {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 20px;
}

/* SECTOR RADAR — VALUE STRIP (same pattern as Stories "What you'll find here") */
.radar-value-strip {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 64px 0;
}
.radar-value-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}
.radar-value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 200px;
}
.radar-value-item svg, .radar-value-item i { flex-shrink: 0; font-size: 48px; color: var(--accent-green-icon); }
.radar-value-item h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
}
.radar-value-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-link .arrow {
  transition: transform 0.2s ease;
}
.section-link:hover .arrow {
  transform: translateX(4px);
}

/* FEATURED STORIES (OVERLAPPING HERO SECTION) */
.featured-section {
  position: relative;
  z-index: 10;
  padding-top: 40px;
}

.featured-card-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.featured-header {
  margin-bottom: 20px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}

.main-story-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border-subtle);
}

.story-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-story-card:hover .story-bg-img {
  transform: scale(1.03);
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 12, 0.1) 0%, rgba(6, 14, 12, 0.4) 40%, rgba(5, 12, 10, 0.95) 90%);
}

.story-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.story-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.story-title-large {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 10px;
}

.story-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 90%;
}

.story-meta {
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-meta .dot {
  font-size: 8px;
}

/* .story-card-content sits on a permanently-dark photo scrim
   (.story-card-overlay) regardless of theme, so its text must stay
   light-on-dark rather than following --text-main/--text-muted, which
   flip to dark-on-light in the light theme. */
.story-card-content .story-title-large { color: #f5f2eb; }
.story-card-content .story-excerpt { color: #99a8a1; }
.story-card-content .story-meta { color: #6b8076; }
.story-card-content .read-story-link { color: #FF5714; }

/* SIDE STORIES STACK */
.side-stories-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-story-card {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 16px;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  flex: 1;
}
.side-story-card:hover {
  background-color: var(--bg-hover);
  border-color: rgba(78, 131, 109, 0.4);
}

.story-title-medium {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-main);
  margin: 8px 0 18px;
}

.side-story-thumb {
  width: 140px;
  height: 105px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.side-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.side-story-card:hover .side-story-thumb img {
  transform: scale(1.05);
}

/* 3 PILLARS / APPROACH SECTION */
.pillars-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar-col {
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  border-right: 1px solid var(--border-color);
}
.pillar-col:last-child {
  border-right: none;
}

.pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* THEMES GRID SECTION */
.themes-main-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 8px;
}

.themes-main-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.theme-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.theme-card:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 131, 109, 0.5);
  background-color: var(--bg-hover);
}

.theme-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green-icon);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.theme-card:hover .theme-link .arrow {
  transform: translateX(3px);
}
.theme-link .arrow {
  transition: transform 0.2s ease;
}

.theme-icon {
  margin-bottom: 16px;
}
.theme-icon svg,
.theme-icon i {
  width: 48px;
  height: 48px;
  font-size: 48px;
  color: var(--accent-green-icon);
}

.theme-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
  min-height: 40px;
}

.theme-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* SECTOR RADAR SECTION */
.radar-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.radar-col {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
}
.radar-col:last-child {
  border-right: none;
}

/* HOMEPAGE SECTOR RADAR PREVIEW (3-col: intro / upcoming events / submit) */
.radar-box-preview {
  grid-template-columns: 1fr 1.3fr 1fr;
}

.radar-intro-col,
.radar-events-col,
.radar-submit-col {
  padding: 32px 28px;
  border-right: 1px solid var(--border-color);
}
.radar-submit-col {
  border-right: none;
  display: flex;
  flex-direction: column;
}

.radar-intro-col {
  display: flex;
  flex-direction: column;
}
.radar-intro-col .page-eyebrow { margin-bottom: 10px; }

.radar-preview-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 10px;
}
.radar-intro-col .radar-text { margin-bottom: 20px; }
.radar-intro-col .btn { align-self: flex-start; }

.radar-events-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.radar-events-col-header .radar-title { margin: 0; }

.events-list-compact .event-row {
  padding: 12px 0;
  grid-template-columns: 56px 1fr 20px;
}
.events-list-compact .event-location {
  font-size: 12.5px;
}

.radar-events-col .radar-link {
  margin-top: 12px;
  display: inline-flex;
}

.radar-icon {
  margin-bottom: 16px;
}
.radar-icon svg,
.radar-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: var(--accent-green-icon);
}

.radar-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.radar-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.radar-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.radar-link .arrow {
  transition: transform 0.2s ease;
}
.radar-link:hover .arrow {
  transform: translateX(4px);
}

/* WORK WITH US CTA BANNER */
.cta-banner {
  background: linear-gradient(90deg, #0d221c 0%, #081713 100%);
  border: 1px solid #1e3a31;
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cta-icon-badge {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-icon-badge svg,
.cta-icon-badge i {
  width: 64px;
  height: 64px;
  font-size: 64px;
  color: var(--accent-orange);
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cta-subtext {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.5;
}

.cta-right {
  flex-shrink: 0;
}
.cta-right-form {
  flex-shrink: 1;
  min-width: 0;
  width: 320px;
  max-width: 100%;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-footer);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.85fr 0.95fr 1.05fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.footer-newsletter-form .form-input {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  padding: 10px 12px;
}
.footer-newsletter-form .form-submit-btn {
  width: auto;
  padding: 0 16px;
  flex-shrink: 0;
}
.footer-col-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 4px;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-location svg { flex-shrink: 0; color: var(--accent-green-icon); }

.footer-connect-note { margin-top: 14px; }

.footer-brand-col .brand {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: all 0.2s ease;
}
.social-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-orange);
  background-color: var(--accent-orange);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-contact-email a {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact-email a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-subtle);
}

.legal-links {
  display: flex;
  gap: 24px;
}
.legal-links a:hover {
  color: var(--text-main);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-bg-media {
    width: 100%;
    opacity: 0.35;
  }
  .featured-section {
    margin-top: -60px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .side-story-card {
    grid-template-columns: 1fr 120px;
  }
  .themes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 840px) {
  .pillars-box,
  .radar-box {
    grid-template-columns: 1fr;
  }
  .pillar-col,
  .radar-col {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .radar-intro-col,
  .radar-events-col,
  .radar-submit-col {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .radar-submit-col {
    border-bottom: none;
  }
  .pillar-col:last-child,
  .radar-col:last-child {
    border-bottom: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background-color: var(--bg-mobile-menu);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px 20px;
  }
  .nav-menu.active .nav-link {
    width: 100%;
    padding: 12px 0;
  }
  .nav-menu.active .nav-link.active::after {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-toggle span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
}

@media (max-width: 600px) {
  .themes-grid {
    grid-template-columns: 1fr;
  }
  .side-story-card {
    grid-template-columns: 1fr;
  }
  .side-story-thumb {
    width: 100%;
    height: 160px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Below ~430px the brand wordmark, search icon, theme toggle, "Partner With
   Us" pill and hamburger no longer fit on one row — .brand-name wraps onto
   3 lines and overlaps .header-actions. Drop the CTA pill from the header
   row at this width (it's still reachable from the hero, footer and other
   in-page CTAs on every page) so the remaining controls fit on one line. */
@media (max-width: 480px) {
  .header-actions .btn-orange {
    display: none;
  }
}

/* ==========================================================================
   PAGE EYEBROW & BREADCRUMB
   ========================================================================== */
.page-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumb-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 16px 0;
}
/* In light theme --bg-card is pure white, a shade brighter than the body's
   --bg-dark — reads as a stray white bar. Drop the background there so the
   bar blends into the body instead (dark theme's --bg-card is already close
   enough to --bg-dark that this isn't needed there). */
[data-theme="light"] .article-breadcrumb-bar {
  background: transparent;
}
.article-breadcrumb-bar .breadcrumb { margin-bottom: 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-orange); }
.breadcrumb .sep { color: var(--text-subtle); }
.breadcrumb .current { color: var(--text-main); }
.breadcrumb-back { color: var(--text-muted); font-size: 13px; }
.breadcrumb-back:hover { color: var(--accent-orange); }

/* ==========================================================================
   STORIES PAGE - DESKS GRID IN HERO
   ========================================================================== */
.stories-hero .hero-container {
  flex-direction: column;
  align-items: flex-start;
}

/* Stories hero uses a taller min-height (matching the homepage hero's effective
   height with partner strip) so the "Browse by desk" cards sit below the fold. */
.stories-hero {
  min-height: 780px;
}

.stories-main-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Browse by desk section scroll offset — ensures title is visible when
   scrolling from the hero CTA button */
#browse-desks {
  scroll-margin-top: calc(var(--header-height) + 40px);
}

/* Explore events section scroll offset (Sector Radar page) */
#explore-events {
  scroll-margin-top: calc(var(--header-height) + 40px);
}

.stories-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  position: relative;
}

.browse-topics {
  position: relative;
}

.browse-topics-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background-color: rgba(16, 32, 27, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #f5f2eb;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.browse-topics-btn:hover {
  border-color: var(--accent-orange);
}
.browse-topics-chevron {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.browse-topics.open .browse-topics-chevron {
  transform: rotate(180deg);
}

.browse-topics-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.browse-topics-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
}
.browse-topics-menu a:hover {
  background-color: var(--bg-hover);
  color: var(--text-main);
}

.view-all-topics-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-green-icon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.view-all-topics-link .arrow { transition: transform 0.2s ease; }
.view-all-topics-link:hover .arrow { transform: translateX(4px); }

/* WHAT YOU'LL FIND HERE STRIP */
.find-here-strip {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 64px 0;
}
.find-here-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 32px;
}
.find-here-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}
.find-here-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  width: 140px;
}
.find-here-item i {
  font-size: 48px;
  color: var(--accent-green-icon);
}

/* THE WEEKLY SHIFT SIDEBAR BOX */
.weekly-shift-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.weekly-shift-list .check {
  color: var(--accent-green-icon);
  margin-right: 4px;
}

.desks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  width: 100%;
}

.desk-card {
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background-color 0.2s, border-color 0.2s;
}
.desk-card:hover {
  background-color: var(--bg-hover);
  border-color: rgba(78, 131, 109, 0.45);
}

.desk-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(78, 131, 109, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.desk-icon svg,
.desk-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: var(--accent-green-icon);
}

.desk-info { flex: 1; }

.desk-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.desk-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.desk-arrow {
  color: var(--text-subtle);
  font-size: 16px;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.desk-card:hover .desk-arrow {
  color: var(--accent-orange);
  transform: translateX(4px);
}

/* ==========================================================================
   DESK PAGES — secondary desk-switcher nav, featured story, sub-collections,
   badged latest-stories cards, compact related-events grid
   ========================================================================== */
.desk-nav-strip {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}
.desk-nav-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  white-space: nowrap;
}
.desk-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}
.desk-nav-link:hover { color: var(--text-main); }
.desk-nav-link.active {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

.desk-nav-more {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}
.desk-nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}
.desk-nav-more-btn i { font-size: 14px; transition: transform 0.2s ease; }
.desk-nav-more-btn:hover,
.desk-nav-more-btn.open { color: var(--text-main); }
.desk-nav-more-btn.open i { transform: rotate(180deg); }
.desk-nav-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background-color: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  z-index: 30;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  white-space: normal;
}
.desk-nav-more-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-muted);
}
.desk-nav-more-menu a:hover { background-color: var(--bg-hover); color: var(--text-main); }
.desk-nav-more-menu a.active { color: var(--accent-orange); }

.desk-hero-quote {
  border-left: 2px solid var(--accent-green-icon);
  padding-left: 14px;
  margin-top: 24px;
  max-width: 520px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.5;
}

.desk-featured-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
}
.desk-featured-story img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.desk-featured-story-body {
  min-height: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.desk-featured-story-body .story-title-large { margin: 10px 0 12px; }

.subdesk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.subdesk-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: block;
  transition: border-color 0.2s;
}
.subdesk-card:hover { border-color: rgba(78, 131, 109, 0.45); }
.subdesk-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(78, 131, 109, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.subdesk-icon svg,
.subdesk-icon i {
  width: 26px;
  height: 26px;
  font-size: 26px;
  color: var(--accent-green-icon);
}
.subdesk-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}
.subdesk-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}
.subdesk-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-green-icon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.subdesk-link .arrow { transition: transform 0.2s ease; }
.subdesk-card:hover .subdesk-link .arrow { transform: translateX(4px); }

/* Latest-stories cards: category badge overlaid on the thumbnail + bookmark */
.grid-story-card-badge .grid-story-thumb { position: relative; }
.grid-story-card-badge .story-tag-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(6, 14, 12, 0.85);
  color: #f5f2eb;
  z-index: 1;
}
.grid-story-card-badge .bookmark-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(6, 14, 12, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #99a8a1;
  font-size: 13px;
  z-index: 1;
}

/* Related events on desk pages: compact 4-up grid instead of stacked rows */
.events-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.event-card-compact {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: block;
  transition: border-color 0.2s;
}
.event-card-compact:hover { border-color: rgba(78, 131, 109, 0.45); }
.event-card-compact .ev-date-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}
.event-card-compact .ev-date-row .ev-month { font-size: 12px; font-weight: 600; }
.event-card-compact .event-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.35;
}
.event-card-compact .event-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.event-card-compact .view-event-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.event-card-compact .view-event-link .arrow { transition: transform 0.2s ease; }
.event-card-compact:hover .view-event-link .arrow { transform: translateX(4px); }

/* ==========================================================================
   EVENT DETAIL PAGE — compact hero, tabs, key topics, who-should-attend
   ========================================================================== */
.event-hero { padding: 24px 0 0; }
.event-hero-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}
.event-hero-banner-img { width: 100%; height: 260px; object-fit: cover; display: block; }
.event-hero-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  flex-wrap: wrap;
}
.event-hero-date-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 87, 20, 0.1);
  border: 1px solid rgba(255, 87, 20, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  color: var(--accent-orange);
}
.event-hero-date-badge .ev-day { font-size: 20px; font-weight: 700; line-height: 1; }
.event-hero-date-badge .ev-month { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; }
.event-hero-date-badge .ev-year { font-size: 11px; color: var(--text-subtle); }
.event-hero-info { flex: 1; min-width: 220px; }
.event-hero-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}
.event-hero-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.event-hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-orange); display: inline-block; }
.event-hero-meta .dot.green { background: #4caf82; }
.event-hero-register { flex-shrink: 0; }

.event-detail-container > div:first-child { min-width: 0; }

.event-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
}
.event-tab-btn {
  background: none;
  border: none;
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.event-tab-btn:hover { color: var(--text-main); }
.event-tab-btn.active { color: var(--accent-orange); border-bottom-color: var(--accent-orange); }
.event-tab-panel[hidden] { display: none; }

.key-topics-list { display: flex; flex-wrap: wrap; gap: 10px; }
.key-topic-tag {
  font-size: 12.5px;
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--text-muted);
}

.who-attend-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.who-attend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 88px;
  text-align: center;
}
.who-attend-item svg, .who-attend-item i { flex-shrink: 0; width: 22px; height: 22px; font-size: 22px; color: var(--accent-green-icon); }
.who-attend-item span { font-size: 12px; color: var(--text-muted); }

.event-placeholder-note {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 24px 0;
}

/* ==========================================================================
   STORIES PAGE - FILTER BAR
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
  padding-bottom: 0;
}

.filter-tab {
  background: none;
  border: none;
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.filter-tab:hover { color: var(--text-main); }
.filter-tab.active {
  color: var(--accent-orange);
  border-bottom-color: var(--accent-orange);
}

/* ==========================================================================
   STORIES PAGE - LAYOUT GRID + STORY CARDS + SIDEBAR
   ========================================================================== */
.stories-layout-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.stories-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-story-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.grid-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 131, 109, 0.4);
}

.grid-story-thumb {
  height: 150px;
  overflow: hidden;
}
.grid-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.grid-story-card:hover .grid-story-thumb img { transform: scale(1.05); }

.grid-story-body { padding: 16px; }

.grid-story-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-main);
  margin: 8px 0 6px;
}
.grid-story-title a { color: inherit; }
.grid-story-title a:hover { color: var(--accent-orange); }

.grid-story-excerpt {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

/* SIDEBAR */
.stories-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 10px;
}

.sidebar-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form .form-submit-btn { width: 100%; }
.form-disclaimer { font-size: 12px; color: var(--text-subtle); margin-top: 6px; }

.theme-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.theme-pill {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  transition: all 0.2s;
}
.theme-pill:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.view-all-themes-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-orange);
}

/* Stories featured — read story link */
.story-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.read-story-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-orange);
  transition: gap 0.2s;
}
.read-story-link:hover { text-decoration: underline; }

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */
.article-hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,14,12,0.1) 0%, rgba(6,14,12,0.4) 50%, rgba(6,14,12,0.85) 100%);
}

.article-hero-container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 56px;
  max-width: 820px;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--text-main);
  margin: 12px 0 16px;
  max-width: 780px;
}

.article-lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 28px;
}

.author-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.authors-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.author-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-photo-credit {
  width: 100%;
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 4px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.article-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* .article-hero-container sits on the permanently-dark .article-hero-overlay
   photo scrim, so its text must stay light-on-dark regardless of theme. */
.article-hero-container .article-title,
.article-hero-container .author-name {
  color: #f5f2eb;
}
.article-hero-container .article-lead,
.article-hero-container .article-date {
  color: #99a8a1;
}
.article-hero-container .hero-photo-credit {
  color: #6b8076;
}

/* ARTICLE BODY */
.article-body-section { padding-top: 0; }

.article-body-container {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 48px 0 64px;
  align-items: start;
}

.event-detail-container { grid-template-columns: minmax(0, 1fr) 340px; }

.share-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.share-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  text-transform: uppercase;
}

.share-buttons { display: flex; flex-direction: column; gap: 8px; }

.share-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all 0.2s;
}
.share-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.share-btn .copy-tooltip {
  position: absolute;
  left: 46px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.share-btn .copy-tooltip.visible {
  opacity: 1;
}

/* PROSE */
.article-prose {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.72;
}

.article-prose p { margin-bottom: 24px; }

.drop-cap-paragraph { position: relative; }

.drop-cap {
  float: left;
  font-size: 72px;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 6px;
  font-family: var(--font-serif);
  color: var(--accent-orange);
}

.article-blockquote {
  border-left: 4px solid var(--accent-orange);
  padding: 12px 0 12px 28px;
  margin: 36px 0;
  font-size: 24px;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.35;
}
.article-blockquote cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin-top: 12px;
}

.article-heading {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--text-main);
  margin: 40px 0 16px;
}

/* Editor-produced elements not covered by the static design's single
   hand-authored article.html sample: lists, links, tables, code, hr,
   and heading levels beyond h2/h3. Classes are added automatically to
   in-content blockquote/h2/h3 via inc/article-prose.php; the rest are
   scoped purely by tag so any WP block-editor output looks correct. */
.article-prose h4,
.article-prose h5,
.article-prose h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-main);
  margin: 32px 0 14px;
}
.article-prose h4 { font-size: 20px; }
.article-prose h5 { font-size: 18px; }
.article-prose h6 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; }

.article-prose ul,
.article-prose ol {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--text-main);
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 10px; line-height: 1.6; }
.article-prose li::marker { color: var(--accent-orange); }
.article-prose li p { margin-bottom: 0; }

.article-prose a:not(.btn) {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-prose a:not(.btn):hover { color: var(--accent-orange-hover); }

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 32px;
  font-family: var(--font-sans);
  font-size: 15px;
}
.article-prose th,
.article-prose td {
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  text-align: left;
}
.article-prose th {
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card-alt);
}
.article-prose td { color: var(--text-muted); }

.article-prose code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.88em;
  background: var(--bg-card-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-orange);
}
.article-prose pre {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 8px 0 32px;
  overflow-x: auto;
}
.article-prose pre code {
  background: none;
  padding: 0;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
}

.article-prose hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 40px 0;
}

.article-prose figure.wp-block-image {
  margin: 36px 0;
}
.article-prose figure.wp-block-image img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.article-prose figure.wp-block-image figcaption {
  display: block;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-subtle);
  margin-top: 8px;
  font-style: italic;
}

.article-prose figure.wp-block-pullquote blockquote {
  text-align: center;
  font-size: 26px;
}

.back-to-stories-row {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.next-article-block {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
}

.infinite-scroll-end {
  text-align: center;
  padding: 40px 0 56px;
  color: var(--text-subtle);
  font-size: 14px;
}

.article-inline-image {
  margin: 36px 0;
}
.article-inline-image img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.image-caption {
  display: block;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-subtle);
  margin-top: 8px;
  font-style: italic;
}
.image-credit {
  display: block;
  font-style: normal;
  color: var(--text-subtle);
  opacity: 0.8;
  margin-top: 2px;
}

/* ARTICLE SIDEBAR */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.series-list { display: flex; flex-direction: column; gap: 16px; }

.series-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  transition: opacity 0.2s;
}
.series-item:hover { opacity: 0.8; }

.series-thumb {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.series-thumb img { width: 100%; height: 100%; object-fit: cover; }

.series-info h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
}

.series-info .date {
  font-size: 12px;
  color: var(--text-subtle);
}

.support-journalism-box { background: linear-gradient(135deg, #0d221c, #081713); }

/* These bands are permanently dark (accent gradient), regardless of theme —
   their text must stay light-on-dark rather than following --text-main/
   --text-muted, which flip to dark-on-light in the light theme. */
.cta-banner .cta-heading,
.submit-event-cta .submit-cta-title,
.support-journalism-box .sidebar-title {
  color: #f5f2eb;
}
.cta-banner .cta-subtext,
.submit-event-cta .submit-cta-desc,
.submit-event-cta .submit-cta-note,
.support-journalism-box .sidebar-desc {
  color: #99a8a1;
}

.btn-block { display: block; width: 100%; text-align: center; margin-top: 14px; }

/* ==========================================================================
   SECTOR RADAR PAGE
   ========================================================================== */
.radar-hero-section {
  padding-bottom: 60px;
  min-height: 780px;
}

.radar-hero-bg {
  background-image: url('../img/hero/hero-sector-radar.jpg');
}

.radar-hero-overlay {
  background: linear-gradient(90deg, rgb(var(--hero-fade-rgb)) 0%, rgba(var(--hero-fade-rgb),.94) 18%, rgba(var(--hero-fade-rgb),.5) 38%, rgba(var(--hero-fade-rgb),.04) 62%, rgba(var(--hero-fade-rgb),0) 75%),
              linear-gradient(180deg, rgba(6,14,12,.05) 0%, rgba(6,14,12,.5) 100%);
}

.radar-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Filter dropdowns proxy a real <select> (kept for its value/change/options)
   through a Browse-Desks-style button + menu — see script.js. The select
   itself stays in the DOM but off-screen, never shown to the user. */
.filter-dropdown select.filter-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.filter-select {
  padding: 10px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 13.5px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2399a8a1' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.filter-reset-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13.5px;
  cursor: pointer;
  padding: 10px 4px;
  transition: color 0.2s;
}
.filter-reset-btn:hover { color: var(--accent-orange); }

.filter-empty-state {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.filter-empty-state a { color: var(--accent-orange); text-decoration: underline; }

.events-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--accent-orange);
  color: var(--text-main);
}
.page-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.radar-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

/* Sector Radar overview page: narrower map, wider events sidebar than the
   default All Events layout above. */
.radar-grid.radar-grid-split {
  grid-template-columns: 1.1fr 1fr;
}

.radar-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 780px;
  position: relative;
}

.map-container { position: relative; padding: 24px; }

.radar-leaflet-map {
  width: 100%;
  height: 740px;
  border-radius: var(--radius-md);
  background: #0d2820;
  z-index: 0;
}

.radar-map-pin span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(255, 87, 20, 0.25);
}

.radar-cluster-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 87, 20, 0.22);
  border: 2px solid var(--accent-orange);
}
.radar-cluster-icon span {
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
}

/* OpenStreetMap's free tiles only ship one (light) style — Carto's paired
   dark/light tiles started requiring an API key nobody has (see the
   4.14.0 changelog entry), and a repeat dependency on some other third
   party's free dark tiles risks the exact same problem recurring later.
   Darkened with a CSS filter on the tile layer only (not the whole map —
   markers/popups/zoom controls live in separate Leaflet panes and keep
   their real colors) so this can't be pulled out from under us again. */
#radarMap .leaflet-tile-pane,
#eventLocationMap .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}
[data-theme="light"] #radarMap .leaflet-tile-pane,
[data-theme="light"] #eventLocationMap .leaflet-tile-pane {
  filter: none;
}

.leaflet-popup-content-wrapper {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}
.leaflet-popup-content { font-family: var(--font-sans); font-size: 13px; margin: 10px 12px; }
.leaflet-popup-tip { background: var(--bg-card); }
.leaflet-container a.leaflet-popup-close-button { color: var(--text-muted); }

.map-legend {
  position: absolute;
  bottom: 28px;
  left: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(6,14,12,0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-pin.upcoming { background: var(--accent-orange); }
.legend-pin.virtual { background: #4caf82; }
.legend-pin.hybrid { background: #4e836d; }

/* EVENTS PANEL */
.radar-events-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.events-panel-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 20px;
}

.events-list { display: flex; flex-direction: column; }

.event-row {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
}
.event-row:first-child { padding-top: 0; }
.event-row:last-child { border-bottom: none; }
.event-row[hidden] { display: none; }
.event-row:hover { opacity: 0.85; }

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ev-day { font-size: 16px; font-weight: 700; color: var(--accent-orange); line-height: 1; }
.ev-month { font-size: 11px; font-weight: 600; color: var(--accent-orange); letter-spacing: 0.08em; }
.ev-year { font-size: 11px; color: var(--text-subtle); }

.event-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.event-location { font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; }

.event-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-subtle);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-orange);
  display: inline-block;
}
.badge-dot.green { background: #4caf82; }

.event-arrow { color: var(--text-subtle); font-size: 16px; }

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-orange);
  margin-top: 16px;
}

/* SUBMIT EVENT CTA */
.submit-event-cta {
  background: linear-gradient(90deg, #0d221c, #081713);
  border: 1px solid #1e3a31;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.submit-cta-left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.submit-cta-icon {
  width: 100px;
  height: 100px;
  background: rgba(78,131,109,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.submit-cta-icon svg,
.submit-cta-icon i {
  width: 64px;
  height: 64px;
  font-size: 64px;
  color: var(--accent-green-icon);
  flex-shrink: 0;
}

.submit-cta-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
}

.submit-cta-desc { font-size: 13.5px; color: var(--text-muted); }

.submit-cta-note { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* WHY THIS MATTERS */
.why-matters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.why-text { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-hero-section { padding-bottom: 60px; }

.about-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* MISSION GRID */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.mission-icon {
  width: 44px;
  height: 44px;
  background: rgba(78,131,109,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mission-icon svg,
.mission-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: var(--accent-green-icon);
}

.mission-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mission-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOUNDER */
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.founder-portrait img { width: 100%; display: block; }

.founder-name {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
}

.founder-role {
  font-size: 15px;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.founder-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* FOUNDING PARTNER */
.founding-partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.fp-label-col { display: flex; flex-direction: column; gap: 20px; }

.vvg-logo-block { display: flex; align-items: center; gap: 10px; }
.vvg-logo-img { width: 140px; height: 140px; object-fit: contain; }

.vvg-name-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.fp-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.fp-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
}

.fp-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ADVISORS */
.advisors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.advisor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.advisor-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  border: 2px solid var(--border-color);
}
.advisor-avatar img { width: 100%; height: 100%; object-fit: cover; }

.advisor-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-alt, #123126);
  color: var(--accent-orange);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.advisor-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.advisor-role {
  font-size: 13px;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

.advisor-bio { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.advisory-note {
  font-size: 13px;
  color: var(--text-subtle);
  font-style: italic;
  text-align: center;
}

/* APPROACH */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.approach-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.approach-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(78, 131, 109, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.approach-icon svg, .approach-icon i { width: 22px; height: 22px; font-size: 22px; color: var(--accent-green-icon); }

.approach-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.approach-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* CONTACT BAND */
.contact-band-section {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-color);
  padding: 52px 0;
}

.contact-band-grid {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-band-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 10px;
}

.contact-band-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(78,131,109,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-icon svg,
.contact-detail-icon i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: var(--accent-green-icon);
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SUBMIT EVENT PAGE
   ========================================================================== */
.submit-hero-section { padding-bottom: 60px; }

.submit-hero-bg {
  background-image: url('../img/hero/hero-submit-event.jpg');
  background-position: right center;
}

.submit-hero-overlay {
  background: linear-gradient(90deg, rgb(var(--hero-fade-rgb)) 0%, rgba(var(--hero-fade-rgb),.92) 18%, rgba(var(--hero-fade-rgb),.45) 38%, rgba(var(--hero-fade-rgb),.05) 60%, rgba(var(--hero-fade-rgb),0) 75%),
              linear-gradient(180deg, rgba(6,14,12,.0) 0%, rgba(6,14,12,.5) 100%);
}

.submit-hero-title { max-width: 550px; }

.submit-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* FORM CARD — dark theme, one shade lighter than the page so it reads as a
   distinct panel rather than blending into the surrounding sections */
.form-card-wrap {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-section-group { margin-bottom: 32px; }

.form-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.speaker-row {
  position: relative;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card-alt);
}
.speaker-row .form-field:last-of-type { margin-bottom: 0; }

.speaker-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--text-subtle);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}
.speaker-remove-btn[hidden] { display: none; }
.speaker-remove-btn:hover { color: var(--accent-orange); }

#addSpeakerBtn { display: inline-flex; align-items: center; gap: 8px; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.required { color: var(--accent-orange); }

.form-input {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-hover);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  color-scheme: dark;
}
.form-input::placeholder { color: var(--text-subtle); }
.form-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255,87,20,0.12);
}

.form-select-wrap { position: relative; }
.form-select-field {
  width: 100%;
  padding: 12px 32px 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-hover);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b8076' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  outline: none;
}
.form-select-field:focus { border-color: var(--accent-orange); }
.form-select-field option { background: var(--bg-card-alt); color: var(--text-main); }

.form-date-wrap { position: relative; }
.date-input { width: 100%; }

.form-textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-hover);
  min-height: 100px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
.form-textarea::placeholder { color: var(--text-subtle); }
.form-textarea:focus { border-color: var(--accent-orange); }

.char-count { font-size: 11.5px; color: var(--text-subtle); text-align: right; margin-top: 2px; }

.form-consent-row { margin-bottom: 24px; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}

.form-checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-orange);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Form validation states */
.form-error {
  display: none;
  font-size: 12.5px;
  color: #ff6b5e;
  margin-top: 2px;
}
.form-error.visible { display: block; }
.form-input.invalid,
.form-select-field.invalid,
.form-textarea.invalid {
  border-color: #ff6b5e;
  box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.12);
}
.form-consent-row .form-error { margin-top: 8px; }

/* Success state (shown after a valid form submission) */
.form-success-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(78, 131, 109, 0.16);
  color: var(--accent-green-icon);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
}
.form-success-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 28px;
}
.form-success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-outline-dark:hover { background: var(--bg-hover); }

/* SUBMIT SIDEBAR */
.submit-sidebar { display: flex; flex-direction: column; gap: 16px; }

.sidebar-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sidebar-icon-circle {
  width: 44px;
  height: 44px;
  background: rgba(78,131,109,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-icon-circle svg,
.sidebar-icon-circle i {
  width: 22px;
  height: 22px;
  font-size: 22px;
  color: var(--accent-green-icon);
}

.sidebar-info-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.sidebar-info-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

.sidebar-checklist {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-checklist li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
}

.sidebar-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4caf82;
  font-weight: 700;
}

.sidebar-contact-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.sidebar-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.sidebar-contact-item:hover { color: var(--accent-orange); }
.sidebar-contact-item svg, .sidebar-contact-item i { flex-shrink: 0; margin-top: 2px; font-size: 16px; }

/* ==========================================================================
   RESPONSIVE — INNER PAGES (Stories, Article, Sector Radar, About, Submit Event)
   ========================================================================== */
@media (max-width: 1024px) {
  .desks-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stories-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stories-layout-grid { grid-template-columns: 1fr; }
  .radar-grid, .radar-grid.radar-grid-split { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 28px; }
  .founder-portrait { max-width: 380px; }
  .mission-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .advisors-grid { grid-template-columns: repeat(2, 1fr); }
  .founding-partner-card { grid-template-columns: 1fr; gap: 24px; }
  .article-body-container { grid-template-columns: 60px minmax(0, 1fr); }
  .article-sidebar { grid-column: 1 / -1; }
  .why-matters-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-band-grid { grid-template-columns: 1fr repeat(2, 1fr); }
  .submit-layout-grid { grid-template-columns: 1fr; }
  .subdesk-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid-compact { grid-template-columns: repeat(2, 1fr) !important; }
  .desk-featured-story { grid-template-columns: 1fr; height: auto; }
  .desk-featured-story img { height: 240px; }
}

@media (max-width: 840px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .desks-grid { grid-template-columns: 1fr !important; }
  .stories-cards-grid { grid-template-columns: 1fr !important; }
  .approach-grid { grid-template-columns: 1fr; }
  .advisors-grid { grid-template-columns: 1fr; }
  .why-matters-grid { grid-template-columns: 1fr; }
  .contact-band-grid { grid-template-columns: 1fr; }
  .radar-value-grid { gap: 24px; }
  .subdesk-grid { grid-template-columns: 1fr; }
  .events-grid-compact { grid-template-columns: 1fr !important; }
  .desk-nav-strip-inner { padding: 12px 0; }
  .event-hero-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .event-hero-date-badge { align-self: center; }
  .event-hero-register { width: 100%; text-align: center; }
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .filter-tab { flex-shrink: 0; }
  .radar-filters { flex-direction: column; align-items: stretch; }
  .submit-event-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .submit-cta-left { flex-wrap: wrap; }
  .filter-select { width: 100%; }
  .radar-filters .browse-topics,
  .radar-filters .browse-topics-btn { width: 100%; justify-content: space-between; }
  .article-body-container {
    grid-template-columns: 1fr;
  }
  .share-column {
    flex-direction: row;
    justify-content: center;
    order: -1;
    margin-bottom: 12px;
    position: static;
  }
  .share-buttons {
    flex-direction: row;
  }
  .share-btn .copy-tooltip {
    left: 50%;
    top: auto;
    bottom: 46px;
    transform: translateX(-50%);
  }
  .founding-partner-card { padding: 28px 24px; }
}


/* ==========================================================================
   HOMEPAGE — LATEST FROM YOUTUBE (placeholder cards; real videos pulled
   via YouTube RSS/API once wired up in WordPress)
   ========================================================================== */
.video-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.video-section-title i { color: #ff0000; font-size: 26px; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Video cards are deliberately always-dark ("media" styling), regardless of
   site theme, so they read as visually distinct from ordinary story cards. */
.video-card {
  display: block;
  background-color: #0c1512;
  border: 1px solid #24382f;
  border-top: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 61, 0.4);
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }

.video-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  pointer-events: none;
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--accent-orange);
  color: #fff;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 14, 12, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5f2eb;
  font-size: 20px;
  transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
}
.video-play-btn i { position: relative; left: 1px; }
.video-card:hover .video-play-btn {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translate(-50%, -50%) scale(1.08);
}
.video-thumb.is-previewing .video-play-btn,
.video-thumb.is-previewing .video-badge {
  opacity: 0;
}

.video-hover-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 24px 12px 12px;
  background: linear-gradient(180deg, rgba(6,14,12,0) 0%, rgba(6,14,12,0.9) 65%, rgba(6,14,12,0.96) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  text-align: left;
}
.video-thumb.is-previewing .video-hover-info {
  opacity: 1;
  transform: translateY(0);
}
.video-hover-info-title {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  color: #f5f2eb;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-hover-info-meta {
  font-size: 11px;
  color: #99a8a1;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}
.video-hover-info-meta i { font-size: 12px; color: var(--accent-orange); }
.video-hover-info .video-yt-link {
  pointer-events: auto;
  color: #ffb98a;
}
.video-hover-info .video-yt-link:hover { color: #fff; }

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: rgba(6, 14, 12, 0.8);
  color: #f5f2eb;
}

.video-card-body { padding: 16px; }

.video-title {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #f5f2eb;
  margin-bottom: 8px;
}

.video-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.video-meta {
  font-size: 12px;
  color: #99a8a1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-meta i { font-size: 14px; color: var(--accent-orange); }

.video-yt-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #6ea88f;
  white-space: nowrap;
}
.video-yt-link:hover { color: var(--accent-orange); }

/* VIDEO MODAL */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 6, 0.88);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
}

.video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f5f2eb;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}
.video-modal-close:hover { background: var(--accent-orange); border-color: var(--accent-orange); }

@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-thumb { height: 210px; }
}

/* ==========================================================================
   WORDPRESS-ONLY ADDITIONS — neither exists in the static prototype; both
   carried over unchanged in behavior from the previous theme, per explicit
   instruction to preserve them. Restyled here to match this design's tokens.
   ========================================================================== */

.fts-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-card);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 2000;
}
.fts-skip-link:focus { left: 12px; top: 12px; }

.fts-scroll-top {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-orange);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.fts-scroll-top:hover { background: var(--accent-orange-hover); }

.fts-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 8, 6, 0.72);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
}
.fts-search-modal.is-open { display: flex; }

.fts-search-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.fts-search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
}
.fts-search-input-row i { font-size: 18px; color: var(--text-subtle); }

.fts-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-main);
}
.fts-search-input::placeholder { color: var(--text-subtle); }

.fts-search-esc-hint {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 8px;
}

.fts-search-results {
  max-height: 50vh;
  overflow-y: auto;
  padding: 8px;
}

.fts-search-empty {
  padding: 20px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 14px;
}

.fts-search-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
}
.fts-search-result:hover { background: var(--bg-hover); }

.fts-search-result-kind {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green-icon);
}

.fts-search-result-title {
  font-size: 15px;
  font-weight: 700;
}

/* ==========================================================================
   Fixes for legacy fts-v2.css collisions — see functions.php comment on
   fts_enqueue_assets(). New markup reuses class names the legacy stylesheet
   also targets generically (e.g. ".footer-grid a"); these overrides need
   higher specificity than the legacy rule to win regardless of load order.
   ========================================================================== */

/* fts-v2.css: ".footer-grid a, .footer-grid p { display: block; margin:8px
   0; }" — was collapsing the flex-centered social icon circles. */
.footer-grid .social-btn {
  display: flex;
  margin: 0;
}

/* Same fts-v2.css rule also matches .footer-desc (a <p>), overriding its
   font-size/color/margin, and ".footer-grid h4 { margin:0 0 12px }"
   overrides .footer-col-title's margin-bottom — both at higher specificity
   (class+tag beats class-only) regardless of load order. */
.footer-grid .footer-desc {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 280px;
}
.footer-grid .footer-col-title {
  margin: 0 0 18px;
}
.footer-grid .footer-col-desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 4px;
}
.footer-grid .footer-connect-note {
  margin-top: 14px;
}
.footer-grid .footer-location {
  display: flex;
  color: var(--text-muted);
  margin: 0 0 4px;
}
/* Same legacy rule also matches the footer's brand link (an <a class="brand">),
   knocking it from flex to block — the logo and "FUEL THE SHIFT" wordmark
   stack on separate lines instead of sitting inline. */
.footer-grid .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

/* fts-v2.css: ".info-card, .desk-card { background: linear-gradient(#0e2b21,
   #081e18); }" — background-color and background-image are separate CSS
   layers, so the new design's ".desk-card { background-color:
   var(--bg-card-alt) }" never actually cleared this hardcoded dark gradient;
   it just painted underneath it, invisibly. In light theme this reads as a
   flatly wrong dark-green "Other desks" card floating on an otherwise light
   page. (.info-card itself is intentionally left alone — it's still used
   as-is by page-partner.php/page-submit-event.php, neither rebuilt to v4
   yet.) */
.desk-card {
  background-image: none;
}

/* fts-v2.css: ".info-card h3, .desk-card h3 { font-family: var(--serif);
   font-weight: 500; margin: 8px 0; }" and ".info-card p, .desk-card p {
   color: var(--muted); font-size: 14px; }" — both class+tag (0,1,1), beat
   the new design's class-only .desk-title/.desk-desc (0,1,0) regardless of
   load order. Titles were rendering serif/weight-500 instead of the
   design's sans-serif/weight-600, and descriptions had the wrong
   font-size/color. (.info-card again left untouched — still legacy markup
   elsewhere.) */
.desk-card .desk-title {
  font-family: var(--font-sans);
  font-weight: 600;
  margin: 0 0 4px;
}
.desk-card .desk-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* fts-v2.css: ".mission-grid { gap:1px; background:#d8d3ca; border:1px
   solid #d8d3ca; border-radius:9px; overflow:hidden } .mission-grid>div {
   background:#fff }" — the classic "single card split by a hairline" trick.
   The new design's own .mission-grid rule only ever set `gap` (correctly
   winning at 20px), never background/border/border-radius/overflow, so
   those four legacy properties applied unopposed: a beige-bordered outer
   wrapper with rounded corners sat around the two (correctly independent)
   white cards, making them read as one connected card with a seam instead
   of two separate ones. */
.mission-grid {
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}

/* fts-tokens.css: ".fts-theme *:focus-visible { outline: 3px solid
   var(--fts-orange); outline-offset: 2px; }" is a sitewide a11y focus ring
   from the old theme, still needed for not-yet-rebuilt pages — but it reads
   as a heavy, mismatched orange ring on the new header/footer/search-modal
   components (e.g. doubling up with the search input's own border, or
   circling small icon buttons). Give those specific new components a
   lighter, better-fitted focus treatment instead of removing focus
   indication entirely. */
.site-header *:focus-visible,
.site-footer *:focus-visible,
.fts-search-modal *:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 1px;
}
.fts-search-input:focus-visible {
  outline: none;
}

/* The static prototype hardcodes "FUEL THE SHIFT" in caps directly in the
   markup; WordPress echoes the real site title/brand name as literal mixed-
   case text ("Fuel the Shift") so it stays a sane, editable value (Site
   Settings, screen readers, <title>, etc.) instead of a fixed all-caps
   string. text-transform reproduces the static design's visual result
   without baking the casing into the copy itself. */
.brand-name {
  text-transform: uppercase;
}

/* Agenda list on single-event.php's "Agenda" tab — no equivalent in the
   static design (event-detail.html only ever shows the placeholder-note
   empty state there), so this styles a real `event_agenda` ACF repeater
   using the same visual language as the rest of the tab panels
   (.article-prose headings, .contact-detail's icon+label pairing). */
.event-agenda-list {
  display: flex;
  flex-direction: column;
}
.agenda-row {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}
.agenda-row:first-child { padding-top: 0; }
.agenda-row:last-child { border-bottom: none; }
.agenda-time {
  flex-shrink: 0;
  width: 84px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-orange);
}
.agenda-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
}
.agenda-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
/* ==========================================================================
   MENU BADGES — NEW / TRENDING / UPDATED
   ========================================================================== */
.nav-badge {
  position: absolute;
  top: -12px;
  right: -24px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.4;
  white-space: nowrap;
}
.nav-badge--new {
  background: rgba(255, 87, 20, 0.18);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 87, 20, 0.3);
}
.nav-badge--trending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.nav-badge--trending i { font-size: 10px; }
.nav-badge--updated {
  background: rgba(78, 131, 109, 0.18);
  color: #4e836d;
  border: 1px solid rgba(78, 131, 109, 0.3);
}
[data-theme="light"] .nav-badge--new {
  background: rgba(255, 87, 20, 0.1);
}
[data-theme="light"] .nav-badge--trending {
  background: rgba(245, 158, 11, 0.08);
}
[data-theme="light"] .nav-badge--updated {
  background: rgba(78, 131, 109, 0.1);
}

/* Footer credit line ("Built, Maintained and Hosted by ...") — no
   equivalent in the static mockup, same category as scroll-to-top / the
   ElevenLabs widget. Flows inline after the copyright text. */
.footer-credit-link,
.footer-credit-text {
  color: inherit;
}
.footer-credit-link:hover {
  color: var(--accent-orange);
}

/* Homepage "Trusted partners" logos — the static mockup's single <img> has
   no link; this makes each configured partner logo clickable when a URL is
   set, without changing size/spacing from the original static rule. */
.hero-partner-logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

/* Video modal enlarged to fill ~80% of the viewport (both width and
   height), per explicit client request — bigger than the static mockup's
   960px cap. min() picks whichever is smaller: 80% of viewport width, or
   the width a 16:9 box would need to stay within 80% of viewport height
   (80vh * 16/9 = 142.22vh) — so the dialog is always bounded by both
   dimensions, not just width, regardless of screen aspect ratio. */
.video-modal-dialog {
  width: min(80vw, 142.22vh);
  max-width: min(80vw, 142.22vh);
}
