/* ==========================================================================
   THE CHRONICLE - Design System & Core Stylesheet
   Modern Editorial Aesthetics: Dark Noir & Warm Paper Palettes
   ========================================================================== */

:root {
  /* Editorial Dark Noir (Default) */
  --bg-primary: #0b0d11;
  --bg-surface: #13171f;
  --bg-surface-elevated: #1a202c;
  --bg-glass: rgba(19, 23, 31, 0.75);
  --bg-glass-card: rgba(26, 32, 44, 0.65);
  --bg-input: #10131a;

  --text-primary: #f7fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-inverse: #0b0d11;

  --accent-gold: #e5a93b;
  --accent-gold-glow: rgba(229, 169, 59, 0.25);
  --accent-crimson: #e5484d;
  --accent-cyan: #38bdf8;
  --accent-emerald: #34d399;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-prominent: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(229, 169, 59, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 25px rgba(229, 169, 59, 0.15);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light / Warm Paper Theme */
[data-theme="light"] {
  --bg-primary: #9ba13b;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1efe9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.9);
  --bg-input: #f4f2eb;

  --text-primary: #33353a;
  --text-secondary: #475569;
  --text-muted: #788599;
  --text-inverse: #ffffff;

  --accent-gold: #b37400;
  --accent-gold-glow: rgba(179, 116, 0, 0.15);
  --accent-crimson: #c92a2a;
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-prominent: rgba(0, 0, 0, 0.15);
  --border-gold: rgba(179, 116, 0, 0.25);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 0 25px rgba(179, 116, 0, 0.1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Background Atmosphere */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .noise-overlay {
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.ambient-gradient {
  position: fixed;
  top: -20%;
  left: 30%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, rgba(56, 189, 248, 0.04) 50%, transparent 80%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* Typography Essentials */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.font-mono {
  font-family: var(--font-mono);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Utility Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.badge-gold {
  background: rgba(229, 169, 59, 0.12);
  color: var(--accent-gold);
  border-color: var(--border-gold);
}

.badge-crimson {
  background: rgba(229, 72, 77, 0.12);
  color: var(--accent-crimson);
  border-color: rgba(229, 72, 77, 0.3);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.badge-emerald {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(52, 211, 153, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
  color: #0b0d11;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 169, 59, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-prominent);
}

.btn-outline:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-gold);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--accent-gold);
  border-color: var(--border-gold);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
}

/* Masthead Header & Live Headlines Ticker */
.masthead-banner {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 101;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.masthead-container {
  width: 100%;
  padding: 0 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.masthead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 169, 59, 0.12);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-crimson);
  box-shadow: 0 0 8px var(--accent-crimson);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.45;
  }
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 45s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
}

.ticker-item:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
}

.ticker-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
  background: rgba(229, 169, 59, 0.1);
  padding: 1px 6px;
  border-radius: var(--radius-xs);
}

.ticker-headline {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.ticker-item:hover .ticker-headline {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticker-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ticker-bullet {
  color: var(--border-prominent);
  font-size: 0.65rem;
  margin-left: 8px;
}

.masthead-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.masthead-meta:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-subtle);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.masthead-meta:active {
  transform: translateY(0);
}

.mast-meta-item {
  color: var(--text-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.masthead-meta:hover .mast-meta-item {
  color: var(--text-primary);
}

.mast-date-wrap,
.mast-time-wrap {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
}

.mast-meta-item svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.masthead-meta:hover .mast-meta-item svg {
  transform: scale(1.15) rotate(4deg);
  color: var(--accent-cyan);
}

.mast-time-text {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.mast-meta-divider {
  color: var(--border-prominent);
}

.mast-meta-badge {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.masthead-meta:hover .mast-meta-badge {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);

}

@media (max-width: 992px) {
  .masthead-meta {
    display: none;
  }
}

@media (max-width: 560px) {
  .masthead-badge .badge-text {
    display: none;
  }

  .masthead-badge {
    padding: 4px 6px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b1330;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logos-group {
  --borderWidth: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 0, 0, 0.96);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  /* The z-index and stacking context setup ensures the pseudo-element goes behind the background */
  transform-style: preserve-3d;
}

.brand-logos-group::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0b1330;
  border-radius: var(--radius-sm);
  z-index: -1;
}




.brand-wrapper:hover .brand-logos-group {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(229, 169, 59, 0.28);
}

.brand-logo-img {
  display: block;
  object-fit: contain;
}

.brand-logo-srm {
  height: 38px;
  width: auto;
  max-width: 175px;
}

.brand-logo-synergy {
  height: 26px;
  width: auto;
  max-width: 52px;
}

.brand-logo-divider {
  width: 1.5px;
  height: 28px;
  background: #000205;
  flex-shrink: 0;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #ca8a04 100%);
  color: #0b0d11;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  transition: all var(--transition-fast);
}

.nav-pill-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(223, 177, 91, 0.08);
  transform: translateY(-1px);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   SECTION 1: ARTICLE OF THE MONTH (HERO SPOTLIGHT)
   ========================================================================== */
.hero-spotlight {
  padding: 40px 0 70px;
  position: relative;
}

.spotlight-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-prominent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transition: all var(--transition-smooth);
}

.spotlight-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.spotlight-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.04);
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--bg-surface) 100%),
              linear-gradient(to bottom, transparent 60%, rgba(11, 13, 17, 0.8) 100%);
  pointer-events: none;
}

.spotlight-content {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.spotlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.spotlight-title:hover {
  color: var(--accent-gold);
}

.spotlight-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.spotlight-quote-box {
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--accent-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 28px;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.author-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.author-role-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .spotlight-card {
    grid-template-columns: 1fr;
  }

  .spotlight-media {
    min-height: 320px;
  }

  .spotlight-content {
    padding: 36px 28px;
  }
}

@media (max-width: 640px) {
  .hero-spotlight {
    padding: 24px 0 48px;
  }

  .spotlight-title {
    font-size: 1.65rem;
  }

  .spotlight-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Section Headings */
.section-header {
  margin-bottom: 40px;
  position: relative;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: 10px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #ffffff;
  color: #374151;
  padding: 55px 0 28px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid #e5e7eb;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo-srm {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-logo-synergy {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.footer-brand-tagline {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #374151;
  margin: 0;
  max-width: 280px;
  font-weight: 400;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b162c;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list li a {
  color: #4b5563;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-nav-list li a:hover {
  color: #0b162c;
  font-weight: 500;
}

.footer-contact-email {
  color: #4b5563;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-word;
}

.footer-contact-email:hover {
  color: #0b162c;
  text-decoration: underline;
}

.footer-bottom-divider {
  width: 100%;
  height: 1px;
  background-color: #e5e7eb;
  margin-bottom: 24px;
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .masthead-info-row {
    justify-content: center;
  }

  .brand-logos-group {
    padding: 4px 8px;
    gap: 8px;
  }

  .brand-logo-srm {
    height: 28px;
    max-width: 120px;
  }

  .brand-logo-synergy {
    height: 32px;
    max-width: 38px;
  }

  .brand-logo-divider {
    height: 20px;
  }

  .brand-tagline {
    display: none;
  }
}

/* ==========================================================================
   ALL ARTICLES SECTION
   ========================================================================== */

.all-articles-section {
  padding: 80px 0 60px;
  background-color: #05081a;
}

.all-articles-header {
  margin-bottom: 24px;
}

.all-articles-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.all-articles-subtitle {
  font-size: 1rem;
  color: var(--accent-gold);
  font-style: italic;
}

/* ---- Filter Tabs ---- */
.articles-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 7px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-prominent);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.filter-tab--active {
  background-color: var(--accent-gold);
  color: #05081a;
  border-color: var(--accent-gold);
  font-weight: 700;
}

/* ---- Articles Grid ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Article Card Base ---- */
.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.article-card--real:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---- Card Image Wrap ---- */
.article-card-img-link {
  display: block;
  text-decoration: none;
}

.article-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1020;
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card--real:hover .article-card-img {
  transform: scale(1.04);
}

.article-card-img--blurred {
  filter: blur(6px) brightness(0.45);
  transform: scale(1.08);
}

/* ---- EVENTS badge (real card) ---- */
.article-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent-gold);
  color: #05081a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

/* ---- COMING SOON badge (placeholder cards) ---- */
.article-card-coming-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(13, 16, 32, 0.75);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-prominent);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

/* ---- Card Body ---- */
.article-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.article-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.article-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.article-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
}

.article-card-read-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity var(--transition-fast);
}

.article-card-read-more:hover {
  opacity: 0.75;
}

/* ---- Lock icon on coming-soon cards ---- */
.article-card-lock {
  margin-top: auto;
  color: var(--text-muted);
  opacity: 0.55;
}

/* ---- Hidden card when filtered out ---- */
.article-card--hidden {
  display: none;
}

/* ==========================================================================
   COMPACT HEADER NAVIGATION PILLS
   ========================================================================== */
.nav-articles-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-articles-pill:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(223, 177, 91, 0.08);
  transform: translateY(-1px);
}

.nav-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .nav-row {
    gap: 12px;
    height: 68px;
  }

  .nav-actions {
    gap: 8px;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .nav-pill-btn,
  .nav-articles-pill {
    padding: 5px 11px;
    font-size: 0.78rem;
  }

  .nav-submit-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0;
  }

  .nav-row {
    height: 60px;
    gap: 6px;
  }

  .brand-wrapper {
    gap: 6px;
  }

  .brand-logos-group {
    padding: 3px 6px;
    gap: 6px;
  }

  .brand-logo-srm {
    height: 22px;
    max-width: 80px;
  }

  .brand-logo-synergy {
    height: 20px;
    max-width: 26px;
  }

  .brand-logo-divider {
    height: 14px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-actions {
    gap: 5px;
  }

  .main-nav {
    gap: 4px;
  }

  .nav-pill-btn,
  .nav-articles-pill {
    padding: 4px 8px;
    font-size: 0.72rem;
    letter-spacing: -0.01em;
  }

  .nav-submit-btn {
    padding: 5px 9px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .btn-text-extra {
    display: none;
  }
}

@media (max-width: 380px) {
  .nav-pill-btn,
  .nav-articles-pill {
    padding: 4px 6px;
    font-size: 0.68rem;
  }

  .nav-submit-btn {
    padding: 4px 7px;
    font-size: 0.68rem;
  }
}