/* ==========================================================================
   EMANCIPATION CYCLING - OFFICIAL BRAND DESIGN SYSTEM
   Paleta de Colores Oficial extraída de la Identidad de Marca y Logo
   - Índigo Corporativo: #29235c
   - Azul Real / Rendimiento: #1d70b8
   - Cian / Aero Light: #37aae1
   ========================================================================== */

/* Google Fonts loaded via <link> in HTML for better performance */

:root {
  /* Marca Oficial */
  --brand-navy: #29235c;
  --brand-blue: #1d70b8;
  --brand-cyan: #37aae1;
  --brand-cyan-light: #e0f4fc;
  
  /* Paleta Modo Claro Elegante */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-subtle: #e2e8f0;
  
  --text-main: #1e2538;
  --text-muted: #5e6c84;
  --text-inverse: #ffffff;
  
  --border-color: #e2e8f0;
  --border-focus: #cbd5e1;
  
  /* Acentos de Interfaz */
  --accent-primary: var(--brand-blue);
  --accent-primary-hover: var(--brand-navy);
  --accent-secondary: var(--brand-cyan);
  --accent-warning: #f59e0b;
  --accent-shimano: #1d70b8;
  --accent-sram: #dc2626;
  
  --badge-bg: var(--brand-cyan-light);
  --badge-text: var(--brand-navy);
  
  --card-shadow: 0 4px 20px -2px rgba(41, 35, 92, 0.06), 0 2px 6px -1px rgba(41, 35, 92, 0.04);
  --card-shadow-hover: 0 14px 32px -4px rgba(41, 35, 92, 0.12), 0 4px 12px -2px rgba(41, 35, 92, 0.06);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;
}

/* Modo Oscuro Minimalista y Elegante (Negro Carbono / Plata Metálico / Blanco Puro)
   Basado en la Identidad Oficial de Marca de Emancipation Cycling */
[data-theme="dark"] {
  --bg-body: #0a0a0c;               /* Negro carbono profundo */
  --bg-surface: #121216;            /* Superficie carbón elegante */
  --bg-surface-elevated: #181820;   /* Superficie elevada */
  --bg-subtle: #22222c;             /* Fondos sutiles y bordes interiores */
  
  --text-main: #fcfcfd;             /* Blanco puro de alto contraste (EMANCIPATION) */
  --text-muted: #a1a1aa;            /* Gris plata elegante (cycling) */
  --text-inverse: #0a0a0c;
  
  --border-color: #272730;
  --border-focus: #3f3f4e;
  
  --accent-primary: #ffffff;        /* Blanco puro de marca */
  --accent-primary-hover: #e4e4e7;
  --accent-secondary: #a1a1aa;      /* Plata / gris metálico */
  --accent-shimano: #38bdf8;
  --accent-sram: #f87171;
  
  --badge-bg: rgba(255, 255, 255, 0.08);
  --badge-text: #f4f4f5;
  
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.7);
  --card-shadow-hover: 0 14px 34px -4px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

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

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

/* ==========================================================================
   HEADER & NAVBAR CON LOGO OFICIAL
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

[data-theme="dark"] .site-header {
  background-color: rgba(10, 10, 12, 0.88);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(41, 35, 92, 0.15));
}

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

.brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-transform: uppercase;
  font-family: var(--font-main);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="dark"] .brand-tagline {
  color: #a1a1aa;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 2px;
}

[data-theme="dark"] .nav-link.active::after {
  background: linear-gradient(90deg, #ffffff, #a1a1aa);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background-color: var(--bg-subtle);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 60%, var(--brand-cyan) 100%);
  color: #ffffff;
  padding: 0.68rem 1.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(29, 112, 184, 0.28);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(29, 112, 184, 0.4);
  color: #ffffff;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 100%);
  color: #0a0a0c;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .btn-primary:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.24);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(55, 170, 225, 0.08) 0%, transparent 60%);
}

[data-theme="dark"] .hero-section {
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-color);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 0 0 rgba(55, 170, 225, 0.7);
  animation: pulse-ring 2s infinite;
}

[data-theme="dark"] .hero-badge-pulse {
  background-color: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(55, 170, 225, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(55, 170, 225, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(55, 170, 225, 0); }
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 45%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 50%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.68rem 1.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Visual Box con Isotipo Oficial */
.hero-visual-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--card-shadow);
  position: relative;
  text-align: center;
}

.hero-brand-emblem {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  padding: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-feature-preview {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: left;
}

.preview-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.2rem;
  background-color: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.preview-pill:hover {
  transform: translateX(4px);
  border-color: var(--brand-cyan);
}

.preview-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.tag-shimano {
  background: rgba(29, 112, 184, 0.12);
  color: var(--brand-blue);
}

.tag-sram {
  background: rgba(220, 38, 38, 0.12);
  color: var(--accent-sram);
}

.tag-apparel {
  background: rgba(55, 170, 225, 0.15);
  color: var(--brand-blue);
}

[data-theme="dark"] .tag-shimano {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

[data-theme="dark"] .tag-apparel {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .tag-sram {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-padding {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.25rem;
}

.section-subtitle-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-heading {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ARTICLES & GUIDES GRID
   ========================================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

[data-theme="dark"] .article-card:hover {
  border-color: #52525b;
}

.article-cover-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-surface-elevated), var(--bg-subtle));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem;
}

.article-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(41, 35, 92, 0.08);
}

[data-theme="dark"] .article-icon-box {
  color: #ffffff;
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.article-icon-box svg {
  width: 28px;
  height: 28px;
}

.article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.article-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.article-snippet {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.read-more-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more-link:hover {
  gap: 9px;
  color: var(--brand-cyan);
}

[data-theme="dark"] .read-more-link {
  color: #ffffff;
}

[data-theme="dark"] .read-more-link:hover {
  color: #d4d4d8;
}

/* ==========================================================================
   MARCAS LOCALES SPOTLIGHT
   ========================================================================== */

.filter-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(29, 112, 184, 0.25);
  transform: translateY(-1px);
}

[data-theme="dark"] .filter-btn:hover, [data-theme="dark"] .filter-btn.active {
  background: linear-gradient(135deg, #ffffff, #d4d4d8);
  color: #0a0a0c;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.brand-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--brand-cyan);
}

[data-theme="dark"] .brand-card:hover {
  border-color: #52525b;
}

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.brand-card-logo-ph {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-blue);
  font-family: var(--font-mono);
}

[data-theme="dark"] .brand-card-logo-ph {
  color: #ffffff;
  background: var(--bg-surface-elevated);
  border-color: var(--border-color);
}

.brand-origin {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.brand-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-elevated);
  color: var(--text-muted);
}

/* ==========================================================================
   NEWSLETTER BOX
   ========================================================================== */

.newsletter-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.75rem 2.5rem;
  text-align: center;
  margin-top: 4rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-blue), var(--brand-cyan));
}

[data-theme="dark"] .newsletter-box::before {
  background: linear-gradient(90deg, #ffffff, #a1a1aa, #52525b);
}

.newsletter-box h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.newsletter-box p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

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

[data-theme="dark"] .newsletter-input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   FOOTER CON BRANDING OFICIAL
   ========================================================================== */

.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.aws-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-surface-elevated);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   ARTICLE PAGE STYLES
   Reusable classes for article/guide content pages
   ========================================================================== */

.article-page {
  padding: 4rem 1.5rem;
  max-width: 860px;
}

.article-back-link {
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.article-back-link:hover {
  gap: 10px;
}

.article-page-tag {
  margin-bottom: 1rem;
  display: inline-block;
}

.article-page-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.article-page-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-page-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.article-page-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--text-main);
}

.article-page-body ul,
.article-page-body ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-muted);
}

.article-page-body ul strong,
.article-page-body ol strong {
  color: var(--text-main);
}

.article-callout-box {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1rem 0;
}

.article-callout-box p {
  margin-bottom: 0.75rem;
}

.article-callout-box p:last-child {
  margin-bottom: 0;
}

.article-footer-simple {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NEWSLETTER SECTION WRAPPER
   Consistent section padding for the newsletter area
   ========================================================================== */

.newsletter-section {
  padding: 5.5rem 0 0;
}
