/* Cabecera pública común: Iglesia Adventista UMSE y programa Sígueme. */
.site-header.institutional-header,.site-header.institutional-header.is-scrolled { background:#fff!important;border-bottom:1px solid #e5ebef;box-shadow:0 3px 14px #0b304707; }
.site-header.institutional-header .navbar { display:flex;align-items:center;flex-wrap:nowrap;gap:22px;min-height:110px;padding-top:8px;padding-bottom:8px; }
.site-header.institutional-header .podcast-church-identity { display:flex;flex:none;margin:0;padding:0; }
.site-header.institutional-header .podcast-church-logo { display:block;position:relative;overflow:hidden;width:210px;height:76px; }
.site-header.institutional-header .podcast-church-logo img { position:absolute;left:-125%;top:50%;width:225%;max-width:none;height:auto;transform:translateY(-50%);filter:none!important; }
.site-header.institutional-header .brand.brand-sigueme { width:155px;min-width:0;flex:none;padding:0;margin:0; }
.site-header.institutional-header .brand.brand-sigueme img { display:block;width:155px;max-width:155px;height:auto;filter:none!important; }
.site-header.institutional-header .nav-links { margin-left:auto;gap:26px; }
.site-header.institutional-header .nav-links > a { color:#0b3047; }
.site-header.institutional-header .podcast-header-badge { margin-left:auto;color:#244c61; }
.site-header.institutional-header .podcast-header-music { color:#b59b62;opacity:.12; }
.site-header.institutional-header .menu-toggle { position:static!important;flex:none;margin-left:auto; }
.site-header.institutional-header .menu-toggle span { background:#0b3047; }
@media(max-width:1100px) {
 .site-header.institutional-header .navbar { gap:16px; }
 .site-header.institutional-header .nav-links { gap:16px; }
 .site-header.institutional-header .podcast-church-logo { width:185px;height:70px; }
 .site-header.institutional-header .brand.brand-sigueme,.site-header.institutional-header .brand.brand-sigueme img { width:140px;max-width:140px; }
}
@media(max-width:1000px) {
 .site-header.institutional-header .menu-toggle { display:flex; }
 .site-header.institutional-header .nav-links { display:none;position:absolute;top:100%;left:0;right:0;margin:0;padding:20px 24px;background:#fff;border-bottom:1px solid #d9e2e8;box-shadow:0 9px 15px #0b304710;flex-direction:column;align-items:stretch;gap:8px; }
 .site-header.institutional-header .nav-links.open { display:flex; }
 .site-header.institutional-header .nav-links > a { padding:12px 14px; }
}
@media(max-width:600px) {
 .site-header.institutional-header .navbar { gap:12px;min-height:92px; }
 .site-header.institutional-header .podcast-church-logo { width:145px;height:58px; }
 .site-header.institutional-header .brand.brand-sigueme,.site-header.institutional-header .brand.brand-sigueme img { width:112px;max-width:112px; }
 .site-header.institutional-header .podcast-header-badge { font-size:11px;gap:6px; }
 .site-header.institutional-header .podcast-header-badge svg { width:18px; }
}
@media(max-width:360px) {
 .site-header.institutional-header .navbar { gap:9px; }
 .site-header.institutional-header .podcast-church-logo { width:128px; }
 .site-header.institutional-header .brand.brand-sigueme,.site-header.institutional-header .brand.brand-sigueme img { width:98px;max-width:98px; }
}
@media(max-width:600px) {
 body[data-isolated-podcast="true"] .site-header.institutional-header .navbar { gap:8px; }
 body[data-isolated-podcast="true"] .site-header.institutional-header .podcast-church-logo { width:135px; }
 body[data-isolated-podcast="true"] .site-header.institutional-header .brand.brand-sigueme,body[data-isolated-podcast="true"] .site-header.institutional-header .brand.brand-sigueme img { width:105px;max-width:105px; }
}
@media(max-width:360px) {
 body[data-isolated-podcast="true"] .site-header.institutional-header .podcast-church-logo { width:115px; }
 body[data-isolated-podcast="true"] .site-header.institutional-header .brand.brand-sigueme,body[data-isolated-podcast="true"] .site-header.institutional-header .brand.brand-sigueme img { width:90px;max-width:90px; }
 body[data-isolated-podcast="true"] .site-header.institutional-header .podcast-header-badge { font-size:10px;gap:4px; }
}

/* Misma caja de cabecera en todas las páginas, tomando Podcast como referencia. */
.site-header.institutional-header .navbar.container {
 width:100%;max-width:min(100%,calc(clamp(350px,100svh - 110px,900px) * 2));
 box-sizing:border-box;padding-left:20px;padding-right:20px;margin-inline:auto;
 justify-content:flex-start;height:110px;min-height:110px;
}
@media(max-width:600px) {
 .site-header.institutional-header .navbar.container { max-width:none;height:92px;min-height:92px;gap:8px;padding-inline:15px; }
 .site-header.institutional-header .podcast-church-logo { width:135px;height:58px; }
 .site-header.institutional-header .brand.brand-sigueme,.site-header.institutional-header .brand.brand-sigueme img { width:105px;max-width:105px; }
}
@media(max-width:360px) {
 .site-header.institutional-header .podcast-church-logo { width:115px; }
 .site-header.institutional-header .brand.brand-sigueme,.site-header.institutional-header .brand.brand-sigueme img { width:90px;max-width:90px; }
}
.site-header.institutional-header .brand.brand-sigueme { height:88px;min-height:88px;max-height:88px;display:flex;align-items:center; }
.site-header.institutional-header .brand.brand-sigueme img { height:88px;max-height:88px;object-fit:contain; }
@media(max-width:600px) {
 .site-header.institutional-header .brand.brand-sigueme { height:62px;min-height:62px;max-height:62px; }
 .site-header.institutional-header .brand.brand-sigueme img { height:62px;max-height:62px; }
}
/* Evita que los nombres de carpetas hereden el relieve del diseño antiguo. */
/* La cabecera conserva contraste y medidas al desplazarse. */
.site-header.institutional-header.is-scrolled .nav-links > a:not(.nav-login),
.site-header.institutional-header.is-scrolled .nav-links > a.nav-login { color:#0b3047!important;opacity:1!important;visibility:visible!important; }
.site-header.institutional-header.is-scrolled .nav-login { background:#fff!important;border-color:#cbd8e2!important; }
.site-header.institutional-header.is-scrolled .nav-login-icon { background:#eef3f7; }
.site-header.institutional-header.is-scrolled .brand-sigueme img,
.site-header.institutional-header.is-scrolled .podcast-church-logo img { filter:none!important;opacity:1!important; }
.site-header.institutional-header.is-scrolled .menu-toggle span { background:#0b3047!important; }
.site-header.institutional-header,.site-header.institutional-header * { transition-property:none; }
[data-public-header] { display:block;height:110px; }
@media(min-width:1001px) {
 .site-header.institutional-header.is-scrolled .nav-links { display:flex!important;opacity:1!important;visibility:visible!important;transform:none!important; }
}
@media(max-width:1000px) {
 .site-header.institutional-header.is-scrolled .nav-links { background:#fff!important; }
 .site-header.institutional-header.is-scrolled .nav-links.open { display:flex!important;opacity:1!important;visibility:visible!important; }
}
@media(max-width:600px) { [data-public-header] { height:92px; } }
@view-transition { navigation:auto; }
.site-header.institutional-header { view-transition-name:sigueme-cabecera; }
::view-transition-group(sigueme-cabecera) { animation-duration:0s; }
::view-transition-old(sigueme-cabecera),::view-transition-new(sigueme-cabecera) { animation:none;mix-blend-mode:normal; }
/* Superficie opaca: evita recomponer el contenido de debajo en cada desplazamiento. */
.site-header.institutional-header { backdrop-filter:none!important;-webkit-backdrop-filter:none!important; }

@media (max-width: 600px) {
  body[data-isolated-podcast="true"] .site-header.institutional-header .navbar.container { height:auto;flex-wrap:wrap;padding-block:10px; }
}
/* Pie institucional compartido: iconos claros, contacto legible y redes con nombre. */
footer.site-footer { position:relative;padding:48px 0 0;background:#092f43;color:#d4e1e7;border-top:3px solid #c5a45f; }
footer.site-footer::before,footer.site-footer::after { display:none; }
footer.site-footer .footer-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,.9fr);gap:48px;align-items:start;padding-bottom:36px; }
footer.site-footer .footer-identity { display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left; }
footer.site-footer .footer-brand { display:block;width:auto;max-width:260px;margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none; }
footer.site-footer .footer-brand img { display:block;width:100%;max-width:260px;height:70px;object-fit:contain;object-position:left center; }
footer.site-footer .footer-region { color:#c6ac77;font-size:11px;letter-spacing:1px;text-transform:uppercase; }
footer.site-footer .footer-identity p { margin:0;max-width:285px;color:#b7cbd5;font-size:13px;line-height:1.8; }
footer.site-footer h3 { margin:0 0 18px;color:#f7f3e9;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:1.2px;text-transform:uppercase; }
footer.site-footer .contact-list { display:grid;gap:17px; }
footer.site-footer .contact-list > a { display:flex;align-items:flex-start;gap:13px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#d2e0e6;text-decoration:none;font-size:12px;line-height:1.7;overflow-wrap:anywhere; }
footer.site-footer .contact-icon { display:grid;place-items:center;flex:0 0 22px;width:22px;height:24px;margin-top:2px;padding:0;border:0;border-radius:0;background:none;color:#ceb57d; }
footer.site-footer .contact-icon svg { display:block;width:21px;height:21px; }
footer.site-footer .contact-list small { display:block;margin:0 0 3px;color:#8faeba;font-size:9px;line-height:1.4;font-weight:500;letter-spacing:1.3px; }
footer.site-footer .footer-social-intro { margin:0 0 16px;color:#b7cbd5;font-size:12px;line-height:1.7; }
footer.site-footer .footer-socials > div { display:flex;flex-wrap:wrap;gap:9px; }
footer.site-footer .social-button { display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:0;height:auto;min-height:40px;margin:0;padding:9px 12px;border:1px solid #ffffff27;border-radius:7px;background:#ffffff05;box-shadow:none;color:#e4edf0;font-size:12px;font-weight:500;text-decoration:none; }
footer.site-footer .social-button img { display:block;width:20px;height:20px;object-fit:contain;border-radius:0; }
footer.site-footer .contact-list > a:hover { color:#fff; }
footer.site-footer .social-button:hover { transform:none;background:#ffffff10;border-color:#c6ac77; }
footer.site-footer a:focus-visible { outline:2px solid #d6b973;outline-offset:4px; }
footer.site-footer .footer-bottom { display:block;margin-top:0;padding-block:18px;border-top:1px solid #ffffff17;text-align:left; }
footer.site-footer .footer-bottom p { margin:0;color:#8fadb9;font-size:11px;line-height:1.7; }
@media(max-width:850px) { footer.site-footer .footer-grid { grid-template-columns:1fr 1fr;gap:30px; } footer.site-footer .footer-socials { grid-column:1/-1; } }
@media(max-width:560px) { footer.site-footer { padding-top:32px; } footer.site-footer .footer-grid { grid-template-columns:minmax(0,1fr);gap:30px;padding-bottom:28px; } footer.site-footer .footer-socials { grid-column:auto; } footer.site-footer .footer-brand img { max-width:240px;height:65px; } footer.site-footer h3 { margin-bottom:14px; } }

/* Redes: iconos de marca grandes, sin etiquetas ni recuadros. */
footer.site-footer .footer-socials > div { gap:16px; }
footer.site-footer .social-button { width:52px;height:52px;min-height:52px;padding:0;border:0;border-radius:0;background:none;box-shadow:none; }
footer.site-footer .social-button img { width:52px;height:52px;object-fit:contain; }
footer.site-footer .social-button:hover { background:none;border:0;opacity:.85; }
