/* ==========================================================================
   GENERACIÓN SILVER — ESTILOS DE LECTURA DE ARTÍCULOS (article.css)
   Lectura relajada, descansada y de alto rigor editorial (+55 a 75 años)
   ========================================================================== */

/* Barra de progreso de lectura superior */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1002;
}

.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent) 0%, #f59e0b 100%);
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Layout de Lectura: Contenido + Barra Lateral */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
  align-items: start;
}

.article-main-column {
  min-width: 0;
}

/* Miga de pan (Breadcrumbs) */
.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-breadcrumbs a {
  color: var(--c-text-muted);
}

.article-breadcrumbs a:hover {
  color: var(--c-accent);
}

.breadcrumb-sep {
  color: var(--c-border);
}

/* Cabecera del Artículo */
.article-header {
  margin-bottom: 2rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--c-text);
  margin: 1rem 0 1.25rem 0;
  letter-spacing: -0.015em;
}

.article-subtitle {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-bottom: 1.75rem;
}

/* Ficha del Autor y Metadatos */
.article-author-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  flex-wrap: wrap;
  gap: 1rem;
}

.author-info-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-accent);
}

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

.author-details-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text);
}

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

.article-timing-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--c-text-muted);
}

/* Imagen Principal del Artículo */
.article-featured-media {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-featured-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.media-caption {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--c-text-muted);
  padding: 0.75rem 1rem;
  background-color: var(--c-surface-subtle);
  border-left: 3px solid var(--c-accent);
}

/* Barra Flotante de Compartición Social */
.article-share-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 2.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.share-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text);
  margin-right: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  color: #ffffff;
}

.share-whatsapp {
  background-color: #25d366;
}

.share-whatsapp:hover {
  background-color: #1ea952;
  transform: translateY(-2px);
}

.share-facebook {
  background-color: #1877f2;
}

.share-facebook:hover {
  background-color: #0f5ec2;
  transform: translateY(-2px);
}

.share-copy {
  background-color: var(--c-surface-subtle);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.share-copy:hover {
  background-color: var(--c-border);
}

/* ==========================================================================
   TIPOGRAFÍA Y CONTENIDO EDITORIAL
   ========================================================================== */
.article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-text);
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body p.lead {
  font-size: 1.22rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--c-primary);
  border-left: 4px solid var(--c-accent);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

[data-theme="dark"] .article-body p.lead {
  color: #f1f5f9;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--c-primary);
  margin: 2.75rem 0 1.25rem 0;
  line-height: 1.3;
}

[data-theme="dark"] .article-body h2 {
  color: #f1f5f9;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 1.75rem 0 0.85rem 0;
}

.article-body ul, .article-body ol {
  margin: 1.25rem 0 1.75rem 1.75rem;
}

.article-body li {
  margin-bottom: 0.75rem;
  padding-left: 0.35rem;
}

/* Tarjetas de Contenido y Cajas de Énfasis */
.content-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.content-card h3 {
  margin-top: 0;
  color: var(--c-accent);
  font-size: 1.2rem;
}

.callout {
  display: flex;
  gap: 1.25rem;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 5px solid;
}

.callout-gold {
  background-color: var(--c-surface-subtle);
  border-left-color: var(--c-accent);
}

.callout-blue {
  background-color: var(--p-ocio-bg);
  border-left-color: var(--p-ocio);
}

.callout-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.callout-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}

.callout-body p {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Tablas de Datos */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.data-table th {
  background-color: var(--c-primary);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-heading);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) {
  background-color: var(--c-surface-subtle);
}

/* ==========================================================================
   BIOGRAFÍA EXTENDIDA DEL AUTOR (E-E-A-T)
   ========================================================================== */
.author-extended-card {
  display: flex;
  gap: 1.5rem;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3.5rem 0 2.5rem 0;
  box-shadow: var(--shadow-sm);
}

.author-ext-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--c-accent);
  flex-shrink: 0;
}

.author-ext-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .author-ext-name {
  color: #f1f5f9;
}

.author-ext-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: 0.65rem;
}

.author-ext-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* ==========================================================================
   SISTEMA DE COMENTARIOS DE LA COMUNIDAD
   ========================================================================== */
.comments-section {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 2px solid var(--c-border);
}

.comments-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

[data-theme="dark"] .comments-heading {
  color: #f1f5f9;
}

.comment-form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.comment-form-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text);
}

.form-control {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background-color: var(--c-bg);
  color: var(--c-text);
}

.form-control:focus {
  border-color: var(--c-accent);
  background-color: var(--c-surface);
  outline: none;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.btn-submit-comment {
  background: var(--c-accent);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit-comment:hover {
  background: var(--c-accent-hover);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comment-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

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

.comment-date {
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

.comment-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

/* ==========================================================================
   BARRA LATERAL (Sidebar del Artículo)
   ========================================================================== */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.4rem;
}

[data-theme="dark"] .sidebar-widget-title {
  color: #f1f5f9;
}

.sidebar-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--c-accent);
}

.sidebar-articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-article-mini {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.sidebar-article-thumb {
  width: 72px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-article-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-text);
}

.sidebar-article-title:hover {
  color: var(--c-accent);
}

/* ==========================================================================
   COMPONENTES GRÁFICOS E INFOGRAFÍAS FINANCIERAS (63, 65, 67 AÑOS)
   ========================================================================== */
.infographic-wrapper {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.infographic-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 1.25rem;
}

.infographic-badge {
  display: inline-block;
  background-color: var(--p-finanzas-bg);
  color: var(--p-finanzas);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  border: 1px solid rgba(154, 52, 18, 0.2);
}

.infographic-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .infographic-title {
  color: #f1f5f9;
}

.infographic-subtitle {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Grilla de Columnas Comparativas (Diseño Cómodo y Espacioso) */
.retirement-compare-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.retirement-compare-grid.grid-survival,
.retirement-compare-grid.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.compare-card {
  background: var(--c-surface-subtle);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.compare-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.compare-card.highlight-card {
  background: var(--c-surface);
  border: 2px solid var(--c-accent);
  box-shadow: 0 4px 16px rgba(196, 104, 8, 0.12);
}

.compare-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-age-63 {
  background: #fee2e2;
  color: #991b1b;
}

.badge-age-65 {
  background: #dbeafe;
  color: #1e40af;
}

.badge-age-67 {
  background: #dcfce7;
  color: #166534;
}

.compare-age-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 0.25rem;
}

.compare-role-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
}

.compare-stat-block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.highlight-card .compare-stat-block {
  background: var(--c-surface-subtle);
}

.compare-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  display: inline-block;
}

.val-cut { color: #dc2626; }
.val-base { color: var(--c-primary); }
.val-bonus { color: #16a34a; }

[data-theme="dark"] .val-base { color: #38bdf8; }

.compare-stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 1.25rem 0;
  font-size: 0.95rem;
  flex-grow: 1;
}

.compare-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  line-height: 1.6;
  color: var(--c-text);
}

.compare-list li::before {
  position: absolute;
  left: 0;
  font-weight: 800;
}

.list-cut li::before { content: "▼"; color: #dc2626; font-size: 0.8rem; }
.list-base li::before { content: "●"; color: #2563eb; font-size: 0.8rem; }
.list-bonus li::before { content: "▲"; color: #16a34a; font-size: 0.8rem; }

.compare-verdict {
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border-left: 4px solid var(--c-accent);
  border-top: none;
  line-height: 1.55;
  color: var(--c-text);
}

/* Gráfico Visual de Barras (CSS Chart) */
.visual-bar-chart {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2rem 0;
}

.chart-title-area {
  margin-bottom: 1.5rem;
}

.chart-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .chart-title {
  color: #f1f5f9;
}

.chart-explanation {
  font-size: 0.88rem;
  color: var(--c-text-muted);
}

.chart-row {
  margin-bottom: 1.5rem;
}

.chart-row:last-child {
  margin-bottom: 0;
}

.chart-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.chart-row-name {
  font-weight: 700;
  color: var(--c-text);
}

.chart-row-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
}

.chart-track {
  height: 28px;
  background: var(--c-surface-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--c-border);
}

.chart-fill {
  height: 100%;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding-left: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fill-63 {
  width: 81%;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
}

.fill-65 {
  width: 100%;
  background: linear-gradient(90deg, #1d4ed8 0%, #0284c7 100%);
}

.fill-67 {
  width: 108%;
  background: linear-gradient(90deg, #15803d 0%, #22c55e 100%);
}

.chart-detail-tag {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.35rem;
  display: block;
}

/* Componente Punto de Equilibrio (Break-Even) */
.breakeven-box {
  background: linear-gradient(135deg, var(--c-surface-subtle) 0%, var(--p-finanzas-bg) 100%);
  border: 2px solid var(--p-finanzas);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 2.25rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.breakeven-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.breakeven-content h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--p-finanzas);
  margin-bottom: 0.5rem;
}

.breakeven-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--c-text);
}

.breakeven-metric-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.metric-pill {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-text);
}

/* Pasos visuales del cálculo de la pensión (Fórmula 2027) */
.formula-steps-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.formula-step-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.formula-step-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-sm);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.step-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--p-finanzas);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}

.step-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}

.step-formula-code {
  display: block;
  background: var(--c-surface-subtle);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--p-finanzas);
  margin-top: 0.75rem;
}

.case-simulation-card {
  background: var(--c-surface);
  border-left: 4px solid var(--p-finanzas);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-primary);
  margin: 0;
}

[data-theme="dark"] .case-name {
  color: #f1f5f9;
}

.case-tag {
  background: var(--p-finanzas-bg);
  color: var(--p-finanzas);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  text-align: center;
}

.case-item-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.case-item-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-text);
}

/* ==========================================================================
   COMPONENTES: JUBILACIÓN EN PAREJA EN MOMENTOS DISTINTOS
   ========================================================================== */
.couple-intro-card {
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--p-finanzas-bg) 100%);
  border: 2px solid rgba(154, 52, 18, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.couple-intro-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.couple-intro-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.couple-intro-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--p-finanzas);
  margin: 0;
}

.couple-intro-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  margin: 0;
}

/* Semáforo de Decisiones en Pareja */
.traffic-light-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.traffic-card {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  border-left: 6px solid;
  border-top: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}

.traffic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.traffic-green {
  border-left-color: #16a34a;
}

.traffic-amber {
  border-left-color: #d97706;
}

.traffic-red {
  border-left-color: #dc2626;
}

.traffic-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.traffic-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-green { background-color: #16a34a; box-shadow: 0 0 8px rgba(22, 163, 74, 0.4); }
.dot-amber { background-color: #d97706; box-shadow: 0 0 8px rgba(217, 119, 6, 0.4); }
.dot-red { background-color: #dc2626; box-shadow: 0 0 8px rgba(220, 38, 38, 0.4); }

.traffic-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0;
}

.traffic-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-text);
  margin: 0;
}

/* Caja de Conversación de Pareja */
.couple-talk-box {
  background: var(--c-surface-subtle);
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.couple-talk-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

[data-theme="dark"] .couple-talk-title {
  color: #f1f5f9;
}

.couple-talk-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.couple-talk-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-text);
}

.couple-talk-list li::before {
  content: "💬";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .formula-steps-container {
    grid-template-columns: 1fr;
  }
  .case-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.6rem;
  }
}

/* ==========================================================================
   RESPONSIVE (article.css)
   ========================================================================== */
@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .article-sidebar {
    position: static;
  }

  .comment-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .article-subtitle {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .article-author-strip {
    padding: 0.75rem 0;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .article-share-strip {
    padding: 0.85rem 1rem;
    gap: 0.5rem;
    margin: 1.25rem 0 1.75rem 0;
  }

  .share-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    min-height: 40px;
  }

  .article-featured-media {
    margin-bottom: 1.75rem;
    border-radius: var(--radius-sm);
  }

  .article-body {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .article-body h2 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
  }

  .article-body h3 {
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   CITAS DE FUENTE EN LÍNEA (article-cite)
   ========================================================================== */
cite.article-cite {
  display: block;
  margin-top: 0.45rem;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  border-left: 2px solid var(--c-border);
  padding-left: 0.65rem;
  line-height: 1.5;
  font-family: var(--font-body);
}

cite.article-cite a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

cite.article-cite a:hover {
  color: var(--c-accent);
}

.table-note {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-top: 1px solid var(--c-border);
  text-align: left;
}

[data-theme="dark"] cite.article-cite {
  color: #94a3b8;
  border-left-color: rgba(255,255,255,0.2);
}

/* ==========================================================================
   TARJETA DE NOTICIA RELACIONADA (Incrustada desde el CMS)
   ========================================================================== */
.related-article-card {
  margin: 2rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--c-surface-subtle);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.related-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--c-primary);
}

.related-article-card img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.related-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-accent);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.related-card-title {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-text);
  font-family: var(--font-heading);
}

.related-card-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--c-text-muted);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .related-article-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .related-article-card img {
    width: 100%;
    height: 140px;
  }
}

/* ==========================================================================
   SOY GENERACIÓN SILVER — BLOQUE EDITORIAL: FUERZA DESPUÉS DE LOS 60 (.silver-fuerza)
   ========================================================================== */
.silver-fuerza {
  --silver-dark: #18222a;
  --silver-gold: #c99b4b;
  --silver-soft: #f5f2ec;
  --silver-grey: #68747c;
  --silver-white: #ffffff;

  max-width: 950px;
  margin: 55px auto;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--silver-dark);
}

.silver-fuerza__intro {
  max-width: 780px;
  margin-bottom: 32px;
}

.silver-fuerza__tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--silver-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.silver-fuerza__intro h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--silver-dark);
}

.silver-fuerza__intro p {
  margin: 0;
  max-width: 740px;
  color: #4e5960;
  font-size: 18px;
  line-height: 1.7;
}

.silver-fuerza__mensaje {
  position: relative;
  overflow: hidden;
  margin: 35px 0 20px;
  padding: 42px 45px;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(201, 155, 75, 0.20),
      transparent 35%
    ),
    var(--silver-dark);
  box-shadow: 0 18px 45px rgba(24, 34, 42, 0.16);
}

.silver-fuerza__mensaje::after {
  content: "60+";
  position: absolute;
  right: -15px;
  bottom: -45px;
  color: rgba(255,255,255,0.04);
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
}

.silver-fuerza__mini {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 13px;
  color: var(--silver-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.silver-fuerza__mensaje p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--silver-white);
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.silver-fuerza__mensaje strong {
  color: #f2c46d;
  font-weight: 800;
}

.silver-fuerza__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.silver-fuerza__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 19px;
  background: var(--silver-soft);
  border: 1px solid #e8e3da;
  border-radius: 14px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.silver-fuerza__item:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 12px 30px rgba(24,34,42,.09);
}

.silver-fuerza__icono {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  font-size: 23px;
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
}

.silver-fuerza__item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--silver-dark);
  font-size: 16px;
}

.silver-fuerza__item div span {
  display: block;
  color: var(--silver-grey);
  font-size: 13px;
  line-height: 1.35;
}

.silver-fuerza__final {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
  padding: 25px 30px;
  border-left: 5px solid var(--silver-gold);
  background: #fff;
  box-shadow: 0 8px 30px rgba(24,34,42,.08);
  border-radius: 4px 14px 14px 4px;
}

.silver-fuerza__final > span {
  color: var(--silver-gold);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -2px;
}

.silver-fuerza__final p {
  margin: 0 0 3px;
  color: var(--silver-grey);
  font-size: 16px;
}

.silver-fuerza__final strong {
  color: var(--silver-dark);
  font-size: 22px;
}

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

@media (max-width: 560px) {
  .silver-fuerza {
    margin: 35px auto;
  }
  .silver-fuerza__intro h2 {
    font-size: 30px;
  }
  .silver-fuerza__intro p {
    font-size: 17px;
    line-height: 1.6;
  }
  .silver-fuerza__mensaje {
    padding: 32px 25px;
    border-radius: 16px;
  }
  .silver-fuerza__mensaje p {
    font-size: 27px;
  }
  .silver-fuerza__mensaje::after {
    font-size: 120px;
  }
  .silver-fuerza__grid {
    grid-template-columns: 1fr;
  }
  .silver-fuerza__item {
    min-height: 76px;
  }
  .silver-fuerza__final {
    padding: 21px;
  }
  .silver-fuerza__final > span {
    font-size: 29px;
  }
  .silver-fuerza__final strong {
    font-size: 19px;
  }
}

/* ==========================================================================
   SOY GENERACIÓN SILVER — BLOQUE EDITORIAL: CLAVES BABY BOOMERS (.silver-claves)
   ========================================================================== */
.silver-claves {
  --sc-bg: #f8fafc;
  --sc-card-bg: #ffffff;
  --sc-border: #e2e8f0;
  --sc-primary: #1e293b;
  --sc-accent: #b45309;
  --sc-blue: #0284c7;
  --sc-text: #334155;
  --sc-muted: #64748b;

  max-width: 900px;
  margin: 2.75rem auto;
  padding: 2.25rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  font-family: inherit;
  color: var(--sc-primary);
  box-sizing: border-box;
}

.silver-claves__header {
  margin-bottom: 1.75rem;
  text-align: left;
}

.silver-claves__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sc-accent);
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.silver-claves__title {
  font-family: var(--font-heading, inherit);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--sc-primary);
  margin: 0 0 0.65rem;
  letter-spacing: -0.5px;
}

.silver-claves__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--sc-muted);
  margin: 0;
  max-width: 780px;
}

.silver-claves__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.silver-claves__card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.silver-claves__card:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.silver-claves__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.silver-claves__icon {
  font-size: 24px;
  line-height: 1;
}

.silver-claves__pill {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 9999px;
}

.silver-claves__pill--accent {
  color: #9a3412;
  background: #ffedd5;
}

.silver-claves__pill--success {
  color: #166534;
  background: #dcfce7;
}

.silver-claves__number {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--sc-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.silver-claves__label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
}

.silver-claves__text {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
  flex: 1;
}

.silver-claves__footer {
  padding-top: 1rem;
  border-top: 1px dashed #cbd5e1;
}

.silver-claves__source {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
}

.silver-claves__source-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 680px) {
  .silver-claves {
    padding: 1.5rem 1.15rem;
    margin: 2rem auto;
    border-radius: 14px;
  }

  .silver-claves__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .silver-claves__card {
    padding: 1.15rem;
  }
}

