/* Encabezado de Expo Agricola */
#eaj-h{--verde:#419e47;--hoja:#14391c;--amarillo:#f9bd1e;--linea:#e3ebe0;position:sticky;top:-36px;z-index:9000;font-family:Barlow,system-ui,sans-serif;line-height:1.35;text-align:left}
body.admin-bar #eaj-h{top:0}
#eaj-h *{box-sizing:border-box;margin:0;padding:0}
#eaj-h ul{list-style:none}
#eaj-h a{text-decoration:none;color:inherit;box-shadow:none}
#eaj-h button,#eaj-h button:hover,#eaj-h button:focus{background:transparent;border:0;border-radius:0;color:inherit;font:inherit;cursor:pointer}
#eaj-h :focus-visible{outline:3px solid var(--amarillo);outline-offset:2px}
#eaj-h .eaj-caja{max-width:1320px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:20px}
#eaj-h .eaj-barra{background:var(--verde);color:#fff;font-size:13.5px}
#eaj-h .eaj-barra .eaj-caja{height:36px}
#eaj-h .eaj-barra p{font-weight:700;color:#fff;margin-right:auto;white-space:nowrap}
#eaj-h .eaj-barra nav{display:flex;gap:18px}
#eaj-h .eaj-barra a{font-weight:600;white-space:nowrap}
#eaj-h .eaj-barra a:hover,#eaj-h .eaj-barra a[aria-current]{opacity:1;text-decoration:underline;text-underline-offset:4px}
#eaj-h .eaj-redes{display:flex;gap:4px}
#eaj-h .eaj-redes a{display:grid;place-items:center;width:28px;height:28px;text-decoration:none}
#eaj-h .eaj-redes svg{width:17px;height:17px;fill:currentColor}
#eaj-h .eaj-principal{background:#fff;border-bottom:1px solid var(--linea);box-shadow:0 6px 18px -14px rgba(20,57,28,.45)}
#eaj-h .eaj-principal .eaj-caja{height:76px}
#eaj-h .eaj-logo{flex:none;margin-right:auto}
#eaj-h .eaj-logo img{display:block;height:54px;width:auto;max-width:none}
#eaj-h .eaj-menu{display:flex;gap:2px;align-items:stretch}
#eaj-h .eaj-menu>li{position:relative;display:flex}
#eaj-h .eaj-menu>li>a,#eaj-h .eaj-menu>li>button{display:flex;align-items:center;gap:7px;height:76px;padding:0 12px;font-size:16px;font-weight:600;color:var(--hoja);border-bottom:3px solid transparent;border-top:3px solid transparent;white-space:nowrap}
#eaj-h .eaj-menu>li>a:hover,#eaj-h .eaj-menu>li>button:hover,#eaj-h .eaj-menu>li.abierto>button{color:var(--verde)}
#eaj-h .eaj-menu>li>a[aria-current],#eaj-h .eaj-menu>li.eaj-activa>button{border-bottom-color:var(--amarillo)}
#eaj-h .eaj-menu i{width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
#eaj-h .eaj-menu>li>ul{display:none;position:absolute;top:100%;left:0;min-width:250px;background:#fff;border:1px solid var(--linea);border-top:3px solid var(--verde);border-radius:0 0 10px 10px;box-shadow:0 18px 30px -18px rgba(20,57,28,.4);padding:8px}
#eaj-h .eaj-menu>li:last-child>ul{left:auto;right:0}
#eaj-h .eaj-menu>li.abierto>ul{display:block}
#eaj-h .eaj-menu ul a{display:block;padding:10px 12px;border-radius:6px;font-size:14px;color:var(--hoja)}
#eaj-h .eaj-menu ul a:hover,#eaj-h .eaj-menu ul a[aria-current]{background:#eef6ec;color:#1d6b2a}
#eaj-h .eaj-anios{border-top:1px solid var(--linea);margin-top:6px;padding:10px 12px 4px}
#eaj-h .eaj-anios span{display:block;font-size:13px;color:#5c6b5e;margin-bottom:6px}
#eaj-h .eaj-anios div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
#eaj-h .eaj-menu .eaj-anios a{text-align:center;padding:8px 4px;border:1px solid var(--linea)}
#eaj-h .eaj-registro{flex:none;background:var(--amarillo);color:var(--hoja);font-weight:700;font-size:14px;padding:12px 18px;border-radius:8px;white-space:nowrap}
#eaj-h .eaj-registro:hover{background:#ffcc3d;color:var(--hoja)}
#eaj-h .eaj-registro .corto{display:none}
#eaj-h:has(.eaj-panel.abierto){z-index:2147483000}
#eaj-h .eaj-abrir,#eaj-h .eaj-extra{display:none}

/* Preguntas, turismo y mas informacion: suben igual que las redes */
#eaj-h .eaj-barra nav{gap:6px}
#eaj-h .eaj-barra nav a{padding:3px 10px;border-radius:8px;transition:transform .25s cubic-bezier(.34,1.8,.5,1),background-color .2s,color .2s,box-shadow .25s}
#eaj-h .eaj-barra nav a:hover,#eaj-h .eaj-barra nav a:focus-visible{background:var(--amarillo);color:var(--hoja);text-decoration:none;transform:translateY(-2px) scale(1.06);box-shadow:0 8px 14px -8px rgba(6,28,12,.7)}
#eaj-h .eaj-redes a{border-radius:8px;transition:transform .25s cubic-bezier(.34,1.8,.5,1),background-color .2s,color .2s}
#eaj-h .eaj-redes svg{transition:transform .25s cubic-bezier(.34,1.8,.5,1)}
#eaj-h .eaj-redes a:hover,#eaj-h .eaj-redes a:focus-visible{transform:translateY(-2px) scale(1.15);color:#fff}
#eaj-h .eaj-redes a:hover svg,#eaj-h .eaj-redes a:focus-visible svg{transform:rotate(-10deg) scale(1.1)}
#eaj-h .eaj-redes a[aria-label=Facebook]:is(:hover,:focus-visible){background:#1877f2}
#eaj-h .eaj-redes a[aria-label=YouTube]:is(:hover,:focus-visible){background:#e62117}
#eaj-h .eaj-redes a[aria-label=Instagram]:is(:hover,:focus-visible){background:linear-gradient(45deg,#f9a03f,#e1306c 50%,#833ab4)}
#eaj-h .eaj-redes a[aria-label=TikTok]:is(:hover,:focus-visible){background:#111}

@media (max-width:1240px){
 #eaj-h .eaj-registro .largo{display:none}
 #eaj-h .eaj-registro .corto{display:inline}
 #eaj-h .eaj-barra nav{display:none}
}
@media (max-width:1100px){
 #eaj-h{top:-30px}
 #eaj-h .eaj-barra .eaj-redes{display:none}
 #eaj-h .eaj-barra .eaj-caja{height:30px;justify-content:center}
 #eaj-h .eaj-barra p{margin:0}
 #eaj-h .eaj-principal .eaj-caja{height:64px;gap:10px;padding:0 14px}
 #eaj-h .eaj-logo img{height:44px}
 #eaj-h .eaj-registro{padding:11px 14px}
 #eaj-h button.eaj-abrir{display:flex;flex:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;border:1px solid var(--linea);border-radius:8px}
 #eaj-h .eaj-abrir span{display:block;width:20px;height:2px;background:var(--hoja);transition:transform .18s,opacity .18s}
 #eaj-h .eaj-abrir[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
 #eaj-h .eaj-abrir[aria-expanded=true] span:nth-child(2){opacity:0}
 #eaj-h .eaj-abrir[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
 #eaj-h .eaj-panel{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;max-height:calc(100vh - 94px);max-height:calc(100dvh - 94px);overflow-y:auto;overscroll-behavior:contain;border-bottom:3px solid var(--verde);box-shadow:0 20px 30px -20px rgba(20,57,28,.5);padding:6px 14px 24px}
 #eaj-h .eaj-panel.abierto{display:block}
 #eaj-h .eaj-menu{display:block}
 #eaj-h .eaj-menu>li{display:block;border-bottom:1px solid var(--linea)}
 #eaj-h .eaj-menu>li>a,#eaj-h .eaj-menu>li>button{width:100%;height:52px;justify-content:space-between;padding:0 6px;font-size:16px;border:0}
 #eaj-h .eaj-menu>li>a[aria-current],#eaj-h .eaj-menu>li.eaj-activa>button{box-shadow:inset 3px 0 0 var(--amarillo);padding-left:12px}
 #eaj-h .eaj-menu>li>ul{position:static;border:0;box-shadow:none;padding:0 0 10px 10px;min-width:0}
 #eaj-h .eaj-menu ul a{padding:12px;font-size:15px}
 #eaj-h .eaj-menu>li.abierto>button i{transform:translateY(2px) rotate(225deg)}
 #eaj-h .eaj-extra{display:block;padding-top:14px}
 #eaj-h .eaj-extra nav a{display:block;padding:10px 6px;font-size:14px;color:#4a5a4d}
 #eaj-h .eaj-extra .eaj-redes{margin-top:10px;color:var(--verde);gap:12px}
 #eaj-h .eaj-extra .eaj-redes a{width:44px;height:44px;border:1px solid var(--linea);border-radius:8px}
}
@media (max-width:380px){
 #eaj-h .eaj-logo img{height:36px}
 #eaj-h .eaj-registro{font-size:13px;padding:10px}
}
@media (prefers-reduced-motion:reduce){#eaj-h *{transition:none!important}#eaj-h .eaj-redes a:hover,#eaj-h .eaj-redes a:hover svg,#eaj-h .eaj-barra nav a:hover{transform:none}}
/* En compu, el encabezado se alinea con el contenido */
@media (min-width:1200px){#eaj-h .eaj-caja{max-width:calc(1152px + 2*clamp(24px,5vw,72px));padding:0 clamp(24px,5vw,72px)}}
