/* ECO305 — identidad visual común | primera pasada auditada
   Paleta: azul profundo + oro champagne. Mantener tarjetas claras en celeste.
*/
:root {
  --eco305-navy: #082c52;
  --eco305-navy-deep: #061f3d;
  --eco305-gold: #e9c46a;
  --eco305-gold-soft: #f2d88e;
  --eco305-gold-glow: rgba(233,196,106,.24);
  --eco305-blue-line: #83bfe0;
}

/* Paneles que ya son deliberadamente azules/oscuros: se unifica su contorno. */
.account-panel,
.bible-approved-banner,
.prayer-hero,
.cinema-hero {
  border: 1.5px solid var(--eco305-gold) !important;
  box-shadow: 0 8px 22px rgba(3,25,52,.12), 0 0 0 1px rgba(233,196,106,.08) !important;
}

/* Secciones azules identificadas en las hojas de estilo de cada página. */
.audio-hero,
.bible-cover,
.prayer-topics,
.daily-post > a,
.about-hero,
.services-home,
.plan header,
.purpose header,
.values h2,
.cinema-categories button,
.movie button {
  border: 1.5px solid var(--eco305-gold) !important;
}

/* Cabecera institucional: una línea champagne define el cierre del encabezado. */
html body .site-header {
  border-bottom: 1.5px solid rgba(233,196,106,.78) !important;
}

/* Tarjetas de contenido con fondo azul conocidas en páginas específicas. */
.mi-eco305-page .panel,
#mi-eco305 .panel,
.videoteca-page .account-panel,
.prayer-page .prayer-hero {
  border-color: var(--eco305-gold) !important;
}

/* Interacción: el dorado aparece al interactuar, sin dejar todos los botones dorados. */
button,
[role="button"],
a.btn,
a.button,
.btn,
.button,
button[type="submit"],
input[type="submit"] {
  transition: border-color .18s ease, background-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}

button:hover,
[role="button"]:hover,
a.btn:hover,
a.button:hover,
.btn:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
button:focus-visible,
[role="button"]:focus-visible,
a.btn:focus-visible,
a.button:focus-visible,
.btn:focus-visible,
.button:focus-visible,
button[type="submit"]:focus-visible,
input[type="submit"]:focus-visible {
  border-color: var(--eco305-gold) !important;
  box-shadow: 0 0 0 2px var(--eco305-gold-glow), 0 0 12px var(--eco305-gold-glow) !important;
}

button:active,
[role="button"]:active,
a.btn:active,
a.button:active,
.btn:active,
.button:active {
  border-color: var(--eco305-gold) !important;
  box-shadow: inset 0 0 0 1px var(--eco305-gold), 0 0 10px var(--eco305-gold-glow) !important;
}

[aria-pressed="true"],
[aria-selected="true"],
.is-active,
.active > a,
a[aria-current="page"] {
  border-color: var(--eco305-gold) !important;
  box-shadow: 0 0 0 1px var(--eco305-gold-glow) !important;
}

/* Enlaces de navegación y acciones: acento dorado al pasar el puntero. */
nav a:hover,
nav a:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration-color: var(--eco305-gold) !important;
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  button, [role="button"], a.btn, a.button, .btn, .button,
  button[type="submit"], input[type="submit"] { transition: none !important; }
}


/* FOOTER ECO305 — criterio común para todas las variantes existentes. */
html body footer.eco-footer-four,
html body footer.post-organized-footer {
  border-top: 2px solid var(--eco305-gold) !important;
}
html body footer.eco-footer-four nav.post-footer-grid,
html body footer.post-organized-footer nav.post-footer-grid {
  border-top-color: rgba(233,196,106,.42) !important;
  border-bottom-color: rgba(233,196,106,.42) !important;
}
html body footer.eco-footer-four .eco-footer-line {
  background: linear-gradient(90deg, #e9c46a, #f2d88e) !important;
}
html body footer.eco-footer-four .post-footer-end,
html body footer.post-organized-footer .post-footer-end {
  border-top: 1px solid rgba(233,196,106,.35) !important;
  padding-top: 12px !important;
}
html body footer.eco-footer-four a:focus-visible,
html body footer.post-organized-footer a:focus-visible,
html body footer.site-footer a:focus-visible {
  outline: 2px solid var(--eco305-gold) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* Footers alternativos heredados: armonizar sin reemplazar su estructura. */
html body .site-footer {
  border-top: 2px solid var(--eco305-gold) !important;
}
html body .site-footer a:hover,
html body .site-footer a:focus-visible {
  color: var(--eco305-gold) !important;
}

/* Elementos azules seleccionados conservan su fondo, pero reciben marco oro. */
html body .languages button[aria-pressed="true"],
html body .common-language button[aria-pressed="true"],
html body .study-tabs button[aria-selected="true"],
html body .filters button[aria-pressed="true"],
html body .cinema-categories button[aria-pressed="true"] {
  border: 1.5px solid var(--eco305-gold) !important;
  box-shadow: 0 0 0 2px var(--eco305-gold-glow) !important;
}

/* Evitar que la capa global cambie el color de botones deshabilitados. */
html body button:disabled,
html body [role="button"][aria-disabled="true"],
html body input:disabled,
html body select:disabled {
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ESTANDAR ECO305 — todo panel azul de radio identificado en producción */
#eco-radio-final .onair.panel,
#eco-radio-final .current.program-card,
#eco305-visual-v2 .eco-radio-card {
  border: 1.5px solid var(--eco305-gold) !important;
  box-shadow: 0 8px 22px rgba(3,25,52,.16), 0 0 0 1px rgba(233,196,106,.12) !important;
}

/* Los paneles azules grandes conservan su fondo; el marco es el distintivo común. */
html body .account-panel,
html body .bible-approved-banner,
html body .prayer-hero,
html body .cinema-hero,
html body .audio-hero,
html body .bible-cover,
html body .prayer-topics,
html body .about-hero,
html body .services-home {
  border-color: var(--eco305-gold) !important;
}
