/*
Theme Name: NDMX News
Description: Tema editorial de Noticias Digitales MX.
Version: 0.1.0
Text Domain: ndmx-news
Requires PHP: 8.3
*/
:root{--blue:#2a3591;--red:#b93624;--bg:#f3f4f6;--ink:#111827}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}a:focus-visible,button:focus-visible{outline:3px solid var(--red);outline-offset:3px}img{max-width:100%;height:auto;display:block}.wrap{width:min(1200px,calc(100% - 40px));margin:auto}.top{background:#191d32;color:white;font-size:12px;padding:5px 0}.mast{background:white}.mast .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0}.brand{display:flex;align-items:center;gap:12px;color:var(--blue);font-size:22px;font-weight:800;line-height:1.15}.brand b{font-size:48px;color:var(--red);letter-spacing:-5px}.brand b span{color:var(--blue)}.custom-logo{max-height:90px;width:auto}.nav{background:var(--blue);color:white}.nav .wrap{display:flex;align-items:center;gap:20px}.nav ul{list-style:none;display:flex;gap:24px;flex-wrap:wrap;margin:0;padding:13px 0}.nav a{font-size:13px;font-weight:700;text-transform:uppercase}.nav a:hover{color:white;text-decoration:underline}.nav form{margin-left:auto;display:flex;gap:4px}.nav input{width:130px;min-width:0}.toggle{display:none}.ad:empty{display:none}.ad{display:flex;justify-content:center;align-items:center;overflow:hidden}.ad img{max-width:100%;height:auto}.mast .ad{max-width:65%}.breaking{background:white;border-left:5px solid var(--red);padding:10px 16px;margin:20px 0;display:flex;gap:15px;align-items:center}.breaking strong{color:var(--red);white-space:nowrap}.section-title{color:var(--blue);font-size:25px;border-bottom:1px solid #d1d5db;padding-bottom:9px;margin:24px 0 16px;position:relative}.section-title:after{content:'';position:absolute;bottom:-1px;left:0;width:100px;height:3px;background:var(--red)}.featured{display:grid;grid-template-columns:3fr 2fr;gap:16px}.card{background:white;border-radius:5px;overflow:hidden;min-width:0}.photo{position:relative;display:block}.photo img,.placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;background:linear-gradient(135deg,#d4d9e9,#aeb8c9)}.tag{color:var(--red);font-size:12px;font-weight:700;text-transform:uppercase}.photo .tag{position:absolute;top:12px;left:12px;background:var(--blue);color:white;padding:4px 10px;border-radius:3px}.body{padding:16px}.body h2,.body h3{margin:5px 0 9px;line-height:1.25}.lead h2{font-size:clamp(24px,3vw,34px);border-left:4px solid var(--red);padding-left:12px}.meta{font-size:12px;color:#5c6573}.body p{margin:7px 0;font-size:14px}.secondary{display:grid;gap:12px;grid-template-rows:repeat(3,1fr)}.secondary .card{display:grid;grid-template-columns:42% 1fr;align-items:center}.secondary .photo,.secondary .photo img,.secondary .placeholder{height:100%;min-height:112px;aspect-ratio:auto}.secondary .photo .tag{display:none}.secondary h3{font-size:17px}.secondary .body{padding:12px}.below{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1fr);gap:24px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.news-grid h3{font-size:20px}.mid-ad{margin:20px 0}.sidebar{padding-top:24px}.article{background:white;padding:clamp(18px,4vw,42px);margin:24px 0}.article h1{font-size:clamp(30px,4vw,48px);line-height:1.15}.article .content{font-size:18px;overflow-wrap:anywhere}.article .content a{text-decoration:underline;color:var(--blue)}.article .content img{height:auto}.pagination{margin:24px 0}.footer{background:#191d32;color:white;margin-top:40px;padding:28px 0}.dots{display:none}.searchform button,.toggle,.dots button{cursor:pointer} .searchform input,.searchform button{padding:6px;border:1px solid #ddd;border-radius:3px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){.wrap{width:calc(100% - 24px)}.top{display:none}.mast .wrap{padding:12px 0;justify-content:center;flex-wrap:wrap}.brand{font-size:15px}.brand b{font-size:36px}.custom-logo{max-height:64px}.mast .ad{max-width:100%;width:100%}.nav .wrap{flex-wrap:wrap;gap:8px;padding:8px 0}.toggle{display:block;background:none;border:1px solid #ffffff80;color:white;padding:7px 12px;border-radius:3px}.nav ul{display:none;width:100%;gap:12px;padding:8px 0}.nav.open ul{display:flex}.nav form{margin-left:auto}.featured,.below,.news-grid{grid-template-columns:1fr}.featured .secondary{display:contents}.featured .card{display:none}.featured .card.is-current{display:block}.featured .card .photo img,.featured .card .placeholder{aspect-ratio:16/9;height:auto}.featured .card .body h3{font-size:24px}.featured .card .photo .tag{display:block}.dots{display:flex;justify-content:center;gap:10px;margin:12px 0}.dots button{width:13px;height:13px;padding:0;border-radius:50%;border:0;background:#b7bbc5}.dots button[aria-pressed=true]{background:var(--blue)}.breaking{display:block}.breaking strong{display:block}.section-title{font-size:22px}.sidebar{display:none}.news-grid .body{padding:14px}.news-grid h3{font-size:21px}}
.lead .body>.tag{display:none}.secondary .body p{display:none}.ad-widget{max-width:100%}.ad-widget>*{max-width:100%}

/* =========================
   AJUSTE ELEGANTE DE HEADER
   ========================= */

:root{
	--ndmx-blue:#2f3d9e;
	--ndmx-blue-dark:#182048;
	--ndmx-red:#c63b2d;
	--ndmx-bg:#f3f4f7;
	--ndmx-text:#101828;
	--ndmx-muted:#667085;
	--ndmx-border:#d9dfeb;
	--ndmx-white:#ffffff;
}

body{
	background: var(--ndmx-bg);
	color: var(--ndmx-text);
}

.container{
	width: min(1280px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header{
	background: #fff;
	box-shadow: 0 1px 0 rgba(16,24,40,.04);
}

.topbar{
	background: var(--ndmx-blue-dark);
	color: #fff;
	font-size: 13px;
	line-height: 1;
}

.topbar-inner{
	padding: 7px 0;
	font-weight: 500;
	letter-spacing: .1px;
}

.header-main{
	background: #fff;
	border-bottom: 1px solid #eef1f6;
}

.branding-wrap{
	padding: 18px 0 16px;
	display: flex;
	align-items: center;
}

.site-branding{
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.site-branding img{
	max-height: 64px;
	width: auto;
	display: block;
}

.text-logo{
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-nd{
	font-size: 52px;
	line-height: 1;
	font-weight: 800;
	color: var(--ndmx-red);
	letter-spacing: -2px;
}

.logo-text{
	font-size: 22px;
	line-height: 1.1;
	font-weight: 800;
	color: var(--ndmx-blue);
	text-transform: uppercase;
	max-width: 260px;
}

.nav-shell{
	background: var(--ndmx-blue);
	padding: 10px 0 12px;
}

.primary-nav{
	display: flex;
	justify-content: center;
	align-items: center;
}

.primary-menu{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 26px;
}

.primary-menu li{
	margin: 0;
	padding: 0;
}

.primary-menu a{
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .2px;
	text-transform: uppercase;
	display: inline-block;
	padding: 4px 0;
	transition: opacity .2s ease, transform .2s ease;
}

.primary-menu a:hover{
	opacity: .85;
	transform: translateY(-1px);
}

.header-search-row{
	margin-top: 10px;
	display: flex;
	justify-content: center;
}

.header-search-form{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.header-search-form .search-field{
	width: 260px;
	max-width: 90vw;
	height: 38px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 6px;
	padding: 0 12px;
	background: #fff;
	color: var(--ndmx-text);
	outline: none;
	box-sizing: border-box;
}

.header-search-form .search-field::placeholder{
	color: #7b8190;
}

.header-search-form .search-submit{
	height: 38px;
	border: 0;
	border-radius: 6px;
	padding: 0 18px;
	background: #fff;
	color: var(--ndmx-blue-dark);
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.header-search-form .search-submit:hover{
	opacity: .92;
}

/* Espaciado general del contenido */
.site-main{
	padding-top: 18px;
}

/* Títulos de secciones */
.section-title,
h2.section-title{
	font-size: 22px;
	font-weight: 800;
	color: var(--ndmx-blue);
	margin-bottom: 18px;
	position: relative;
}

.section-title::after,
h2.section-title::after{
	content: "";
	display: block;
	width: 90px;
	height: 3px;
	background: var(--ndmx-red);
	margin-top: 8px;
	border-radius: 3px;
}

/* Responsive */
@media (max-width: 1024px){
	.logo-nd{
		font-size: 46px;
	}
	.logo-text{
		font-size: 20px;
	}
	.primary-menu{
		gap: 10px 18px;
	}
}

@media (max-width: 768px){
	.container{
		width: min(100%, calc(100% - 24px));
	}

	.branding-wrap{
		padding: 14px 0;
		justify-content: center;
		text-align: center;
	}

	.site-branding{
		justify-content: center;
	}

	.site-branding img{
		max-height: 54px;
	}

	.logo-nd{
		font-size: 42px;
	}

	.logo-text{
		font-size: 18px;
		max-width: 220px;
	}

	.nav-shell{
		padding: 10px 0 12px;
	}

	.primary-menu{
		gap: 10px 14px;
	}

	.primary-menu a{
		font-size: 13px;
	}

	.header-search-row{
		margin-top: 12px;
	}

	.header-search-form{
		width: 100%;
	}

	.header-search-form .search-field{
		width: 100%;
		max-width: 100%;
	}

	.header-search-form .search-submit{
		width: 100%;
	}
}


/* NDMX ELEGANTE V1 */

:root {
    --ndmx-blue: #2A3591;
    --ndmx-red: #B93624;
    --ndmx-bg: #F3F4F6;
}

body {
    background: #F3F4F6;
}

.site-header {
    background: transparent;
    box-shadow: none;
}

.site-header .container {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 0 auto;
}

.site-header .topbar {
    background: #181C30;
    color: white;
}

.site-header .topbar-inner {
    padding: 5px 0;
    font-size: 11px;
    line-height: 1.4;
}

.site-header .header-main {
    background: white;
    border: 0;
}

.site-header .branding-wrap {
    min-height: 76px;
    padding: 12px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-branding {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-branding img {
    width: auto;
    max-height: 60px;
}

.text-logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-nd {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1;
}

.logo-nd b:first-child {
    color: #B93624;
}

.logo-nd b:last-child {
    color: #2A3591;
}

.logo-text {
    font-size: 21px;
    line-height: 1.1;
    font-weight: 900;
    color: #2A3591;
}

.site-header .nav-shell {
    background: #2A3591;
    padding: 0;
}

.site-header .primary-nav {
    display: block;
    width: 100%;
    padding: 0;
}

.site-header .primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.site-header .primary-menu li {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.site-header .primary-menu a {
    display: block;
    color: #fff;
    padding: 12px 13px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: background .2s, border-color .2s;
}

.site-header .primary-menu a:hover {
    background: rgba(255,255,255,.08);
    border-bottom-color: #B93624;
    transform: none;
}

.ndmx-search-strip {
    background: #fff;
    border-bottom: 1px solid #e3e6eb;
}

.ndmx-search-strip .container {
    display: flex;
    justify-content: flex-end;
    padding: 7px 0;
}

.ndmx-search {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
}

.ndmx-search input[type="search"] {
    width: 230px;
    height: 32px;
    padding: 0 12px;
    background: #F3F4F6;
    border: 1px solid #dfe3e9;
    border-radius: 4px 0 0 4px;
    font-size: 12px;
    box-sizing: border-box;
}

.ndmx-search button {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #2A3591;
    border: 0;
    color: white;
    padding: 0 13px;
    border-radius: 0 4px 4px 0;
    font-size: 12px;
    cursor: pointer;
}

.ndmx-search button:hover {
    background: #B93624;
}

.ndmx-search input:focus-visible,
.ndmx-search button:focus-visible,
.primary-menu a:focus-visible {
    outline: 2px solid #B93624;
    outline-offset: -2px;
}

@media (max-width: 1100px) {
    .site-header .primary-menu {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .site-header .primary-menu a {
        padding: 11px 10px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .site-header .branding-wrap {
        justify-content: center;
    }

    .logo-nd {
        font-size: 42px;
    }

    .logo-text {
        font-size: 18px;
    }

    .ndmx-search-strip .container {
        justify-content: center;
    }

    .ndmx-search {
        width: 100%;
        max-width: 400px;
    }

    .ndmx-search input[type="search"] {
        flex: 1;
        min-width: 0;
    }
}


/* NDMX CENTRADO EDITORIAL V2 */

:root {
    --ndmx-blue: #2A3591;
    --ndmx-red: #B93624;
    --ndmx-bg: #F3F4F6;
    --ndmx-width: 1110px;
}

body {
    background: #F3F4F6;
    margin: 0;
}

/* ANCHO GENERAL CENTRADO */

.container,
.site-header .container,
.site-main > .container,
.site-footer .container {
    width: calc(100% - 32px);
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* FRANJA SUPERIOR */

.site-header .topbar {
    background: #B93624;
    color: #ffffff;
}

.site-header .topbar-inner {
    min-height: 39px;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 18px;
    box-sizing: border-box;
}

/* LOGOTIPO */

.site-header .header-main {
    background: transparent;
    border: 0;
}

.site-header .branding-wrap {
    min-height: 110px;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

/* BARRA DE CATEGORIAS */

.site-header .nav-shell {
    background: transparent;
    padding: 0;
}

.site-header .primary-nav {
    background: #2A3591;
    border-radius: 3px;
    min-height: 49px;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.site-header .primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header .primary-menu li {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.site-header .primary-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 0 12px;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    white-space: nowrap;
    text-decoration: none;
    border: 0;
}

.site-header .primary-menu li:first-child a {
    background: #B93624;
    padding-left: 20px;
    padding-right: 20px;
}

.site-header .primary-menu a:hover {
    background: rgba(255,255,255,.10);
    transform: none;
}

/* BUSCADOR DEBAJO DEL MENU */

.ndmx-search-strip {
    background: transparent;
    border: 0;
}

.ndmx-search-strip .container {
    padding: 10px 0;
    display: flex;
    justify-content: flex-end;
}

.ndmx-search input[type="search"] {
    background: #FFFFFF;
    border: 1px solid #DDE1E7;
    height: 33px;
}

.ndmx-search button {
    background: #2A3591;
    color: white;
    height: 33px;
}

/* CONTENIDO */

.site-main {
    padding-top: 18px;
}

.section-title,
.ndmx-section-title {
    color: #2A3591;
}

/* LINEAS EDITORIALES */

.section-title::after,
.ndmx-section-title::after {
    height: 5px;
    background: #B93624;
    border-radius: 0;
}

/* MOVILES Y TABLETAS */

@media (max-width: 1100px) {

    .site-header .primary-menu {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .site-header .primary-menu a {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 768px) {

    .container,
    .site-header .container,
    .site-main > .container,
    .site-footer .container {
        width: calc(100% - 24px);
    }

    .site-header .branding-wrap {
        min-height: 90px;
        justify-content: center;
    }

    .site-header .topbar-inner {
        min-height: 32px;
        justify-content: center;
    }

    .ndmx-search-strip .container {
        justify-content: center;
    }

    .ndmx-search {
        width: 100%;
        max-width: 400px;
    }

    .ndmx-search input[type="search"] {
        flex: 1;
        min-width: 0;
    }
}


/* NDMX CENTRADO TOTAL V3 */

:root {
    --ndmx-width: 1110px;
}

/* CENTRADO GENERAL */

body {
    margin: 0;
    background: #F3F4F6;
}

main.site-main {
    display: block;
    width: calc(100% - 32px) !important;
    max-width: 1110px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 18px 0 40px !important;
    box-sizing: border-box;
    min-width: 0;
}

/* CONTENEDORES INTERIORES */

main.site-main > .container,
main.site-main > section,
main.site-main > .wrap {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

main.site-main .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* ENCABEZADO */

.site-header .container,
.site-footer .container {
    width: calc(100% - 32px);
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
}

.site-header .topbar-inner {
    min-height: 39px;
}

.site-header .primary-nav {
    min-height: 49px;
}

.site-header .primary-menu a {
    min-height: 49px;
}

/* BUSCADOR COMPACTO */

.ndmx-search-strip .container {
    padding-top: 9px;
    padding-bottom: 5px;
}

/* IMAGENES DENTRO DEL CONTENIDO */

main.site-main img {
    max-width: 100%;
}

/* LINEAS DIVISORIAS */

.section-title::after,
.ndmx-section-title::after {
    height: 5px;
    border-radius: 0;
    background: #B93624;
}

/* DISPOSITIVOS MOVILES */

@media (max-width: 768px) {

    main.site-main,
    .site-header .container,
    .site-footer .container {
        width: calc(100% - 24px) !important;
        max-width: 1110px !important;
    }

    main.site-main {
        padding-top: 12px !important;
    }

    main.site-main .container {
        width: 100% !important;
    }
}

/* NDMX - TIPOGRAFIA EDITORIAL */

.section-title,
h2.section-title,
.ndmx-section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.4;
    color: #2A3591;
}


/* NDMX - TIPOGRAFIA EDITORIAL */

.section-title,
h2.section-title,
.ndmx-section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.4;
    color: #2A3591;
}


/* NDMX TIPOGRAFIA NOTICIAS V4 */

/* TIPOGRAFIA GENERAL DE NOTICIAS */

main.site-main {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* TITULARES */

main.site-main article h1,
main.site-main article h2,
main.site-main article h3,
main.site-main article h4,
.entry-title,
.post-title,
.card-title,
.hero-title,
.ndmx-card-title {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.22;
}

/* TITULARES DE TARJETAS */

main.site-main article h3,
.card-title,
.ndmx-card-title {
    font-size: 19px;
    font-weight: 600;
}

/* TITULO DE NOTICIA INDIVIDUAL */

body.single-post main h1 {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* CUERPO DE LA NOTICIA */

body.single-post main article,
body.single-post .entry-content,
body.single-post .post-content,
body.single-post .article-content {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

body.single-post main article p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    margin-top: 0;
    margin-bottom: 18px;
}

/* NEGRITAS DENTRO DE NOTICIAS */

body.single-post main article strong,
body.single-post main article b {
    font-weight: 700;
}

/* CITAS TEXTUALES */

body.single-post main blockquote {
    border: 0;
    border-left: 6px solid #B93624;
    background: transparent;
    margin: 24px 18px 24px 28px;
    padding: 5px 18px;
    position: relative;
}

body.single-post main blockquote::before {
    content: "\201C";
    display: block;
    color: #A8B4C0;
    font-size: 42px;
    line-height: 30px;
    font-family: Georgia, serif;
}

body.single-post main blockquote p {
    font-size: 19px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.35;
    margin: 0;
}

/* FECHAS Y METADATOS */

.post-meta,
.entry-meta,
.card-meta,
.ndmx-meta {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
}

/* ENCABEZADOS DE SECCIONES */

.section-title,
h2.section-title,
.ndmx-section-title {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #2A3591;
}

/* ADAPTACION PARA CELULARES */

@media (max-width: 768px) {

    body.single-post main h1 {
        font-size: 27px;
        line-height: 1.25;
    }

    body.single-post main article p {
        font-size: 16px;
        line-height: 1.6;
    }

    body.single-post main blockquote {
        margin-left: 12px;
        margin-right: 0;
        padding-left: 14px;
    }

    body.single-post main blockquote p {
        font-size: 18px;
    }

    main.site-main article h3,
    .card-title,
    .ndmx-card-title {
        font-size: 18px;
    }
}


/* NDMX PORTADA EDITORIAL V5 */

.featured {
    display: grid;
    grid-template-columns: minmax(0, 738fr) minmax(0, 367fr);
    gap: 5px;
    width: 100%;
    max-width: 1110px;
    height: auto;
    aspect-ratio: 1110 / 490;
    margin: 0 auto 42px;
}

.featured .secondary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 5px;
    min-height: 0;
}

.featured .secondary .card:nth-child(n+3) {
    display: none;
}

.featured .card,
.featured .secondary .card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #263244;
}

.featured .card .photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.featured .card .photo img,
.featured .card .placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}

.featured .card .photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.18) 0%,
        rgba(0,0,0,.20) 35%,
        rgba(0,0,0,.65) 100%
    );
    pointer-events: none;
}

.featured .card .photo .tag {
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: #B93624;
    color: #FFFFFF;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    padding: 3px 10px;
    border-radius: 4px;
}

.featured .card .body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
    background: transparent;
    color: #FFFFFF;
    text-align: center;
    pointer-events: none;
}

.featured .card .body > .tag,
.featured .card .body p {
    display: none;
}

.featured .card .body h2,
.featured .card .body h3 {
    order: 2;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    color: #FFFFFF;
    font-family: Roboto, Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -0.25px;
    line-height: 1.2;
}

.featured .card .body h2 {
    font-size: clamp(23px, 2.7vw, 30px);
}

.featured .secondary .card .body {
    bottom: 15%;
    padding: 0 20px;
}

.featured .secondary .card .body h3,
.featured .secondary .card .body h2 {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.22;
}

.featured .card .body a {
    color: #FFFFFF;
    pointer-events: auto;
}

.featured .card .meta {
    order: 1;
    color: #FFFFFF;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.featured .card .meta::before {
    content: "\25A3";
    margin-right: 7px;
}

/* FLECHAS DE NAVEGACION */

.ndmx-hero-controls {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.ndmx-hero-controls button {
    width: 25px;
    height: 25px;
    padding: 0;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    background: rgba(0,0,0,.15);
    color: #FFFFFF;
    font-size: 17px;
    line-height: 19px;
    cursor: pointer;
}

.ndmx-hero-controls button:hover {
    background: #B93624;
}

/* PORTADA MOVIL */

@media (max-width: 760px) {

    .featured {
        display: block;
        aspect-ratio: auto;
        margin-bottom: 15px;
    }

    .featured .secondary {
        display: contents;
    }

    .featured .card,
    .featured .secondary .card,
    .featured .secondary .card:nth-child(n+3) {
        display: none;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .featured .card.is-current {
        display: block;
    }

    .featured .card .photo img,
    .featured .card .placeholder {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }

    .featured .card .body,
    .featured .secondary .card .body {
        bottom: 18%;
        padding: 0 16px;
    }

    .featured .card .body h2,
    .featured .card .body h3,
    .featured .secondary .card .body h3 {
        font-size: 23px;
        line-height: 1.2;
    }

    .featured .card .photo .tag {
        top: 12px;
        left: 12px;
    }

    .ndmx-hero-controls {
        bottom: 12px;
        left: 12px;
    }
}

@media (min-width: 761px) {
    .featured .ndmx-mobile-controls {
        display: none;
    }
}


/* NDMX - LOGOTIPO INSTITUCIONAL */

.site-header .branding-wrap {
    height: 110px;
    min-height: 110px;
    padding: 4px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.site-header .site-branding {
    width: 380px;
    max-width: 100%;
    display: flex;
    align-items: center;
}

.site-header .site-branding img,
.site-header .site-branding .custom-logo {
    width: 380px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 102px !important;
    object-fit: contain;
    object-position: left center;
    display: block;
    background: transparent;
}

@media (max-width: 768px) {
    .site-header .branding-wrap {
        height: 90px;
        min-height: 90px;
        justify-content: center;
    }

    .site-header .site-branding {
        width: 290px;
    }

    .site-header .site-branding img {
        width: 290px !important;
        max-height: 78px !important;
    }
}


/* NDMX - MENU ROJO CARMESI */

.site-header .primary-menu li:first-child a,
.site-header .primary-menu li.current-menu-item > a,
.site-header .primary-menu li.current-cat > a,
.site-header .primary-menu a[aria-current="page"] {
    background: #C8102E;
    color: #FFFFFF;
}

.site-header .primary-menu li a:hover,
.site-header .primary-menu li a:focus-visible {
    background: #C8102E;
    color: #FFFFFF;
    transition: background-color 0.2s ease;
}


/* NDMX - PIE DE PAGINA EDITORIAL */

.ndmx-footer {
    background: #181C30;
    color: #FFFFFF;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 400;
    padding: 30px 0 20px;
    margin-top: 40px;
}

.ndmx-footer .wrap {
    width: calc(100% - 32px);
    max-width: 1110px;
    margin: 0 auto;
}

.ndmx-footer-name {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.ndmx-footer-info p {
    font-size: 14px;
    font-weight: 400;
    color: #D1D5DB;
    line-height: 1.6;
    margin: 8px 0 24px;
}

.ndmx-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15px;
    color: #B9BFCC;
}

.ndmx-credit span {
    font-weight: 500;
    color: #FFFFFF;
}

@media (max-width: 768px) {

    .ndmx-footer {
        padding: 24px 0 18px;
        text-align: center;
    }

    .ndmx-footer .wrap {
        width: calc(100% - 24px);
    }

    .ndmx-footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }
}


/* NDMX - SELECCION DINAMICA DEL MENU */

.site-header .primary-menu li,
.site-header .primary-menu li > a {
    background-color: transparent !important;
    color: #FFFFFF !important;
    transition: background-color 0.18s ease;
}

/* Categoria activa cuando el mouse esta fuera */

.site-header .primary-menu li.current-menu-item > a,
.site-header .primary-menu li.current-cat > a,
.site-header .primary-menu a[aria-current="page"] {
    background-color: #C8102E !important;
}

/* Quitar seleccion fija al recorrer el menu */

.site-header .primary-menu:hover li > a {
    background-color: transparent !important;
}

/* Resaltar exclusivamente la categoria bajo el mouse */

.site-header .primary-menu li:hover > a,
.site-header .primary-menu li > a:focus-visible {
    background-color: #C8102E !important;
    color: #FFFFFF !important;
}


/* NDMX - TAMANO DE LETRAS DEL MENU */

@media (min-width: 1024px) {
    .site-header .primary-menu li > a {
        font-size: 12px !important;
    }
}


/* NDMX - AJUSTE TIPOGRAFICO DEL MENU */

@media (min-width: 1024px) {
    .site-header .primary-menu li > a {
        font-size: 13px !important;
    }
}

