/*
 * datatrends-bloques: enforce Roboto across all blocks.
 * Bridge theme styles <p> and <li> with Roboto via direct selectors, which
 * beats the font-family inherited from each block's wrapper. This file
 * forces Roboto on all text content inside our block wrappers.
 */

/*
 * Espaciado inferior por defecto entre bloques (100px). Controlado por la
 * variable --dt-block-space: cámbiala aquí para ajustar TODO el sitio, o
 * sobreescríbela en un bloque concreto para un espaciado distinto.
 * Se aplica a la raíz de cada bloque EXCEPTO:
 *  - acf/shortcode (.dt-shortcode): wrapper que suele ir anidado.
 *  - acf/menu-sticky (.dt-menu-sticky): es sticky.
 * datatrends/section (.wp-block-datatrends-section) SÍ se incluye, aunque
 * además tiene su propio control de padding y los controles de margen del
 * editor (que sobreescriben este valor por instancia).
 */
:root {
	--dt-block-space: 2.5rem; /* 40px */
}

.wp-block-datatrends-section,
.dt-hero-cta,
.dt-split,
.dt-image-grid,
.dt-news,
.dt-mas-info,
.uv-slider,
.dt-equipo,
.dt-faqs,
.dt-grouped-faq,
.dt-logos-carousel,
.dt-overlap,
.dt-prefooter-cta,
.dt-seccion-bullets,
.dt-seccion-descargas,
.dt-seccion-numerada,
.dt-title-paragraphs,
.guest-teachers {
	margin-bottom: var(--dt-block-space, 6.25rem);
}

[class^="dt-"] p,
[class*=" dt-"] p,
[class^="dt-"] li,
[class*=" dt-"] li,
.guest-teachers p,
.guest-teachers li {
	font-family: "Roboto", Arial, sans-serif;
}

/* Títulos de los bloques: regla de fuente PROPIA para que no hereden el
   Akkurat que iter fuerza con `html, body { font-family: ... !important }`.
   Una declaración directa en el elemento gana a la herencia, así que basta
   sin !important. */
[class^="dt-"] h1, [class*=" dt-"] h1,
[class^="dt-"] h2, [class*=" dt-"] h2,
[class^="dt-"] h3, [class*=" dt-"] h3,
[class^="dt-"] h4, [class*=" dt-"] h4,
[class^="dt-"] h5, [class*=" dt-"] h5,
[class^="dt-"] h6, [class*=" dt-"] h6,
.guest-teachers h1, .guest-teachers h2, .guest-teachers h3,
.guest-teachers h4, .guest-teachers h5, .guest-teachers h6 {
	font-family: "Roboto", Arial, sans-serif;
}

/* Títulos H2 de los bloques a peso 500 (incluye los core/heading dentro de
   datatrends/section y los títulos propios de cada bloque). */
.dt-section h2,
.dt-section h2.wp-block-heading,
[class^="dt-"] h2,
[class*=" dt-"] h2,
.guest-teachers h2 {
	font-weight: 500;
}

/*
 * Default font-size for paragraphs across all blocks. Wrapped in :where() so
 * per-block selectors (e.g. .dt-hero-cta__description p at 1.2rem) override
 * via higher specificity without needing !important.
 */
:where([class^="dt-"]) p,
:where([class*=" dt-"]) p,
:where(.guest-teachers) p {
	font-size: 1.25rem;
}

:where([class^="dt-"]) li,
:where([class*=" dt-"]) li,
:where(.guest-teachers) li {
	font-size: 1.1rem;
}

/*
 * Forzar letter-spacing: 0 en todo el texto de los bloques. Bridge cascade
 * mete tracking en varios sitios; esto lo neutraliza sin afectar headings
 * que tengan letter-spacing intencional (gracias a :where() = specificity 0).
 */
:where([class^="dt-"]) p,
:where([class*=" dt-"]) p,
:where([class^="dt-"]) li,
:where([class*=" dt-"]) li,
:where([class^="dt-"]) a,
:where([class*=" dt-"]) a,
:where([class^="dt-"]) span,
:where([class*=" dt-"]) span,
:where(.guest-teachers) p,
:where(.guest-teachers) li,
:where(.guest-teachers) a,
:where(.guest-teachers) span {
	letter-spacing: 0;
}

/*
 * Noticias: el shortcode [masonry_blog] de Qode (.q_masonry_blog) coloca los
 * artículos con JS (Isotope). Dentro de template-iter.php + datatrends/section
 * ese JS no asigna ancho a las columnas y los posts quedan apilados y estrechos.
 * Forzamos un grid CSS determinista (3 col desktop) y neutralizamos el
 * posicionamiento absoluto. Scopeado a .dt-section para NO tocar las noticias
 * de las páginas Bridge originales (que no llevan .dt-section).
 */
/* El wrapper del bloque acf/shortcode es hijo flex de .dt-section__inner
   (align-items:flex-start en h-left), así que NO se estira: forzar 100%
   o el masonry/CF7 de dentro queda estrecho. (Trampa flex-start conocida.) */
.dt-section .dt-shortcode {
	width: 100%;
}

.dt-section .q_masonry_blog {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 100%;
	/* Neutralizar el height/position inline que Isotope (JS de Qode) mete al
	   contenedor y que colapsa la caja → el +info se solapaba con las noticias. */
	height: auto !important;
	position: static !important;
}

.dt-section .q_masonry_blog .q_masonry_blog_grid_sizer,
.dt-section .q_masonry_blog .q_masonry_blog_grid_gutter {
	display: none !important;
}

.dt-section .q_masonry_blog > article {
	position: static !important;
	width: auto !important;
	left: auto !important;
	top: auto !important;
	float: none !important;
	margin: 0 !important;
}

.dt-section .q_masonry_blog .q_masonry_blog_post_image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.dt-section .q_masonry_blog {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.dt-section .q_masonry_blog {
		grid-template-columns: 1fr;
	}
}

/*
 * Campos del formulario CF7 dentro de datatrends/section. En las páginas Bridge
 * el estilo "caja blanca" del input lo da bridge/css/stylesheet.min.css
 * (background:#fff; border:0; appearance:none; width:100%), que base.css remata
 * con el border-bottom. template-iter.php NO carga stylesheet.min.css, así que
 * el input se quedaba con el borde nativo del navegador y solo el border-bottom.
 * Replicamos aquí el render FINAL de la original (Bridge + base.css combinados),
 * scopeado a .dt-section y con especificidad suficiente para no depender del
 * orden de carga. No reintroducimos todo el tema, solo lo del campo.
 */
.dt-section .wpcf7-form input.wpcf7-text,
.dt-section .wpcf7-form input.wpcf7-tel,
.dt-section .wpcf7-form input.wpcf7-email,
.dt-section .wpcf7-form input.wpcf7-number,
.dt-section .wpcf7-form input.wpcf7-date,
.dt-section .wpcf7-form select.wpcf7-select,
.dt-section .wpcf7-form textarea.wpcf7-textarea {
	display: block;
	width: 100%;
	margin: 5px 0 0;
	padding: 0 8px 4px 8px;
	background-color: #fff;
	color: #818181;
	border: 0;
	border-bottom: 1px solid;
	border-radius: 0;
	outline: 0;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 22px;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
	transition: border-bottom 0.5s;
}

.dt-section .wpcf7-form input.wpcf7-text:focus,
.dt-section .wpcf7-form input.wpcf7-tel:focus,
.dt-section .wpcf7-form input.wpcf7-email:focus,
.dt-section .wpcf7-form input.wpcf7-number:focus,
.dt-section .wpcf7-form input.wpcf7-date:focus,
.dt-section .wpcf7-form select.wpcf7-select:focus,
.dt-section .wpcf7-form textarea.wpcf7-textarea:focus {
	border-bottom: 1px solid var(--uv-blue, #5058ff);
}

/* Botón ENVIAR del formulario en móvil: ancho completo y bien dimensionado
   (en escritorio mantiene su tamaño según base.css del tema). */
@media (max-width: 768px) {
	.dt-section .wpcf7-form input.wpcf7-submit {
		display: block;
		width: 100%;
		margin-top: 24px;
		padding: 15px 24px;
		box-sizing: border-box;
		text-align: center;
	}
}


/*
 * EventON [add_eventon_list] dentro de nuestras secciones: por defecto cada
 * evento (tile) ocupa 33% (box_3) en TODOS los anchos, así que en móvil el
 * segundo se corta. En móvil los apilamos a ancho completo para que se vean
 * todos. Scopeado a .dt-section para no afectar a otros EventON del sitio.
 */
@media (max-width: 768px) {
	/* Apilar los tiles a ancho completo y anular el alto/posición que EventON
	   mete por JS (los deja maquetados para 3 columnas). */
	.dt-section .ajde_evcal_calendar.boxy .eventon_list_event {
		width: 100% !important;
		float: none !important;
		display: block !important;
		position: static !important;
		height: auto !important;
		left: auto !important;
		top: auto !important;
		margin: 0 0 1rem !important;
	}
	/* El tile usa imagen de fondo: necesita altura propia para verse. */
	.dt-section .ajde_evcal_calendar.boxy .eventon_list_event .evcal_list_a,
	.dt-section .ajde_evcal_calendar.boxy .eventon_list_event .desc_trig_outter,
	.dt-section .ajde_evcal_calendar.boxy .eventon_list_event .desc_trig {
		height: auto !important;
		min-height: 220px !important;
	}
	/* Contenedor de la lista sin altura fija que recorte. */
	.dt-section .ajde_evcal_calendar #evcal_list,
	.dt-section .ajde_evcal_calendar .eventon_events_list {
		height: auto !important;
		overflow: visible !important;
	}
}

/* ---------- .dt-stripes: grupo contenedor con las franjas amarilla+azul a la izquierda
   (réplica de div.section.services-content del tema, p. ej. /colaboraciones-institucionales/).
   La imagen mide 1440px y va centrada; la columna se estrecha a ~810px para no pisar las franjas. */
.dt-stripes {
	background: url(img/two-stripes-left.webp) center top repeat-y;
	background-size: auto;
	padding: 2rem 0 3rem;
}
.dt-stripes .dt-title-paragraphs {
	max-width: 860px;
}
/* enlaces dentro del texto: azules sin subrayar (como /servicios/ original) */
.dt-stripes .dt-title-paragraphs__body a:not(.qbutton) {
	color: #5058ff;
	font-weight: 500;
	text-decoration: none;
}
.dt-stripes .dt-title-paragraphs__body a:not(.qbutton):hover {
	text-decoration: underline;
}
/* negritas del texto más ligeras, como en el original (strong 400-500 sobre cuerpo 300-400) */
.dt-stripes .dt-title-paragraphs__body p strong {
	font-weight: 500;
}
/* variante con enlaces negros (como /colaboraciones-institucionales/ original) */
.dt-stripes--black-links .dt-title-paragraphs__body p a:not(.qbutton) {
	color: #000;
	font-weight: inherit;
}
@media (max-width: 1024px) {
	.dt-stripes { background-size: 75%; background-position: top left -50px; }
}
@media (max-width: 781px) {
	.dt-stripes { background: none; padding: 0 0 2rem; }
}

/* ---------- .dt-v-section: grupo de texto centrado sobre la "V" gris de marca
   (réplica de .vn-gray-arrow-white-bg de /plan-estrategico/). Bloques nativos dentro:
   core/heading (título 28px/500), core/paragraph (20px/300) y párrafos .dt-v-buttons con
   <a class="qbutton default blue-solid-button"> (botón global del tema). */
.dt-v-section {
	background: url(img/bg-arrow-gray-02.svg) center center / 1250px no-repeat;
	padding: 5rem 1.5rem 8rem;
	text-align: center;
	font-family: "Roboto", Arial, sans-serif;
}
.dt-v-section > * {
	max-width: 900px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.dt-v-section h2 {
	font-size: 28px;
	line-height: 35px;
	font-weight: 500;
	letter-spacing: .2px;
	color: #000;
	margin: 0 auto 2.5rem;
}
.dt-v-section h2:not(:first-child) {
	margin-top: 4rem;
}
.dt-v-section p {
	font-size: 1.25rem;
	line-height: 1.5;
	font-weight: 300;
	color: #000;
	margin: 0 auto 1.25rem;
}
.dt-v-section p.dt-v-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	margin-top: 2.5rem;
}
.dt-v-section p.dt-v-buttons .qbutton {
	margin: 0;
}
@media (max-width: 781px) {
	.dt-v-section { padding: 3rem 1.25rem; background-size: 140%; }
	.dt-v-section h2 { font-size: 24px; line-height: 30px; }
}

/* ======================================================================
   Piezas para páginas hechas con bloques NATIVOS (core/group, columns,
   gallery, details…) — réplica de /practicas/ original (2026-10-01).
   OJO: en este tema cada core/group se envuelve en .wp-block-group__inner-container.
   ====================================================================== */

/* Texto destacado dentro de .dt-v-section */
.dt-v-section p.dt-v-lead {
	font-size: clamp(1.4rem, 2.2vw, 28px);
	line-height: 1.3;
	font-weight: 500;
}

/* .dt-band: banda a todo ancho con contenido centrado de 1110px */
.dt-band {
	padding: 80px 1.5rem;
	font-family: "Roboto", Arial, sans-serif;
	color: #000;
}
.dt-band > .wp-block-group__inner-container {
	max-width: 1110px;
	margin: 0 auto;
}
.dt-band h2 {
	font-size: clamp(2rem, 3.2vw, 44px);
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: .3px;
	color: inherit;
	margin: 0 0 32px;
}
.dt-band p {
	font-size: 1.25rem;
	line-height: 1.35;
	font-weight: 300;
	color: inherit;
	margin: 0 0 1rem;
}
.dt-band p a {
	color: #5058ff;
	font-weight: 500;
	text-decoration: none;
}
.dt-band p a:hover { text-decoration: underline; }
.dt-band--dark { background: #000; color: #fff; }
.dt-band--gray { background: #f4f4f4; }
.dt-band--center h2,
.dt-band--center > .wp-block-group__inner-container > p { text-align: center; }
.dt-band .dt-h2-narrow { max-width: 680px; }

/* 3 pasos con imagen-número (core/columns.dt-steps-3) */
.dt-band .dt-steps-3 {
	margin-top: 3.5rem;
	gap: 2.5rem;
}
.dt-band .dt-steps-3 .wp-block-image { margin: 0 0 1.25rem; }
.dt-band .dt-steps-3 .wp-block-image img { height: 54px; width: auto; }
.dt-band .dt-steps-3 p { font-weight: 500; text-align: left; }

/* Enlace con borde amarillo ("+ INFO Y CONTACTO …") */
.dt-band p.dt-outline-link { text-align: center; margin-top: 4rem; }
.dt-band p.dt-outline-link a {
	display: inline-block;
	border: 2px solid #ffbc00;
	color: #ffbc00;
	padding: 16px 28px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.dt-band p.dt-outline-link a:hover { background: #ffbc00; color: #000; }
.dt-band p.dt-outline-link a i {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-style: normal;
	font-size: 12px;
	vertical-align: middle;
	margin: 0 .35rem;
}

/* Rejilla de logos (core/gallery.dt-logos-grid) */
/* rejilla propia: las columnas de core/gallery dependen de estilos de layout que el tema clásico no da */
.dt-band .dt-logos-grid.wp-block-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem 3rem;
	margin-top: 3rem;
}
.dt-band .dt-logos-grid.wp-block-gallery > figure.wp-block-image {
	width: auto !important;
	margin: 0 !important;
}
.dt-band .dt-logos-grid.wp-block-gallery .wp-block-image img {
	height: 114px;
	width: 100%;
	object-fit: contain;
}

/* Desplegable amarillo a todo ancho (core/details.dt-yellow-details) */
.dt-yellow-details {
	--dt-gutter: max(1.5rem, calc((100% - 1110px) / 2));
	background: #ffce45;
	margin: 0;
	font-family: "Roboto", Arial, sans-serif;
}
.dt-yellow-details > summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	background: #ffbc00;
	color: #000;
	padding: 25px calc(var(--dt-gutter) + 3rem) 25px var(--dt-gutter);
	font-size: clamp(1.25rem, 2.2vw, 28px);
	line-height: 35px;
	font-weight: 500;
	letter-spacing: .2px;
}
.dt-yellow-details > summary::-webkit-details-marker { display: none; }
.dt-yellow-details > summary::marker { content: ''; }
.dt-yellow-details > summary::after {
	content: '';
	position: absolute;
	right: var(--dt-gutter);
	top: 50%;
	width: 14px;
	height: 14px;
	border-right: 3px solid #000;
	border-bottom: 3px solid #000;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}
.dt-yellow-details[open] > summary::after { transform: translateY(-20%) rotate(-135deg); }
.dt-yellow-details > :not(summary) {
	padding: 3rem var(--dt-gutter) 4rem;
	margin: 0;
}

/* Listado A-Z en 4 columnas (core/group.dt-az con un core/group.dt-az-letter por letra) */
.dt-az > .wp-block-group__inner-container { column-count: 4; column-gap: 2rem; }
.dt-az .dt-az-letter { break-inside: avoid; margin: 0 0 1.5rem; }
.dt-az h3 {
	font-size: 20px;
	line-height: 30px;
	font-weight: 400;
	color: #000;
	margin: 0 0 .25rem;
}
.dt-az ul { list-style: none; margin: 0; padding: 0; }
.dt-az li { font-size: 16px; line-height: 1.3; margin: 0 0 4px; padding: 0; color: #000; }
.dt-az li::before { content: none; }

/* Fichas de contacto en 3 columnas (core/group.dt-contact-grid > core/group.dt-contact-card) */
.dt-contact-grid > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3rem 2rem;
	margin-top: 3rem;
}
.dt-contact-card h4 {
	font-size: clamp(1.4rem, 2vw, 28px);
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: .2px;
	color: #000;
	margin: 0 0 .5rem;
}
.dt-contact-card h4::before {
	content: '';
	display: block;
	width: 35px;
	height: 37px;
	margin-bottom: 1rem;
	background: url(img/blue-arrow-right-01.svg) left center / contain no-repeat;
}
.dt-band .dt-contact-card p { line-height: 30px; margin: 0; }

@media (max-width: 1023px) {
	.dt-az > .wp-block-group__inner-container { column-count: 3; }
	.dt-contact-grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.dt-band { padding: 56px 1.25rem; }
	.dt-az > .wp-block-group__inner-container { column-count: 2; }
	.dt-band .dt-logos-grid.wp-block-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
	.dt-band .dt-logos-grid.wp-block-gallery .wp-block-image img { height: 80px; }
	.dt-contact-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 2.5rem; }
	.dt-band p.dt-outline-link a { padding: 14px 18px; font-size: 15px; letter-spacing: .8px; }
}

/* ======================================================================
   Misión, visión y valores (.dt-mvv-*) — réplica de /mision-vision-y-valores/
   original (Bakery, .vn-mission-* de bridge-child/css/pages/vida.css). 2026-10-05.
   Bloques nativos: group.dt-mvv-hero (image.dt-mvv-hero-bg + h1 + p.dt-mvv-hero-box),
   group.dt-mvv-section (h2.dt-mvv-kicker + p.dt-mvv-big + image/h3/p),
   group.dt-mvv-values > group.dt-mvv-card (image + h3 + p que aparece al pasar el ratón).
   ====================================================================== */
.dt-mvv-hero {
	position: relative;
	overflow: hidden;
	background: #000;
	font-family: "Roboto", Arial, sans-serif;
}
.dt-mvv-hero > .wp-block-group__inner-container { position: static; }
.dt-mvv-hero .dt-mvv-hero-bg {
	position: absolute;
	inset: 0;
	margin: 0;
}
.dt-mvv-hero .dt-mvv-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.dt-mvv-hero h1 {
	position: relative;
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto;
	padding: 120px 141px 120px 15px;
	font-size: 84px;
	line-height: 84px;
	font-weight: 500;
	color: #fff;
}
.dt-mvv-hero p.dt-mvv-hero-box {
	position: relative;
	margin: 0 0 0 25%;
	padding: 64px 12% 64px 79px;
	background: #5058ff;
	color: #fff;
	font-size: 28px;
	line-height: 35px;
	font-weight: 500;
	letter-spacing: .2px;
}

.dt-mvv-section {
	padding: 80px 15px;
	text-align: center;
	font-family: "Roboto", Arial, sans-serif;
	color: #000;
}
.dt-mvv-section h2.dt-mvv-kicker {
	margin: 0 0 16px;
	font-size: 36px;
	line-height: 45px;
	font-weight: 900;
	letter-spacing: .25px;
	text-transform: uppercase;
	color: #5058ff;
}
.dt-mvv-section p.dt-mvv-big {
	max-width: 1140px;
	margin: 0 auto;
	font-size: clamp(32px, 5.8vw, 84px);
	line-height: 1;
	font-weight: 900;
	letter-spacing: .6px;
}
.dt-mvv-section .wp-block-image {
	margin: 48px auto;
	text-align: center;
}
.dt-mvv-section .wp-block-image img { display: inline-block; height: 79px; width: auto; }
.dt-mvv-section h3 {
	max-width: 825px;
	margin: 0 auto 32px;
	font-size: clamp(20px, 3vw, 44px);
	line-height: 1;
	font-weight: 500;
	letter-spacing: .2px;
	color: #000;
}
.dt-mvv-section p:not(.dt-mvv-big) {
	max-width: 825px;
	margin: 0 auto;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
	color: #000;
}
.dt-mvv-section p.dt-mvv-big + h3 { margin-top: 88px; }
.dt-mvv-section p:not(.dt-mvv-big) + h3 { margin-top: 90px; }

/* Visión: banda de círculos grandes arriba y círculos decorativos sobre gris */
.dt-mvv-section.dt-mvv-vision {
	padding: 554px 15px 144px;
	background:
		url(img/mission-big-circle-background-2.svg) center top / auto 470px no-repeat,
		url(img/blue-circle-right.svg) right 0 top 815px no-repeat,
		url(img/white-circle-left.svg) left 0 top 1211px / auto 610px no-repeat,
		url(img/white-circle-bottom-right.svg) right 0 top 1825px no-repeat,
		linear-gradient(#fff 0 237px, #f4f4f4 237px);
}
.dt-mvv-section.dt-mvv-values-intro { padding-bottom: 130px; }

/* Tarjetas de valores: foto oscura + título; al pasar el ratón, texto sobre amarillo */
.dt-mvv-values { padding: 0 20px; }
.dt-mvv-card {
	position: relative;
	width: 75%;
	margin: 0 0 8px 25%;
	aspect-ratio: 998 / 535;
	background: #000;
	font-family: "Roboto", Arial, sans-serif;
}
.dt-mvv-card:nth-child(even) { margin: 0 25% 8px 0; }
.dt-mvv-card::before {
	content: '';
	position: absolute;
	top: 40%;
	left: calc(-16.667% - 50px);
	width: 101px;
	height: 101px;
	background: url(img/blue-cross.svg) center / contain no-repeat;
}
.dt-mvv-card:nth-child(even)::before { left: auto; right: calc(-16.667% - 50px); }
.dt-mvv-card > .wp-block-group__inner-container {
	position: absolute;
	inset: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}
.dt-mvv-card .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}
.dt-mvv-card .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .7;
	transform: scale(1.15);
	transition: opacity .35s, transform .35s;
}
.dt-mvv-card h3 {
	position: relative;
	width: 90%;
	margin: 0 auto;
	font-size: 52px;
	line-height: 56px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
	transition: opacity .35s;
}
.dt-mvv-card h3::after {
	content: 'Leer más';
	display: block;
	margin-top: 6px;
	font-size: 20px;
	line-height: 1.6;
	color: #ffbc00;
}
.dt-mvv-card p {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 40px 7%;
	background: rgba(255, 188, 0, .9);
	color: #000;
	font-size: 28px;
	line-height: 35px;
	font-weight: 500;
	letter-spacing: 1px;
	opacity: 0;
	transition: opacity .35s;
}
.dt-mvv-card:hover .wp-block-image img { opacity: .5; transform: scale(1); }
.dt-mvv-card:hover h3 { opacity: 0; }
.dt-mvv-card:hover p { opacity: 1; }

@media (max-width: 1024px) {
	.dt-mvv-hero h1 { font-size: 56px; line-height: 60px; padding: 90px 60px 90px 30px; }
	.dt-mvv-hero p.dt-mvv-hero-box { padding: 40px 8% 40px 48px; font-size: 22px; line-height: 30px; }
	.dt-mvv-card h3 { font-size: 36px; line-height: 45px; }
	.dt-mvv-card p { font-size: 20px; line-height: 30px; padding: 24px; }
}
@media (max-width: 768px) {
	.dt-mvv-hero h1 { font-size: 32px; line-height: 36px; padding: 94px 15px 54px; }
	.dt-mvv-hero p.dt-mvv-hero-box { margin-left: 7%; padding: 24px 24px 24px 39px; font-size: 16px; line-height: 22px; font-weight: 400; }
	.dt-mvv-section { padding: 32px 9px; }
	.dt-mvv-section h2.dt-mvv-kicker { font-size: 20px; line-height: 26px; }
	.dt-mvv-section p.dt-mvv-big { font-size: 32px; line-height: 36px; }
	.dt-mvv-section .wp-block-image { margin: 24px auto; }
	.dt-mvv-section h3 { max-width: calc(100% - 50px); font-size: 20px; line-height: 26px; margin-bottom: 24px; }
	.dt-mvv-section p:not(.dt-mvv-big) { max-width: calc(100% - 50px); font-size: 16px; line-height: 22px; }
	.dt-mvv-section p.dt-mvv-big + h3 { margin-top: 56px; }
	.dt-mvv-section p:not(.dt-mvv-big) + h3 { margin-top: 48px; }
	.dt-mvv-section.dt-mvv-vision {
		padding: 292px 9px 54px;
		background:
			url(img/mission-big-circle-background-2.svg) center top / auto 260px no-repeat,
			url(img/white-circle-right-mobile.svg) right 0 top 605px / 164px no-repeat,
			url(img/white-circle-left-mobile.svg) left -11px top 931px / 165px no-repeat,
			url(img/white-circle-right-mobile.svg) right 0 top 1514px / 164px no-repeat,
			linear-gradient(#fff 0 131px, #f4f4f4 131px);
	}
	.dt-mvv-section.dt-mvv-values-intro { padding: 96px 9px 60px; }
	.dt-mvv-values { padding: 0; }
	.dt-mvv-card,
	.dt-mvv-card:nth-child(even) { width: 100%; margin: 0; aspect-ratio: auto; height: 375px; }
	.dt-mvv-card::before { content: none; }
	.dt-mvv-card h3 { font-size: 32px; line-height: 36px; }
	.dt-mvv-card p { font-size: 14px; line-height: 20px; padding: 24px; }
}

/* ======================================================================
   Impronta: «¿Cómo se integra Impronta a lo largo de mi carrera?» (.dt-imp-*)
   Réplica de la sección .impronta.gray-bg de /impronta/ (Bakery). 2026-10-05.
   group.dt-imp-timeline > h2 + group.dt-imp-years (4 p) + p.dt-imp-bar
   + core/details.dt-imp-tab (--yellow/--blue/--black, ancho --span-2/--span-1).
   Los desplegables arrancan cerrados (en la original son toggles de Qode).
   ====================================================================== */
.dt-imp-timeline {
	padding: 64px 15px 120px;
	background: #f4f4f4;
	font-family: "Roboto", Arial, sans-serif;
	color: #000;
}
.dt-imp-timeline > .wp-block-group__inner-container {
	max-width: 1110px;
	margin: 0 auto;
}
.dt-imp-timeline h2 {
	margin: 0 0 80px;
	font-size: 44px;
	line-height: 44px;
	font-weight: 500;
	letter-spacing: 1px;
	text-align: center;
	color: #000;
}
.dt-imp-years > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 64px;
	border-bottom: 2px solid #000;
}
.dt-imp-years p {
	margin: 0;
	padding: 24px 10px;
	border-left: 2px solid #000;
	border-right: 2px solid #000;
	font-size: 20px;
	line-height: 30px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: center;
	color: #000;
}
.dt-imp-years p + p { border-left: 0; }
.dt-imp-timeline p.dt-imp-bar {
	margin: 0;
	padding: 18px 20px;
	background: #5058ff;
	color: #fff;
	font-size: 20px;
	line-height: 30px;
	font-weight: 500;
	letter-spacing: .25px;
}
.dt-imp-tab {
	--dt-imp-head: #ffbc00;
	--dt-imp-body: #ffce45;
	--dt-imp-ink: #000;
	margin: 0;
	background: var(--dt-imp-body);
	color: var(--dt-imp-ink);
}
.dt-imp-tab--blue  { --dt-imp-head: #5058ff; --dt-imp-body: #626aff; --dt-imp-ink: #fff; }
.dt-imp-tab--black { --dt-imp-head: #000; --dt-imp-body: #282828; --dt-imp-ink: #fff; }
.dt-imp-tab--span-2 { width: 50.1%; margin-left: auto; }
.dt-imp-tab--span-1 { width: 25%; margin-left: auto; }
.dt-imp-tab > summary {
	position: relative;
	display: block;
	padding: 19px 50px 20px 20px;
	background: var(--dt-imp-head);
	font-size: 20px;
	line-height: 30px;
	font-weight: 500;
	letter-spacing: .25px;
	cursor: pointer;
	list-style: none;
}
.dt-imp-tab > summary::-webkit-details-marker { display: none; }
.dt-imp-tab > summary::after {
	content: '';
	position: absolute;
	top: 28px;
	right: 24px;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.dt-imp-tab[open] > summary::after { transform: rotate(-135deg); top: 32px; }
.dt-imp-tab > :not(summary) { margin: 0; padding: 0 32px; }
.dt-imp-tab > :nth-child(2) { padding-top: 32px; }
.dt-imp-tab > :last-child { padding-bottom: 32px; }
.dt-imp-tab p {
	margin: 0 0 1rem;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: var(--dt-imp-ink);
}
.dt-imp-tab > p:last-child { margin-bottom: 0; }
.dt-imp-tab--black p {
	max-width: 423px;
	margin-left: auto;
	margin-right: auto;
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
	text-align: center;
}
.dt-imp-tab--black > :nth-child(2) { padding-top: 82px; }
.dt-imp-tab--black > :last-child { padding-bottom: 82px; }
/* Core Curriculum: 4 columnas con el año en negrita y lista con «>» azul */
.dt-imp-cc > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 24px;
}
.dt-imp-cc p { margin: 0 0 14px; font-weight: 700; }
.dt-imp-cc ul { list-style: none; margin: 0; padding: 0; }
.dt-imp-cc li {
	position: relative;
	margin: 0 0 16px;
	padding-left: 16px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 300;
	color: #000;
}
.dt-imp-cc li::before { content: '>'; position: absolute; left: 0; color: #5058ff; }

@media (max-width: 781px) {
	.dt-imp-timeline { padding: 64px 4px 80px; }
	.dt-imp-timeline h2 { margin-bottom: 80px; font-size: 28px; line-height: 32px; }
	.dt-imp-years { display: none; }
	.dt-imp-timeline p.dt-imp-bar { padding: 8px 20px; font-size: 16px; }
	.dt-imp-tab--span-2,
	.dt-imp-tab--span-1 { width: 100%; }
	.dt-imp-tab > summary { padding: 12px 44px 12px 20px; }
	.dt-imp-tab > summary::after { top: 22px; }
	.dt-imp-tab[open] > summary::after { top: 26px; }
	.dt-imp-tab > :not(summary) { padding: 0 20px; }
	.dt-imp-tab > :nth-child(2) { padding-top: 24px; }
	.dt-imp-tab > :last-child { padding-bottom: 24px; }
	.dt-imp-tab--black > :nth-child(2) { padding-top: 24px; }
	.dt-imp-tab--black > :last-child { padding-bottom: 24px; }
	.dt-imp-tab--black p { text-align: left; font-size: 16px; line-height: 22px; }
	.dt-imp-cc > .wp-block-group__inner-container { grid-template-columns: 1fr; }
	.dt-imp-cc p { margin-top: 24px; font-size: 20px; }
}

/* .dt-v-section: título en contorno (h2.dt-v-outline) y párrafo pequeño (p.dt-v-small),
   réplica de «Te acompañamos en todo» de /despues-de-villanueva/. 2026-10-09 */
.dt-v-section h2.dt-v-outline {
	max-width: 1110px;
	margin-bottom: 32px;
	font-family: "Akkurat LL", "Roboto", Arial, sans-serif;
	font-size: clamp(45px, 9vw, 130px);
	line-height: 1;
	font-weight: 600;
	letter-spacing: -2.42px;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1.5px #000;
}
.dt-v-section p.dt-v-small {
	max-width: 730px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
}
@media (max-width: 781px) {
	.dt-v-section h2.dt-v-outline { letter-spacing: -1.18px; -webkit-text-stroke-width: 1px; }
	.dt-v-section p.dt-v-small { font-size: 14px; line-height: 21px; }
}

/* acf/shortcode limitado al ancho de la página (campo shortcode_contained), p. ej. el calendario de EventON */
.dt-shortcode.dt-shortcode--contained {
	box-sizing: border-box;
	max-width: 1140px;
	margin: 0 auto 60px;
	padding: 0 15px;
}

/* acf/shortcode con título, fondo negro y botón (p. ej. eventos de /vida/). 2026-10-14 */
.dt-shortcode.dt-shortcode--dark {
	margin-bottom: 0;
	padding-top: 64px;
	padding-bottom: 72px;
	background: #000;
	color: #fff;
	box-shadow: 0 0 0 100vmax #000;
	clip-path: inset(0 -100vmax);
}
.dt-shortcode__header { margin-bottom: 48px; }
.dt-shortcode h2.dt-shortcode__title {
	max-width: 445px;
	margin: 0 0 16px;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 44px;
	line-height: 44px;
	font-weight: 500;
	letter-spacing: 1px;
	color: inherit;
}
.dt-shortcode__arrows {
	display: block;
	width: 86px;
	height: 46px;
	background: url(img/flecha-derecha.svg) left center / 43px 46px repeat-x;
}
.dt-shortcode p.dt-shortcode__button { margin: 48px 0 0; }
.dt-shortcode p.dt-shortcode__button .qbutton { margin: 0; }
@media (max-width: 781px) {
	.dt-shortcode h2.dt-shortcode__title { font-size: 28px; line-height: 32px; }
	.dt-shortcode p.dt-shortcode__button .qbutton { display: block; text-align: center; }
}

/* Párrafo destacado centrado sobre fondo blanco (core/group.dt-lead) — /cultura/. 2026-10-14 */
.dt-lead { padding: 80px 15px; }
.dt-lead > .wp-block-group__inner-container { max-width: 1044px; margin: 0 auto; }
.dt-lead p {
	margin: 0;
	font-family: "Roboto", Arial, sans-serif;
	font-size: 28px;
	line-height: 35px;
	font-weight: 500;
	letter-spacing: .2px;
	text-align: center;
	color: #000;
}
@media (max-width: 781px) {
	.dt-lead { padding: 40px 15px; }
	.dt-lead p { font-size: 20px; line-height: 26px; }
}


/* .dt-stripes con descargas: misma columna que los title-paragraphs (/oferta-academica-internacional-outgoing/). 2026-10-23 */
.dt-stripes .dt-seccion-descargas { padding: 0 0 1rem; }
.dt-stripes .dt-seccion-descargas__inner { max-width: 860px; }

/* /historial-guias-docentes/: [uv_tg_history] en acf/shortcode (clase tg-history-content). En Bakery iba dentro de
   un vc_column_text y el h2 salía con el tamaño de título del tema (44px). */
.dt-shortcode.tg-history-content .teaching-guides-header h2 { font-size: 44px; line-height: 44px; font-weight: 500; letter-spacing: 1px; margin: 0; }
@media (max-width: 781px) { .dt-shortcode.tg-history-content .teaching-guides-header h2 { font-size: 28px; line-height: 32px; } }
