/* ════════════════════════════════════════════════
   Eckiger Tisch – Presseschau
   Réplica visual exacta de eckiger-tisch.de:
   - Enlaces SUBRAYADOS (como en vivo)
   - Fuente en bold + subrayado
   - Color teal #0a7fa3
   ════════════════════════════════════════════════ */

/* ─── Year Navigation (interna del plugin, opcional) ── */
.et-press-year-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.et-press-year-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border: 2px solid #1b6d8c;
  border-radius: 50px;
  background: transparent;
  color: #1b6d8c;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.et-press-year-btn:hover {
  background: rgba(27, 109, 140, 0.08);
}

.et-press-year-btn:focus-visible {
  outline: 3px solid rgba(27, 109, 140, 0.4);
  outline-offset: 2px;
}

.et-press-year-btn.is-active {
  background: #1b6d8c;
  color: #fff;
}

/* ─── Estado activo para botones de ELEMENTOR ───── */
/* Se aplica al botón de año seleccionado en el hero.
   Ajusta los colores si el diseño de Elementor usa otros. */
.et-year-active,
.et-year-active .elementor-button {
  background-color: #1b6d8c !important;
  color: #fff !important;
}

.et-year-active a,
a.et-year-active {
  background-color: #1b6d8c !important;
  color: #fff !important;
}

/* ─── Content Area ─────────────────────────────── */
.et-press-content {
  min-height: 80px;
}

/* ─── Month Section ────────────────────────────── */
.et-press-month {
  margin-bottom: 40px;
}

.et-press-month-heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a2e44;
  margin: 0 0 18px 0;
  padding: 0;
  line-height: 1.3;
  border: none;
  background: none;
  box-shadow: none;
}

/* ─── Entry List ───────────────────────────────── */
.et-press-entries {
  list-style: none;
  margin: 0;
  padding: 0;
}

.et-press-entry {
  margin-bottom: 22px;     /* espaciado amplio como en vivo */
  line-height: 1.6;
}

/* Enlace completo: SUBRAYADO como en la página original */
.et-press-link {
  display: inline;
  color: #0a7fa3;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s;
}

.et-press-link:hover {
  color: #075e78;
  text-decoration-thickness: 2px;
}

.et-press-link.et-press-no-url {
  color: #444;
  cursor: default;
  text-decoration: none;
}

/* Fuente del medio: bold (el subrayado lo hereda del enlace) */
.et-press-source {
  font-weight: 700;
}

.et-press-date {
  font-weight: 400;
}

/* Nota paywall: fuera del enlace, sin subrayar */
.et-press-paywall {
  font-size: 0.95em;
  color: #333;
  text-decoration: none;
  display: inline;
}

/* ─── Embeds ───────────────────────────────────── */
.et-press-embed {
  margin-top: 14px;
  max-width: 660px;
  width: 100%;
}

/* Video iframes: 16:9 fluido */
.et-press-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 12px;
  display: block;
}

/* Spotify: altura fija propia, no 16:9 */
.et-press-embed iframe[src*="spotify"] {
  aspect-ratio: auto;
  height: 152px;
}

/* Reproductores HTML5 nativos */
.et-press-embed audio {
  width: 100%;
  display: block;
}

.et-press-embed video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Sufijo después del enlace: sin subrayado */
.et-press-suffix {
  text-decoration: none;
  color: #333;
}

/* ─── Loading ──────────────────────────────────── */
.et-press-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  padding: 24px 0;
  font-size: 15px;
}

.et-press-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(27, 109, 140, 0.2);
  border-top-color: #1b6d8c;
  border-radius: 50%;
  flex-shrink: 0;
  animation: et-spin 0.7s linear infinite;
}

@keyframes et-spin {
  to { transform: rotate(360deg); }
}

/* ─── Empty / Error ────────────────────────────── */
.et-press-error,
.et-press-empty {
  color: #888;
  font-style: italic;
  padding: 24px 0;
}

/* ─── Responsive: Tablet (601–1024px) ──────────── */
@media (max-width: 1024px) {
  .et-press-embed {
    max-width: 100%;
  }
}

/* ─── Responsive: Móvil (≤600px) ───────────────── */
@media (max-width: 600px) {
  .et-press-year-btn {
    padding: 7px 15px;
    font-size: 14px;
  }

  .et-press-month-heading {
    font-size: 1.3rem;
  }

  .et-press-embed {
    max-width: 100%;
    margin-top: 10px;
  }

  .et-press-entry {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
