/* ==========================================================================
   WORLDWIDE ALLIANCES MAGAZINE - HIGH-END LUXURY EXECUTIVE EDITORIAL STYLES
   ========================================================================== */

:root {
  /* Brand Palette: Sovereign Navy, Vibrant Alliance Orange & Champagne Gold */
  --brand-orange: #FF5A00;
  --brand-orange-dark: #D94400;
  --brand-orange-light: #FFF5EE;
  --brand-orange-gradient: linear-gradient(135deg, #FF6B00 0%, #EA580C 100%);
  
  --brand-blue: #133E87;
  --brand-blue-accent: #1A56DB;
  --brand-blue-dark: #0A2254;
  --brand-blue-light: #F2F6FF;
  --brand-blue-gradient: linear-gradient(135deg, #0A2254 0%, #133E87 60%, #1A56DB 100%);
  
  --brand-gold: #C59B27;
  --brand-gold-light: #FDF9EE;
  --brand-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);

  --brand-alliance-gradient: linear-gradient(135deg, #FF5A00 0%, #C53A1B 45%, #133E87 100%);

  /* Backgrounds: Warm Silk White & Subtle Alabaster */
  --bg-main: #FFFFFF;
  --bg-subtle: #F9FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F4F6F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  
  /* High-End Executive Typography Colors (Obsidian & Deep Charcoal) */
  --text-primary: #090E1A;
  --text-secondary: #2C384A;
  --text-muted: #5B6B82;
  --text-light: #8E9CAE;

  /* Luxury Hairline Borders & Rules */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-blue: rgba(19, 62, 135, 0.25);
  --border-orange: rgba(255, 90, 0, 0.25);
  --border-gold: rgba(197, 155, 39, 0.3);

  /* Radii (Clean, sharp, executive) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Ultra-Diffuse Luxury Drop Shadows */
  --shadow-sm: 0 2px 10px rgba(9, 14, 26, 0.03);
  --shadow-md: 0 10px 30px -10px rgba(9, 14, 26, 0.07);
  --shadow-lg: 0 22px 50px -15px rgba(9, 14, 26, 0.11);
  --shadow-magazine: 0 30px 70px -15px rgba(9, 14, 26, 0.22), 0 0 0 1px rgba(9, 14, 26, 0.04);
  --shadow-hover: 0 32px 80px -18px rgba(19, 62, 135, 0.18), 0 0 0 1px rgba(255, 90, 0, 0.18);

  /* World-Class Editorial Typography Hierarchy */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-title: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-main: #060A14;
  --bg-subtle: #0B1222;
  --bg-surface: #10192E;
  --bg-surface-elevated: #172442;
  --bg-card: #10192E;
  --bg-card-hover: #15223E;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #8E9CAE;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --brand-orange-light: rgba(255, 90, 0, 0.12);
  --brand-blue-light: rgba(26, 86, 219, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.editorial-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

.gradient-text-orange {
  background: var(--brand-orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-blue {
  background: var(--brand-blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-gold {
  background: var(--brand-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-orange);
}

/* ==========================================================================
   EXECUTIVE VERTICAL SIDEBAR & LAYOUT
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-main);
}

/* Vertical Sidebar */
.sidebar-vertical {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  height: 100vh;
  background: #FFFFFF;
  border-right: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 22px;
  z-index: 500;
  box-shadow: 2px 0 20px rgba(10, 17, 40, 0.03);
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .sidebar-vertical {
  background: #091024;
  border-right: 1.5px solid rgba(255, 255, 255, 0.1);
}

/* Clean, Frameless Logo in Sidebar */
.sidebar-brand-link {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 4px 0 16px;
  border-bottom: 1.5px solid var(--border-subtle);
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.sidebar-brand-link:hover {
  transform: scale(1.02);
}

.sidebar-logo-clean {
  width: 185px;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /* NO borders, NO box, NO frame */
  border: none;
  outline: none;
  background: transparent;
}

/* Vertical Navigation Menu */
.sidebar-menu-section {
  flex-grow: 1;
}

.sidebar-menu-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 12px;
}

.sidebar-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  border-left: 3.5px solid transparent;
}

.sidebar-nav-link .nav-icon {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.sidebar-nav-link:hover, .sidebar-nav-link.active {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-left-color: var(--brand-blue-accent);
  transform: translateX(4px);
}

.sidebar-nav-link:hover .nav-icon, .sidebar-nav-link.active .nav-icon {
  color: var(--brand-blue-accent);
}

/* Sidebar Footer Actions */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1.5px solid var(--border-subtle);
  padding-top: 22px;
}

.sidebar-upload-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--brand-blue-gradient);
  box-shadow: 0 4px 18px rgba(19, 62, 135, 0.28);
}

.sidebar-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Main Content Wrapper */
.main-content-wrapper {
  margin-left: 290px;
  width: calc(100% - 290px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
}

/* Main Top Utility Bar */
.main-topbar {
  background: #FFFFFF;
  border-bottom: 1.5px solid var(--border-subtle);
  padding: 12px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .main-topbar {
  background: #091024;
}

.topbar-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.topbar-ticker-badge {
  background: var(--brand-blue-gradient);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
}

/* Mobile Header Bar */
.mobile-header {
  display: none;
  background: #FFFFFF;
  border-bottom: 1.5px solid var(--border-subtle);
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 600;
}

[data-theme="dark"] .mobile-header {
  background: #091024;
}

.mobile-logo-clean {
  height: 60px;
  width: auto;
  object-fit: contain;
  border: none;
  background: transparent;
}

.mobile-nav-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(4px);
  z-index: 450;
}

.sidebar-backdrop.active {
  display: block;
}

/* Language Switcher */
.lang-toggle {
  display: flex;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

/* Action Buttons (Dominant Royal Blue Palette) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-blue-gradient);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(19, 62, 135, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(19, 62, 135, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-blue-gradient);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(19, 62, 135, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(19, 62, 135, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION: EXECUTIVE SPOTLIGHT & FULL MAGAZINE COVER
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 75px 0 95px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  overflow: hidden;
  border-bottom: 1.5px solid var(--border-subtle);
}

[data-theme="dark"] .hero-section {
  background: linear-gradient(180deg, #070D1E 0%, #0D162C 100%);
}

.hero-bg-accent-left {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.07) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-bg-accent-right {
  position: absolute;
  top: 40px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 65px;
}

/* Left Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-blue-light);
  border: 1px solid var(--border-blue);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-orange);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.85rem;
  line-height: 1.08;
  margin-bottom: 22px;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.75;
  font-weight: 400;
}

/* Feature Highlights Box */
.hero-issue-info {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

[data-theme="dark"] .hero-issue-info {
  background: var(--bg-surface);
}

.hero-issue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hero-issue-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  text-transform: uppercase;
}

.hero-issue-date {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-issue-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.hero-highlight-item {
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.hero-highlight-bullet {
  color: var(--brand-blue);
  font-weight: bold;
}

/* ==========================================================================
   MAGAZINE COVER SHOWCASE (CLEAN, ELEGANT, 100% UNUNCROPPED)
   ========================================================================== */
.hero-magazine-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.magazine-cover-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow-magazine);
  border: 1px solid rgba(9, 14, 26, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
  overflow: hidden;
}

.magazine-cover-frame:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-hover), 0 0 35px rgba(26, 86, 219, 0.15);
}

.magazine-cover-img-full {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #FFFFFF;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1.5px solid var(--border-subtle);
  border-bottom: 1.5px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 65px;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue-light);
  border: 1px solid var(--border-blue);
  padding: 6px 18px;
  border-radius: 30px;
}

.section-tag::before {
  content: '✦';
  font-size: 0.75rem;
  color: var(--brand-orange);
}

.section-title {
  font-family: var(--font-title);
  font-size: 3.1rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   EDITIONS ARCHIVE & FILTER BAR
   ========================================================================== */
.editions-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 45px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .editions-controls {
  background: var(--bg-surface);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.filter-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.94rem;
  padding: 11px 18px 11px 44px;
  border-radius: 30px;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Magazine Cards Grid */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 36px;
}

.edition-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

[data-theme="dark"] .edition-card {
  background: var(--bg-surface);
}

.edition-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue-accent);
  box-shadow: var(--shadow-hover);
}

.card-cover-wrap {
  position: relative;
  height: 440px;
  background: #F8FAFC;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.edition-card:hover .card-cover-img {
  transform: scale(1.02);
}

.card-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 26, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
}

.edition-card:hover .card-cover-overlay {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.card-badge.featured {
  background: var(--brand-blue-gradient);
  color: #FFFFFF;
  border: none;
}

.card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-category {
  color: var(--brand-blue);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.52rem;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-articles-preview {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 24px;
}

.card-article-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.card-article-bullet {
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: bold;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

/* ==========================================================================
   ARTICLES & INSIGHTS
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 34px;
}

.article-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

[data-theme="dark"] .article-card {
  background: var(--bg-surface);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-blue-accent);
  box-shadow: var(--shadow-hover);
}

.article-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.article-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  line-height: 1.28;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.article-excerpt {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-blue-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}

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

.author-name {
  font-size: 0.96rem;
  font-weight: 700;
}

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

/* ==========================================================================
   ADVERTISING & MEDIA KIT
   ========================================================================== */
.ad-spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 34px;
  margin-bottom: 50px;
}

.ad-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .ad-card {
  background: var(--bg-surface);
}

.ad-card.featured-tier {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 16px 40px rgba(19, 62, 135, 0.15);
}

.ad-badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--brand-blue-gradient);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(19, 62, 135, 0.3);
}

.ad-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  margin-bottom: 8px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-primary);
}

.ad-price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.ad-price-tag .price-val {
  font-family: var(--font-title);
  font-size: 2.45rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}

.ad-price-tag .price-curr {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-muted);
}

.ad-specs {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.ad-features-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.ad-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.ad-check-icon {
  color: var(--brand-blue);
  font-size: 1.05rem;
  font-weight: bold;
}

/* Special Offer Banner */
.ad-special-offer-card {
  background: linear-gradient(135deg, rgba(255, 90, 0, 0.05) 0%, rgba(19, 62, 135, 0.05) 100%);
  border: 1.5px dashed var(--brand-orange);
  border-radius: var(--radius-lg);
  padding: 26px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .ad-special-offer-card {
  background: rgba(255, 90, 0, 0.1);
}

.special-offer-badge {
  background: var(--brand-orange);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.special-offer-content h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.special-offer-content p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

.media-kit-cta-box {
  background: linear-gradient(135deg, #0A2254 0%, #090E1A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-box-text h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.cta-box-text p {
  color: #CBD5E1;
  font-size: 1.12rem;
  line-height: 1.6;
}

/* ==========================================================================
   ABOUT & LEADERSHIP
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.about-director-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .about-director-card {
  background: var(--bg-surface);
}

.about-director-card::before {
  content: '“';
  position: absolute;
  top: 5px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 170px;
  color: rgba(19, 62, 135, 0.05);
  line-height: 1;
  pointer-events: none;
}

.director-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}

.director-img-wrap {
  width: 110px;
  height: 110px;
  min-width: 110px;
  border-radius: 50%;
  background: var(--brand-alliance-gradient);
  padding: 3.5px;
  box-shadow: 0 10px 28px rgba(19, 62, 135, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}

.director-name {
  font-family: var(--font-title);
  font-size: 1.95rem;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.director-role {
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 500;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue-accent);
}

[data-theme="dark"] .stat-item {
  background: var(--bg-surface);
}

.stat-num {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

/* ==========================================================================
   NEWSLETTER & FOOTER
   ========================================================================== */
.newsletter-box {
  background: linear-gradient(135deg, #F0F5FF 0%, #FFF4ED 100%);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 65px 45px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .newsletter-box {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.15) 0%, rgba(255, 90, 0, 0.15) 100%);
}

.newsletter-form {
  display: flex;
  max-width: 540px;
  margin: 32px auto 0;
  gap: 12px;
}

.newsletter-input {
  flex-grow: 1;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  color: var(--text-primary);
  padding: 15px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.site-footer {
  background: #0A1128;
  color: #F8FAFC;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 55px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.96rem;
  margin-top: 20px;
  max-width: 350px;
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 22px;
  color: #FFFFFF;
  font-family: var(--font-serif);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.94rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-orange);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #64748B;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .modal-dialog {
  background: var(--bg-surface);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: var(--brand-orange);
}

.modal-body {
  padding: 32px;
}

/* Upload Dropzone */
.pdf-dropzone {
  border: 2px dashed var(--brand-blue);
  background: var(--brand-blue-light);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 26px;
}

.pdf-dropzone:hover, .pdf-dropzone.dragover {
  background: #DCE8FF;
  border-color: var(--brand-orange);
}

.dropzone-icon {
  font-size: 3rem;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.toast {
  background: #0A1128;
  color: #FFFFFF;
  border-left: 5px solid var(--brand-orange);
  padding: 16px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.96rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInToast 0.3s ease;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   LATAM BUSINESS DIRECTORY & ENTERPRISE SHOWCASE
   ========================================================================== */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.company-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(19, 62, 135, 0.12);
  border-color: var(--brand-blue);
}

.company-card.featured-tier {
  border: 2px solid var(--brand-blue);
  background: linear-gradient(180deg, rgba(19, 62, 135, 0.03) 0%, #FFFFFF 100%);
  box-shadow: 0 8px 24px rgba(19, 62, 135, 0.08);
}

.company-tier-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: linear-gradient(135deg, var(--brand-orange), #C2410C);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.company-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.company-flag-box {
  font-size: 2.2rem;
  line-height: 1;
  background: var(--bg-surface-elevated);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-meta {
  flex-grow: 1;
}

.company-name {
  font-size: 1.18rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.25;
  margin-bottom: 4px;
}

.company-sector-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.company-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(19, 62, 135, 0.08);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(19, 62, 135, 0.2);
  margin-bottom: 12px;
}

.company-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-services-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.company-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.company-service-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 600;
}

.company-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.plan-select-card.active {
  border-color: var(--brand-blue) !important;
  background: var(--brand-blue-light) !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .sidebar-vertical {
    transform: translateX(-100%);
    box-shadow: 10px 0 40px rgba(10, 17, 40, 0.2);
  }
  .sidebar-vertical.active {
    transform: translateX(0);
  }
  .main-content-wrapper {
    margin-left: 0;
    width: 100%;
  }
  .mobile-header {
    display: flex;
  }
  .main-topbar {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-magazine-showcase {
    margin-top: 10px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .magazine-cover-frame {
    max-width: 320px;
  }
  .editions-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .directory-grid {
    grid-template-columns: 1fr;
  }
}


