/**
 * Dinámika – estilos del tema hijo de Blocksy.
 *
 * Reproduce el aspecto que tenía el sitio con BeTheme:
 *   1. Base: reset, tipografías, colores, botones y formularios (lo que heredan los widgets de Elementor).
 *   2. Contenedor del contenido.
 *   3. Cabecera fija (barra blanca redondeada) y menú lateral.
 *   4. Pie de página (dos tarjetas).
 *   5. Shortcode [highlight].
 *   6. Entradas del blog.
 *   7. Página de Noticias.
 *   8. Página 404.
 *   9. CSS adicional que tenía BeTheme.
 *
 * Las fuentes (Inter, Playfair, Playfair Display y DM Sans) están en fonts.css.
 * Puntos de corte (los de BeTheme): escritorio ≥ 1240 px, portátil 960–1239 px,
 * tablet 768–959 px, móvil ≤ 767 px (y ≤ 479 px).
 */

/* ==========================================================================
   1. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Reset de BeTheme: los contenidos de Elementor se diseñaron con él. */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,strike,strong,tt,var,b,u,i,center,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

blockquote {
	quotes: none;
}

blockquote::before,
blockquote::after {
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

:root {
	--dk-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--dk-font-heading: "Playfair", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--dk-font-button: "DM Sans";
	--dk-color-text: #242423;
	--dk-color-dark: #231f20;
	--dk-color-orange: #f08530;
	--dk-color-orange-dark: #e05b15;
	--dk-color-red: #eb1c25;
	--dk-color-red-dark: #c3151d;
	--dk-color-link-hover: #e71728;
	--dk-color-yellow: #f5cb5c;

	/* Variables de Blocksy alineadas con el diseño (búsquedas, archivos…). */
	--theme-font-family: var(--dk-font-body);
	--theme-text-color: var(--dk-color-text);
	--theme-headings-color: var(--dk-color-text);
	--theme-link-initial-color: var(--dk-color-orange);
	--theme-link-hover-color: var(--dk-color-link-hover);
	--theme-selection-text-color: #fff;
	--theme-selection-background-color: var(--dk-color-orange);
}

/* Como en BeTheme, nada desborda a lo ancho (hay contenidos de Elementor más anchos que la pantalla). */
html {
	height: 100%;
	overflow-x: hidden;
	background-color: #fff;
}

body {
	font-family: var(--dk-font-body);
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--dk-color-text);
	background-color: #fff;
	overflow-wrap: normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

/* Blocksy imprime en la cabecera un fondo gris para el body (su paleta); el sitio es blanco. */
html body.dinamika {
	background-color: #fff;
	background-image: none;
}

::selection {
	background-color: var(--dk-color-orange);
	color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 15px;
	font-family: var(--dk-font-heading);
	font-weight: 400;
	text-transform: none;
	color: var(--dk-color-text);
}

h5, h6 {
	font-family: var(--dk-font-body);
}

h1 { font-size: 90px; line-height: 90px; letter-spacing: -2px; }
h2 { font-size: 57px; line-height: 63px; letter-spacing: -2px; }
h3 { font-size: 43px; line-height: 48px; letter-spacing: -1px; }
h4 { font-size: 32px; line-height: 38px; letter-spacing: 0; }
h5 { font-size: 24px; line-height: 34px; letter-spacing: 0; }
h6 { font-size: 16px; line-height: 20px; letter-spacing: 0; font-weight: 500; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	font-weight: inherit;
	color: var(--dk-color-text);
	text-decoration: none;
}

p {
	margin: 0 0 15px;
}

b, strong {
	font-weight: 700;
}

em, i {
	font-style: italic;
}

a,
a:visited,
a:focus {
	color: var(--dk-color-orange);
	text-decoration: none;
	outline: 0;
}

a:hover {
	color: var(--dk-color-link-hover);
	text-decoration: underline;
}

ul {
	list-style: none outside;
}

ol {
	list-style: decimal;
}

blockquote {
	position: relative;
	top: 15px;
	display: block;
	height: auto;
	margin: 0 0 35px 25px;
	font-family: var(--dk-font-body);
	font-size: 17px;
	line-height: 31px;
	color: #444;
}

hr {
	display: block;
	clear: both;
	width: 100%;
	height: 1px;
	margin: 0 auto 15px;
	border: none;
	outline: none;
	background-color: rgba(0, 0, 0, 0.08);
	color: rgba(0, 0, 0, 0.08);
}

iframe {
	max-width: 100%;
}

table {
	width: 100%;
	margin-bottom: 15px;
	border-radius: 5px;
}

table th,
table td {
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

table th {
	font-weight: 700;
	color: #444;
	background: #f9f9f9;
}

/* Campos de formulario (Contact Form 7 y similares), como en BeTheme: solo línea inferior. */
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
	display: block;
	width: 230px;
	max-width: 100%;
	height: auto;
	min-height: 0;
	margin: 0 0 20px;
	padding: 10px;
	box-sizing: border-box;
	font-family: var(--dk-font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: normal;
	color: #a6a6a6;
	background-color: #fff;
	border-style: solid;
	border-color: var(--dk-color-text);
	border-width: 0 0 1px;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	resize: none;
	-webkit-appearance: none;
	appearance: none;
}

input::placeholder,
textarea::placeholder {
	color: #929292;
}

textarea {
	min-height: 60px;
	line-height: 20px;
}

select {
	padding-right: 25px;
	background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E") no-repeat right 5px center;
}

input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	color: var(--dk-color-orange);
	background-color: #fff;
	border-color: var(--dk-color-orange);
	outline: none;
}

label,
legend {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

input[type="checkbox"] {
	display: inline;
}

input[type="checkbox"] ~ label {
	display: inline;
}

/* Botones genéricos (variables de botón de BeTheme). */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 0;
	padding: 16px 24px;
	overflow: hidden;
	box-sizing: border-box;
	font-family: var(--dk-font-button);
	font-size: 17px;
	font-style: inherit;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: #e8eddf;
	background-color: #242423;
	border: 1px solid #444544;
	border-radius: 47px;
	box-shadow: none;
	outline: unset;
	cursor: pointer;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	color: #f5cb5c;
	background-color: #242423;
	border-color: #f5cb5c;
	text-decoration: none;
}

input[type="submit"] {
	color: #242423;
	background-color: #f5cb5c;
	border-color: #f5cb5c;
}

input[type="submit"]:hover {
	color: #242423;
	background-color: #f4af23;
	border-color: #f4af23;
}

button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

/* Elementor: los botones de sus widgets llevan sus propios estilos. */
.elementor button.elementor-button,
.elementor .elementor-button {
	font-family: inherit;
	border: 0;
}

/* Botón con los estilos de BeTheme («.button» de la cabecera, el pie y la 404). */
.dk-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 24px;
	box-sizing: border-box;
	font-family: var(--dk-font-button);
	font-size: 17px;
	font-weight: 500;
	line-height: 20.4px;
	letter-spacing: 0;
	text-decoration: none;
	color: #e8eddf;
	background-color: #242423;
	border: 1px solid #444544;
	border-radius: 47px;
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.dk-button:visited,
.dk-button:focus {
	color: #e8eddf;
}

.dk-button:hover {
	color: #f5cb5c;
	border-color: #f5cb5c;
	text-decoration: none;
}

/* Contact Form 7 con la rejilla de columnas de BeTheme (clases «column one», «one-second»…). */
.wpcf7::after {
	content: "";
	display: block;
	clear: both;
}

.wpcf7-form .column {
	float: left;
	margin: 0;
	padding: 0 10px 10px;
	box-sizing: border-box;
}

.wpcf7-form .one.column { width: 100%; }
.wpcf7-form .one-second.column { width: 50%; }
.wpcf7-form .one-third.column { width: 33.333%; }
.wpcf7-form .two-third.column { width: 66.666%; }
.wpcf7-form .one-fourth.column { width: 25%; }
.wpcf7-form .three-fourth.column { width: 75%; }

span.wpcf7-form-control-wrap {
	position: relative !important;
	display: inline-block;
	width: 100%;
	margin-bottom: 3px;
}

span.wpcf7-form-control-wrap :is(.wpcf7-date, .wpcf7-number, .wpcf7-quiz, .wpcf7-select, .wpcf7-text, .wpcf7-textarea) {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 0;
}

.wpcf7 input[type="submit"] {
	margin-bottom: 0 !important;
}

.wpcf7 form .wpcf7-response-output {
	margin-top: 0;
	border: none;
	clear: both;
}

.wpcf7-form .wpcf7-spinner {
	top: 20px;
}

.wpcf7-form.init .wpcf7-spinner,
.wpcf7-form.invalid .wpcf7-spinner {
	display: none;
}

/* Tamaños de letra por dispositivo (los de BeTheme). */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	body { font-size: 15px; line-height: 23px; }
	h1 { font-size: 77px; line-height: 77px; letter-spacing: -2px; }
	h2 { font-size: 48px; line-height: 54px; letter-spacing: -2px; }
	h3 { font-size: 37px; line-height: 41px; letter-spacing: -1px; }
	h4 { font-size: 27px; line-height: 32px; }
	h5 { font-size: 20px; line-height: 29px; }
	h6 { font-size: 14px; line-height: 19px; }
	blockquote { font-size: 15px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	body { font-size: 14px; line-height: 20px; }
	h1 { font-size: 68px; line-height: 68px; letter-spacing: -2px; }
	h2 { font-size: 43px; line-height: 47px; letter-spacing: -2px; }
	h3 { font-size: 32px; line-height: 36px; letter-spacing: -1px; }
	h4 { font-size: 24px; line-height: 29px; }
	h5 { font-size: 18px; line-height: 26px; }
	h6 { font-size: 13px; line-height: 19px; }
	blockquote { font-size: 14px; }
}

@media only screen and (max-width: 479px) {
	body { font-size: 13px; line-height: 19px; }
	h1 { font-size: 54px; line-height: 54px; letter-spacing: -1px; }
	h2 { font-size: 34px; line-height: 38px; letter-spacing: -1px; }
	h3 { font-size: 26px; line-height: 29px; letter-spacing: -1px; }
	h4 { font-size: 19px; line-height: 23px; }
	h5 { font-size: 14px; line-height: 20px; }
	h6 { font-size: 13px; line-height: 19px; }
	blockquote { font-size: 13px; }
}

@media only screen and (max-width: 767px) {
	body {
		overflow-x: hidden;
	}

	.wpcf7-form .column,
	.wpcf7-form .one-second.column,
	.wpcf7-form .one-third.column,
	.wpcf7-form .two-third.column,
	.wpcf7-form .one-fourth.column,
	.wpcf7-form .three-fourth.column {
		width: 100%;
		margin: 0;
		clear: both;
	}
}

/* Listas del contenido (BeTheme: «.the_content_wrapper», «.elementor-widget-text-editor»…). Misma
   especificidad que en BeTheme, para que los widgets de Elementor con listas propias sigan mandando. */
.dk-content ul,
.dk-post__content ul,
.elementor-widget-text-editor ul {
	list-style: disc outside;
	margin: 0 0 15px 30px;
}

.dk-content ol,
.dk-post__content ol,
.elementor-widget-text-editor ol {
	margin: 0 0 15px 30px;
}

.dk-content ul li,
.dk-content ol li,
.dk-post__content ul li,
.dk-post__content ol li,
.elementor-widget-text-editor ul li,
.elementor-widget-text-editor ol li {
	margin-bottom: 10px;
}

.dk-content ul li ul,
.dk-content ol li ol,
.dk-post__content ul li ul,
.dk-post__content ol li ol {
	margin-top: 10px;
	margin-bottom: 0;
}

/* ==========================================================================
   2. Contenedor del contenido
   ========================================================================== */

/* Ancho del contenido de las plantillas propias (entradas, Noticias, pie): el «section_wrapper» de BeTheme. */
.dk-wrap {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
}

@media only screen and (min-width: 960px) and (max-width: 1239px) {
	.dk-wrap { max-width: 940px; }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.dk-wrap { max-width: 728px; }
}

/* Contenedor de las páginas de Elementor: todo el ancho y, en móvil, 33 px a cada lado. */
@media only screen and (max-width: 767px) {
	.dk-content,
	.dk-wrap {
		max-width: 550px;
		margin: 0 auto;
		padding: 0 33px;
	}

	/* Las secciones «estiradas» ocupan todo el ancho antes de que el JS de Elementor las estire (sin CLS). */
	.dk-content .elementor-section.elementor-section-stretched {
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}
}

/* Título de página con migas (Subheader de BeTheme). */
.dk-subheader {
	padding: 30px 0;
	background-color: #fff;
}

.dk-subheader__title {
	margin: 0;
	font-size: 90px;
	line-height: 90px;
	letter-spacing: -2px;
	color: var(--dk-color-orange);
	text-align: center;
}

.dk-subheader__crumbs {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.dk-subheader__crumbs li {
	display: inline-block;
	color: rgba(240, 133, 48, 0.6);
}

.dk-subheader__crumbs a,
.dk-subheader__crumbs a:visited {
	color: rgba(240, 133, 48, 0.6);
}

.dk-subheader__sep {
	display: inline-block;
	margin: 0 10px;
}

.dk-subheader__sep svg {
	width: 12px;
	height: 12px;
	vertical-align: -1px;
}

.dk-content--padded {
	padding-top: 30px;
}

/* En pantallas medianas y grandes el título va en una sola línea (lo que no cabe queda oculto). */
@media only screen and (min-width: 768px) {
	.dk-subheader__title {
		overflow: hidden;
		white-space: nowrap;
	}
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.dk-subheader__title { font-size: 77px; line-height: 77px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.dk-subheader__title { font-size: 68px; line-height: 68px; }
}

@media only screen and (max-width: 767px) {
	.dk-subheader__crumbs {
		display: none;
	}
}

@media only screen and (max-width: 479px) {
	.dk-subheader__title { font-size: 54px; line-height: 54px; letter-spacing: -1px; }
}

/* Tableta y celular: ningún widget de Elementor es más ancho que su columna. Varios títulos y listas
   tienen un ancho fijo en píxeles para «portátil» (p. ej. 583 o 842 px) que Elementor hereda hacia
   tableta y celular y los sacaba de la pantalla (ya pasaba con BeTheme). */
@media only screen and (max-width: 1024px) {
	.dk-content .elementor-widget,
	.dk-content .elementor-widget > .elementor-widget-container {
		max-width: 100% !important;
	}
}

/* Celular: títulos que no tienen tamaño propio para celular en Elementor y quedaban con el de
   escritorio (Administración SST: 65 px) o que en BeTheme ya se salían (Noticias: 90 px). */
@media only screen and (max-width: 767px) {
	.elementor-1169 .elementor-element-6cfe714 .elementor-heading-title,
	.elementor-1169 .elementor-element-8f4b3c4 .elementor-heading-title,
	.elementor-1169 .elementor-element-e18fa72 .elementor-heading-title {
		font-size: 34px !important;
		line-height: 1.15 !important;
	}

	.dk-news-hero .dk-news-hero__title {
		font-size: 48px;
		line-height: 50px;
	}

	/* Red de seguridad: si una palabra larga no cabe, se parte (sin guiones automáticos: Safari
	   partía también palabras cortas, como «Inte-gral»). */
	.dk-content :is(h1, h2, h3, h4, .elementor-heading-title),
	.dk-content .elementor-widget-text-editor {
		overflow-wrap: break-word;
	}

	/* Interlineado del cuerpo en proporción y no en píxeles: así un texto más grande que no
	   tiene interlineado propio no hereda 19 px y no se monta (los títulos grandes los ajusta
	   inc/elementor-mobile.php). 13/19 y 14/20, como en BeTheme. */
	body.dinamika {
		line-height: 1.46;
	}

	/* Cabecera como material translúcido (al estilo de iOS): el contenido que pasa por detrás se
	   difumina en vez de asomar en trozos alrededor de la cápsula. */
	.dk-header::before {
		content: "";
		position: absolute;
		inset: 0 0 -28px;
		z-index: -1;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.85) 60%, rgba(255, 255, 255, 0) 100%);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
	}

	body.dk-scrolled .dk-header::before {
		opacity: 1;
	}

	.dk-header__bar {
		background-color: rgba(255, 255, 255, 0.82);
		-webkit-backdrop-filter: blur(20px) saturate(180%);
		backdrop-filter: blur(20px) saturate(180%);
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 24px rgba(0, 0, 0, 0.06);
	}

	/* Respuesta inmediata al tocar (en el momento de apoyar el dedo). */
	.dk-tabbar .dk-tabbar__link:active .dk-tabbar__icon,
	.dk-header__button:active,
	.dk-sheet__link:active {
		transform: scale(0.96);
		transition: transform 0.1s ease-out;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	body.dinamika {
		line-height: 1.43;
	}
}

@media only screen and (max-width: 767px) and (prefers-reduced-transparency: reduce) {
	.dk-header__bar {
		background-color: #fff;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}

@media only screen and (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.dk-header::before,
	.dk-tabbar .dk-tabbar__link:active .dk-tabbar__icon,
	.dk-header__button:active,
	.dk-sheet__link:active {
		transition: none;
		transform: none;
	}
}

/* ==========================================================================
   3. Cabecera
   ========================================================================== */

.dk-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 30;
	width: 100%;
	font-family: var(--dk-font-body);
	pointer-events: none;
}

.admin-bar .dk-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .dk-header {
		top: 46px;
	}
}

.dk-header__bar {
	display: flex;
	align-items: center;
	margin: 24px;
	padding: 20px;
	background-color: #fff;
	border-radius: 48px;
	pointer-events: auto;
}

.dk-header__brand {
	flex: 0 0 200px;
	width: 200px;
}

.dk-header__logo {
	display: block;
	margin-left: 30px;
}

.dk-header__logo img {
	display: block;
	width: 165px;
	max-width: 100%;
	height: auto;
}

.dk-header__nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 0 10px;
}

.dk-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dk-menu > li {
	display: flex;
	margin: 0;
}

.dk-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 500;
	line-height: 22.5px;
	color: #000;
	text-decoration: none;
	border: 1px solid #444544;
	border-radius: 47px;
	transition: border-color 0.2s ease-in-out;
}

.dk-menu > li > a:visited,
.dk-menu > li > a:focus {
	color: #000;
}

.dk-menu > li > a:hover,
.dk-menu > li.current-menu-item > a,
.dk-menu > li.current-menu-ancestor > a {
	color: #000;
	border-color: var(--dk-color-orange);
	text-decoration: none;
}

/* Submenús de la cabecera (p. ej. «Casos de éxito» dentro de «Nosotros»): tarjeta blanca que se
   despliega bajo el botón al pasar el ratón o al llegar con el teclado. */
.dk-menu > li.menu-item-has-children {
	position: relative;
}

.dk-menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.dk-menu > li.menu-item-has-children:hover > a::after,
.dk-menu > li.menu-item-has-children:focus-within > a::after {
	transform: translateY(2px) rotate(45deg);
}

.dk-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 5;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background-color: #fff;
	border-radius: 24px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 4px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* Puente invisible entre el botón y la tarjeta, para que no se cierre al bajar el ratón. */
.dk-menu .sub-menu::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 12px;
}

.dk-menu > li:hover > .sub-menu,
.dk-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.dk-menu .sub-menu li {
	margin: 0;
}

.dk-menu .sub-menu a,
.dk-menu .sub-menu a:visited,
.dk-menu .sub-menu a:focus {
	display: block;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 500;
	line-height: 22.5px;
	color: #000;
	white-space: nowrap;
	text-decoration: none;
	border-radius: 16px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.dk-menu .sub-menu a:hover,
.dk-menu .sub-menu .current-menu-item > a {
	color: #000;
	background-color: rgba(240, 133, 48, 0.12);
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.dk-menu .sub-menu,
	.dk-menu > li.menu-item-has-children > a::after {
		transition: none;
	}
}

.dk-header__end {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: flex-end;
	padding: 0 5px 0 0;
}

.dk-header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	margin: 0 12px;
	padding: 0;
	color: var(--dk-color-orange);
	background: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.dk-header__burger:hover {
	color: var(--dk-color-orange);
	background: none;
}

.dk-header__burger svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dk-header__button,
.dk-header__button:visited,
.dk-header__button:focus {
	padding: 16px 24px;
	color: #fff;
	background-color: var(--dk-color-red);
	border: 0;
	border-radius: 50px;
}

.dk-header__button:hover {
	color: #fff;
	background-color: var(--dk-color-red-dark);
}

/* Hasta 1100 px el menú pasa al panel lateral (hamburguesa), como en BeTheme. */
@media only screen and (max-width: 1100px) {
	.dk-header__nav .dk-menu {
		display: none;
	}

	.dk-header__nav {
		justify-content: flex-end;
	}

	.dk-header__burger {
		display: flex;
	}
}

@media only screen and (max-width: 959px) {
	.dk-header__brand {
		flex-basis: 150px;
		width: 150px;
	}

	.dk-menu > li > a {
		padding: 8px 14px;
	}
}

@media only screen and (max-width: 767px) {
	.dk-header__bar {
		padding: 20px;
	}

	.dk-header__brand {
		flex: 1 1 auto;
		width: auto;
		max-width: 30vw;
	}

	.dk-header__logo img {
		width: 82px;
	}

	.dk-header__nav {
		flex: 1 1 auto;
		padding: 0 10px 0 0;
	}

	.dk-header__burger {
		width: 20px;
		height: 20px;
	}

	.dk-header__end {
		padding: 0;
	}

	.dk-header__button,
	.dk-header__button:visited,
	.dk-header__button:focus {
		padding: 8px 16px;
		font-size: 14px;
		line-height: 16.8px;
	}
}

/* Menú lateral (BeTheme: «menu sidebar» a la derecha, 350 px, fondo oscuro). */
.dk-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
}

.dk-offcanvas.is-open {
	visibility: visible;
	pointer-events: auto;
}

.dk-offcanvas__overlay {
	position: absolute;
	inset: 0;
	background: transparent;
}

.dk-offcanvas__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 350px;
	max-width: 100%;
	height: 100%;
	padding: 60px 0;
	overflow-y: auto;
	background-color: #242423;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.dk-offcanvas.is-open .dk-offcanvas__panel {
	transform: translateX(0);
}

.dk-offcanvas__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	font-family: var(--dk-font-body);
	font-size: 20px;
	line-height: 30px;
	color: var(--dk-color-orange);
	background: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.dk-offcanvas__close:hover {
	color: var(--dk-color-orange);
	background: none;
}

.dk-offcanvas__panel > nav {
	width: 100%;
}

.dk-menu--offcanvas {
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
	width: 100%;
}

.dk-menu--offcanvas > li > a,
.dk-menu--offcanvas > li > a:visited,
.dk-menu--offcanvas > li > a:focus {
	justify-content: center;
	padding: 8px 20px;
	font-size: 24px;
	line-height: 30px;
	color: #fff;
	text-align: center;
	border: 0;
	border-radius: 0;
}

/* En el menú lateral los subelementos van debajo de su elemento, un poco más pequeños. */
.dk-menu--offcanvas > li {
	flex-direction: column;
}

.dk-menu--offcanvas > li.menu-item-has-children > a::after {
	display: none;
}

.dk-menu--offcanvas .sub-menu {
	position: static;
	min-width: 0;
	margin: -4px 0 6px;
	padding: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: none;
}

.dk-menu--offcanvas .sub-menu::before {
	display: none;
}

.dk-menu--offcanvas .sub-menu a,
.dk-menu--offcanvas .sub-menu a:visited,
.dk-menu--offcanvas .sub-menu a:focus {
	padding: 4px 20px;
	font-size: 18px;
	line-height: 26px;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
	white-space: normal;
	background: none;
}

.dk-menu--offcanvas .sub-menu a:hover,
.dk-menu--offcanvas .sub-menu .current-menu-item > a {
	color: var(--dk-color-yellow);
	background: none;
}

.dk-menu--offcanvas > li.current-menu-item > a,
.dk-menu--offcanvas > li.current-menu-ancestor > a {
	color: #fff;
	border: 0;
}

.dk-menu--offcanvas > li > a:hover {
	color: var(--dk-color-yellow);
	border: 0;
}

body.dk-menu-open {
	overflow: hidden;
}

/* Barra de navegación inferior (móvil y tableta, < 960 px) y paneles que suben desde abajo. */
:root {
	--dk-tabbar-height: 64px;
	--dk-tabbar-gap: 12px;
	--dk-tabbar-space: calc(var(--dk-tabbar-height) + var(--dk-tabbar-gap) * 2 + env(safe-area-inset-bottom, 0px));
}

.dk-tabbar,
.dk-sheet {
	display: none;
}

@media only screen and (max-width: 959px) {
	/* Con barra inferior no hace falta la hamburguesa. */
	body:has(.dk-tabbar) .dk-header__burger {
		display: none;
	}

	.dk-tabbar {
		position: fixed;
		right: var(--dk-tabbar-gap);
		bottom: calc(var(--dk-tabbar-gap) + env(safe-area-inset-bottom, 0px));
		left: var(--dk-tabbar-gap);
		z-index: 9998;
		display: block;
		max-width: 560px;
		margin: 0 auto;
		padding: 6px;
		background-color: rgba(36, 36, 35, 0.97);
		border-radius: 22px;
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
		-webkit-backdrop-filter: saturate(140%) blur(14px);
		backdrop-filter: saturate(140%) blur(14px);
	}

	.dk-tabbar__list {
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		gap: 2px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.dk-tabbar__item {
		margin: 0;
		padding: 0;
	}

	.dk-tabbar .dk-tabbar__link,
	.dk-tabbar .dk-tabbar__link:visited,
	.dk-tabbar .dk-tabbar__link:hover,
	.dk-tabbar .dk-tabbar__link:focus {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		width: 100%;
		height: var(--dk-tabbar-height);
		margin: 0;
		padding: 0 2px;
		font-family: var(--dk-font-body);
		font-size: 10.5px;
		line-height: 1.1;
		font-weight: 600;
		letter-spacing: -0.01em;
		text-align: center;
		text-decoration: none;
		color: rgba(255, 255, 255, 0.74);
		background: none;
		border: 0;
		border-radius: 16px;
		box-shadow: none;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
		transition: color 0.2s ease, background-color 0.2s ease;
	}

	.dk-tabbar .dk-tabbar__link:focus-visible {
		outline: 2px solid var(--dk-color-orange);
		outline-offset: -2px;
	}

	.dk-tabbar__label {
		white-space: nowrap;
		letter-spacing: -0.02em;
	}

	.dk-tabbar__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 28px;
		border-radius: 14px;
		transition: background-color 0.2s ease, color 0.2s ease;
	}

	.dk-tabbar__icon svg {
		display: block;
		width: 22px;
		height: 22px;
	}

	.dk-tabbar .is-current .dk-tabbar__link,
	.dk-tabbar .is-open .dk-tabbar__link {
		color: var(--dk-color-orange);
	}

	.dk-tabbar .is-current .dk-tabbar__icon,
	.dk-tabbar .is-open .dk-tabbar__icon {
		background-color: rgba(240, 133, 48, 0.18);
	}

	.dk-tabbar .is-highlight .dk-tabbar__icon {
		color: #fff;
		background-color: var(--dk-color-red);
	}

	.dk-tabbar .is-highlight .dk-tabbar__link {
		color: #fff;
	}

	.dk-sheet {
		position: fixed;
		inset: 0;
		z-index: 9997;
		display: block;
		visibility: hidden;
		transition: visibility 0s linear 0.35s;
	}

	.dk-sheet.is-open {
		visibility: visible;
		transition: none;
	}

	.dk-sheet__overlay {
		position: absolute;
		inset: 0;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.dk-sheet.is-open .dk-sheet__overlay {
		opacity: 1;
	}

	.dk-sheet__panel {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		max-width: 584px;
		max-height: calc(100% - 60px);
		margin: 0 auto;
		padding: 10px 20px calc(var(--dk-tabbar-space) + 8px);
		overflow-y: auto;
		font-family: var(--dk-font-body);
		background-color: #242423;
		background-image: radial-gradient(circle at 100% 0, rgba(240, 133, 48, 0.16), transparent 55%);
		border-radius: 28px 28px 0 0;
		box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.3);
		transform: translateY(100%);
		transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
	}

	.dk-sheet.is-open .dk-sheet__panel {
		transform: translateY(0);
	}

	.dk-sheet__handle {
		display: block;
		width: 40px;
		height: 4px;
		margin: 0 auto 14px;
		background-color: rgba(255, 255, 255, 0.25);
		border-radius: 2px;
	}

	.dk-sheet__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 16px;
	}

	.dk-sheet__title {
		margin: 0;
		font-family: "Playfair Display";
		font-size: 26px;
		line-height: 1.2;
		color: #fff;
	}

	.dk-sheet .dk-sheet__close,
	.dk-sheet .dk-sheet__close:hover,
	.dk-sheet .dk-sheet__close:focus {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0;
		color: #fff;
		background-color: rgba(255, 255, 255, 0.08);
		border: 0;
		border-radius: 50%;
		box-shadow: none;
		cursor: pointer;
	}

	.dk-sheet__close svg {
		width: 20px;
		height: 20px;
	}

	.dk-sheet__list {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.dk-sheet__item {
		margin: 0 0 10px;
	}

	.dk-sheet__link,
	.dk-sheet__link:visited,
	.dk-sheet__link:hover {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 12px 14px;
		font-size: 17px;
		line-height: 1.3;
		font-weight: 500;
		color: #fff;
		text-decoration: none;
		background-color: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.06);
		border-radius: 18px;
		transition: background-color 0.2s ease, border-color 0.2s ease;
	}

	.dk-sheet__link:active,
	.dk-sheet__item.is-current .dk-sheet__link {
		background-color: rgba(240, 133, 48, 0.12);
		border-color: rgba(240, 133, 48, 0.5);
	}

	.dk-sheet__icon {
		display: flex;
		flex: 0 0 44px;
		align-items: center;
		justify-content: center;
		height: 44px;
		color: var(--dk-color-orange);
		background-color: rgba(240, 133, 48, 0.16);
		border-radius: 14px;
	}

	.dk-sheet__icon svg {
		width: 24px;
		height: 24px;
	}

	.dk-sheet__label {
		flex: 1 1 auto;
	}

	.dk-sheet__arrow {
		display: flex;
		color: rgba(255, 255, 255, 0.45);
	}

	.dk-sheet__arrow svg {
		width: 20px;
		height: 20px;
	}

	/* Espacio para que la barra no tape el pie ni el botón de WhatsApp. */
	body:has(.dk-tabbar) .dk-footer {
		padding-bottom: calc(20px + var(--dk-tabbar-space));
	}

	body:has(.dk-tabbar) .wa__btn_popup {
		right: 18px;
		bottom: calc(var(--dk-tabbar-space) + 4px);
	}

	body:has(.dk-tabbar) .wa__popup_chat_box {
		right: 18px;
		bottom: calc(var(--dk-tabbar-space) + 76px);
	}

	body:has(.dk-tabbar) .elementor-fixed {
		transform: translateY(calc(-1 * var(--dk-tabbar-space) + 20px));
	}

	body.dk-sheet-open .wa__btn_popup,
	body.dk-sheet-open .wa__popup_chat_box,
	body.dk-sheet-open .elementor-fixed {
		opacity: 0;
		pointer-events: none;
	}
}

/* ==========================================================================
   4. Pie de página
   ========================================================================== */

.dk-footer {
	padding-top: 120px;
	font-family: var(--dk-font-body);
	color: #bababa;
	background-color: #fff;
}

.dk-footer > .dk-wrap {
	display: flow-root;
}

.dk-footer__cols {
	display: flex;
	align-items: stretch;
}

.dk-footer__card {
	display: flex;
	flex-direction: column;
	width: calc(50% - 20px);
	padding: 50px 38px 50px;
	border: 4px solid #333533;
	border-radius: 32px;
	box-shadow: 8px 8px 0 0 #333533;
}

.dk-footer__card--social {
	margin-right: 20px;
}

/* Como en BeTheme, la tarjeta derecha mide 20 px más (se desplaza sin encogerse). */
.dk-footer__card--contact {
	flex-shrink: 0;
	width: 50%;
	margin-left: 20px;
}

.dk-footer__item {
	margin: 0 12px 40px;
}

.dk-footer__title {
	margin: 0;
	font-family: "Playfair Display";
	font-size: 44px;
	line-height: 48px;
	letter-spacing: -1px;
	color: var(--dk-color-dark);
}

.dk-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	margin: 0 12px 40px;
	padding: 0;
	list-style: none;
}

.dk-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	color: #fff;
	background-color: var(--dk-color-dark);
	border-radius: 100%;
	transition: color 0.2s ease-in-out;
}

.dk-footer__social a:hover {
	color: var(--dk-color-orange);
	text-decoration: none;
}

.dk-footer__social svg {
	display: block;
	width: 20px;
	height: 20px;
}

.dk-footer__divider {
	height: 1px;
	margin: 10px 12px 50px;
	background-color: var(--dk-color-dark);
}

.dk-footer__menus {
	display: flex;
}

.dk-footer__menus > nav {
	flex: 1 1 0;
	min-width: 0;
	margin: 0 12px 40px;
}

.dk-footer__menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dk-footer__menu a,
.dk-footer__menu a:visited,
.dk-footer__menu a:focus {
	display: block;
	padding: 10px 0;
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	color: var(--dk-color-dark);
	text-align: left;
}

.dk-footer__menu a:hover {
	color: var(--dk-color-orange);
	text-decoration: none;
}

.dk-footer__box,
.dk-footer__box:visited,
.dk-footer__box:focus {
	display: flex;
	align-items: flex-start;
	margin: 0 12px 10px;
	padding: 30px;
	color: var(--dk-color-dark);
	border: 1px solid var(--dk-color-dark);
	border-radius: 24px;
	text-decoration: none;
}

.dk-footer__box:hover {
	color: var(--dk-color-dark);
	text-decoration: none;
}

.dk-footer__box-num {
	flex: 0 0 auto;
	margin-right: 20px;
	font-family: "DM Sans";
	font-size: 16px;
	line-height: 20px;
	color: var(--dk-color-dark);
}

.dk-footer__box-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Sin margen propio: usa el de los h6 (15 px), que en Inicio anula Tailwind, como en BeTheme. */
.dk-footer__box-label {
	display: block;
	font-family: var(--dk-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 20px;
	color: var(--dk-color-dark);
}

.dk-footer__box-text {
	display: block;
	font-size: 24px;
	line-height: 34px;
	color: var(--dk-color-dark);
}

.dk-footer__cta {
	margin: 20px 12px 40px;
}

.dk-footer__cta .dk-button,
.dk-footer__cta .dk-button:visited,
.dk-footer__cta .dk-button:focus {
	width: 100%;
	color: #fff;
	background-color: var(--dk-color-orange);
	border: 0;
	border-radius: 30px;
}

.dk-footer__cta .dk-button:hover {
	color: #fff;
	background-color: var(--dk-color-orange-dark);
}

.dk-footer__copy {
	display: flow-root;
	margin: 50px 12px 40px;
	color: #4f4f4f;
	text-align: center;
}

.dk-footer__copy a {
	color: #4f4f4f;
}

.dk-footer__copy a:hover {
	color: var(--dk-color-yellow);
}

@media only screen and (max-width: 959px) {
	.dk-footer {
		padding-top: 80px;
	}

	.dk-footer__cols {
		flex-direction: column;
	}

	.dk-footer__card {
		width: 100%;
		padding: 40px 28px 0;
	}

	.dk-footer__card--social {
		margin: 0 0 40px;
	}

	.dk-footer__card--contact {
		margin: 0;
	}

	.dk-footer__social {
		gap: 0 12px;
		margin-bottom: 12px;
	}

	.dk-footer__social a {
		width: 48px;
		height: 48px;
	}

	.dk-footer__social svg {
		width: 16px;
		height: 16px;
	}

	.dk-footer__divider {
		margin: 28px 12px 50px;
	}

	.dk-footer__box-num {
		font-size: 14px;
	}

	.dk-footer__box-text {
		font-size: 20px;
		line-height: 30px;
	}

	.dk-footer__title {
		font-size: 44px;
	}
}

@media only screen and (max-width: 767px) {
	.dk-footer {
		padding: 60px 0 20px;
	}

	.dk-footer .dk-wrap {
		max-width: none;
	}

	.dk-footer__title {
		line-height: 29px;
	}

	.dk-footer__box,
	.dk-footer__box:visited,
	.dk-footer__box:focus {
		padding: 20px;
	}

	.dk-footer__box-num {
		margin-right: 10px;
	}

	.dk-footer__box-label {
		margin-bottom: 10px;
		font-size: 13px;
		line-height: 19px;
	}

	.dk-footer__box-text {
		font-size: 1.2em;
		line-height: 26px;
		/* En BeTheme el correo se salía del recuadro en móvil; aquí se parte. */
		overflow-wrap: anywhere;
	}
}

/* ==========================================================================
   5. Shortcode [highlight] (subrayado de color detrás de cada palabra)
   ========================================================================== */

.highlight {
	padding: 1px 7px;
	border-radius: 3px;
}

.highlight:not(.highlight-underline) {
	color: #fff;
}

.highlight.highlight-underline {
	position: relative;
	padding: 0;
	border-radius: unset;
	background-color: unset !important;
	background-image: unset;
}

.highlight.highlight-underline .highlight-word {
	position: relative;
	z-index: 1;
}

.highlight.highlight-underline .highlight-word .highlight-border {
	position: absolute;
	left: 0;
	bottom: 20%;
	z-index: -1;
	width: calc(100% + 0.3em);
	height: 15%;
	margin-left: -0.15em;
	background: #0089f7;
	transform: skew(-12deg) translateX(0);
}

/* ==========================================================================
   6. Entradas del blog
   ========================================================================== */

.dk-hero {
	padding: 170px 0 90px;
	background-image: var(--dk-hero-bg, none);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: contain;
}

.dk-hero__inner {
	padding: 0 12px 40px;
}

.dk-hero__title {
	margin: 0;
	font-family: "Playfair Display";
	font-size: 43px;
	line-height: 48px;
	letter-spacing: -1px;
	text-align: center;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.dk-hero__title { font-size: 37px; line-height: 41px; }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.dk-hero__title { font-size: 32px; line-height: 36px; }
}

@media only screen and (max-width: 479px) {
	.dk-hero__title { font-size: 26px; line-height: 29px; }
}

.dk-post__item {
	margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
	.dk-post__item {
		margin-bottom: 20px;
	}
}

.dk-post {
	display: flex;
	align-items: flex-start;
}

.dk-post__main {
	width: 66.666%;
	padding: 0 12px;
}

.dk-post__aside {
	width: 33.333%;
	padding: 0 12px 0 62px;
}

.dk-post__aside p {
	margin: 0;
}

.dk-post .dk-love--single {
	display: flex;
	align-items: center;
	color: var(--dk-color-text);
	text-decoration: none;
}

.dk-love--single .dk-love__icon {
	width: 30px;
	height: 25px;
	margin-right: 20px;
	padding: 0 2.5px;
}

.dk-love--single .dk-love__text {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 8px;
}

.dk-post__image img {
	display: inline;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

.dk-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 3px;
	padding: 0;
	list-style: none;
}

.dk-tags a,
.dk-tags a:visited {
	display: block;
	padding: 2px 10px;
	color: var(--dk-color-orange);
	background-color: rgba(0, 0, 0, 0.1);
}

.dk-tags a:hover {
	color: var(--dk-color-link-hover);
	text-decoration: none;
}

/* Contenido de la entrada (bloques de WordPress). */
.dk-post__content {
	margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
	.dk-post__content {
		margin-bottom: 0;
	}
}

.dk-post__content figure {
	margin: 0 0 15px;
}

.dk-post__content img {
	height: auto;
}

/* Iconos del «Me gusta». */
.dk-love {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.dk-love__icon {
	position: relative;
	display: inline-block;
	color: var(--dk-color-orange);
}

.dk-love__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.dk-love__icon svg + svg {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}

.dk-love:hover .dk-love__icon svg + svg,
.dk-love.is-loved .dk-love__icon svg + svg {
	opacity: 1;
}

/* Flechas fijas a la entrada anterior / siguiente (BeTheme «fixed-nav»). */
.dk-fixed-nav {
	position: fixed;
	bottom: 40px;
	z-index: 90;
	display: flex;
	height: 80px;
	color: var(--dk-color-orange);
	text-decoration: none;
}

.dk-fixed-nav--prev {
	left: 0;
}

.dk-fixed-nav--next {
	right: 0;
	flex-direction: row-reverse;
}

.dk-fixed-nav:hover {
	text-decoration: none;
}

.dk-fixed-nav__arrow {
	position: relative;
	z-index: 92;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 80px;
	color: #fff;
	background-color: var(--dk-color-orange);
}

.dk-fixed-nav__arrow svg {
	width: 15px;
	height: 15px;
}

.dk-fixed-nav__photo {
	position: relative;
	z-index: 92;
	display: block;
	width: 80px;
	height: 80px;
	overflow: hidden;
	background-color: #eee;
}

.dk-fixed-nav__photo img {
	width: 80px;
	height: 80px;
	object-fit: cover;
}

.dk-fixed-nav__desc {
	position: absolute;
	top: 0;
	z-index: 91;
	width: 220px;
	min-height: 80px;
	padding: 6px 15px;
	color: var(--dk-color-orange);
	background-color: #fff;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.dk-fixed-nav--prev .dk-fixed-nav__desc {
	left: -220px;
}

.dk-fixed-nav--next .dk-fixed-nav__desc {
	right: -220px;
}

.dk-fixed-nav--prev:hover .dk-fixed-nav__desc {
	left: 115px;
	opacity: 1;
}

.dk-fixed-nav--next:hover .dk-fixed-nav__desc {
	right: 115px;
	opacity: 1;
}

.dk-fixed-nav__title {
	display: block;
	margin: 0 0 3px;
	font-weight: 500;
	font-size: 16px;
	line-height: 20px;
}

.dk-fixed-nav__date {
	display: block;
	font-size: 14px;
	line-height: 20px;
	color: #a8a8a8;
}

@media only screen and (max-width: 767px) {
	.dk-hero__inner {
		padding: 0 0 20px;
	}

	.dk-post__main {
		padding: 0;
	}

	.dk-post {
		flex-direction: column;
	}

	.dk-post__main,
	.dk-post__aside {
		width: 100%;
	}

	.dk-post__aside {
		padding: 0 0 20px 50px;
	}

	.dk-fixed-nav {
		display: none;
	}
}

/* ==========================================================================
   7. Noticias
   ========================================================================== */

.dk-news-hero {
	padding: 170px 0 0;
	background-image: var(--dk-hero-bg, none);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: contain;
}

.dk-news-hero > .dk-wrap {
	display: flex;
	flex-direction: column;
}

.dk-news-hero__kicker {
	display: flow-root;
	margin: 0 12px 40px;
	text-align: center;
}

.dk-news-hero__kicker p {
	margin: 0 0 15px;
}

.dk-news-hero__title {
	margin: 0 12px 40px;
	font-family: "Playfair Display";
	font-size: 90px;
	line-height: 71px;
	text-align: center;
}

.dk-news-hero__icon {
	margin: 90px 12px -28px;
	text-align: center;
}

.dk-news-hero__icon img {
	display: inline-block;
	width: 80px;
	vertical-align: top;
}

.dk-news {
	display: flow-root;
	margin: 70px 12px;
	padding: 0;
	list-style: none;
}

.dk-news__item {
	position: relative;
	margin: 0 0 20px;
}

.dk-news__item::after {
	content: "";
	display: block;
	clear: both;
}

.dk-news__photo {
	float: left;
	width: 30%;
	border-right: 3px solid var(--dk-color-orange);
	line-height: 0;
}

.dk-news__photo img {
	display: inline;
	width: 100%;
	height: auto;
}

.dk-news__desc {
	margin-left: 30%;
	padding: 3px 12px;
}

.dk-news__title {
	margin: 0 0 7px;
	font-family: var(--dk-font-body);
}

.dk-news__title a,
.dk-news__title a:visited {
	color: var(--dk-color-text);
}

.dk-news__title a:hover {
	color: var(--dk-color-text);
	text-decoration: underline;
}

.dk-news__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding-top: 5px;
	color: #a8a8a8;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.dk-news__footer svg {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

.dk-news__date {
	margin-right: 5px;
}

.dk-news__date svg {
	margin-right: 4px;
}

.dk-news__footer .dk-love {
	margin: 0 5px;
	color: #a8a8a8;
}

.dk-news__footer .dk-love:hover {
	text-decoration: none;
}

.dk-news__footer .dk-love__icon {
	width: 16px;
	height: 16px;
	margin-right: 8px;
}

.dk-news__comments {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 5px;
}

@media only screen and (max-width: 767px) {
	.dk-news-hero__kicker,
	.dk-news-hero__title {
		margin: 0 0 20px;
	}

	.dk-news-hero__icon {
		margin: 90px 0 -28px;
	}

	.dk-news {
		margin: 70px 0;
	}
}

/* Archivos del blog (rejilla de BeTheme) y búsqueda. ------------------------------ */

.dk-archive {
	display: flow-root;
	padding: 30px 0 0;
}

.dk-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 24px;
	margin: 87px 24px 0;
}

.dk-card {
	display: flex;
	flex-direction: column;
	background-color: #fff;
}

.dk-card__image {
	display: block;
	line-height: 0;
}

.dk-card__image img {
	width: 100%;
	height: auto;
}

.dk-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px 20px 0;
}

.dk-card__meta {
	margin: 0 0 8px;
	color: #a8a8a8;
}

.dk-card__meta svg {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 4px;
	vertical-align: -0.125em;
}

.dk-card__author {
	color: #a8a8a8;
}

.dk-card__title {
	margin: 0 0 15px;
}

.dk-card__title a,
.dk-card__title a:visited,
.dk-card__title a:hover {
	color: var(--dk-color-text);
}

.dk-card__excerpt {
	margin: 0 0 15px;
}

.dk-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: auto -20px 0;
	padding: 7px 15px;
	line-height: 30px;
	color: #a8a8a8;
	background-color: rgba(0, 0, 0, 0.02);
}

.dk-card__footer .dk-love {
	color: #a8a8a8;
}

.dk-card__footer .dk-love__icon {
	width: 16px;
	height: 16px;
	margin-right: 8px;
}

.dk-card__links {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding-left: 10px;
	border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.dk-search {
	padding: 230px 0 0;
}

.dk-search__item {
	display: flex;
	align-items: center;
	margin: 0 12px 40px;
}

.dk-search__image {
	flex: 0 0 30%;
	margin-right: 40px;
	line-height: 0;
}

.dk-search__image img {
	width: 100%;
	height: auto;
}

.dk-search__content {
	flex: 1 1 auto;
	min-width: 0;
}

.dk-search__footer {
	text-align: right;
}

.dk-search__empty {
	margin: 0 12px 40px;
	text-align: center;
}

.dk-pagination {
	margin: 40px 12px;
	text-align: center;
}

.dk-pagination .nav-links {
	display: inline-flex;
	gap: 6px;
}

.dk-pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 6px 12px;
	border: 1px solid #444544;
	border-radius: 47px;
	color: #000;
}

.dk-pagination .page-numbers.current,
.dk-pagination a.page-numbers:hover {
	border-color: var(--dk-color-orange);
	text-decoration: none;
}

@media only screen and (max-width: 959px) {
	.dk-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 767px) {
	.dk-grid {
		grid-template-columns: minmax(0, 1fr);
		margin: 40px 0 0;
	}

	.dk-search {
		padding-top: 160px;
	}

	.dk-search__item {
		flex-direction: column;
		align-items: stretch;
		margin: 0 0 40px;
	}

	.dk-search__image {
		margin: 0 0 20px;
	}
}

/* ==========================================================================
   8. Página 404
   ========================================================================== */

.dk-404 {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: 100px 0;
}

.dk-404__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 12px 0 60px;
}

.dk-404__icon {
	flex: 0 0 240px;
	color: var(--dk-color-orange);
}

.dk-404__icon svg {
	display: block;
	width: 240px;
	height: 230px;
}

.dk-404__title {
	margin: 0 0 15px;
}

.dk-404__subtitle {
	margin: 0 0 15px;
	font-family: var(--dk-font-heading);
	font-size: 24px;
	line-height: 30px;
	letter-spacing: 1px;
}

.dk-404__text {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	margin: 0;
}

@media only screen and (max-width: 767px) {
	.dk-404__inner {
		flex-direction: column;
		padding: 0;
		text-align: center;
	}

	.dk-404__icon {
		flex-basis: auto;
	}

	.dk-404__icon svg {
		width: 150px;
		height: 144px;
	}

	.dk-404__text {
		justify-content: center;
	}
}

/* ==========================================================================
   9. CSS adicional que tenía BeTheme (Opciones del tema → CSS personalizado)
   ========================================================================== */

.consultant3-texthighlight {
	background-color: #f5cb5c;
	border-radius: 48px;
	padding: 5px 8px;
}

.consultant3-custom-list {
	padding: 10px;
	border-radius: 24px;
	border: solid 1px #e8eddf;
	margin-bottom: 4px;
}
