/*
Theme Name: Voz de Colombia
Theme URI: https://vozdecolombia.com
Author: Grupo de Medios TRN
Author URI: https://vozdecolombia.com
Description: Tema oficial y profesional para Voz de Colombia (Medellín). Incluye identidad editorial de alta jerarquía (Fraunces + IBM Plex Sans), cinta tricolor nacional, cintillo financiero con TRM en vivo conectada a datos.gov.co, sección regional para Antioquia, módulos para Economía, Deportes y Tribuna de Opinión, diseño 100% responsivo y compatible con WordPress 6.0+.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voz-de-colombia
Tags: news, newspaper, blog, two-columns, full-width-template, custom-menu, custom-logo, featured-images, translation-ready
*/

:root {
  /* Paleta Global Voz de Colombia */
  --brand-green: #123832;
  --brand-green-hover: #1d5049;
  --accent-mustard: #c9a227;
  --alert-brick: #a6402f;
  --teal: #123832;
  --gold: #c9a227;
  --rule: #e7e4de;

  /* Colores de apoyo (bandera / estados) */
  --navy: #0a1f3d;
  --navy-deep: #06152b;
  --navy-light: #163259;
  --blue-flag: #003893;
  --yellow-flag: #ffc72c;
  --yellow-gold: #c9a227;
  --red-flag: #ce1126;
  --red-dark: #a80d1e;
  --green-up: #1b873f;

  /* Fondos y Superficies Editoriales */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-subtle: #f7f6f3;
  --border: #e7e4de;
  --border-light: #f1efea;

  /* Tipografia y Textos */
  --ink: #1e1c19;
  --ink-secondary: #43403a;
  --muted: #726c62;
  --muted-light: #9a948a;

  /* Fuentes */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Sombras & Radios */
  --shadow-sm: 0 1px 2px rgba(30, 28, 25, 0.05);
  --shadow-md: 0 8px 24px -10px rgba(30, 28, 25, 0.16);
  --shadow-lg: 0 18px 40px -18px rgba(30, 28, 25, 0.22);
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  
  --max-w: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. Top Utility Bar
   ========================================================================== */
.top-bar {
  background: var(--ink);
  color: #e8e6e1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 400;
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c9c5bd;
  font-size: 12.5px;
}

.weather-icon {
  display: none;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-radio {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e8e6e1;
  font-weight: 500;
  font-size: 12.5px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  transition: color 0.2s ease;
}

.btn-radio:hover {
  color: var(--accent-mustard);
}

.radio-pulse {
  width: 7px;
  height: 7px;
  background: var(--alert-brick);
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.75; }
}

.btn-vip {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 16px;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-vip:hover {
  background: var(--ink);
  color: #ffffff;
}

/* ==========================================================================
   2. Main Masthead (Cabecera Principal)
   ========================================================================== */
.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.masthead .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  gap: 20px;
}

.masthead-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(30, 28, 25, 0.06));
  transition: transform 0.25s ease;
}

.main-logo-img:hover {
  transform: scale(1.02);
}

.brand-meta {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}

.brand-domain {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.brand-edition {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 700;
}

.brand-location {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green);
}

.masthead-center {
  text-align: center;
  display: none;
}

@media (min-width: 992px) {
  .masthead-center {
    display: block;
  }
}

.motto-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--brand-green);
}

.motto-flag-dot {
  display: flex;
  gap: 3px;
}

.motto-flag-dot span {
  width: 5px;
  height: 12px;
  border-radius: 2px;
}
.motto-flag-dot span:nth-child(1) { background: var(--yellow-flag); }
.motto-flag-dot span:nth-child(2) { background: var(--blue-flag); }
.motto-flag-dot span:nth-child(3) { background: var(--red-flag); }

.masthead-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.group-attribution {
  font-size: 12.5px;
  color: var(--muted);
  text-align: right;
}

.group-attribution b {
  color: var(--brand-green);
  font-weight: 700;
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-btn {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.search-btn:hover {
  background: var(--surface);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

/* ==========================================================================
   3. Main Navigation & Colombian Ribbon
   ========================================================================== */
.primary-nav-bar {
  background: var(--brand-green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(18, 56, 50, 0.18);
}

.primary-nav-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  display: block;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 18px;
  position: relative;
  opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a {
  opacity: 1;
  color: var(--accent-mustard);
  background: var(--brand-green-hover);
}

.nav-links a.active::after,
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--accent-mustard);
  border-radius: 3px 3px 0 0;
}

.nav-tag-live {
  background: var(--alert-brick);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

/* Distinctive Colombian Flag Ribbon */
.colombia-ribbon {
  height: 4px;
  display: flex;
  width: 100%;
}

.colombia-ribbon .c-yellow {
  flex: 2;
  background: var(--yellow-flag);
}

.colombia-ribbon .c-blue {
  flex: 1;
  background: var(--blue-flag);
}

.colombia-ribbon .c-red {
  flex: 1;
  background: var(--red-flag);
}

/* ==========================================================================
   4. Live Financial Ticker & Breaking Flash Bar
   ========================================================================== */
.live-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.live-strip .wrap {
  display: flex;
  align-items: stretch;
  padding: 0;
}

.breaking-label {
  background: var(--alert-brick);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.ticker-scroll {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 8px 24px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 13.5px;
  scrollbar-width: none;
  width: 100%;
}

.ticker-scroll::-webkit-scrollbar {
  display: none;
}

.ticker-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-name {
  font-weight: 700;
  color: var(--brand-green);
}

.ticker-val {
  font-weight: 700;
  color: var(--ink);
}

.val-trm {
  color: var(--brand-green);
  font-size: 14px;
  background: rgba(18, 56, 50, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

.tag-up {
  color: var(--green-up);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.tag-down {
  color: var(--alert-brick);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--green-up);
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

/* ==========================================================================
   5. Gran Portada Editorial (Hero Broadsheet Layout)
   ========================================================================== */
.hero-section {
  padding: 32px 0 40px;
}

/* Breaking Alert Bar above Hero */
.breaking-flash-bar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--alert-brick);
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.flash-badge {
  background: var(--alert-brick);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}

.flash-text {
  color: var(--ink);
  font-weight: 600;
  flex-grow: 1;
}

.flash-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green);
  flex-shrink: 0;
}

/* Main Broadsheet Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Lead Story - Editorial Column */
.lead-story {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.lead-story:hover {
  box-shadow: var(--shadow-lg);
}

/* Imagen con overlay de categoría */
.lead-media-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-subtle);
}

.lead-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.lead-story:hover .lead-media-wrap img {
  transform: scale(1.03);
}

/* Overlay inferior con badge y audio pill */
.lead-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.88) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.lead-img-badge {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(30, 28, 25, 0.14);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lead-audio-pill {
  background: rgba(255, 199, 44, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.lead-audio-pill:hover {
  background: var(--yellow-flag);
}

.lead-media-caption {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  padding: 8px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-subtle);
}

/* Contenido editorial: padding interno */
.lead-top-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 8px;
}

.kicker-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand-green);
  background: rgba(18, 56, 50, 0.1);
  padding: 3px 10px;
  border-radius: 12px;
}

.lead-time {
  font-size: 12.5px;
  color: var(--muted);
}

.lead-headline {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.13;
  color: var(--ink);
  padding: 0 24px 14px;
  letter-spacing: -0.4px;
  transition: color 0.2s ease;
}

.lead-story:hover .lead-headline {
  color: var(--brand-green);
}

.lead-dek {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
  padding: 0 24px 20px;
}

/* Key Bullet Takeaways */
.lead-key-points {
  background: var(--surface-subtle);
  border-left: 4px solid var(--yellow-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 0 24px 22px;
}

.lead-key-points h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-green);
  margin-bottom: 8px;
}

.lead-key-points ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.lead-key-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.lead-key-points li::before {
  content: '▪';
  color: var(--brand-green);
  font-size: 15px;
  line-height: 1.2;
  flex-shrink: 0;
}

.lead-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.author-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow-flag);
}

.author-info b {
  display: block;
  font-size: 14px;
  color: var(--brand-green);
}

.author-info span {
  font-size: 12.5px;
  color: var(--muted);
}

.lead-action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Side Card: Lo Más Leído & Pulso */
.hero-side-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 80px;
}

.side-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.side-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-header span.badge {
  background: rgba(18, 56, 50, 0.1);
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}

.ranked-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranked-item {
  display: grid;
  grid-template-columns: 30px 1fr 70px;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.2s;
}

.ranked-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ranked-item:hover {
  transform: translateX(4px);
}

.rank-number {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: var(--muted-light);
  text-align: center;
  line-height: 1;
}

.ranked-item:nth-child(1) .rank-number { color: var(--yellow-gold); }
.ranked-item:nth-child(2) .rank-number { color: var(--brand-green); }
.ranked-item:nth-child(3) .rank-number { color: var(--alert-brick); }

.ranked-details h4 {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 4px;
}

.ranked-item:hover .ranked-details h4 {
  color: var(--brand-green);
}

.ranked-details .time {
  font-size: 11.5px;
  color: var(--muted);
}

.ranked-thumb {
  width: 70px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-subtle);
}

.ranked-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mini Podcast Banner inside Side Column */
.podcast-banner {
  margin-top: 22px;
  background: var(--ink);
  color: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.podcast-banner::before {
  content: '🎙️';
  position: absolute;
  right: -8px;
  bottom: -12px;
  font-size: 60px;
  opacity: 0.08;
  pointer-events: none;
}

.podcast-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-mustard);
  margin-bottom: 4px;
}

.podcast-desc {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
}

.podcast-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-play-mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
  transition: transform 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-play-mini:hover {
  transform: scale(1.1);
}

.audio-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.audio-bar {
  width: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: sound-bounce 1.2s infinite ease-in-out;
}
.audio-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.audio-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.audio-bar:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.audio-bar:nth-child(4) { height: 18px; animation-delay: 0.4s; }
.audio-bar:nth-child(5) { height: 10px; animation-delay: 0.15s; }

@keyframes sound-bounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ==========================================================================
   Sub-Hero Row (Segunda Línea de Apertura)
   ========================================================================== */
.sub-hero-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 3px solid var(--border);
  position: relative;
}

.sub-hero-row::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 120px;
  height: 3px;
  background: var(--brand-green);
  border-radius: 2px;
}

.sub-hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sub-hero-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.sub-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-green);
}

.sub-hero-card:hover::after {
  transform: scaleX(1);
}

.sub-hero-card .tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-green);
  margin-bottom: 8px;
}

.sub-hero-card h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.sub-hero-card:hover h4 {
  color: var(--brand-green);
}

.sub-hero-card h4 a {
  color: inherit;
}

.sub-hero-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.sub-hero-card .card-meta {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ==========================================================================
   6. Regional Section: "Medellín & Antioquia"
   ========================================================================== */
.regional-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag {
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  padding: 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
}

.section-tag::before {
  content: '·';
  margin-right: 8px;
  font-style: normal;
  color: var(--muted-light);
}

.regional-card-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.regional-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.regional-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.regional-card-featured:hover .regional-card-img img {
  transform: scale(1.03);
}

.regional-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.regional-card-body .kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 6px;
}

.regional-card-body h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 6px 0 12px;
}

.regional-card-body p {
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* ==========================================================================
   7. Bloques por Categoría (grilla de 3 columnas con borde izquierdo)
   ========================================================================== */
.category-block {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.category-block:first-of-type {
  border-top: none;
}

.category-block .section-title-wrap {
  border-bottom-color: var(--brand-green);
}

.section-more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-green);
}

.section-more:hover {
  color: var(--accent-mustard);
}

.category-block .articles-grid-3 {
  margin-bottom: 0;
}

.article-card-standard.edge-mustard {
  border-left: 4px solid var(--accent-mustard);
}

.article-card-standard.edge-green {
  border-left: 4px solid var(--brand-green);
}

.article-card-standard.edge-mustard:hover {
  border-left-color: var(--brand-green-hover);
}

.article-card-standard.edge-green:hover {
  border-left-color: var(--brand-green-hover);
}

.categories-dual-section {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.cat-column h3.col-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--yellow-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-column.dep h3.col-title {
  border-color: var(--brand-green);
}

.article-card-row {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  transition: all 0.2s ease;
  border-left: 4px solid var(--yellow-gold);
}

.cat-column.dep .article-card-row {
  border-left-color: var(--brand-green);
}

.article-card-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-row-thumb {
  width: 100px;
  height: 75px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.card-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-row-content .pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--yellow-gold);
  margin-bottom: 3px;
}

.cat-column.dep .card-row-content .pill {
  color: var(--brand-green);
}

.card-row-content h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
}

.card-row-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   8. Sección de Opinión de Prestigio
   ========================================================================== */
.opinion-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 60px;
  position: relative;
  margin: 40px 0;
}

.opinion-section::before {
  content: none;
}

.opinion-section-header {
  text-align: center;
  margin-bottom: 44px;
}

.opinion-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a87910;
}

.opinion-eyebrow::before,
.opinion-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: #c5b6a0;
}

.opinion-main-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 8px;
  letter-spacing: -0.3px;
}

.opinion-main-sub {
  font-size: 16px;
  color: #555d6b;
  max-width: 66ch;
  margin: 0 auto;
  line-height: 1.55;
}

.opinion-trio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 38px;
}

.opinion-avatar-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-hover));
  border: 3px solid var(--accent-mustard);
  box-shadow: 0 4px 14px rgba(18, 56, 50, 0.18);
  flex-shrink: 0;
}

.opinion-editorial-card {
  background: #ffffff;
  border: 1px solid #e7ded0;
  border-top: 4px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(30, 28, 25, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  position: relative;
}

.opinion-column-card {
  background: #ffffff;
  border: 1px solid #e7ded0;
  border-top: 4px solid var(--yellow-gold);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(30, 28, 25, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  position: relative;
}

.opinion-editorial-card:hover,
.opinion-column-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -4px rgba(30, 28, 25, 0.12);
  border-color: #c9bcab;
}

.opinion-author-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.opinion-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--yellow-flag);
  box-shadow: 0 4px 14px rgba(30, 28, 25, 0.12);
  flex-shrink: 0;
}

.opinion-author-meta {
  display: flex;
  flex-direction: column;
}

.opinion-column-pill {
  background: rgba(229, 168, 0, 0.14);
  color: #8c6300;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-block;
  margin-bottom: 4px;
  width: fit-content;
}

.opinion-author-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.opinion-author-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.opinion-quote-glyph {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 0.8;
  color: var(--yellow-gold);
  opacity: 0.4;
  margin: 10px 0 2px;
  user-select: none;
}

.opinion-headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.opinion-column-card:hover .opinion-headline,
.opinion-editorial-card:hover .opinion-headline {
  color: var(--brand-green);
}

.opinion-lead-text {
  font-size: 14.5px;
  color: #3e4451;
  line-height: 1.58;
  margin-bottom: 22px;
  flex-grow: 1;
}

.opinion-card-footer {
  padding-top: 14px;
  border-top: 1px solid #eee8df;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}

.opinion-read-link {
  font-weight: 700;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.opinion-column-card:hover .opinion-read-link {
  gap: 8px;
  color: var(--ink);
}

/* Encuesta Ciudadana de la Tribuna */
.opinion-poll-box {
  background: #ffffff;
  border: 1px solid #e7ded0;
  border-radius: var(--radius-md);
  padding: 26px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(30, 28, 25, 0.04);
}

.opinion-poll-q h4 {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a87910;
  margin-bottom: 6px;
}

.opinion-poll-q p {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
}

.opinion-poll-q span.votes-count {
  font-size: 12.5px;
  color: var(--muted);
}

.opinion-poll-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poll-option-btn {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.poll-option-btn:hover {
  background: #ffffff;
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateX(3px);
}

.poll-option-btn .pct {
  font-weight: 800;
  color: var(--yellow-gold);
}

/* ==========================================================================
   9. Newsletter Section
   ========================================================================== */
.newsletter-section {
  background: var(--surface-subtle);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
  margin: 36px auto;
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.newsletter-text h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.newsletter-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.newsletter-btn {
  background: var(--brand-green);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: var(--brand-green-hover);
}

/* ==========================================================================
   10. Subpáginas Comunes (Breadcrumbs & Grillas)
   ========================================================================== */
.page-hero-banner {
  background: var(--brand-green);
  color: #ffffff;
  padding: 40px 0 34px;
  border-bottom: none;
  margin-bottom: 32px;
}

.breadcrumbs {
  font-size: 13px;
  color: #b8b4ac;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: var(--yellow-flag);
}

.page-hero-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-hero-banner p.subhead {
  font-size: 17px;
  color: #cbd5e1;
  max-width: 68ch;
  line-height: 1.5;
}

.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.article-card-standard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.article-card-standard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-green);
}

.article-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--surface-subtle);
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card-standard:hover .article-card-img img {
  transform: scale(1.04);
}

.article-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(30, 28, 25, 0.12);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.article-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card-body .kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 6px;
}

.article-card-body h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.article-card-body p {
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.article-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Article Detail View (noticia.html)
   ========================================================================== */
.article-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 20px 0 60px;
}

.article-main-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-tag-top {
  display: inline-block;
  background: var(--surface-subtle);
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.article-main-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
}

.article-main-dek {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-secondary);
  font-family: var(--font-serif);
  margin-bottom: 24px;
}

.article-author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-chip img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow-flag);
}

.author-meta b {
  display: block;
  font-size: 15px;
  color: var(--brand-green);
}

.author-meta span {
  font-size: 13px;
  color: var(--muted);
}

.article-featured-fig {
  margin: 0 0 36px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.article-featured-fig img {
  width: 100%;
}

.article-featured-fig figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 4px;
  font-style: italic;
  border-bottom: 1px solid var(--border-light);
}

.article-rich-text {
  font-size: 18px;
  line-height: 1.8;
  color: #24292f;
}

.article-rich-text p {
  margin-bottom: 1.6em;
}

.article-rich-text h2 {
  font-family: var(--font-serif);
  font-size: 27px;
  color: var(--ink);
  margin: 1.8em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-light);
}

.article-rich-text blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.45;
  color: var(--brand-green);
  border-left: 5px solid var(--yellow-flag);
  padding: 18px 26px;
  margin: 2em 0;
  background: var(--surface-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   11. Footer Monumental
   ========================================================================== */
footer {
  background: var(--ink);
  color: #b8b4ac;
  border-top: 1px solid var(--border);
}

footer .wrap {
  padding: 54px 24px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #b8b4ac;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-brand h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 16px 0 10px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col a {
  color: #b8b4ac;
}

.footer-col a:hover {
  color: var(--yellow-flag);
  padding-left: 4px;
}

.footer-bottom {
  color: #8f8a81;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: #8f8a81;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: #cbd5e1;
}

.footer-bottom a:hover {
  color: var(--yellow-flag);
}

/* ==========================================================================
   12. Responsividad
   ========================================================================== */

/* ==========================================================================
   COMPONENTES COMPARTIDOS
   Clases usadas por varias paginas que no tenian reglas propias.
   ========================================================================== */

/* Kicker generico (fuera de .article-card-body / .regional-card-body) */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand-green);
  margin-bottom: 8px;
}

/* Pie de la nota principal y de tarjetas destacadas */
.lead-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

/* Hora/antiguedad fuera de .ranked-details */
.time {
  font-size: 12.5px;
  color: var(--muted);
}

/* Botones para compartir */
.share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-icon-btn:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .sub-hero-row {
    grid-template-columns: 1fr;
  }
  .regional-card-featured {
    grid-template-columns: 1fr;
  }
  .dual-grid {
    grid-template-columns: 1fr;
  }
  .opinion-trio-grid {
    grid-template-columns: 1fr;
  }
  .opinion-poll-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .articles-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .article-detail-layout {
    grid-template-columns: 1fr;
  }
  .newsletter-section {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-links.is-active {
    display: flex;
  }
  .nav-links a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .masthead .wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .masthead-center {
    order: 3;
    width: 100%;
  }
  .breaking-flash-bar {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .section-title-wrap {
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .lead-top-kicker {
    flex-wrap: wrap;
    gap: 8px;
  }
  .card-meta,
  .article-card-footer,
  .lead-footer {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .side-header {
    flex-wrap: wrap;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .articles-grid-3 {
    grid-template-columns: 1fr;
  }
  .top-bar-left {
    width: 100%;
    justify-content: space-between;
  }
  .top-bar-right {
    width: 100%;
    justify-content: flex-start;
  }
  .masthead .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .masthead-right {
    align-items: flex-start;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .wrap {
    padding: 0 16px;
  }
  .masthead .wrap {
    padding: 16px;
    gap: 14px;
  }
  .masthead-brand {
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }
  .main-logo-img {
    height: 54px;
  }
  .brand-meta {
    border-left: none;
    padding-left: 0;
  }
  .brand-edition {
    display: none;
  }
  .breaking-flash-bar {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 12px 16px;
    font-size: 13.5px;
  }
  .lead-img-overlay {
    flex-wrap: wrap;
    gap: 8px;
    padding: 32px 14px 12px;
  }
  .lead-audio-pill {
    font-size: 11.5px;
    padding: 5px 10px;
    margin-left: auto;
  }
  .flash-link {
    margin-left: auto;
  }
  .section-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .lead-top-kicker {
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 16px 6px;
  }
  .lead-headline {
    font-size: 26px;
    line-height: 1.2;
  }
  .lead-dek {
    font-size: 16px;
  }
  .lead-key-points {
    margin: 0 16px 18px;
    padding: 14px 16px;
  }
  .lead-footer-row {
    padding: 14px 16px 18px;
  }
  .card-meta,
  .article-card-footer,
  .lead-footer {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .hero-side-card {
    padding: 20px 16px;
    position: static;
  }
  .side-header {
    flex-wrap: wrap;
    gap: 6px;
  }
  .ranked-item {
    gap: 12px;
  }
  .ranked-thumb {
    display: none;
  }
  .article-card-body {
    padding: 18px 16px;
  }
  .sub-hero-card {
    padding: 18px 16px 16px;
  }
  .regional-card-body {
    padding: 20px 16px;
  }
  .podcast-banner {
    padding: 20px 16px;
  }
  .newsletter-section {
    padding: 24px 16px;
  }
  .footer .wrap {
    padding: 40px 16px 24px;
  }
  .top-bar .wrap {
    padding: 8px 16px;
  }
  .live-strip .wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .ticker-scroll {
    padding: 8px 16px;
    gap: 22px;
  }
  body {
    overflow-x: hidden;
  }
}

/* ==========================================================================
   LOGO EN LA BARRA SUPERIOR
   ========================================================================== */
.top-bar-logo {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-bar-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.top-bar-logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* El logo del pie se muestra en pastilla blanca sobre el fondo oscuro */
.footer-brand img {
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .top-bar-left {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .top-bar-logo {
    padding: 3px 8px;
  }

  .top-bar-logo img {
    height: 24px;
  }
}

/* ==========================================================================
   TOAST NOTIFICATION & SEARCH MODAL
   ========================================================================== */
.vdc-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brand-green, #123832);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-mustard, #c9a227);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.vdc-toast.show {
  opacity: 1;
  transform: translateY(0);
}

#header-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 61, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#header-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 640px;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  border-top: 5px solid var(--brand-green, #123832);
}

.search-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: #726c62;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.search-modal-close:hover {
  color: #1e1c19;
}

.search-modal-form {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.search-modal-form input[type="search"],
.search-modal-form input[type="text"] {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid #e7e4de;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.search-modal-form input:focus {
  border-color: var(--brand-green, #123832);
}

.search-modal-form button[type="submit"] {
  background: var(--brand-green, #123832);
  color: #ffffff;
  border: none;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-modal-form button[type="submit"]:hover {
  background: var(--brand-green-hover, #1d5049);
}

.search-modal-tags {
  margin-top: 18px;
  font-size: 13px;
  color: #726c62;
}

.search-modal-tags a {
  display: inline-block;
  background: #f7f6f3;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--brand-green, #123832);
  font-weight: 600;
  margin: 4px 4px 0 0;
  font-size: 12px;
}

.search-modal-tags a:hover {
  background: var(--accent-mustard, #c9a227);
  color: #1e1c19;
}



/* ==========================================================================
   Voz de Colombia - Estilos de paginas de seccion
   (Quienes somos, Podcast, Deportes, Economia, Contacto, Suscripcion, Opinion)
   Bloques <style> originales consolidados desde los HTML estaticos.
   Requiere la hoja principal (style.css) cargada antes que esta.
   ========================================================================== */

/* ------------------------------------------------------------
   Quienes somos
   ------------------------------------------------------------ */
.about-hero {
      background: #123832;
      color: #fff;
      padding: 70px 0 50px;
    }
    .about-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin-bottom: 18px; }
    .about-hero p.subhead { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 680px; line-height: 1.7; }
    .about-section { padding: 60px 0; }
    .about-section h2 { font-family: var(--font-serif); font-size: 1.9rem; color: #123832; margin-bottom: 18px; }
    .about-section p { font-size: 16px; color: var(--ink-secondary); line-height: 1.75; margin-bottom: 16px; }
    .values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
    .value-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid #123832; border-radius: var(--radius-md); padding: 28px 24px; }
    .value-card .icon { font-size: 28px; margin-bottom: 12px; }
    .value-card h3 { font-family: var(--font-serif); font-size: 1.1rem; color: #123832; margin-bottom: 8px; }
    .value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
    .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 32px; }
    .team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
    .team-avatar { width: 100%; height: 180px; object-fit: cover; }
    .team-avatar-placeholder { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 800; font-family: var(--font-serif); color: #fff; }
    .team-info { padding: 20px; }
    .team-info h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
    .team-info .role { font-size: 13px; color: #c9a227; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
    .team-info p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }
    .trn-banner { background: #123832; color: #fff; padding: 50px 0; margin-top: 10px; }
    .trn-banner h2 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 14px; }
    .trn-banner p { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 640px; line-height: 1.7; }
    .trn-banner .trn-highlight { color: #c9a227; font-weight: 800; }
    .divider-line { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ------------------------------------------------------------
   Podcast
   ------------------------------------------------------------ */
.player-hero-box {
      background: #123832;
      color: #ffffff;
      border-radius: var(--radius-lg);
      padding: 36px;
      margin-bottom: 40px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: var(--shadow-lg);
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 36px;
      align-items: center;
    }

    .player-cover {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
      background: var(--ink);
      position: relative;
    }

    .player-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .player-controls-main {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .track-badge {
      display: inline-block;
      background: var(--yellow-flag);
      color: var(--ink);
      font-weight: 800;
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
      width: fit-content;
    }

    .track-title {
      font-family: var(--font-serif);
      font-size: 28px;
      font-weight: 700;
      line-height: 1.25;
      color: #ffffff;
    }

    .track-desc {
      font-size: 15px;
      color: #cbd5e1;
      line-height: 1.5;
    }

    .audio-progress-bar {
      width: 100%;
      height: 6px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 3px;
      position: relative;
      cursor: pointer;
    }

    .audio-progress-fill {
      width: 35%;
      height: 100%;
      background: var(--yellow-flag);
      border-radius: 3px;
    }

    .player-action-row {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-top: 10px;
    }

    .btn-play-large {
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: var(--yellow-flag);
      color: var(--ink);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(255, 199, 44, 0.45);
      transition: transform 0.2s;
    }

    .btn-play-large:hover {
      transform: scale(1.06);
    }

    .btn-skip {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #ffffff;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 13px;
      cursor: pointer;
    }

    .episode-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 50px;
    }

    .episode-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .episode-card:hover {
      border-color: var(--brand-green);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    @media (max-width: 768px) {
      .player-hero-box {
        grid-template-columns: 1fr;
      }
      .player-cover {
        max-width: 220px;
        margin: 0 auto;
      }
    }

/* ------------------------------------------------------------
   Deportes
   ------------------------------------------------------------ */
.scores-bar { background: #0a1f3d; padding: 12px 0; overflow: hidden; }
    .scores-inner { display: flex; gap: 0; }
    .score-cell { white-space: nowrap; padding: 0 28px; border-right: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 13px; display: flex; align-items: center; gap: 10px; }
    .score-cell .teams { font-weight: 700; }
    .score-cell .result { background: rgba(201,162,39,0.2); color: #c9a227; font-weight: 800; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
    .score-cell .live-badge { background: #a6402f; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 3px; animation: blink-it 1.5s infinite; }
    @keyframes blink-it { 0%,100%{opacity:1} 50%{opacity:0.5} }

    .sports-hero { background: #123832; color: #fff; padding: 60px 0 44px; }
    .sports-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); font-weight: 700; margin-bottom: 12px; }
    .sports-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 600px; line-height: 1.7; }

    .sports-main-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin: 40px 0; }
    @media (max-width: 900px) { .sports-main-grid { grid-template-columns: 1fr; } }

    .sport-lead { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
    .sport-lead-img { position: relative; }
    .sport-lead-img img { width: 100%; height: 320px; object-fit: cover; }
    .sport-lead-img-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 24px; }
    .sport-lead-img-overlay .cat-badge { background: #c9a227; color: #000; font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }
    .sport-lead-body { padding: 28px; }
    .sport-lead-body h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ink); line-height: 1.35; margin-bottom: 12px; }
    .sport-lead-body h2 a { color: inherit; }
    .sport-lead-body h2 a:hover { color: #1d3557; }
    .sport-lead-body p { font-size: 15px; color: var(--ink-secondary); line-height: 1.7; margin-bottom: 16px; }
    .sport-lead-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 16px; }
    .sport-lead-footer span { font-size: 13px; color: var(--muted); }
    .sport-lead-footer a { font-weight: 700; color: #1d3557; }

    .sports-sidebar { display: flex; flex-direction: column; gap: 20px; }
    .sidebar-section-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); border-bottom: 2px solid #0a1f3d; padding-bottom: 8px; margin-bottom: 14px; }
    .score-card-list { display: flex; flex-direction: column; gap: 10px; }
    .score-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 18px; }
    .score-card .league { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: 0.8px; margin-bottom: 8px; display: flex; justify-content: space-between; }
    .score-card .match-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .score-card .team-name { font-size: 14px; font-weight: 700; color: var(--ink); flex: 1; }
    .score-card .team-name.right { text-align: right; }
    .score-card .score { font-size: 18px; font-weight: 900; color: #0a1f3d; background: #f0f4f8; padding: 4px 10px; border-radius: 6px; }
    .score-card .live-dot-sm { width: 7px; height: 7px; background: #a6402f; border-radius: 50%; display: inline-block; animation: pulse-ring 1.5s infinite; }
    .score-card .upcoming { font-size: 12px; color: var(--muted); font-weight: 600; background: #f0f4f8; padding: 4px 10px; border-radius: 6px; }

    .standings-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
    .standings-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .standings-table th { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 8px; text-align: center; border-bottom: 1px solid var(--border); }
    .standings-table th:first-child { text-align: left; }
    .standings-table td { padding: 7px 8px; text-align: center; border-bottom: 1px solid var(--border-light); }
    .standings-table td:first-child { text-align: left; font-weight: 600; }
    .standings-table td:nth-child(2) { font-weight: 700; color: #0a1f3d; }
    .standings-table tr:last-child td { border: none; }
    .pos-num { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; margin-right: 6px; }

    .sports-categories { margin-bottom: 50px; }
    .sports-category-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
    .sports-category-title h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }
    .sports-category-title a { font-size: 13px; font-weight: 700; color: var(--brand-green); margin-left: auto; }
    .sports-category-divider { flex: 1; height: 2px; background: #0a1f3d; }

    .sports-3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
    @media (max-width: 900px) { .sports-3-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 600px) { .sports-3-grid { grid-template-columns: 1fr; } }
  @media (max-width: 760px) {
    .sports-main-grid { grid-template-columns: 1fr; gap: 28px; }
    .sports-3-grid { grid-template-columns: 1fr; }
  }

/* ------------------------------------------------------------
   Economia
   ------------------------------------------------------------ */
.eco-hero { background: linear-gradient(92deg, rgba(18,56,50,0.96) 0%, rgba(18,56,50,0.90) 46%, rgba(18,56,50,0.64) 100%), url('../cafe.jpg') center 45% / cover no-repeat; background-color: #123832; color: #fff; padding: 60px 0 44px; }
    .eco-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); font-weight: 700; margin-bottom: 12px; }
    .eco-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 600px; line-height: 1.7; }

    /* DASHBOARD DE INDICADORES */
    .indicators-dashboard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin: 36px 0; }
    .indicators-dashboard h2 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
    .indicators-dashboard h2 .live-dot { width: 9px; height: 9px; background: #a6402f; border-radius: 50%; display: inline-block; animation: pulse-ring 1.5s infinite; }
    .indicators-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
    .indicator-tile { background: var(--surface-subtle); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 20px; position: relative; overflow: hidden; }
    .indicator-tile::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
    .indicator-tile.trm::before { background: #003893; }
    .indicator-tile.euro::before { background: #123832; }
    .indicator-tile.oil::before { background: #a6402f; }
    .indicator-tile.coffee::before { background: #c9a227; }
    .indicator-tile.colcap::before { background: #1b873f; }
    .indicator-tile.ipc::before { background: #726c62; }
    .indicator-label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: 0.8px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
    .indicator-value { font-size: 1.6rem; font-weight: 900; color: var(--ink); font-family: var(--font-serif); margin-bottom: 4px; }
    .indicator-change { font-size: 12.5px; font-weight: 700; }
    .indicator-change.up { color: #1b873f; }
    .indicator-change.down { color: #a6402f; }
    .indicator-updated { font-size: 11px; color: var(--muted); margin-top: 6px; }
    .indicator-source { font-size: 10px; color: var(--muted-light); }
    .loading-pulse { animation: loadpulse 1.5s infinite; }
    @keyframes loadpulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

    /* CHARTS placeholder */
    .chart-section { margin: 40px 0; }
    .chart-section h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 20px; }
    .chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    @media (max-width: 768px) { .chart-grid { grid-template-columns: 1fr; } }
    .chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
    .chart-card h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 16px; display: flex; justify-content: space-between; }
    .chart-card h3 span { font-size: 12px; color: var(--muted); font-weight: 500; }
    .mini-chart { width: 100%; height: 80px; position: relative; }
    .mini-chart svg { width: 100%; height: 100%; }
    .chart-note { font-size: 11px; color: var(--muted); margin-top: 10px; text-align: right; }

    /* NEWS SECTION */
    .eco-news-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; margin: 40px 0; }
    @media (max-width: 900px) { .eco-news-layout { grid-template-columns: 1fr; } }
    .eco-section-h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); border-bottom: 2px solid #123832; padding-bottom: 10px; margin-bottom: 24px; }
    .eco-article-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
    .eco-article-card:last-child { border-bottom: none; }
    .eco-article-img { width: 110px; height: 78px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
    .eco-article-body h3 { font-family: var(--font-serif); font-size: 0.97rem; color: var(--ink); line-height: 1.4; margin-bottom: 6px; }
    .eco-article-body h3 a { color: inherit; }
    .eco-article-body h3 a:hover { color: #123832; }
    .eco-article-body p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
    .eco-article-footer { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
    .eco-article-footer .tag { background: rgba(18,56,50,0.08); color: #123832; font-weight: 700; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

    .eco-sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px; }
    .eco-sidebar-card h3 { font-size: 14px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 14px; }
    .eco-sidebar-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border-light); font-size: 13.5px; }
    .eco-sidebar-item:last-child { border: none; }
    .eco-sidebar-item .name { font-weight: 600; color: var(--ink); }
    .eco-sidebar-item .val { font-weight: 800; color: #0a1f3d; }
    .eco-sidebar-item .chg { font-size: 12px; font-weight: 700; }
    .eco-sidebar-item .chg.up { color: #1b873f; }
    .eco-sidebar-item .chg.down { color: #a6402f; }
  @media (max-width: 760px) {
    .chart-grid { grid-template-columns: 1fr; }
    .eco-news-layout { grid-template-columns: 1fr; gap: 28px; }
  }

/* ------------------------------------------------------------
   Contacto
   ------------------------------------------------------------ */
.contact-hero {
      background: #123832;
      color: #fff; padding: 70px 0 50px;
    }
    .contact-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); font-weight: 700; margin-bottom: 14px; }
    .contact-hero p { font-size: 17px; color: rgba(255,255,255,0.82); max-width: 620px; line-height: 1.7; }
    .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; align-items: start; }
    @media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }
    .contact-form-wrap h2 { font-family: var(--font-serif); font-size: 1.6rem; color: #123832; margin-bottom: 24px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
    .form-group input, .form-group textarea, .form-group select {
      width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
      font-family: var(--font-sans); font-size: 15px; color: var(--ink); background: var(--surface);
      transition: border-color 0.2s; outline: none;
    }
    .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #123832; }
    .form-group textarea { min-height: 140px; resize: vertical; }
    .btn-submit {
      background: #123832; color: #fff; border: none; padding: 14px 32px;
      border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 15px;
      font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%;
    }
    .btn-submit:hover { background: #1d5049; transform: translateY(-1px); }
    .contact-info-wrap { display: flex; flex-direction: column; gap: 20px; }
    .contact-info-wrap h2 { font-family: var(--font-serif); font-size: 1.6rem; color: #123832; margin-bottom: 8px; }
    .contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
    .contact-card h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #c9a227; margin-bottom: 8px; }
    .contact-card p { font-size: 15px; color: var(--ink-secondary); margin: 0; line-height: 1.6; }
    .contact-card a { color: #123832; font-weight: 600; }
    .contact-card a:hover { color: #c9a227; }
    .social-links { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
    .social-link { display: inline-flex; align-items: center; gap: 7px; background: #f0f4f8; border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: #123832; transition: all 0.2s; }
    .social-link:hover { background: #123832; color: #fff; border-color: #123832; }
    .map-placeholder { background: #123832; border-radius: var(--radius-md); padding: 50px 30px; text-align: center; color: #fff; }
    .map-placeholder .map-icon { font-size: 48px; margin-bottom: 16px; }
    .map-placeholder h4 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 8px; }
    .map-placeholder p { font-size: 14px; color: rgba(255,255,255,0.75); margin: 0; }
    .success-msg { display: none; background: #d4edda; border: 1px solid #c3e6cb; border-radius: 8px; padding: 16px; margin-top: 16px; color: #155724; font-weight: 600; text-align: center; }
  @media (max-width: 760px) {
    .contact-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  }

/* ------------------------------------------------------------
   Suscripcion
   ------------------------------------------------------------ */
.pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin: 40px 0 60px;
    }

    .pricing-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 36px 28px;
      display: flex;
      flex-direction: column;
      box-shadow: var(--shadow-sm);
      position: relative;
      transition: all 0.25s ease;
    }

    .pricing-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }

    .pricing-card.featured {
      border: 2px solid var(--yellow-flag);
      background: #ffffff;
      box-shadow: var(--shadow-md);
    }

    .badge-featured {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--yellow-flag);
      color: var(--ink);
      font-weight: 800;
      font-size: 11px;
      padding: 4px 14px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .plan-name {
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 700;
      color: var(--ink);
      margin-bottom: 8px;
    }

    .plan-price {
      font-size: 38px;
      font-weight: 800;
      color: var(--brand-green);
      margin: 16px 0;
    }

    .plan-price span {
      font-size: 15px;
      font-weight: 500;
      color: var(--muted);
    }

    .plan-features {
      list-style: none;
      margin: 20px 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 14.5px;
      color: var(--ink-secondary);
      flex-grow: 1;
    }

    .plan-features li {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .plan-features li::before {
      content: '';
      color: var(--green-up);
      font-weight: 800;
    }

    .btn-plan {
      background: var(--brand-green);
      color: #ffffff;
      font-weight: 700;
      text-align: center;
      padding: 14px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      border: none;
      transition: all 0.2s;
      margin-top: 10px;
    }

    .btn-plan:hover {
      background: var(--brand-green-hover);
    }

    .btn-plan.gold {
      background: var(--yellow-flag);
      color: var(--ink);
    }

    .btn-plan.gold:hover {
      background: #ffd659;
    }

    @media (max-width: 860px) {
      .pricing-grid {
        grid-template-columns: 1fr;
      }
    }

/* ------------------------------------------------------------
   Opinion
   ------------------------------------------------------------ */
/* Opinion page extra styles */
    .opinion-page-hero { background: #123832; color: #fff; padding: 60px 0 44px; }
    .opinion-page-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem); font-weight: 700; margin-bottom: 12px; }
    .opinion-page-hero p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 600px; line-height: 1.7; }

    .editorial-featured { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid #c9a227; border-radius: var(--radius-md); padding: 36px; margin: 40px 0; }
    .editorial-featured .ed-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #c9a227; margin-bottom: 12px; display: block; }
    .editorial-featured h2 { font-family: var(--font-serif); font-size: 1.7rem; color: var(--ink); margin-bottom: 14px; line-height: 1.35; }
    .editorial-featured h2 a { color: inherit; }
    .editorial-featured h2 a:hover { color: #123832; }
    .editorial-featured p { font-size: 15.5px; color: var(--ink-secondary); line-height: 1.75; margin-bottom: 18px; }
    .editorial-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
    .editorial-footer .ed-author { font-size: 13.5px; font-weight: 700; color: var(--ink); }
    .editorial-footer .ed-time { font-size: 12px; color: var(--muted); }
    .editorial-footer a.read-link { color: #123832; font-weight: 700; font-size: 14px; }

    .columnists-section h2 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--ink); margin-bottom: 6px; }
    .columnists-section .section-desc { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
    .columnists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-bottom: 50px; }

    .columnist-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
    .columnist-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
    .columnist-card-header { padding: 24px 24px 0; display: flex; align-items: center; gap: 16px; }
    .columnist-avatar-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 800; color: #fff; flex-shrink: 0; }
    .columnist-meta { flex: 1; }
    .columnist-pill { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; padding: 3px 10px; border-radius: 20px; background: rgba(18,56,50,0.1); color: #123832; margin-bottom: 5px; }
    .columnist-name { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
    .columnist-role { font-size: 12.5px; color: var(--muted); }
    .columnist-card-body { padding: 20px 24px 24px; }
    .columnist-quote { font-size: 42px; font-family: var(--font-serif); color: #c9a227; line-height: 0.8; margin-bottom: 8px; }
    .columnist-headline { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); line-height: 1.4; margin-bottom: 10px; }
    .columnist-headline a { color: inherit; }
    .columnist-headline a:hover { color: #123832; }
    .columnist-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
    .columnist-card-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 14px; }
    .columnist-card-footer span { font-size: 12.5px; color: var(--muted); }
    .columnist-card-footer a { font-size: 13px; font-weight: 700; color: #123832; }
    .columnist-card-footer a:hover { color: #c9a227; }

    .second-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
    @media (max-width: 900px) { .second-row { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 600px) { .second-row { grid-template-columns: 1fr; } .columnists-grid { grid-template-columns: 1fr; } }

    .compact-opinion-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; border-top: 4px solid; transition: box-shadow 0.2s; }
    .compact-opinion-card:hover { box-shadow: var(--shadow-sm); }
    .compact-opinion-card .compact-pill { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: inherit; margin-bottom: 10px; display: block; }
    .compact-opinion-card h3 { font-family: var(--font-serif); font-size: 0.97rem; color: var(--ink); line-height: 1.4; margin-bottom: 10px; }
    .compact-opinion-card h3 a { color: inherit; }
    .compact-opinion-card h3 a:hover { color: #123832; }
    .compact-opinion-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
    .compact-footer { display: flex; justify-content: space-between; align-items: center; }
    .compact-footer .author-compact { display: flex; align-items: center; gap: 8px; }
    .compact-author-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
    .compact-footer a { font-size: 12.5px; font-weight: 700; color: #123832; }

    .poll-section { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 40px; margin-bottom: 50px; }
    .poll-section h3 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: 10px; }
    .poll-section p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
    .poll-options { display: flex; flex-direction: column; gap: 12px; }
    .poll-btn { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25); color: #fff; padding: 14px 20px; border-radius: var(--radius-md); font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; text-align: left; }
    .poll-btn:hover { background: rgba(201,162,39,0.25); border-color: #c9a227; }
    .poll-btn .pct { font-size: 15px; font-weight: 800; color: #c9a227; }
    .poll-votes { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 16px; }

    .principle-box { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid #123832; border-radius: var(--radius-md); padding: 28px; margin-bottom: 50px; }
    .principle-box h3 { font-family: var(--font-serif); font-size: 1.2rem; color: #123832; margin-bottom: 10px; }
    .principle-box p { font-size: 15px; color: var(--ink-secondary); line-height: 1.7; margin: 0; }
  @media (max-width: 760px) {
    .second-row { grid-template-columns: 1fr; }
    .poll-section { padding: 24px 18px; }
  }



/* ==========================================================================
   WORDPRESS CORE ALIGNMENTS & UTILITIES
   ========================================================================== */
.alignleft { float: left; margin: 0 24px 20px 0; }
.alignright { float: right; margin: 0 0 20px 24px; }
.aligncenter { display: block; margin: 24px auto; }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; border: 1px solid var(--border); padding: 6px; background: var(--surface); border-radius: var(--radius-sm); margin-bottom: 24px; }
.wp-caption img { width: 100%; height: auto; display: block; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; padding-top: 6px; margin: 0; }
.bypostauthor {}
.sticky { border-left: 4px solid var(--accent-mustard); }
.gallery-caption {}
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.page-links { clear: both; margin: 24px 0; font-weight: 700; }
.page-links a { display: inline-block; padding: 6px 12px; margin-right: 6px; border: 1px solid var(--border); border-radius: 4px; }
.page-links a:hover { background: var(--brand-green); color: #fff; }
