/*
Theme Name: Dictámenes Child
Template: dictamenes
Version: 1.3.0
Description: Personalizaciones de Dictámenes electorales. Mantener activo este tema hijo.
License: GPL-2.0-or-later
*/
/* Las personalizaciones visuales futuras pueden agregarse aquí sin modificar el padre. */

@font-face{font-family:'DejaVu Serif';src:url('assets/DejaVuSerif.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'DejaVu Serif';src:url('assets/DejaVuSerif-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--serif:'Archivo',Arial,sans-serif;--sans:'Archivo',Arial,sans-serif;--ink:#262d31;--muted:#596168;--soft:#f5f6f7;--line:#dce0e3}
.hero{background:#f5f6f7;border-radius:4px}.hero-inner{padding-top:52px}.hero h1{font-size:clamp(34px,4.4vw,58px);line-height:1.2;font-weight:400}.hero-copy{max-width:760px;line-height:1.8}.eyebrow{}.entry-point{border-radius:4px;box-shadow:none}.entry-point:hover{transform:none}.section-heading h2{font-size:32px}.about-band h2{font-size:30px}.site-header{min-height:114px}.brand{max-width:291px}.brand-logo{width:250px;height:auto;max-width:250px;max-height:none}.footer-institution{display:block;margin-bottom:24px}.footer-institution .mpf-logo{display:block;width:250px;height:auto}.footer-brand{font-size:17px}.document-row h3{font-size:20px;line-height:1.5}.single-document h1{font-size:37px;line-height:1.3}.header-search{font-size:12px}.site-header nav{font-size:13px}.hero .searchbox{max-width:730px}.hero .searchbox input{font-size:12px}.document-body{line-height:1.9}.about-band p:last-child{line-height:1.85}
@media(max-width:700px){.site-header{min-height:100px}.brand-logo{width:220px;max-width:220px}.hero h1{font-size:34px}.hero-copy{font-size:14px}.hero-inner{padding-top:34px}.section-heading h2{font-size:28px}.single-document h1{font-size:29px}.entry-point h2{font-size:16px}.document-row h3{font-size:18px}.footer-institution .mpf-logo{width:230px}.header-search{padding:9px}.about-band h2{font-size:27px}}

/* Paleta editable en Apariencia > Personalizar > Colores institucionales. */
:root{--primary:#074fa5;--accent:#074fa5;--footer-bg:#3f3f3f;--highlight:#e59c4c}
.hero{background:var(--primary);border-color:var(--primary)}
.hero h1,.hero-copy,.hero .quick-years>span{color:#fff}
.hero .eyebrow{color:var(--highlight)}
.hero .entry-point,.hero .quick-years a{color:var(--ink);background:#fff}
.entry-point{border-top:3px solid var(--highlight)}
.entry-point:hover{border-color:var(--highlight)}
.round-plus{background:var(--highlight);border-color:var(--highlight);color:#262d31}
.text-link span{color:var(--primary)}
.site-header nav a:hover,.document-row h3 a:hover{text-decoration:underline;text-decoration-color:var(--highlight);text-underline-offset:5px}
.index-grid h3{border-bottom-color:var(--highlight)}
.site-footer{max-width:none;background:var(--footer-bg);color:#fff;padding-inline:max(40px,calc((100% - 1160px)/2));border-top:4px solid var(--highlight)}
.site-footer p,.site-footer .footer-date{color:#eee}
.site-footer .footer-date{border-top-color:#ffffff40}
.site-footer a:hover{color:var(--highlight)}
.footer-institution{width:max-content;max-width:100%;padding:10px 14px;background:#fff}
@media(max-width:700px){.site-footer{padding-inline:20px}}

@font-face{font-family:'DejaVu Serif';src:url('assets/DejaVuSerif-Italic.ttf') format('truetype');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'DejaVu Serif';src:url('assets/DejaVuSerif-BoldItalic.ttf') format('truetype');font-weight:700;font-style:italic;font-display:swap}
.site-header{min-height:104px}.site-identity{max-width:360px;font-size:25px;font-weight:700;line-height:1.3;color:var(--primary)}.header-institution{flex-shrink:0}.ministry-logo{display:block;width:170px;height:auto;max-width:170px}
.de-original-scroll{max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid var(--line);background:#fff;overscroll-behavior-x:contain}
.de-original-page{position:relative;margin:0 auto;color:#000;background:#fff;font-family:'DejaVu Serif',serif;font-synthesis:none}
.de-original-word{position:absolute;display:block;white-space:pre;line-height:1;margin:0;padding:0;transform-origin:left top;color:#000}
.de-original-page img{max-width:none}
@media(max-width:700px){.site-header{gap:14px;align-items:center}.site-identity{font-size:20px;max-width:calc(100% - 134px)}.ministry-logo{width:120px;max-width:120px}.site-header nav{order:3}.document-body>h2{font-size:25px}}

@font-face{font-family:'Archivo';src:url('assets/Archivo-Variable.ttf') format('truetype');font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
@font-face{font-family:'Archivo';src:url('assets/Archivo-Italic-Variable.ttf') format('truetype');font-weight:100 900;font-stretch:62% 125%;font-style:italic;font-display:swap}
.hero h1{font-weight:600}.section-heading h2,.about-band h2,.archive-content>h1,.single-document h1{font-weight:600}.hero-copy{font-weight:400}.site-header nav{font-weight:600}.hero .searchbox input{font-size:14px}.entry-point p{font-size:14px}.eyebrow{font-size:11px}

/* Una única retícula para todas las páginas y sus bandas institucionales. */
:root{--page-gutter:max(24px,calc((100% - 1160px)/2))}
.wrap,.hero-inner{width:calc(100% - 48px);max-width:1160px;margin-inline:auto}
.site-header,.site-footer{padding-inline:var(--page-gutter)}
.site-header{min-height:106px;gap:32px}
.hero{margin:0;border:0;border-radius:0;overflow:visible}
.hero-inner{padding:52px 0 0;text-align:left}
.hero h1{max-width:900px;font-size:clamp(34px,4.2vw,54px);line-height:1.12;margin-bottom:20px}
.hero-copy{max-width:740px;margin:0 0 28px;line-height:1.65}
.hero .searchbox{max-width:740px;margin:0;border-radius:0;box-shadow:none}
.quick-years{justify-content:flex-start;margin:18px 0 36px;gap:18px}
.hero .quick-years a{background:transparent;color:#fff;border:0;border-bottom:1px solid #ffffff70;border-radius:0;padding:0 0 2px}
.entry-points{gap:32px;border-top:1px solid #ffffff60;padding:22px 0 28px}
.hero .entry-point{display:block;padding:0;background:transparent;border:0;border-radius:0;color:#fff;box-shadow:none}
.entry-top{display:none}
.entry-point h2{font-size:18px;margin:0 0 7px}.hero .entry-point p{color:#fff;font-size:14px}
.entry-point:hover h2{text-decoration:underline;text-decoration-color:var(--highlight);text-underline-offset:5px}
.latest{padding-top:44px}.archive-section{padding-block:44px 54px}
.section-heading h2,.about-band h2{font-size:30px}
.round-plus{background:transparent;border:0;border-radius:0;color:var(--primary)}
.doc-icon{background:transparent;border-radius:0;justify-content:flex-start}
.document-row{grid-template-columns:minmax(0,1fr) 28px;gap:20px}
.document-row .doc-icon{display:none}
.archive-content .document-row{grid-template-columns:minmax(0,1fr) 28px}
.document-row h3{font-size:21px}.document-row p{max-width:900px}
.count{background:transparent;padding:0;border-radius:0}
.index-grid h3{border-bottom:1px solid var(--line);padding-bottom:12px}
.about-band{padding-block:40px}.about-band .wrap{column-gap:60px}
.site-footer{padding-top:36px;padding-bottom:24px;border-top:2px solid var(--highlight)}
.header-search,.button,.searchbox,.filters,.filters select,.browse-index a,.document-facts,.archive-layout aside{border-radius:0;box-shadow:none}
.filters{padding:18px 0;background:transparent;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.document-facts{background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}
.archive-layout{gap:40px;padding-block:40px 56px}
.page-content{max-width:1160px}
@media(min-width:1500px){.hero-inner{padding-top:52px;padding-bottom:0}.hero h1{font-size:54px}}
@media(max-width:1000px){.site-header{padding-inline:var(--page-gutter)}.wrap,.hero-inner{width:calc(100% - 48px)}.hero-inner{padding:40px 0 0}.archive-layout{gap:28px}}
@media(max-width:700px){:root{--page-gutter:20px}.wrap,.hero-inner{width:calc(100% - 40px)}.site-header,.site-footer{padding-inline:var(--page-gutter)}.site-header{gap:16px}.hero{margin:0;border-radius:0}.hero-inner{padding:32px 0 0}.hero h1{font-size:34px}.hero-copy{font-size:16px}.hero .searchbox input{font-size:14px}.quick-years{gap:16px;margin-bottom:26px}.entry-points{grid-template-columns:1fr;gap:0;padding:0 0 16px}.hero .entry-point{padding:16px 0;border-bottom:1px solid #ffffff40}.hero .entry-point:last-child{border-bottom:0}.entry-point h2{font-size:17px}.hero .entry-point p{font-size:14px}.section-heading h2,.about-band h2{font-size:27px}.latest{padding-top:32px}.archive-layout{gap:28px;padding-top:28px}.document-row,.archive-content .document-row{grid-template-columns:minmax(0,1fr) 24px}.document-row h3{font-size:20px}.about-band .wrap{gap:12px}.archive-layout aside{padding:0 0 20px;border:0;border-bottom:1px solid var(--line)}}
