/* The welcome video always fills a complete viewport, independently of links below it. */
html body.zona-theme-home .hero.zona-wide-image-hero{
 position:relative!important;
 width:100%!important;
 max-width:none!important;
 height:100vh!important;
 height:100dvh!important;
 min-height:100vh!important;
 min-height:100dvh!important;
 max-height:none!important;
 aspect-ratio:auto!important;
 overflow:hidden!important;
}
html body.zona-theme-home .hero.zona-wide-image-hero>.zona-theme-hero-video{
 position:absolute!important;
 inset:0!important;
 display:block!important;
 width:100%!important;
 height:100%!important;
 max-width:none!important;
 max-height:none!important;
 object-fit:cover!important;
 object-position:center!important;
}
/* Keep the welcome text readable on short landscape screens. */
@media(max-height:680px){
 html body.zona-theme-home .hero.zona-wide-image-hero{min-height:680px!important}
}

/* Let the video show behind the entire homepage masthead. */
html body.zona-theme-home .topstrip,
html body.zona-theme-home .header{
 background:transparent!important;
 background-image:none!important;
 border:0!important;
 box-shadow:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
html body.zona-theme-home .topstrip,
html body.zona-theme-home .header .navbar .logo .logo-text,
html body.zona-theme-home .header .navbar .logo .logo-text span,
html body.zona-theme-home .header .navbar .nav>a,
html body.zona-theme-home .header .navbar .nav>.drop>.dropbtn{
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 -webkit-text-stroke:.4px #111820;
 paint-order:stroke fill;
 text-shadow:-1px -1px 0 #111820,1px -1px 0 #111820,-1px 1px 0 #111820,1px 1px 0 #111820,0 2px 5px #000!important;
}
html body.zona-theme-home .header .navbar .nav>a.portal-obrero-link{
 background:rgba(0,0,0,.14)!important;
 border-color:rgba(255,255,255,.75)!important;
}
html body.zona-theme-home .hero .inner :is(h1,p,.verse){
 color:#fff!important;
 text-shadow:-1px -1px 0 #111820,1px -1px 0 #111820,-1px 1px 0 #111820,1px 1px 0 #111820,0 2px 6px #000!important;
}
html body.zona-theme-home .hero .inner h1{
 -webkit-text-stroke:.7px #111820;
 paint-order:stroke fill;
}
html body.zona-theme-home .hero .inner .verse span{color:#ffe3a0!important}
html body.zona-theme-home .hero .inner .btn{text-shadow:none!important;-webkit-text-stroke:0}

/* Center the church identity and use larger, readable homepage lettering. */
html body.zona-theme-home .header .navbar{
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:flex-start!important;
 height:auto!important;
 gap:16px!important;
 padding:14px 0!important;
}
html body.zona-theme-home .header .navbar>.logo{
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 gap:8px!important;
 width:auto!important;
 max-width:100%!important;
 flex:0 0 auto!important;
 margin:0 auto!important;
 text-align:center!important;
}
html body.zona-theme-home .header .navbar>.logo img{
 width:100px!important;
 min-width:100px!important;
 max-width:100px!important;
}
html body.zona-theme-home .header .navbar>.logo .logo-text{
 font-size:clamp(20px,1.5vw,26px)!important;
 line-height:1.25!important;
 white-space:normal!important;
 text-align:center!important;
}
html body.zona-theme-home .header .navbar>.logo .logo-text span{
 font-size:clamp(14px,1vw,17px)!important;
 line-height:1.4!important;
 text-align:center!important;
}
html body.zona-theme-home .topstrip{font-size:clamp(11px,.85vw,15px)!important;line-height:1.5!important}
@media(min-width:1181px){
 html body.zona-theme-home .header .navbar .nav{
 display:flex!important;
 flex-wrap:wrap!important;
 justify-content:center!important;
 gap:8px 14px!important;
 }
 html body.zona-theme-home .header .navbar .nav>a,
 html body.zona-theme-home .header .navbar .nav>.drop>.dropbtn{
 font-size:17px!important;
 line-height:1.35!important;
 padding:10px 8px!important;
 }
}
html body.zona-theme-home .hero.zona-wide-image-hero h1{font-size:clamp(42px,5vw,76px)!important}
html body.zona-theme-home .hero.zona-wide-image-hero p{font-size:clamp(17px,1.2vw,20px)!important;line-height:1.65!important}
html body.zona-theme-home .hero.zona-wide-image-hero .verse{font-size:clamp(16px,1.1vw,19px)!important;line-height:1.65!important}
@media(max-height:780px){
 html body.zona-theme-home .hero.zona-wide-image-hero{min-height:820px!important}
}

/* Dropdowns start beneath every navigation row, including wrapped portal links. */
@media(min-width:1181px){
 html body.zona-theme-home .header .navbar .nav{position:relative!important;isolation:isolate}
 html body.zona-theme-home .header .navbar .nav>.drop{position:static!important;z-index:auto!important}
 html body.zona-theme-home .header .navbar .nav>.drop>.dropbtn{cursor:pointer;background:transparent;border:0;font-family:inherit}
 html body.zona-theme-home .header .navbar .nav>.drop>.dropdown{
 display:none!important;
 position:absolute!important;
 top:calc(100% + 8px)!important;
 left:var(--home-dropdown-left,50%)!important;
 right:auto!important;
 transform:translateX(-50%)!important;
 width:320px!important;
 max-width:100%!important;
 min-width:0!important;
 z-index:100!important;
 background:#fff!important;
 color:#172033!important;
 text-shadow:none!important;
 }
 html body.zona-theme-home .header .navbar .nav>.drop.is-open>.dropdown{display:block!important}
 html body.zona-theme-home .header .navbar .nav>.drop>.dropdown a{
 color:#172033!important;
 -webkit-text-fill-color:#172033!important;
 -webkit-text-stroke:0!important;
 text-shadow:none!important;
 font-size:16px!important;
 line-height:1.4!important;
 }
 html body.zona-theme-home .header .navbar .nav[data-home-dropdown-open]::after{content:'';position:absolute;top:100%;left:0;width:100%;height:10px}
}

/* Keep all desktop destinations on one evenly spaced, readable line. */
@media(min-width:1181px){
 html body.zona-theme-home .header .navbar{width:calc(100% - 32px)!important;max-width:1880px!important}
 html body.zona-theme-home .header .navbar .nav{flex-wrap:nowrap!important;justify-content:space-between!important;gap:6px!important}
 html body.zona-theme-home .header .navbar .nav>a,
 html body.zona-theme-home .header .navbar .nav>.drop>.dropbtn{
 font-size:clamp(16px,1.05vw,18px)!important;
 padding-inline:4px!important;
 }
}
@media(min-width:1181px) and (max-width:1300px){
 html body.zona-theme-home .header .navbar{width:calc(100% - 24px)!important}
 html body.zona-theme-home .header .navbar .nav{gap:2px!important}
 html body.zona-theme-home .header .navbar .nav>a,
 html body.zona-theme-home .header .navbar .nav>.drop>.dropbtn{padding-inline:2px!important}
}

/* A larger centered logo replaces the separate name and zone caption. */
html body.zona-theme-home .header .navbar>.logo img{
 width:200px!important;
 min-width:200px!important;
 max-width:200px!important;
}
@media(max-width:900px){
 html body.zona-theme-home .header .navbar>.logo img{width:160px!important;min-width:160px!important;max-width:160px!important}
}

/* Follow the transparent logo artwork with a dark edge over bright video frames. */
html body.zona-theme-home .header .navbar>.logo img{
 filter:drop-shadow(1px 0 0 #10151d) drop-shadow(-1px 0 0 #10151d) drop-shadow(0 1px 0 #10151d) drop-shadow(0 -1px 0 #10151d) drop-shadow(0 2px 4px rgba(0,0,0,.85))!important;
}

/* Let the masthead grow naturally when the announcement wraps on a phone. */
html body.zona-theme-home .home-masthead{position:absolute;inset:0 0 auto;z-index:80;width:100%}
html body.zona-theme-home .home-masthead>.topstrip,
html body.zona-theme-home .home-masthead>.header{position:relative!important;inset:auto!important;top:auto!important}
@media(max-width:900px){
 html body.zona-theme-home .home-masthead>.topstrip{height:auto!important;min-height:0!important;padding:8px 70px 6px!important;line-height:1.5!important}
}
html body.zona-theme-home #zonaMobileMenuPanel{
 background:#111820!important;
 color:#fff!important;
 height:100dvh!important;
 min-height:0!important;
 max-height:100dvh!important;
 padding-top:calc(78px + env(safe-area-inset-top,0px))!important;
 padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))!important;
 overflow-y:auto!important;
 overscroll-behavior:contain;
 scroll-padding-top:90px;
}
