/*
Theme Name:   Antipalomas
Theme URI:    https://antipalomas.info
Description:  Tema hijo de Divi 5 para antipalomas.info (Limptres): sistemas antipalomas en Barcelona y Cataluña. Verde azulado y naranja de la marca; Barlow Semi Condensed para títulos, Barlow para el texto.
Author:       Presencia en Internet
Template:     Divi
Version:      1.1.0
Text Domain:  antipalomas
*/

/* Colores del directorio de empresas (plugin WL Satélite) */
:root {
	--wl-acento: #1E5E57;
	--wl-tinta: #12302C;
	--wl-fondo: #FFFFFF;
	--wl-linea: #D3DDDA;
	--wl-destacado: #FFE3D3;
	--wl-gris: #EEF2F0;
	--apl-lacre-oscuro: #174A44;
	--apl-rosa: #FFE3D3;
}

/* Foco visible para quien navega con teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid #1E5E57;
	outline-offset: 2px;
}
.et-l--footer a:focus-visible,
.et_pb_section[class*="et_pb_with_background"] a.et_pb_button:focus-visible {
	outline-color: #FFE3D3;
}

/* Enlace de salto al contenido: oculto hasta que recibe el foco */
.apl-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	padding: 12px 20px;
	background: #12302C;
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}
.apl-skip-link:focus {
	left: 0;
}

/* Tablas dentro de los módulos de texto: alineadas arriba y sin desbordar en móvil */
.et_pb_text table { width: 100%; border-collapse: collapse; }
.et_pb_text .et_pb_text_inner tr th, .et_pb_text .et_pb_text_inner tr td { padding: 12px 14px; vertical-align: top; text-align: left; border-bottom: 1px solid #D3DDDA; }
.et_pb_text .et_pb_text_inner tr th { background: #12302C; color: #FFFFFF; font-weight: 600; }
.et_pb_text .et_pb_text_inner tr td { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
	.et_pb_text .et_pb_text_inner { overflow-x: auto; }
	.et_pb_text .et_pb_text_inner tr th, .et_pb_text .et_pb_text_inner tr td { padding: 8px; font-size: 15px; line-height: 1.4; }
}

/* Cabecera: el logotipo no se encoge cuando el menú es largo; en pantallas medianas el menú se compacta. */
.et-l--header .et_pb_menu__logo-wrap { flex-shrink: 0; }
@media (min-width: 981px) and (max-width: 1280px) {
	.et-l--header .et_pb_menu .et-menu > li { padding-left: 7px; padding-right: 7px; }
	.et-l--header .et_pb_menu .et-menu > li > a { font-size: 15px; }
}

/* Menú: «¿Quieres aparecer en esta web?» destacado como botón de lacre con texto blanco */
.et-l--header .et-menu > li.menu-cta { display: flex; align-items: center; padding-right: 0; }
.et-l--header .et-menu > li.menu-cta > a { background: #1E5E57; border: 2px solid #1E5E57; border-radius: 4px; color: #FFFFFF !important; font-weight: 600; opacity: 1; padding: 10px 16px !important; }
.et-l--header .et-menu > li.menu-cta > a:hover, .et-l--header .et-menu > li.menu-cta > a:focus { background: #12302C; border-color: #12302C; color: #FFFFFF !important; opacity: 1; }
.et-l--header .et_mobile_menu li.menu-cta > a { background: #1E5E57; color: #FFFFFF !important; font-weight: 600; opacity: 1; }

/* Botones: esquinas de 4 px, como una hoja en toda la web */
body #page-container .et_pb_button, body .wl-dir__filtro button, body .wl-dir__paginas a, body .wl-dir__paginas span, body .et_pb_text .wl-dir .wl-dir__contacto a.wl-dir__mas, body .et_pb_text .wl-dir .wl-dir__todas a, body .wl-fic .wl-fic__formulario button { border-radius: 4px !important; }

/* Listas de enlaces (pie y barra lateral) */
#page-container ul.apl-enlaces { list-style: none; margin: 0; padding: 0; line-height: 2; }

/* Pasos numerados (solo donde el contenido es de verdad una secuencia) */
#page-container ol.apl-pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
#page-container ol.apl-pasos li { position: relative; padding: 0 0 18px 52px; line-height: 1.55; counter-increment: paso; }
#page-container ol.apl-pasos li:last-child { padding-bottom: 0; }
ol.apl-pasos li::before { content: counter(paso); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: #FFE3D3; color: #12302C; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 19px; font-weight: 700; line-height: 36px; text-align: center; }

/* Precio de referencia grande (portada y página de precios) */
#page-container p.apl-precio { margin: 0; padding-bottom: 8px; color: #1E5E57; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
#page-container p.apl-precio small { display: block; margin: 10px 0 0; font-family: 'Barlow', sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: #12302C; }
@media (max-width: 767px) { #page-container p.apl-precio { font-size: 40px; } }

/* Directorio (plugin WL Satélite). El plugin imprime sus estilos en el cuerpo de la página; por eso estas reglas llevan «body» delante. */
body .wl-dir__ficha { border: 1px solid var(--wl-linea); border-radius: 4px; padding: 24px; }
body .wl-dir__ficha--destacada { border: 2px solid var(--wl-acento); background: #F6F8F7; }
body .wl-dir__sello, body .wl-fic .wl-fic__sello { border-radius: 6px; padding: 7px 11px; background: #FFE3D3; color: #12302C; }
body .wl-dir__filtro select { border: 2px solid var(--wl-tinta); border-radius: 4px; padding: 11px 14px; }
body .wl-dir__filtro button { padding: 11px 24px; font-weight: 600; }
body .et_pb_text .wl-dir .wl-dir__contacto a { color: var(--wl-acento); }
body .et_pb_text .wl-dir .wl-dir__contacto a.wl-dir__mas { color: #FFFFFF; }
body .wl-dir .wl-dir__nombre, body .wl-fic .wl-fic__nombre, body .wl-fic .wl-fic__seccion h2, body .wl-fic .wl-fic__caja h2, body .wl-fic .wl-fic__form h2 { font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 600; letter-spacing: 0; }
body .wl-dir .wl-dir__nombre { color: var(--wl-tinta); }
body .et_pb_text .wl-dir .wl-dir__todas a { display: inline-block; padding: 12px 22px; border: 2px solid var(--wl-tinta); color: var(--wl-tinta); font-weight: 600; text-decoration: none; }
body .et_pb_text .wl-dir .wl-dir__todas a:hover, body .et_pb_text .wl-dir .wl-dir__todas a:focus { background: var(--wl-tinta); color: #FFFFFF; }
@media (min-width: 981px) {
	body .et_pb_text .wl-dir.wl-dir--muestra ul.wl-dir__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Índice de provincias */
#page-container ul.wl-dir__indice { gap: 0 40px; line-height: 1.35; }
body .et_pb_text .wl-dir ul.wl-dir__indice a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #D3DDDA; color: var(--wl-tinta); font-weight: 600; text-decoration: none; }
body .et_pb_text .wl-dir ul.wl-dir__indice a span { flex: 0 0 auto; color: #3F4E4B; font-weight: 400; font-variant-numeric: tabular-nums; }
body .et_pb_text .wl-dir ul.wl-dir__indice a:hover, body .et_pb_text .wl-dir ul.wl-dir__indice a:focus { color: var(--wl-acento); }

/* Miniaturas del blog: el hueco es de 8:5 y las imágenes son de 3:2. Se recortan en lugar de deformarse. */
body .et_pb_post a.entry-featured-image-url img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 4px; }

/* Títulos con enlace (tarjetas): el enlace hereda el color del título */
.et_pb_heading .et_pb_module_header a, .et_pb_module_heading a { color: inherit; text-decoration: none; }
.et_pb_heading .et_pb_module_header a:hover, .et_pb_module_heading a:hover, .et_pb_module_heading a:focus { text-decoration: underline; }

/* Ficha de empresa */
body .wl-fic__logo { border-radius: 4px; }
body .wl-fic__chips li { border: 1px solid var(--wl-linea); border-radius: 4px; background: var(--wl-gris); padding: 8px 13px; }
body .wl-fic__cabecera { border-bottom-width: 2px; }
body .wl-fic__caja, body .wl-fic__form { border-radius: 4px; }
body .wl-fic .wl-fic__formulario input:not([type=checkbox]), body .wl-fic .wl-fic__formulario textarea { border-radius: 4px; }
body .wl-fic .wl-fic__formulario button { font-size: 18px; font-weight: 600; }
body .wl-fic .wl-fic__nota { border: 1px solid var(--wl-linea); border-radius: 4px; }

/* Resultados de búsqueda y archivos (plantilla por defecto de Divi): una columna, sin la barra lateral vacía y con la letra de la web */
.search #main-content .container, .archive #main-content .container { max-width: 900px; padding-top: 56px; padding-bottom: 72px; }
.search #main-content .container::before, .archive #main-content .container::before { display: none; }
.search #left-area, .archive #left-area { float: none; width: 100%; padding-right: 0; }
.search #sidebar, .archive #sidebar { display: none; }
.search #left-area .et_pb_post, .archive #left-area .et_pb_post { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #D3DDDA; }
.search #left-area .et_pb_post img, .archive #left-area .et_pb_post img { border-radius: 4px; }
.search #left-area .entry-title, .archive #left-area .entry-title { color: #12302C; font-family: 'Barlow Semi Condensed', sans-serif; font-size: 27px; font-weight: 600; line-height: 1.2; }
.search #left-area .post-meta, .search #left-area .post-meta a, .archive #left-area .post-meta, .archive #left-area .post-meta a { color: #3F4E4B; font-family: 'Barlow', sans-serif; font-size: 15px; }

/* Tableta apaisada (981 a 1099 px): el menú con el botón no cabe en una línea; se encoge el logotipo y se aprieta el menú. */
@media (min-width: 981px) and (max-width: 1099px) {
	.et-l--header .et_pb_menu__logo img { max-height: 40px !important; }
	.et-l--header .et-menu > li { padding-left: 3px !important; padding-right: 3px !important; }
	.et-l--header .et-menu > li > a { font-size: 14px !important; }
	.et-l--header .et-menu > li.menu-cta > a { padding-left: 10px !important; padding-right: 10px !important; }
}


/* ===== Lo propio de empresas-limpieza.com: la ficha del contrato y el sello de lacre ===== */

/* Fotografías: esquinas de 4 px, como el corte de una hoja. No en el pie ni en el logotipo. */
#main-content .et_pb_image .et_pb_image_wrap { border-radius: 4px; overflow: hidden; }
#main-content .et_pb_image .et_pb_image_wrap img { display: block; border-radius: 4px; }

/* La ficha: cada dato va en una hoja del expediente. Papel blanco, filete de lacre a la izquierda como el margen de
   una escritura, título en Barlow Semi Condensed y los datos con línea de puntos hasta la cifra. */
#page-container .apl-ficha { position: relative; height: 100%; margin: 0; border: 1px solid #C6D3CF; border-left: 4px solid #1E5E57; border-radius: 4px; background: #FFFFFF; color: #3F4E4B; box-shadow: 0 1px 0 #D3DDDA, 0 16px 30px -24px rgba(14, 39, 36, 0.5); }
#page-container .apl-ficha__t { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 16px 20px 14px; border-bottom: 1px solid #D3DDDA; color: #12302C; font-family: 'Barlow Semi Condensed', serif; font-size: 23px; font-weight: 600; line-height: 1.2; }
#page-container .apl-ficha__t span { flex: 0 0 auto; padding: 3px 10px; border-radius: 3px; background: #FFE3D3; color: #0E2724; font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.4; }
#page-container ul.apl-ficha__datos { list-style: none; margin: 0; padding: 6px 20px 14px; }
#page-container ul.apl-ficha__datos li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; line-height: 1.4; }
#page-container ul.apl-ficha__datos li span { display: flex; flex: 1 1 auto; align-items: baseline; gap: 10px; min-width: 0; color: #56625F; }
#page-container ul.apl-ficha__datos li span::after { content: ''; flex: 1 1 24px; min-width: 16px; border-bottom: 1px dotted #A9B8B4; transform: translateY(-4px); }
#page-container ul.apl-ficha__datos li b { flex: 0 1 auto; color: #12302C; font-family: 'Barlow Semi Condensed', serif; font-size: 19px; font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
#page-container .apl-ficha__t a { color: #12302C; text-decoration: none; }
#page-container .apl-ficha__t a:hover, #page-container .apl-ficha__t a:focus { color: #1E5E57; text-decoration: underline; text-underline-offset: 3px; }
#page-container .apl-ficha__t a::after { content: ''; position: absolute; inset: 0; }
#page-container .apl-ficha a:focus-visible { outline-color: #1E5E57; }
#page-container .apl-ficha:has(a):hover { border-color: #1E5E57; box-shadow: 0 1px 0 #D3DDDA, 0 18px 34px -22px rgba(30, 94, 87, 0.45); }

/* La marca: en la cabecera de cada página la ficha lleva en la esquina la cornisa con púas del logotipo. */
.apl-cabecera .apl-ficha::before { content: ''; position: absolute; right: -14px; top: -30px; z-index: 2; width: 84px; height: 52px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 62'%3E%3Cg fill='%23FE5A0E'%3E%3Cpolygon points='8.6,46 15.4,46 -3.0,7.9'/%3E%3Cpolygon points='21.3,46 28.1,46 14.5,6.3'/%3E%3Cpolygon points='33.9,46 40.7,46 32.2,5.3'/%3E%3Cpolygon points='46.6,46 53.4,46 50.0,5.0'/%3E%3Cpolygon points='59.3,46 66.1,46 67.8,5.3'/%3E%3Cpolygon points='71.9,46 78.7,46 85.5,6.3'/%3E%3Cpolygon points='84.6,46 91.4,46 103.0,7.9'/%3E%3C/g%3E%3Crect x='2' y='44' width='96' height='16' rx='5' fill='%231E5E57'/%3E%3C/svg%3E") no-repeat center / contain; transform: rotate(-8deg); pointer-events: none; }
#page-container .apl-cabecera .apl-ficha__t { padding-right: 76px; }
@media (max-width: 767px) { .apl-cabecera .apl-ficha::before { right: 10px; top: 12px; width: 60px; height: 37px; } }

/* Cada cuánto: una barra de 1 a 5 por sitio */
#page-container ul.apl-uso { list-style: none; margin: 0; padding: 0; }
#page-container ul.apl-uso li { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; line-height: 1.3; }
#page-container ul.apl-uso li > span { color: #12302C; font-weight: 600; }
#page-container ul.apl-uso li > i { display: block; height: 8px; border-radius: 2px; background: linear-gradient(90deg, #1E5E57 0 var(--n, 0%), #E3EAE8 var(--n, 0%) 100%); }
#page-container ul.apl-uso li > b { color: #12302C; font-family: 'Barlow Semi Condensed', serif; font-weight: 600; text-align: right; white-space: nowrap; }
.apl-n1 { --n: 20%; } .apl-n2 { --n: 40%; } .apl-n3 { --n: 60%; } .apl-n4 { --n: 80%; } .apl-n5 { --n: 100%; }
@media (max-width: 479px) { #page-container ul.apl-uso li { grid-template-columns: minmax(0, 1fr) auto; } #page-container ul.apl-uso li > i { grid-column: 1 / -1; grid-row: 2; } }

/* Listas de enlaces (pie y barra lateral) */
#page-container ul.apl-enlaces { list-style: none; margin: 0; padding: 0; line-height: 2; }

/* Lista de comprobación: la casilla de un formulario, marcada en lacre */
#page-container ul.apl-check { list-style: none; margin: 0; padding: 0; }
#page-container ul.apl-check li { position: relative; padding: 0 0 12px 34px; line-height: 1.55; }
#page-container ul.apl-check li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; box-sizing: border-box; border: 2px solid #1E5E57; border-radius: 3px; background: #FFFFFF; }
#page-container ul.apl-check li::after { content: ''; position: absolute; left: 7px; top: 6px; width: 6px; height: 11px; border: solid #1E5E57; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Los pasos: numerados como las cláusulas, con el número en Barlow Semi Condensed dentro de un círculo de lacre y unidos por
   una línea de puntos. Solo donde el contenido es de verdad una secuencia. */
#page-container ol.apl-pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
#page-container ol.apl-pasos li { position: relative; padding: 0 0 22px 60px; line-height: 1.55; counter-increment: paso; }
#page-container ol.apl-pasos li:last-child { padding-bottom: 0; }
#page-container ol.apl-pasos li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 4px; border-left: 2px dotted #C6D3CF; }
#page-container ol.apl-pasos li::before { content: counter(paso); position: absolute; left: 0; top: -6px; width: 40px; height: 40px; box-sizing: border-box; border: 2px solid #1E5E57; border-radius: 50%; background: #FFFFFF; color: #1E5E57; font-family: 'Barlow Semi Condensed', serif; font-size: 21px; font-weight: 700; line-height: 36px; text-align: center; font-variant-numeric: lining-nums; }

/* Precio de referencia grande */
#page-container p.apl-precio { color: #1E5E57; font-family: 'Barlow Semi Condensed', serif; font-size: 52px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
#page-container p.apl-precio small { font-family: 'Barlow', sans-serif; color: #12302C; }

/* Columna lateral: título y pie */
#page-container .apl-lado__t { margin: 0 0 16px; padding: 0; color: #12302C; font-family: 'Barlow Semi Condensed', serif; font-size: 23px; font-weight: 600; line-height: 1.25; }
#page-container .apl-lado__pie { margin: 12px 0 0; padding: 0; color: #3F4E4B; font-size: 14px; line-height: 1.45; }

/* Secciones oscuras: tablas, texto pequeño y barras en claro */
.apl-oscuro .et_pb_text .et_pb_text_inner tr th { background: #1E5E57; color: #FFFFFF; }
.apl-oscuro .et_pb_text .et_pb_text_inner tr td { color: #E3EAE8; border-bottom-color: rgba(255, 255, 255, 0.18); }
.apl-oscuro .et_pb_text small { color: #C6D3CF; }
#page-container .apl-oscuro ul.apl-uso li > span, #page-container .apl-oscuro ul.apl-uso li > b { color: #FFFFFF; }
#page-container .apl-oscuro ul.apl-uso li > i { background: linear-gradient(90deg, #FE5A0E 0 var(--n, 0%), rgba(255, 255, 255, 0.16) var(--n, 0%) 100%); }

/* Cabecera de cada página: una fachada con la cornisa protegida con púas y los alféizares con hilos. Detrás de la ficha,
   a la derecha; en el móvil baja y se aclara. */
.apl-cabecera { position: relative; overflow: hidden; }
.apl-cabecera::before { content: ''; position: absolute; right: -40px; top: 50%; width: 640px; height: 443px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Crect x='150' y='70' width='380' height='300' fill='%23FFFFFF' stroke='%23D3DDDA'/%3E%3Crect x='200' y='196' width='80' height='118' fill='%23EEF2F0' stroke='%23D3DDDA'/%3E%3Crect x='190' y='314' width='100' height='9' fill='%23C6D3CF'/%3E%3Cpath d='M196 314v-11M284 314v-11' stroke='%231E5E57' stroke-width='2'/%3E%3Cpath d='M196 306h88' stroke='%231E5E57' stroke-width='1.4'/%3E%3Crect x='330' y='196' width='80' height='118' fill='%23EEF2F0' stroke='%23D3DDDA'/%3E%3Crect x='320' y='314' width='100' height='9' fill='%23C6D3CF'/%3E%3Cpath d='M326 314v-11M414 314v-11' stroke='%231E5E57' stroke-width='2'/%3E%3Cpath d='M326 306h88' stroke='%231E5E57' stroke-width='1.4'/%3E%3Crect x='460' y='196' width='80' height='118' fill='%23EEF2F0' stroke='%23D3DDDA'/%3E%3Crect x='450' y='314' width='100' height='9' fill='%23C6D3CF'/%3E%3Cpath d='M456 314v-11M544 314v-11' stroke='%231E5E57' stroke-width='2'/%3E%3Cpath d='M456 306h88' stroke='%231E5E57' stroke-width='1.4'/%3E%3Crect x='128' y='66' width='402' height='18' fill='%23D3DDDA'/%3E%3Crect x='138' y='84' width='392' height='8' fill='%23C6D3CF'/%3E%3Cg fill='%23FE5A0E'%3E%3Cpolygon points='164.2,64 167.8,64 155.7,34.8'/%3E%3Cpolygon points='164.2,64 167.8,64 166.0,33.0'/%3E%3Cpolygon points='164.2,64 167.8,64 176.3,34.8'/%3E%3Cpolygon points='190.2,64 193.8,64 181.7,34.8'/%3E%3Cpolygon points='190.2,64 193.8,64 192.0,33.0'/%3E%3Cpolygon points='190.2,64 193.8,64 202.3,34.8'/%3E%3Cpolygon points='216.2,64 219.8,64 207.7,34.8'/%3E%3Cpolygon points='216.2,64 219.8,64 218.0,33.0'/%3E%3Cpolygon points='216.2,64 219.8,64 228.3,34.8'/%3E%3Cpolygon points='242.2,64 245.8,64 233.7,34.8'/%3E%3Cpolygon points='242.2,64 245.8,64 244.0,33.0'/%3E%3Cpolygon points='242.2,64 245.8,64 254.3,34.8'/%3E%3Cpolygon points='268.2,64 271.8,64 259.7,34.8'/%3E%3Cpolygon points='268.2,64 271.8,64 270.0,33.0'/%3E%3Cpolygon points='268.2,64 271.8,64 280.3,34.8'/%3E%3Cpolygon points='294.2,64 297.8,64 285.7,34.8'/%3E%3Cpolygon points='294.2,64 297.8,64 296.0,33.0'/%3E%3Cpolygon points='294.2,64 297.8,64 306.3,34.8'/%3E%3Cpolygon points='320.2,64 323.8,64 311.7,34.8'/%3E%3Cpolygon points='320.2,64 323.8,64 322.0,33.0'/%3E%3Cpolygon points='320.2,64 323.8,64 332.3,34.8'/%3E%3Cpolygon points='346.2,64 349.8,64 337.7,34.8'/%3E%3Cpolygon points='346.2,64 349.8,64 348.0,33.0'/%3E%3Cpolygon points='346.2,64 349.8,64 358.3,34.8'/%3E%3Cpolygon points='372.2,64 375.8,64 363.7,34.8'/%3E%3Cpolygon points='372.2,64 375.8,64 374.0,33.0'/%3E%3Cpolygon points='372.2,64 375.8,64 384.3,34.8'/%3E%3Cpolygon points='398.2,64 401.8,64 389.7,34.8'/%3E%3Cpolygon points='398.2,64 401.8,64 400.0,33.0'/%3E%3Cpolygon points='398.2,64 401.8,64 410.3,34.8'/%3E%3Cpolygon points='424.2,64 427.8,64 415.7,34.8'/%3E%3Cpolygon points='424.2,64 427.8,64 426.0,33.0'/%3E%3Cpolygon points='424.2,64 427.8,64 436.3,34.8'/%3E%3Cpolygon points='450.2,64 453.8,64 441.7,34.8'/%3E%3Cpolygon points='450.2,64 453.8,64 452.0,33.0'/%3E%3Cpolygon points='450.2,64 453.8,64 462.3,34.8'/%3E%3Cpolygon points='476.2,64 479.8,64 467.7,34.8'/%3E%3Cpolygon points='476.2,64 479.8,64 478.0,33.0'/%3E%3Cpolygon points='476.2,64 479.8,64 488.3,34.8'/%3E%3Cpolygon points='502.2,64 505.8,64 493.7,34.8'/%3E%3Cpolygon points='502.2,64 505.8,64 504.0,33.0'/%3E%3Cpolygon points='502.2,64 505.8,64 514.3,34.8'/%3E%3C/g%3E%3Crect x='150' y='62' width='370' height='4' fill='%231E5E57'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.apl-cabecera > .et_pb_row { position: relative; z-index: 1; }
@media (max-width: 980px) { .apl-cabecera::before { top: auto; bottom: -190px; right: -150px; width: 430px; height: 298px; transform: none; opacity: 0.7; } }

/* La banda del final, con la marca de las púas en relieve */
.apl-lacre { position: relative; overflow: hidden; }
.apl-lacre::before { content: ''; position: absolute; right: -40px; top: 50%; width: 460px; height: 318px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.14'%3E%3Cpolygon points='266.0,237 284.0,237 218.8,96.9'/%3E%3Cpolygon points='301.0,237 319.0,237 272.0,90.9'/%3E%3Cpolygon points='336.0,237 354.0,237 325.9,87.2'/%3E%3Cpolygon points='371.0,237 389.0,237 380.0,86.0'/%3E%3Cpolygon points='406.0,237 424.0,237 434.1,87.2'/%3E%3Cpolygon points='441.0,237 459.0,237 488.0,90.9'/%3E%3Cpolygon points='476.0,237 494.0,237 541.2,96.9'/%3E%3C/g%3E%3Crect x='250' y='234' width='260' height='40' rx='12' fill='%23FFFFFF' fill-opacity='0.14'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.apl-lacre > .et_pb_row { position: relative; z-index: 1; }
.apl-lacre a:focus-visible { outline-color: #FFFFFF; }
@media (max-width: 767px) { .apl-lacre::before { right: -170px; width: 360px; height: 249px; } }

/* Títulos y cifras en Barlow Semi Condensed: números de forro, que se alinean con el texto */
h1, h2, h3, .et_pb_module_header { font-variant-numeric: lining-nums; }

/* 1.0.1: cuadrícula de provincias y tablas */
#page-container .apl-provincias { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 36px; margin-top: 8px; }
#page-container .apl-ca h3 { font-family: 'Barlow Semi Condensed', sans-serif;  font-weight: 700; font-size: 15px; line-height: 1.3; color: #12302C; padding: 0 0 7px; margin: 0 0 4px; border-bottom: 3px solid #FE5A0E; }
#page-container .apl-ca ul { list-style: none; margin: 0; padding: 0; }
#page-container .apl-ca li { list-style: none; margin: 0; padding: 0; }
#page-container .apl-ca li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid #E3EAE8; color: #12302C; text-decoration: none; }
#page-container .apl-ca li a span { font-weight: 600; }
#page-container .apl-ca li a b { font-weight: 400; color: #56625F; font-size: 0.9em; white-space: nowrap; font-variant-numeric: tabular-nums; }
#page-container .apl-ca li a:hover span, #page-container .apl-ca li a:focus span { color: #1E5E57; text-decoration: underline; text-underline-offset: 3px; }
#page-container .et_pb_text table { width: 100%; border: 0; border-collapse: collapse; margin: 0 0 14px; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
#page-container .et_pb_text table th { background: #12302C; color: #FFFFFF; text-align: left; padding: 10px 12px; border: 0; font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 600; font-size: 14px; }
#page-container .et_pb_text table td { padding: 9px 12px; border: 0; border-bottom: 1px solid #E3EAE8; vertical-align: top; }
#page-container .et_pb_text table tbody tr:nth-child(even) td { background: #F6F8F7; }
#page-container .et_pb_text table a { color: #1E5E57; }
@media (max-width: 767px) { #page-container .et_pb_text table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; } #page-container .apl-provincias { grid-template-columns: 1fr; gap: 22px; } }

/* 1.0.2: cuadrícula de provincias sobre fondo oscuro */
#page-container .apl-oscuro .apl-ca h3 { color: #FFFFFF; }
#page-container .apl-oscuro .apl-ca li a { color: #FFFFFF; border-bottom-color: rgba(255, 255, 255, 0.16); text-decoration: none; }
#page-container .apl-oscuro .apl-ca li a span { color: #FFFFFF; text-decoration: none; }
#page-container .apl-oscuro .apl-ca li a b { color: #C6D3CF; }
#page-container .apl-oscuro .apl-ca li a:hover span, #page-container .apl-oscuro .apl-ca li a:focus span { color: #FE5A0E; text-decoration: underline; text-underline-offset: 3px; }
