/*
 * Entérate Hidalgo — estilos del sitio público.
 * Valores tomados 1:1 del prototipo v4 aprobado (prototipo/Portada Enterate Hidalgo v4.dc.html).
 * Unidades cqi del prototipo convertidas a vw (contenedor máx. 1320 px). Puntos de corte:
 * móvil < 640 px · tablet 640–999 px · escritorio ≥ 1000 px.
 */

/* ------------------------------------------------------------------ Fuentes (OFL, autoalojadas) */
@font-face{font-family:'Archivo';font-style:normal;font-weight:700 900;font-stretch:62% 125%;font-display:swap;src:url('../fonts/archivo-normal-700_900.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Archivo';font-style:italic;font-weight:800 900;font-stretch:100%;font-display:swap;src:url('../fonts/archivo-italic-800_900.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/source-serif-4-normal-400_600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400 600;font-display:swap;src:url('../fonts/source-serif-4-italic-400_600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 700;font-stretch:100%;font-display:swap;src:url('../fonts/ibm-plex-sans-normal-400_700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-normal-500.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-mono-normal-600.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ------------------------------------------------------------------ Tokens (README v4) */
:root{
	--eh-navy:#071B4D;--eh-deep:#03112F;--eh-orange:#FF6B00;--eh-orange-hover:#FF8A33;--eh-orange-text:#B84A00;--eh-orange-light:#FFB27A;
	--eh-white:#FFFFFF;--eh-ink:#0B1530;--eh-body:#1B2440;--eh-slate-600:#39435C;--eh-slate-500:#4A536A;--eh-meta:#5B6680;--eh-meta-2:#6B7590;
	--eh-blue-200:#AFC0E6;--eh-blue-150:#C3CFEA;--eh-blue-150b:#C9D3EA;--eh-blue-400:#7F91BB;
	--eh-line:#E3E6EC;--eh-line-soft:#EEF0F3;--eh-line-mid:#D9DDE4;--eh-line-btn:#D3D8E1;--eh-surface:#F3F4F7;--eh-surface-2:#EEF0F4;
	--eh-paper:#FBF8F3;--eh-whatsapp:#1F8F4E;
	--eh-archivo:'Archivo',system-ui,sans-serif;--eh-serif:'Source Serif 4',Georgia,serif;--eh-sans:'IBM Plex Sans',system-ui,sans-serif;--eh-mono:'IBM Plex Mono',ui-monospace,monospace;
	--eh-gutter:clamp(16px,3vw,40px);--eh-max:1320px;--eh-ease:cubic-bezier(.2,.7,.2,1);
}

/* ------------------------------------------------------------------ Base */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--eh-white);font-family:var(--eh-sans);color:var(--eh-ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(255,107,0,.15);overflow-x:clip}
a{color:inherit;text-decoration:none;transition:color .2s ease}
a:hover{color:var(--eh-orange-text)}
button{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;touch-action:manipulation}
img{max-width:100%}
:focus-visible{outline:2px solid var(--eh-orange);outline-offset:2px}
::-webkit-scrollbar{height:0;width:8px}::-webkit-scrollbar-thumb{background:#b9bfcb;border-radius:4px}
@keyframes ehPulse{0%{box-shadow:0 0 0 0 rgba(255,107,0,.7)}70%{box-shadow:0 0 0 8px rgba(255,107,0,0)}100%{box-shadow:0 0 0 0 rgba(255,107,0,0)}}
@keyframes ehSheet{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
html.eh-lock{overflow:hidden}

/* Visibilidad por punto de corte */
@media (max-width:999.98px){.eh-desk{display:none!important}}
@media (min-width:1000px){.eh-nodesk{display:none!important}}

/* Accesibilidad */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:var(--eh-white);clip:auto!important;clip-path:none;color:var(--eh-navy);display:block;height:auto;left:8px;top:8px;padding:12px 16px;width:auto;z-index:100000}
.eh-skip{position:absolute;left:8px;top:-200px;z-index:100;padding:12px 18px;border-radius:22px;background:var(--eh-white);color:var(--eh-navy);font:600 14px var(--eh-sans);box-shadow:0 8px 24px -12px rgba(3,17,47,.5)}
.eh-skip:focus{top:8px}
.eh-main:focus{outline:0}

/* ------------------------------------------------------------------ Encabezado */
.eh-header{position:sticky;top:0;z-index:30;background:var(--eh-navy);color:var(--eh-white);transition:box-shadow .25s ease}
.admin-bar .eh-header{top:32px}
@media (max-width:782px){.admin-bar .eh-header{top:46px}}
@media (max-width:600px){.admin-bar .eh-header{top:0}}
.eh-header.is-compact{box-shadow:0 8px 24px -12px rgba(3,17,47,.5)}
.eh-header__row{max-width:var(--eh-max);margin:0 auto;padding:6px var(--eh-gutter);display:flex;align-items:center;gap:clamp(10px,2vw,28px);transition:padding .25s ease}
.eh-brand{flex:none;display:flex;align-items:center;min-height:44px;color:var(--eh-white)}
.eh-brand:hover{color:var(--eh-white)}
.eh-brand__logo{display:block;height:34px;width:auto;transition:height .25s ease}
.eh-brand__div{width:1.5px;height:28px;background:rgba(255,255,255,.55);transform:skewX(-14deg);margin:0 12px 0 14px}
.eh-brand__lockup{display:flex;flex-direction:column;font-family:var(--eh-archivo);font-style:italic;font-weight:800;font-size:13px;line-height:.98;letter-spacing:.01em;white-space:nowrap}
@media (max-width:359.98px){.eh-brand__div,.eh-brand__lockup{display:none}}
@media (min-width:640px){
	.eh-header:not(.is-compact) .eh-header__row{padding-top:14px;padding-bottom:14px}
	.eh-header:not(.is-compact) .eh-brand__logo{height:44px}
	.eh-header:not(.is-compact) .eh-brand__div{height:36px}
	.eh-header:not(.is-compact) .eh-brand__lockup{font-size:16px}
}
.eh-header__sep{width:1px;height:30px;background:rgba(255,255,255,.18)}
.eh-header__place{display:flex;flex-direction:column;gap:2px;font:500 12px var(--eh-sans);color:var(--eh-blue-200);white-space:nowrap}
.eh-header__city{color:var(--eh-white);font-weight:600}
.eh-header__spacer{flex:1}
.eh-search{flex:none;margin:0}
.eh-search__pill{display:flex;align-items:center;gap:10px;width:clamp(200px,24vw,300px);height:40px;padding:0 14px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);transition:border-color .2s ease}
.eh-search__pill:focus-within{border-color:rgba(255,255,255,.5)}
.eh-search__icon{flex:none;width:11px;height:11px;border:1.6px solid var(--eh-blue-200);border-radius:50%}
.eh-search__input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:var(--eh-white);font:400 14px var(--eh-sans);-webkit-appearance:none;appearance:none}
.eh-search__input::-webkit-search-cancel-button,.eh-msearch__input::-webkit-search-cancel-button{-webkit-appearance:none}
.eh-search-toggle{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.08);display:grid;place-items:center;cursor:pointer}
.eh-search-toggle>span{width:13px;height:13px;border:2px solid var(--eh-white);border-radius:50%}
.eh-search-toggle[aria-expanded="true"]{background:rgba(255,255,255,.18)}
.eh-tvbtn{flex:none;height:44px;padding:0 14px 0 8px;border-radius:22px;border:1px solid rgba(255,255,255,.22);display:flex;align-items:center;gap:8px;color:var(--eh-white);white-space:nowrap;transition:color .2s ease,border-color .2s ease,background-color .2s ease}
.eh-tvbtn:hover{color:var(--eh-white);border-color:var(--eh-orange);background:rgba(255,107,0,.1)}
.eh-tvbtn__play{width:28px;height:28px;border-radius:50%;background:var(--eh-orange);display:grid;place-items:center}
.eh-tvbtn__play>span{width:0;height:0;border-left:8px solid var(--eh-deep);border-top:5px solid transparent;border-bottom:5px solid transparent;margin-left:2px}
.eh-tvbtn__txt{font-family:var(--eh-archivo);font-stretch:80%;font-weight:900;font-size:16px;letter-spacing:.02em}

/* Búsqueda móvil/tablet (se despliega bajo la fila) */
.eh-msearch{padding:0 16px 12px;display:flex;gap:8px}
.eh-msearch form{flex:1;display:flex;min-width:0;margin:0}
.eh-js .eh-msearch:not(.is-open){display:none}
.eh-msearch__input{flex:1;min-width:0;height:48px;border-radius:24px;border:0;padding:0 18px;font:16px var(--eh-sans);color:var(--eh-ink);background:var(--eh-white);-webkit-appearance:none;appearance:none}

/* Navegación */
.eh-nav{border-top:1px solid rgba(255,255,255,.1);position:relative}
.eh-nav__inner{max-width:var(--eh-max);margin:0 auto;padding:0 clamp(4px,2vw,28px);display:flex;align-items:center;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.eh-nav__inner::-webkit-scrollbar{display:none}
.eh-nav__link{flex:none;position:relative;padding:13px;font:500 14px var(--eh-sans);letter-spacing:.01em;color:var(--eh-blue-150);white-space:nowrap}
.eh-nav__link:hover,.eh-nav__link.is-active{color:var(--eh-white)}
.eh-nav__link.is-active{font-weight:700}
.eh-nav__bar{position:absolute;left:13px;right:13px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--eh-orange);transform:scaleX(0);transition:transform .3s var(--eh-ease)}
.eh-nav__link.is-active .eh-nav__bar{transform:scaleX(1)}
.eh-nav__social{margin-left:auto;display:flex;gap:4px;align-items:center;padding-right:10px}
.eh-nav__social a{font:600 11px var(--eh-sans);color:var(--eh-blue-200);padding:6px 8px;letter-spacing:.06em}
.eh-nav__social a:hover{color:var(--eh-white)}
.eh-nav__fade{position:absolute;top:0;right:0;bottom:0;width:36px;background:linear-gradient(90deg,rgba(7,27,77,0),var(--eh-navy));pointer-events:none}

/* ------------------------------------------------------------------ Pie */
.eh-footer{background:var(--eh-navy);color:var(--eh-white)}
.eh-footer__inner{max-width:var(--eh-max);margin:0 auto;padding:clamp(40px,5vw,72px) var(--eh-gutter) 0;display:flex;flex-direction:column;gap:36px}
.eh-footer__cols{display:flex;flex-wrap:wrap;gap:32px 56px}
.eh-footer__about{flex:1.4 1 280px;display:flex;flex-direction:column;gap:16px}
.eh-footer__text{margin:0;font:400 16px/1.55 var(--eh-serif);color:var(--eh-blue-150);max-width:42ch}
.eh-footer__col{flex:1 1 140px;display:flex;flex-direction:column;gap:4px}
.eh-footer__head{font-family:var(--eh-archivo);font-stretch:125%;font-weight:800;font-size:10px;letter-spacing:.18em;color:var(--eh-blue-400);padding-bottom:6px}
.eh-footer__link{display:flex;align-items:center;min-height:36px;font:500 14.5px var(--eh-sans);color:#E3E9F6}
.eh-footer__link:hover{color:var(--eh-orange-light)}
.eh-footer__lockup{display:flex;align-items:center;gap:clamp(12px,2.4vw,32px)}
.eh-footer__lockup img{display:block;height:clamp(58px,11vw,150px);width:auto}
.eh-footer__div{flex:none;width:2px;height:clamp(46px,8vw,110px);background:rgba(255,255,255,.5);transform:skewX(-14deg)}
.eh-footer__name{display:flex;flex-direction:column;font-family:var(--eh-archivo);font-style:italic;font-weight:900;font-size:clamp(24px,5.4vw,74px);line-height:.95;color:var(--eh-white);white-space:nowrap}
.eh-footer__bar{border-top:1px solid rgba(255,255,255,.1);margin-top:24px;padding:16px var(--eh-gutter);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font:500 12.5px var(--eh-sans);color:var(--eh-blue-200)}
.eh-footer__social{display:flex;gap:16px;flex-wrap:wrap}
.eh-footer__social a{color:var(--eh-orange-light)}
.eh-footer__social a:hover{color:var(--eh-white)}

/* Boletín (estructura conservada; oculto hasta tener proveedor) */
.eh-news{display:flex;flex-direction:column;gap:10px;max-width:400px;margin:0}
.eh-news__label{font-family:var(--eh-archivo);font-stretch:125%;font-weight:800;font-size:10.5px;letter-spacing:.16em;color:var(--eh-orange-light)}
.eh-news__pill{display:flex;gap:6px;padding:4px;border-radius:28px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.eh-news__input{flex:1;min-width:0;height:44px;border:0;background:transparent;outline:0;padding:0 14px;font:16px var(--eh-sans);color:var(--eh-white)}
.eh-news__btn{height:44px;padding:0 18px;border-radius:22px;border:0;background:var(--eh-orange);color:var(--eh-deep);font:700 14px var(--eh-sans);cursor:pointer}
.eh-news__btn:hover{background:var(--eh-orange-hover)}

/* ------------------------------------------------------------------ Barra inferior móvil (< 640 px) */
.eh-tabbar{position:sticky;bottom:0;z-index:40;background:var(--eh-navy);border-top:1px solid rgba(255,255,255,.1);display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:4px 4px calc(6px + env(safe-area-inset-bottom))}
@media (min-width:640px){.eh-tabbar{display:none}}
.eh-tabbar__item{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--eh-blue-200);font:600 11px var(--eh-sans)}
.eh-tabbar__item:hover,.eh-tabbar__item.is-active{color:var(--eh-white)}
.eh-tabbar__bar{width:20px;height:3px;border-radius:2px;background:transparent}
.eh-tabbar__item.is-active .eh-tabbar__bar{background:var(--eh-orange)}

/* ------------------------------------------------------------------ Hoja “Secciones” (diálogo) */
.eh-sheet{position:fixed;inset:auto 0 0 0;margin:0;width:100%;max-width:100%;max-height:100%;padding:0;border:0;background:transparent;color:var(--eh-ink);overflow:visible}
.eh-sheet::backdrop{background:rgba(3,17,47,.55)}
.eh-sheet__panel{max-height:88vh;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;background:var(--eh-white);border-radius:18px 18px 0 0;padding:10px 16px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:18px;animation:ehSheet .28s var(--eh-ease)}
.eh-sheet__handle{align-self:center;width:40px;height:4px;border-radius:2px;background:var(--eh-line-btn)}
.eh-sheet__head{display:flex;align-items:center;justify-content:space-between}
.eh-sheet__title{font-family:var(--eh-archivo);font-stretch:70%;font-weight:900;font-size:30px;color:var(--eh-navy)}
.eh-sheet__close{width:44px;height:44px;border-radius:50%;border:1px solid var(--eh-line-btn);background:var(--eh-white);color:var(--eh-navy);font:500 20px var(--eh-sans);cursor:pointer}
.eh-sheet__close:hover{border-color:var(--eh-navy)}
.eh-sheet__grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.eh-sheet__link{min-height:52px;padding:0 14px;border-radius:8px;background:var(--eh-surface);color:var(--eh-navy);font:600 15px var(--eh-sans);display:flex;align-items:center;justify-content:space-between}
.eh-sheet__link>span{color:var(--eh-orange)}
.eh-sheet__link.is-active{background:var(--eh-navy);color:var(--eh-white)}
.eh-sheet__link.is-active:hover{color:var(--eh-white)}
.eh-sheet__munis{display:flex;flex-direction:column;gap:10px}
.eh-sheet__kicker{font-family:var(--eh-archivo);font-stretch:125%;font-weight:800;font-size:10px;letter-spacing:.18em;color:var(--eh-meta)}
.eh-sheet__chips{display:flex;flex-wrap:wrap;gap:8px}
.eh-chip{height:40px;padding:0 14px;border-radius:20px;border:1px solid var(--eh-line-btn);background:var(--eh-white);color:var(--eh-navy);font:600 13.5px var(--eh-sans);display:inline-flex;align-items:center;transition:color .2s ease,border-color .2s ease,background-color .2s ease}
.eh-chip:hover{color:var(--eh-navy);border-color:var(--eh-navy)}
.eh-chip.is-active{background:var(--eh-navy);border-color:var(--eh-navy);color:var(--eh-white)}
.eh-sheet__social{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:6px;border-top:1px solid var(--eh-line-soft)}
.eh-sheet__social a{min-height:44px;display:grid;place-items:center;font:600 13px var(--eh-sans);color:var(--eh-navy)}

/* ------------------------------------------------------------------ Plantilla mínima de respaldo */
.eh-basic{max-width:var(--eh-max);margin:0 auto;padding:clamp(36px,6vw,80px) var(--eh-gutter)}
.eh-basic__title{margin:0 0 24px;font-family:var(--eh-archivo);font-stretch:70%;font-weight:900;font-size:clamp(34px,4.2vw,52px);line-height:.9;letter-spacing:-.01em;color:var(--eh-navy);text-wrap:balance}
.eh-basic__list{list-style:none;margin:0;padding:0;border-top:1px solid var(--eh-line)}
.eh-basic__list li{border-bottom:1px solid var(--eh-line-soft)}
.eh-basic__list a{display:flex;flex-direction:column;gap:6px;padding:16px 0}
.eh-basic__item-title{font-family:var(--eh-archivo);font-stretch:85%;font-weight:750;font-size:17px;line-height:1.16;text-wrap:pretty}
.eh-basic__meta{font:500 12px var(--eh-sans);color:var(--eh-meta)}
.eh-basic__article,.eh-basic__comments{max-width:680px}
.eh-basic__content{font:400 clamp(18px,1.9vw,19px)/1.68 var(--eh-serif);color:var(--eh-body)}
.eh-basic__content a{color:var(--eh-navy);text-decoration:underline;text-decoration-color:var(--eh-orange);text-underline-offset:3px}
.eh-searchform{display:flex;max-width:520px;margin:0 0 28px;border:1px solid var(--eh-line-btn);border-radius:24px}
.eh-basic .nav-links,.eh-pager .nav-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.eh-basic .page-numbers,.eh-pager .page-numbers{min-width:44px;height:44px;padding:0 14px;border-radius:22px;border:1px solid var(--eh-line-btn);display:inline-flex;align-items:center;justify-content:center;font:600 14px var(--eh-sans);color:var(--eh-navy)}
.eh-pager .page-numbers:not(.current):not(.dots):hover{border-color:var(--eh-navy);color:var(--eh-navy)}.eh-pager .page-numbers.dots{border-color:transparent}.eh-basic .page-numbers.current,.eh-pager .page-numbers.current{background:var(--eh-navy);border-color:var(--eh-navy);color:var(--eh-white)}

/* ------------------------------------------------------------------ Clases requeridas por WordPress */
.alignleft{float:left;margin:0 24px 16px 0}
.alignright{float:right;margin:0 0 16px 24px}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}
.wp-caption-text,.gallery-caption{font:400 13px/1.45 var(--eh-sans);color:var(--eh-meta)}
.sticky{position:relative}
.bypostauthor{position:relative}
