/* ==========================================================================
   Bomberos Voluntarios de Calima el Darién – estilos del tema hijo
   Diseño oscuro con acento rojo institucional (#af2018).

   Colores base, tipografía (Outfit), barra superior, cabecera, menú y pie
   se configuran en Apariencia > Personalizar (GeneratePress). Este archivo
   contiene los componentes propios del sitio.

    1. Variables e iconos
    2. Base
    3. Barra superior
    4. Cabecera y menú
    5. Encabezado interno (GP Elements – Page Hero)
    6. Portada
    7. Componentes del contenido
    8. Archivo, búsqueda y barra lateral
    9. Formulario PQRSD
   10. Pie de página
   11. Página 404
   ========================================================================== */

/* 1. Variables e iconos
   ========================================================================== */
:root {
	--bd-red: #e85a4d;          /* Tono claro de #af2018 para texto e iconos sobre fondo oscuro (AA). */
	--bd-red-dark: #af2018;     /* Color institucional: fondos, botones y bordes. */
	--bd-red-darker: #8e1a13;
	--bd-yellow: #fee62b;       /* Amarillo del logo: solo detalles (iconos sobre rojo, viñetas, trazos, foco). */
	--bd-bg: #1f1f1f;
	--bd-bg-alt: #191919;
	--bd-surface: #262626;
	--bd-card: #141414;
	--bd-line: #333333;
	--bd-text: #c7c7c7;
	--bd-muted: #a3a3a3;
	--bd-radius: 6px;
	--bd-wrap: 1200px;

	/* Iconos (trazos SVG usados como máscara; toman el color del texto). */
	--i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
	--i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
	--i-fire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E");
	--i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--i-aid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M12 8v8M8 12h8'/%3E%3C/svg%3E");
	--i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E");
	--i-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
	--i-extinguisher: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5'/%3E%3Cpath d='M9 18h8M18 3h-3M11 3a6 6 0 0 0-6 6v11M5 13h4'/%3E%3Cpath d='M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z'/%3E%3C/svg%3E");
	--i-siren: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18v-6a5 5 0 1 1 10 0v6'/%3E%3Cpath d='M5 21a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1z'/%3E%3Cpath d='M21 12h1M18.5 4.5 18 5M2 12h1M12 2v1M4.93 4.93l.71.71'/%3E%3C/svg%3E");
	--i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E");
	--i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.48 12.89 17 22l-5-3-5 3 1.52-9.11'/%3E%3C/svg%3E");
	--i-arrow-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
}

/* Cualquier elemento con clase bd-ico-* muestra el icono antes de su contenido. */
[class*="bd-ico-"]::before {
	content: "";
	display: inline-block;
	flex: none;
	width: var(--bd-ico-size, 1.2em);
	height: var(--bd-ico-size, 1.2em);
	background-color: var(--bd-ico-color, currentColor);
	-webkit-mask: var(--bd-ico) center / contain no-repeat;
	mask: var(--bd-ico) center / contain no-repeat;
}

.bd-ico-phone { --bd-ico: var(--i-phone); }
.bd-ico-mail { --bd-ico: var(--i-mail); }
.bd-ico-pin { --bd-ico: var(--i-pin); }
.bd-ico-clock { --bd-ico: var(--i-clock); }
.bd-ico-fire { --bd-ico: var(--i-fire); }
.bd-ico-shield { --bd-ico: var(--i-shield); }
.bd-ico-aid { --bd-ico: var(--i-aid); }
.bd-ico-check { --bd-ico: var(--i-check); }
.bd-ico-users { --bd-ico: var(--i-users); }
.bd-ico-extinguisher { --bd-ico: var(--i-extinguisher); }
.bd-ico-siren { --bd-ico: var(--i-siren); }
.bd-ico-doc { --bd-ico: var(--i-doc); }
.bd-ico-award { --bd-ico: var(--i-award); }
.bd-ico-arrow-up { --bd-ico: var(--i-arrow-up); }

/* 2. Base
   ========================================================================== */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--bd-red-dark);
	color: #fff;
}

a:focus-visible,
.button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--bd-yellow);
	outline-offset: 3px;
}

.bd-accent {
	color: var(--bd-red);
}

/* Títulos que subieron de nivel para respetar la jerarquía (h3→h2, h4→h3) conservan el
   tamaño de su nivel original (valores de GeneratePress: h3 22px/20px en móvil, h4 24px).
   Si se cambia la tipografía de h3 o h4 en el personalizador, actualizar aquí. */
.bd-h3 {
	font-size: 22px;
}

.bd-h4 {
	font-size: 24px;
}

@media (max-width: 768px) {
	.bd-h3 {
		font-size: 20px;
	}
}

.bd-kicker {
	margin-bottom: 0.9rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--bd-red);
}

/* Trazo amarillo (color del logo) antes de los antetítulos. */
.bd-kicker::before,
.bd-hero__kicker::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 2px;
	margin-right: 0.8em;
	vertical-align: middle;
	background: var(--bd-yellow);
}

.bd-title {
	margin-bottom: 0.6em;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.bd-lead {
	color: var(--bd-muted);
}

.button,
button:not(.menu-toggle):not(.dropdown-menu-toggle),
input[type="submit"] {
	padding: 0.95em 2em;
	border-radius: 40px;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.button.bd-button--outline {
	padding: calc(0.95em - 2px) calc(2em - 2px);
	border: 2px solid #fff;
	background: transparent;
	color: #fff;
}

.button.bd-button--outline:hover,
.button.bd-button--outline:focus {
	background: #fff;
	color: var(--bd-card);
}

.button.bd-button--light {
	background: #fff;
	color: var(--bd-card);
}

.button.bd-button--light:hover,
.button.bd-button--light:focus {
	background: var(--bd-card);
	color: #fff;
}

.bd-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 2px solid #fff;
	border-radius: 50%;
	font-size: 0;
	color: #fff;
	transition: background-color 0.2s, border-color 0.2s;
}

.bd-circle::before {
	--bd-ico-size: 20px;
}

.bd-circle:hover,
.bd-circle:focus {
	border-color: var(--bd-red-dark);
	background: var(--bd-red-dark);
	color: #fff;
}

.bd-wrap {
	max-width: var(--bd-wrap);
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}

.bd-section {
	padding: 90px 0;
}

.bd-section-head {
	max-width: 720px;
	margin: 0 auto 3rem;
	text-align: center;
}

.bd-section-head--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 3rem;
	align-items: end;
	max-width: none;
	text-align: left;
}

.bd-section-head > *:last-child,
.bd-section-head--split .bd-title {
	margin-bottom: 0;
}

.bd-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem;
}

.bd-actions--center {
	justify-content: center;
}

@media (max-width: 768px) {
	.bd-section {
		padding: 60px 0;
	}

	.bd-section-head--split {
		grid-template-columns: 1fr;
	}
}

/* 3. Barra superior
   ========================================================================== */
.top-bar {
	font-size: 13px;
	line-height: 1.4;
}

.top-bar .inside-top-bar {
	padding-top: 5px;
	padding-bottom: 5px;
}

.top-bar .widget {
	width: 100%;
	margin: 0;
	padding: 0;
}

.bd-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
}

.top-bar .bd-topbar p,
.top-bar .bd-topbar li {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.4;
}

.bd-topbar__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-topbar__info li + li {
	margin-left: 1.25rem;
	padding-left: 1.25rem;
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.bd-topbar a,
.bd-topbar span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #fff;
	text-decoration: none;
}

.bd-topbar a:hover {
	text-decoration: underline;
}

.bd-topbar [class*="bd-ico-"]::before {
	--bd-ico-size: 14px;
	--bd-ico-color: var(--bd-yellow);
}

@media (max-width: 768px) {
	.bd-topbar {
		justify-content: center;
	}

	.bd-topbar__address {
		display: none;
	}
}

@media (max-width: 480px) {
	.bd-topbar__info li + li {
		margin-left: 0.75rem;
		padding-left: 0.75rem;
	}

	.bd-topbar__info li:last-child a {
		font-size: 0;
		gap: 0;
	}
}

/* 4. Cabecera y menú
   ========================================================================== */
.site-header {
	border-bottom: 1px solid #2a2a2a;
}

.site-logo .header-image {
	width: auto;
	max-height: 86px;
}

.main-navigation .main-nav ul ul {
	border-top: 3px solid var(--bd-red-dark);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Escritorio (>1200px; hasta ahí se usa el panel lateral de GP Menu Plus): línea roja bajo
   la opción activa y al pasar el mouse; submenú más ancho. 12px = espacio de las opciones
   del menú (GP > Espaciado > Menú). */
@media (min-width: 1201px) {
	.main-navigation .main-nav > ul > li > a {
		position: relative;
	}

	.main-navigation .main-nav > ul > li > a::after {
		content: "";
		position: absolute;
		right: 12px;
		bottom: 22px;
		left: 12px;
		height: 2px;
		background: var(--bd-red);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s ease;
	}

	.main-navigation .main-nav > ul > li:hover > a::after,
	.main-navigation .main-nav > ul > li.sfHover > a::after,
	.main-navigation .main-nav > ul > li > a:focus-visible::after,
	.main-navigation .main-nav > ul > li[class*="current-menu-"] > a::after {
		transform: scaleX(1);
	}

	.main-navigation .main-nav ul ul {
		width: 260px;
		padding: 6px 0;
	}

	.main-navigation .main-nav ul ul li a {
		padding: 12px 20px;
		border-left: 2px solid transparent;
		line-height: 1.4;
		transition: border-color 0.2s, background-color 0.2s, color 0.2s;
	}

	.main-navigation .main-nav ul ul li a:hover,
	.main-navigation .main-nav ul ul li a:focus {
		border-left-color: var(--bd-red);
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-navigation .main-nav > ul > li > a::after {
		transition: none;
	}
}

.header-widget {
	flex-shrink: 0;
	margin-left: 1.25rem;
}

.header-widget .widget {
	margin: 0;
	padding: 0;
}

.bd-header-cta {
	margin: 0;
}

.bd-header-cta .button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85em 1.5em;
	border-radius: 4px;
}

.bd-header-cta .button::before {
	--bd-ico-size: 16px;
	--bd-ico-color: var(--bd-yellow);
}

.bd-header-cta .button {
	white-space: nowrap;
}

/* Portátiles pequeños (1025–1200px, ya con menú móvil): logo a la izquierda y, a la derecha
   en la misma fila, "Emergencias 119", la lupa y "Menú" (GP pone el widget a ancho completo). */
@media (min-width: 1025px) and (max-width: 1200px) {
	.inside-header .header-widget {
		order: 1;
		flex-basis: auto;
		margin-left: auto;
	}

	.inside-header .mobile-menu-control-wrapper {
		order: 2;
		margin-left: 12px;
	}

	.inside-header #site-navigation {
		order: 3;
	}
}

/* Lupa del buscador en el menú (GeneratePress: navegación > búsqueda en ventana modal). */
.main-navigation .menu-bar-items .menu-bar-item > a {
	padding-right: 10px;
	padding-left: 10px;
}

.main-navigation .menu-bar-items .menu-bar-item > a:hover,
.main-navigation .menu-bar-items .menu-bar-item > a:focus {
	color: var(--bd-red);
}

/* Ventana de búsqueda: campo y botón en una sola caja; borde rojo al escribir. */
#gp-search .search-modal-form {
	background: transparent;
}

#gp-search .search-modal-fields {
	display: flex;
	overflow: hidden;
	border: 1px solid #333;
	border-radius: var(--bd-radius);
	background: #141414;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
	transition: border-color 0.2s, box-shadow 0.2s;
}

#gp-search .search-modal-fields:focus-within {
	border-color: var(--bd-red-dark);
	box-shadow: 0 0 0 1px var(--bd-red-dark), 0 24px 60px rgba(0, 0, 0, 0.6);
}

#gp-search .search-modal-form .search-field,
#gp-search .search-modal-form .search-field:focus {
	flex: 1;
	min-width: 0;
	padding: 18px 20px;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 1.05rem;
	color: #fff;
}

#gp-search .search-modal-fields button,
#gp-search .search-modal-fields button:focus,
#gp-search .search-modal-fields button:active {
	flex: none;
	padding: 0 22px;
	border: 0;
	border-radius: 0;
	background: var(--bd-red-dark);
	color: #fff;
}

#gp-search .search-modal-fields button:hover {
	background: var(--bd-red-darker);
	color: #fff;
}

#gp-search .search-modal-fields button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

@media (max-width: 1024px) {
	.header-widget {
		display: none;
	}
}

/* Móvil, tablet y portátiles pequeños (≤1200px, GP Menu Plus): botón "Menú" y panel lateral desde la derecha.
   El panel usa el menú principal (ubicación "Menú fuera de lienzo") y el widget clásico
   de la zona "Off Canvas Panel" con el llamado de emergencias. */
body {
	--gp-slideout-width: 300px;
}

@media (max-width: 1200px) {
	.main-navigation .menu-toggle {
		padding: 0 16px;
		border: 1px solid #333;
		border-radius: 4px;
		font-size: 0.8rem;
		line-height: 44px;
		letter-spacing: 0.12em;
		transition: border-color 0.2s, color 0.2s;
	}

	.main-navigation .menu-toggle:hover,
	.main-navigation .menu-toggle:focus {
		border-color: var(--bd-red-dark);
		background: transparent;
	}
}

.slideout-navigation .inside-navigation {
	padding-bottom: 32px;
}

.slideout-navigation button.slideout-exit {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	padding: 20px 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 1.1rem;
	line-height: 1;
	color: #fff;
}

.slideout-navigation button.slideout-exit:hover,
.slideout-navigation button.slideout-exit:focus {
	background: transparent;
	color: var(--bd-red);
}

.slideout-navigation.main-navigation .main-nav ul li a {
	padding: 16px 26px;
	border-bottom: 1px solid #1c1c1c;
	font-size: 0.85rem;
	line-height: 1.3;
	letter-spacing: 0.06em;
}

.slideout-navigation.main-navigation .main-nav > ul > li:first-child > a {
	border-top: 1px solid #1c1c1c;
}

.slideout-navigation.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	box-shadow: inset 3px 0 0 var(--bd-red);
}

.slideout-navigation.main-navigation .main-nav ul ul li a {
	padding-left: 42px;
	font-size: 0.8rem;
}

.slideout-navigation .slideout-widget {
	margin: 28px 22px 0;
	padding: 0;
}

.bd-offcanvas-cta {
	padding: 20px;
	border: 1px solid #222;
	border-top: 3px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: #141414;
}

.bd-offcanvas-cta .bd-kicker {
	margin-bottom: 0.8rem;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
}

.slideout-navigation .bd-offcanvas-cta__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	padding: 0.9em 1em;
	font-size: 0.85rem;
	color: #fff;
}

.bd-offcanvas-cta__btn::before {
	--bd-ico-size: 18px;
	--bd-ico-color: var(--bd-yellow);
}

.slideout-navigation .bd-offcanvas-contact {
	display: grid;
	gap: 0.8rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
}

.slideout-navigation .bd-offcanvas-contact li {
	--bd-ico-size: 16px;
	--bd-ico-color: var(--bd-red);
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 0.7rem;
	float: none;
	margin: 0;
}

.bd-offcanvas-contact li::before {
	grid-row: span 2;
}

.bd-offcanvas-contact span {
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--bd-muted);
}

.slideout-navigation .bd-offcanvas-contact a {
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	color: #fff;
}

/* 5. Encabezado interno (GP Elements – Page Hero)
   ========================================================================== */
.page-hero.bd-hero {
	padding: 110px 0 80px;
	border-bottom: 4px solid var(--bd-red-dark);
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.78) 55%, rgba(17, 17, 17, 0.5) 100%),
		#171717 var(--bd-hero-img, url(../../../../uploads/2020/11/boca_de_incendio.jpg)) center / cover no-repeat;
	color: #fff;
}

/* --bd-hero-img: foto destacada de los artículos del blog (inc/blog.php). */

.bd-hero .inside-page-hero {
	padding-right: 20px;
	padding-left: 20px;
}

.bd-hero__kicker {
	margin-bottom: 0.6rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--bd-red);
}

.bd-hero__title {
	max-width: 900px;
	margin: 0;
	font-size: clamp(1.7rem, 3.2vw, 2.6rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.bd-hero__kicker a {
	color: inherit;
	text-decoration: none;
}

.bd-hero__kicker a:hover,
.bd-hero__kicker a:focus {
	color: #fff;
}

.bd-hero__lead {
	max-width: 640px;
	margin-top: 1rem;
	font-size: 1.05rem;
	color: #d6d6d6;
}

.bd-hero__lead p:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.page-hero.bd-hero {
		padding: 60px 0 40px;
	}
}

/* 6. Portada
   ========================================================================== */

/* Hero */
.bd-home-hero {
	padding: 100px 0 160px;
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.55) 38%, rgba(17, 17, 17, 0.96) 62%),
		#171717 url(../../../../uploads/2024/09/Bomberos-Voluntarios-Calima-el-Darien.jpg) 15% top / cover no-repeat;
}

.bd-home-hero__content {
	max-width: 560px;
	margin-left: auto;
}

.bd-home-hero__title {
	margin-bottom: 0.45em;
	font-size: clamp(2.4rem, 5vw, 3.8rem);
	font-weight: 800;
	line-height: 1.08;
	color: #fff;
}

.bd-home-hero__text {
	max-width: 470px;
	margin-bottom: 2rem;
	color: var(--bd-text);
}

@media (max-width: 900px) {
	.bd-home-hero {
		padding: 70px 0 115px;
		background:
			linear-gradient(180deg, rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.94)),
			#171717 url(../../../../uploads/2024/09/Bomberos-Voluntarios-Calima-el-Darien.jpg) center top / cover no-repeat;
	}

	.bd-home-hero__content {
		margin-left: 0;
	}
}

/* Franja roja que monta sobre el hero: --bd-overlap es la mitad de su altura en cada
   tamaño (escritorio 1 fila ≈ 101px, tablet 2 filas ≈ 165px, móvil 2x2 con icono arriba ≈ 189px), para que quede 50% sobre el
   hero y 50% sobre la sección siguiente. Si cambia su contenido, recalcular. */
.bd-features {
	--bd-overlap: 51px;
	position: relative;
	z-index: 2;
	margin-top: calc(var(--bd-overlap) * -1);
	background: linear-gradient(to bottom, transparent var(--bd-overlap), #000 var(--bd-overlap));
}

.bd-features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	padding: 30px 36px;
	background: var(--bd-red-dark);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.bd-feature {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0;
	line-height: 1.3;
	color: #fff;
}

.bd-feature::before {
	--bd-ico-size: 40px;
	--bd-ico-color: var(--bd-yellow);
}

.bd-feature__text small {
	display: block;
	font-size: 0.8rem;
}

.bd-feature__text a,
.bd-feature__text strong {
	display: block;
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.bd-features {
		--bd-overlap: 83px;
	}

	.bd-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.bd-features {
		--bd-overlap: 95px;
	}

	/* Móvil: 2 columnas con iconos y texto más compactos para que quepan. */
	.bd-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.1rem 0.9rem;
		padding: 18px 16px;
	}

	/* Icono encima del texto: el texto usa todo el ancho y no se parte, así el alto
	   de la franja es el mismo en cualquier móvil y --bd-overlap sigue siendo la mitad. */
	.bd-feature {
		flex-direction: column;
		align-items: center;
		gap: 0.45rem;
		text-align: center;
	}

	.bd-feature::before {
		--bd-ico-size: 26px;
	}

	.bd-feature__text small {
		font-size: 0.7rem;
	}

	.bd-feature__text a,
	.bd-feature__text strong {
		font-size: 0.95rem;
	}
}

/* Quiénes somos */
.bd-about {
	background: #000;
}

.bd-about__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 4rem;
	align-items: center;
}

.bd-points {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 1.8rem 0 2rem;
}

.bd-point__title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.4rem;
	font-size: 1.1rem;
	color: #fff;
}

.bd-point__title::before {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--bd-yellow);
}

.bd-point p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--bd-muted);
}

.bd-about__media {
	position: relative;
}

.bd-about__media > p:first-child {
	margin: 0;
}

.bd-about__media img {
	display: block;
	width: 100%;
	height: 480px;
	object-fit: cover;
	object-position: 25% center;
}

.bd-badge {
	position: absolute;
	right: -20px;
	bottom: -24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	width: 150px;
	height: 150px;
	margin: 0;
	padding: 12px;
	background: var(--bd-red-dark);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
	line-height: 1.2;
	text-align: center;
	color: #fff;
}

.bd-badge::before {
	--bd-ico-size: 30px;
	--bd-ico-color: var(--bd-yellow);
}

.bd-badge strong {
	font-size: 1.9rem;
	line-height: 1;
}

.bd-badge small {
	font-size: 0.8rem;
}

@media (max-width: 900px) {
	.bd-about__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.bd-about__media img {
		height: 360px;
	}

	.bd-badge {
		right: 16px;
	}
}

@media (max-width: 600px) {
	.bd-points {
		grid-template-columns: 1fr;
	}
}

/* Cifras */
.bd-stats {
	padding: 70px 0;
	background:
		linear-gradient(rgba(14, 14, 14, 0.86), rgba(14, 14, 14, 0.86)),
		#141414 url(../../../../uploads/2020/10/bomberos.jpg) center / cover no-repeat;
}

.bd-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.bd-stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: #fff;
}

.bd-stat::before {
	--bd-ico-size: 46px;
	--bd-ico-color: var(--bd-yellow);
}

.bd-stat__num {
	margin: 0;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.bd-stat__label {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: var(--bd-muted);
}

@media (max-width: 900px) {
	.bd-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.bd-stats__grid {
		grid-template-columns: 1fr;
	}
}

/* Servicios (tarjetas) */
.bd-services {
	background: #000;
}

.bd-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.bd-card {
	display: flex;
	flex-direction: column;
}

.bd-card__media img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.bd-card__body {
	position: relative;
	flex: 1;
	margin: -70px 18px 0;
	padding: 26px 24px 58px;
	border-bottom: 3px solid transparent;
	background: var(--bd-card);
	transition: border-color 0.2s;
}

.bd-card:hover .bd-card__body {
	border-color: var(--bd-red-dark);
}

.bd-card__title {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 0.8rem;
	font-size: 1.15rem;
	line-height: 1.25;
}

.bd-card__title::before {
	--bd-ico-size: 44px;
	--bd-ico-color: var(--bd-red);
}

.bd-card__title a {
	color: #fff;
	text-decoration: none;
}

.bd-card__title a:hover,
.bd-card__title a:focus {
	color: var(--bd-red);
}

.bd-card__body p {
	margin: 0;
	font-size: 0.93rem;
	color: var(--bd-muted);
}

.bd-card__arrow {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #2a2a2a;
	font-size: 0;
	color: #fff;
	transition: background-color 0.2s;
}

.bd-card__arrow::before {
	--bd-ico-size: 18px;
}

.bd-card__arrow:hover,
.bd-card__arrow:focus {
	background: var(--bd-red-dark);
	color: #fff;
}

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

@media (max-width: 600px) {
	.bd-cards {
		grid-template-columns: 1fr;
	}
}

/* Línea de ayuda */
.bd-help {
	padding: 100px 0;
	background:
		linear-gradient(90deg, rgba(14, 14, 14, 0.55), rgba(14, 14, 14, 0.88)),
		#141414 url(../../../../uploads/2020/10/bomberos_calima.jpg) center / cover no-repeat;
}

.bd-help__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.bd-help__card {
	padding: 40px;
	border-top: 4px solid var(--bd-red-dark);
	background: rgb(0 0 0 / 78%);
}

.bd-help__card h3 {
	font-size: 1.5rem;
	color: #fff;
}

.bd-contacts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
	margin-top: 1.8rem;
	padding-top: 1.8rem;
	border-top: 1px solid var(--bd-line);
}

.bd-contact {
	display: flex;
	gap: 0.8rem;
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.6;
}

.bd-contact::before {
	--bd-ico-size: 34px;
	--bd-ico-color: var(--bd-yellow);
}

.bd-contact strong {
	display: block;
	color: #fff;
}

.bd-contact a {
	color: var(--bd-text);
	text-decoration: none;
}

.bd-contact a:hover {
	color: var(--bd-red);
}

.bd-help__text p {
	color: #ddd;
}

@media (max-width: 900px) {
	.bd-help__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
}

@media (max-width: 480px) {
	.bd-help__card {
		padding: 28px 22px;
	}

	.bd-contacts {
		grid-template-columns: 1fr;
	}
}

/* Equipo */
.bd-team {
	background: #000;
}

.bd-members {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	margin-bottom: 2.5rem;
}

.bd-member {
	display: grid;
	grid-template-columns: 140px 1fr;
	background: var(--bd-card);
}

.bd-member__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	margin: 0;
	border-right: 3px solid var(--bd-red-dark);
	background: linear-gradient(135deg, #2e2e2e, #1a1a1a);
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--bd-red);
}

.bd-member__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 26px;
}

.bd-member__name {
	margin-bottom: 0.25rem;
	font-size: 1.15rem;
	color: #fff;
}

.bd-member__role {
	margin-bottom: 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bd-red);
}

.bd-member__links {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.bd-member__links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--bd-red-dark);
	font-size: 0;
	color: #fff;
}

.bd-member__links a::before {
	--bd-ico-size: 16px;
}

.bd-member__links a:hover,
.bd-member__links a:focus {
	background: #fff;
	color: var(--bd-red-dark);
}

@media (max-width: 900px) {
	.bd-members {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bd-member {
		grid-template-columns: 96px 1fr;
	}

	.bd-member__avatar {
		font-size: 1.8rem;
	}
}

/* Misión (cita) */
.bd-quote {
	padding: 110px 0;
	background:
		linear-gradient(rgba(14, 14, 14, 0.84), rgba(14, 14, 14, 0.84)),
		#141414 url(../../../../uploads/2020/11/Bomberos_Calima_el_Darien_Lago_Calima.jpg) center / cover no-repeat;
	text-align: center;
}

.bd-quote blockquote {
	max-width: 820px;
	margin: 0 auto 1.8rem;
	padding: 0;
	border: 0;
	font-size: 1.2rem;
	font-style: italic;
	line-height: 1.7;
	color: #e6e6e6;
}

.bd-quote__author {
	margin: 0;
	font-weight: 700;
	color: #fff;
}

.bd-quote__role {
	margin: 0;
	font-size: 0.85rem;
	color: var(--bd-red);
}

/* Transparencia (tarjetas tipo blog) */
.bd-news {
	background: #000;
}

.bd-news__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1.15fr;
	gap: 28px;
	align-items: stretch;
}

.bd-post {
	display: flex;
	flex-direction: column;
	border-bottom: 3px solid var(--bd-red-dark);
	background: var(--bd-card);
}

.bd-post__media img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.bd-post__body {
	padding: 22px 24px 26px;
}

.bd-post__meta {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bd-red);
}

.bd-post__title {
	margin-bottom: 0.6rem;
	font-size: 1.12rem;
	line-height: 1.3;
}

.bd-post__title a {
	color: #fff;
	text-decoration: none;
}

.bd-post__title a:hover {
	color: var(--bd-red);
}

.bd-post__body p {
	font-size: 0.92rem;
	color: var(--bd-muted);
}

.bd-post__more {
	font-weight: 600;
	color: #fff;
	text-decoration: none;
}

.bd-post__more:hover {
	color: var(--bd-red);
}

.bd-news__intro {
	align-self: center;
	padding-left: 1rem;
}

@media (max-width: 1024px) {
	.bd-news__grid {
		grid-template-columns: 1fr 1fr;
	}

	.bd-news__intro {
		grid-column: 1 / -1;
		grid-row: 1;
		padding-left: 0;
	}
}

@media (max-width: 600px) {
	.bd-news__grid {
		grid-template-columns: 1fr;
	}
}

/* Blog: últimas entradas (shortcode [bd_blog], marcado en inc/blog.php). Las tarjetas del
   archivo del blog usan estas mismas clases (sección 8). */
.bd-blog {
	padding-block: 70px;
	background: var(--bd-bg);
}

.bd-blog .bd-section-head {
	margin-bottom: 2rem;
}

.bd-blog__all {
	justify-self: end;
	margin: 0;
}

.bd-blog__all a {
	padding-bottom: 4px;
	border-bottom: 2px solid var(--bd-red-dark);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	transition: color 0.2s;
}

.bd-blog__all a::after {
	content: " →";
	color: var(--bd-yellow);
}

.bd-blog__all a:hover,
.bd-blog__all a:focus {
	color: var(--bd-red);
}

@media (max-width: 768px) {
	.bd-blog__all {
		justify-self: start;
	}
}

.bd-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.bd-post--blog .bd-post__media img {
	height: 180px;
}

.bd-post--blog .bd-post__body {
	padding: 18px 22px 22px;
}

.bd-post--blog .bd-post__body p:not(.bd-post__meta) {
	margin-bottom: 1rem;
}

.bd-post--blog {
	position: relative;
	transition: transform 0.2s, box-shadow 0.2s;
}

.bd-post--blog .bd-post__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.bd-post--blog .bd-post__meta,
.bd-blog-archive .bd-post__meta {
	color: var(--bd-red);
}

.bd-post--blog .bd-post__title a::after,
.bd-blog-archive .generate-columns .entry-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bd-post--blog .bd-post__more,
.bd-blog-archive .bd-post__more {
	margin-top: auto;
	font-weight: 600;
	color: #fff;
}

.bd-post--blog .bd-post__more::after,
.bd-blog-archive .bd-post__more::after {
	content: " →";
	color: var(--bd-yellow);
}

.bd-post--blog:hover,
.bd-blog-archive .generate-columns .inside-article:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(0 0 0 / 45%);
}

.bd-post--blog:hover .bd-post__title a,
.bd-blog-archive .generate-columns .inside-article:hover .entry-title a {
	color: var(--bd-red);
}

.bd-post--blog:focus-within,
.bd-blog-archive .generate-columns .inside-article:focus-within {
	outline: 2px solid var(--bd-yellow);
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.bd-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.bd-blog-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bd-post--blog,
	.bd-blog-archive .generate-columns .inside-article {
		transition: none;
	}
}

/* Llamado rojo de emergencias */
.bd-cta-band {
	padding: 0 0 90px;
	background: #000;
}

.bd-cta-band__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	overflow: hidden;
	background: var(--bd-red-dark);
}

.bd-cta-band__content {
	padding: 56px 50px;
	color: #fff;
}

.bd-cta-band__kicker {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.8rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.bd-cta-band__kicker::before {
	--bd-ico-size: 34px;
	--bd-ico-color: var(--bd-yellow);
}

.bd-cta-band__title {
	margin-bottom: 0.5em;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	color: #fff;
}

.bd-cta-band__content p {
	color: #fff;
}

.bd-cta-band__media {
	position: relative;
	min-height: 300px;
}

.bd-cta-band__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 20% center;
	clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 900px) {
	.bd-cta-band__inner {
		grid-template-columns: 1fr;
	}

	.bd-cta-band__content {
		padding: 40px 28px;
	}

	.bd-cta-band__media {
		min-height: 220px;
	}

	.bd-cta-band__media img {
		clip-path: none;
	}
}

/* 7. Componentes del contenido
   ========================================================================== */

/* Columnas */
.bd-cols {
	display: grid;
	grid-template-columns: repeat(var(--bd-cols, 2), minmax(0, 1fr));
	gap: 2rem;
	margin-bottom: 1.5em;
}

.bd-cols--2 { --bd-cols: 2; }
.bd-cols--3 { --bd-cols: 3; }
.bd-cols--4 { --bd-cols: 4; }

.bd-col > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.bd-cols {
		grid-template-columns: 1fr;
	}
}

/* Acordeones (details/summary) */
.bd-toggle {
	margin-bottom: 0.75rem;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius);
	background: #1c1c1c;
	transition: border-color 0.2s;
}

.bd-toggle[open] {
	border-color: var(--bd-red-dark);
}

.bd-toggle summary {
	position: relative;
	padding: 1rem 3rem 1rem 1.2rem;
	font-weight: 600;
	list-style: none;
	color: #fff;
	cursor: pointer;
}

.bd-toggle summary::-webkit-details-marker {
	display: none;
}

.bd-toggle summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 1rem;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--bd-red);
	transform: translateY(-50%);
}

.bd-toggle[open] summary::after {
	content: "\2212";
}

.bd-toggle__content {
	padding: 0 1.2rem 1.1rem;
}

.bd-toggle__content > *:last-child {
	margin-bottom: 0;
}

/* Llamados (antes módulo CTA de Divi) */
.bd-cta {
	margin-bottom: 1.5em;
	padding: 1.6rem;
	border-left: 4px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: #1c1c1c;
}

.bd-cta__title {
	margin-bottom: 0.5em;
}

.bd-cta__lead,
.bd-cta > *:last-child {
	margin-bottom: 0;
}

/* Directorio de funcionarios (mismo patrón que el equipo de la portada: .bd-member) */
.bd-directory {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 1.5em;
}

.bd-team-member {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	background: var(--bd-card);
	transition: transform 0.2s, box-shadow 0.2s;
}

.bd-team-member:hover {
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
	transform: translateY(-3px);
}

.bd-team-member__avatar,
.bd-team-member__photo {
	border-right: 3px solid var(--bd-red-dark);
}

.bd-team-member__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2e2e2e, #1a1a1a);
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--bd-red);
}

/* Por si más adelante se agrega una foto real en lugar de las iniciales. */
.bd-team-member__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bd-team-member__info {
	padding: 22px 24px;
}

.bd-team-member__rank {
	margin-bottom: 0.25rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bd-muted);
}

.bd-team-member__name {
	margin-bottom: 0.35rem;
	font-size: 1.15rem;
	line-height: 1.3;
	color: #fff;
}

.bd-team-member__position {
	margin-bottom: 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--bd-red);
}

.entry-content .bd-team-member__contact {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--bd-line);
	font-size: 0.875rem;
	list-style: none;
}

.bd-team-member__contact li {
	--bd-ico-size: 15px;
	--bd-ico-color: var(--bd-red);
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
	overflow-wrap: anywhere;
}

.bd-team-member__contact li::before {
	margin-top: 0.2em;
}

.bd-team-member__contact a {
	text-decoration: none;
	color: var(--bd-text);
}

.bd-team-member__contact a:hover,
.bd-team-member__contact a:focus {
	text-decoration: underline;
	color: #fff;
}

.bd-team-member__info > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.bd-directory {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bd-team-member {
		grid-template-columns: 1fr;
	}

	.bd-team-member__avatar {
		justify-content: flex-start;
		padding: 14px 20px;
		border-right: 0;
		border-bottom: 3px solid var(--bd-red-dark);
		font-size: 1.5rem;
	}

	.bd-team-member__info {
		padding: 18px 20px;
	}
}

/* Botones, pasos numerados, tablas y citas */
.bd-back {
	justify-content: center;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bd-line);
}

.bd-step {
	margin-bottom: 0.25em;
	font-size: 2.3rem;
	font-weight: 800;
	text-align: center;
	color: var(--bd-red);
}

.entry-content table,
.entry-content th,
.entry-content td {
	border-color: var(--bd-line);
}

.entry-content th {
	background: #1c1c1c;
	color: #fff;
}

.entry-content blockquote {
	border-left: 4px solid var(--bd-yellow);
	color: #e6e6e6;
}

/* Imágenes, videos, mapas y PDF */
.entry-content img.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.entry-content iframe {
	max-width: 100%;
	border: 0;
}

.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"] {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.bd-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* 8. Archivo, búsqueda y barra lateral
   ========================================================================== */
.archive .site-main > article,
.search .site-main > article,
.blog .site-main > article {
	margin-bottom: 24px;
	padding: 28px 30px;
	border-left: 4px solid var(--bd-red-dark);
	background: #1c1c1c;
}

.archive .inside-article,
.search .inside-article,
.blog .inside-article {
	padding: 0;
}

.entry-meta {
	font-size: 0.85rem;
}

.sidebar .widget {
	border-top: 3px solid var(--bd-red-dark);
}

.nav-links .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 0.45em 0.8em;
	background: #1c1c1c;
	text-align: center;
	text-decoration: none;
	color: #fff;
}

.nav-links .page-numbers.current,
.nav-links a.page-numbers:hover {
	background: var(--bd-red-dark);
	color: #fff;
}

/* Blog: archivo en tarjetas (columnas de GP Premium) y artículos (marcado en inc/blog.php) */
.bd-blog-archive .generate-columns-container {
	display: flex;
	flex-wrap: wrap;
	margin-left: -28px;
}

.bd-blog-archive .generate-columns {
	display: flex;
	flex-direction: column;
	margin-bottom: 28px;
	padding-left: 28px;
}

/* GP separa las entradas del archivo con padding-bottom en todas menos la última (desigualaba las tarjetas). */
.bd-blog-archive.one-container .generate-columns-container .generate-columns.post:not(:last-child) {
	padding-bottom: 0;
}

.bd-blog-archive .generate-columns .inside-article {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	height: auto; /* GP usa height:100%, que no llena la columna estirada */
	padding: 0 0 26px;
	border-bottom: 3px solid var(--bd-red-dark);
	background: var(--bd-card);
	transition: transform 0.2s, box-shadow 0.2s;
}

.bd-blog-archive .generate-columns .post-image {
	order: -1;
	margin: 0;
}

.bd-blog-archive .generate-columns .post-image img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.bd-blog-archive .generate-columns .entry-header {
	padding: 22px 24px 0;
}

.bd-blog-archive .generate-columns .entry-title {
	margin-bottom: 0.6rem;
	font-size: 1.12rem;
	line-height: 1.3;
}

.bd-blog-archive .generate-columns .entry-summary {
	margin: 0 0 1.2rem;
	padding: 0 24px;
}

.bd-blog-archive .generate-columns .entry-summary p {
	font-size: 0.92rem;
	color: var(--bd-muted);
}

.bd-blog-archive .generate-columns .bd-post__meta {
	margin-bottom: 0.5rem;
}

.bd-blog-archive .generate-columns .bd-post__more {
	padding: 0 24px;
}

.bd-blog-post .site-main {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.bd-blog-post .entry-content {
	font-size: 1.06rem;
	line-height: 1.8;
}

.bd-blog-post .entry-content > p:first-child {
	font-size: 1.2rem;
	line-height: 1.7;
	color: #fff;
}

.bd-blog-post .entry-content h2 {
	margin-top: 2.8rem;
}

.bd-blog-post .entry-content h2::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin-bottom: 1rem;
	background: var(--bd-red-dark);
}

.bd-blog-post .entry-content h3 {
	margin-top: 2rem;
}

.bd-blog-post .entry-content figure {
	margin: 2.2rem 0;
}

.bd-blog-post .entry-content figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--bd-radius);
}

.bd-blog-cta {
	margin-top: 3rem;
	padding: 2rem 2.2rem;
	border-left: 4px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: var(--bd-card);
}

.bd-blog-cta__title {
	margin-bottom: 0.6rem;
	font-size: 1.5rem;
}

.bd-blog-cta p:not(.bd-kicker) {
	color: var(--bd-muted);
}

.bd-blog-cta .bd-actions {
	margin: 1.4rem 0 0;
}

@media (max-width: 600px) {
	.bd-blog-cta {
		padding: 1.5rem 1.3rem;
	}
}

/* Entradas individuales: categoría, navegación y comentarios (marcado en inc/entradas.php) */
.single footer.entry-meta {
	display: grid;
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--bd-line);
	font-size: 0.95rem;
}

.single .entry-meta .gp-icon {
	display: none;
}

.single .cat-links,
.single .tags-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.bd-meta-label {
	margin-right: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bd-muted);
}

.single .cat-links a,
.single .tags-links a {
	display: inline-block;
	padding: 0.35em 1.1em;
	border: 1px solid var(--bd-line);
	border-radius: 40px;
	background: var(--bd-card);
	font-size: 0.85rem;
	text-decoration: none;
	color: #fff;
	transition: background-color 0.2s, border-color 0.2s;
}

.single .cat-links a:hover,
.single .cat-links a:focus,
.single .tags-links a:hover,
.single .tags-links a:focus {
	border-color: var(--bd-red-dark);
	background: var(--bd-red-dark);
	color: #fff;
}

.single .post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
}

.single .post-navigation .nav-previous,
.single .post-navigation .nav-next {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	padding: 1.3rem 1.5rem;
	border: 1px solid var(--bd-line);
	border-left: 4px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: var(--bd-card);
	transition: border-color 0.2s, transform 0.2s;
}

.single .post-navigation .nav-next {
	grid-column: 2;
	border-right: 4px solid var(--bd-red-dark);
	border-left-width: 1px;
	text-align: right;
}

.single .post-navigation .nav-previous:hover,
.single .post-navigation .nav-next:hover {
	border-color: var(--bd-red-dark);
	transform: translateY(-2px);
}

.single .post-navigation .nav-previous:focus-within,
.single .post-navigation .nav-next:focus-within {
	outline: 2px solid var(--bd-yellow);
	outline-offset: 3px;
}

.bd-postnav__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bd-red);
}

.nav-previous .bd-postnav__label::before {
	content: "\2190\00A0\00A0";
}

.nav-next .bd-postnav__label::after {
	content: "\00A0\00A0\2192";
}

.single .post-navigation a {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	color: #fff;
}

.single .post-navigation a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.single .post-navigation a:focus-visible {
	outline: none;
}

@media (max-width: 768px) {
	.single .post-navigation {
		grid-template-columns: 1fr;
	}

	.single .post-navigation .nav-next {
		grid-column: auto;
	}
}

.comments-area {
	margin-top: 2.5rem;
}

.comments-title,
.comment-reply-title {
	margin-bottom: 0.4rem;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	font-weight: 700;
	color: #fff;
}

.comments-title {
	margin-bottom: 1.5rem;
}

.comment-list {
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0 0 0 2rem;
	padding: 0;
	border: 0;
	list-style: none;
}

.comment-list .comment-body {
	margin: 0 0 1rem;
	padding: 1.4rem 1.5rem;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius);
	background: var(--bd-card);
}

.comment-list .children .comment-body {
	border-left: 3px solid var(--bd-red-dark);
}

.comment-list .comment-meta {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-bottom: 0.9rem;
}

.comment-list .comment-meta .avatar {
	float: none;
	margin: 0;
	border-radius: 50%;
}

.comment-list .comment-author cite {
	font-style: normal;
	font-weight: 700;
	color: #fff;
}

.comment-list .comment-metadata {
	margin: 0;
}

.comment-list .comment-metadata a {
	font-size: 0.8rem;
	text-decoration: none;
	color: var(--bd-muted);
}

.comment-list .comment-content {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.comment-list .comment-content p:last-of-type {
	margin-bottom: 0.8rem;
}

.comment-list .reply a,
.comment-reply-title small a {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--bd-red);
}

.comment-reply-title small a {
	margin-left: 1rem;
}

.comment-awaiting-moderation {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	color: var(--bd-muted);
}

.comment-respond {
	padding: 2rem;
	border-top: 3px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: var(--bd-card);
}

.comment-respond .bd-kicker {
	margin-bottom: 0.4rem;
}

.bd-comment-notes {
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
	color: var(--bd-muted);
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
}

.comment-form > * {
	grid-column: 1 / -1;
	margin: 0 0 1.1rem;
}

.comment-form > .comment-form-author {
	grid-column: 1;
}

.comment-form > .comment-form-email {
	grid-column: 2;
}

.comment-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
}

.comment-form #author,
.comment-form #email,
.comment-form textarea {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.8em 1em;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius);
	background: #1c1c1c;
	color: #fff;
	transition: border-color 0.2s;
}

.comment-form #author:focus,
.comment-form #email:focus,
.comment-form textarea:focus {
	border-color: var(--bd-red-dark);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.comment-form-cookies-consent input {
	margin: 0.3em 0 0;
	accent-color: var(--bd-red-dark);
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
	font-size: 0.9rem;
	color: var(--bd-muted);
}

.comment-form .form-submit {
	margin-bottom: 0;
}

@media (max-width: 600px) {
	.comment-respond {
		padding: 1.5rem 1.2rem;
	}

	.comment-form > .comment-form-author,
	.comment-form > .comment-form-email {
		grid-column: 1 / -1;
	}

	.comment-list .children {
		margin-left: 1rem;
	}
}

/* Resultados de búsqueda (marcado en inc/busqueda.php y no-results.php del tema hijo) */
.bd-search-summary {
	display: grid;
	gap: 1rem;
	margin-bottom: 28px;
	padding: 24px 26px;
	border-radius: var(--bd-radius);
	background: var(--bd-card);
}

.bd-search-summary__count {
	margin: 0;
	color: var(--bd-muted);
}

.bd-search-summary mark,
.search-results .entry-summary mark {
	padding: 0 0.15em;
	border-radius: 2px;
	background: rgba(175, 32, 24, 0.4);
	color: #fff;
}

/* Buscadores de la página de resultados, la barra lateral y "sin resultados". */
.bd-search-summary .search-form,
.sidebar .widget_search .search-form,
.bd-no-results .search-form {
	display: flex;
	overflow: hidden;
	border: 1px solid #333;
	border-radius: var(--bd-radius);
	background: #1c1c1c;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.bd-search-summary .search-form:focus-within,
.sidebar .widget_search .search-form:focus-within,
.bd-no-results .search-form:focus-within {
	border-color: var(--bd-red-dark);
	box-shadow: 0 0 0 1px var(--bd-red-dark);
}

.bd-search-summary .search-form label,
.sidebar .widget_search .search-form label,
.bd-no-results .search-form label {
	flex: 1;
	min-width: 0;
	margin: 0;
}

.bd-search-summary .search-field,
.sidebar .widget_search .search-field,
.bd-no-results .search-field {
	width: 100%;
	padding: 14px 16px;
	border: 0;
	outline: none;
	background: transparent;
	color: #fff;
}

.bd-search-summary .search-submit,
.sidebar .widget_search .search-submit,
.bd-no-results .search-submit {
	flex: none;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--bd-red-dark);
	color: #fff;
}

.bd-search-summary .search-submit:hover,
.sidebar .widget_search .search-submit:hover,
.bd-no-results .search-submit:hover {
	background: var(--bd-red-darker);
}

/* En resultados, el buscador ya está arriba: no se repite en la barra lateral. */
.search .sidebar .widget_search {
	display: none;
}

/* Tarjetas de resultado: toda la tarjeta es el enlace del título. */
.search-results .site-main > article {
	position: relative;
	margin-bottom: 18px;
	padding: 24px 28px;
	border: 1px solid #222;
	border-left: 4px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: var(--bd-card);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.search-results .site-main > article:hover {
	border-color: #333;
	border-left-color: var(--bd-red);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
	transform: translateY(-2px);
}

.search-results .site-main > article:focus-within {
	outline: 2px solid var(--bd-yellow);
	outline-offset: 3px;
}

.bd-result__section {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bd-red);
}

.search-results .entry-title {
	margin-bottom: 0.6rem;
}

.search-results .entry-title a {
	text-decoration: none;
	color: #fff;
}

.search-results .entry-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.search-results .entry-title a:focus-visible {
	outline: none;
}

.search-results .entry-header .entry-meta,
.search-results .post-image,
.search-results footer.entry-meta {
	display: none;
}

.search-results .entry-summary {
	margin-top: 0;
	color: var(--bd-text);
}

.search-results .entry-summary p:last-child {
	margin-bottom: 0;
}

.bd-result__more {
	margin: 0.9rem 0 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bd-red);
}

.bd-result__more::after {
	content: "\00A0\2192";
	display: inline-block;
	transition: transform 0.2s;
}

.search-results .site-main > article:hover .bd-result__more::after {
	transform: translateX(4px);
}

/* Sin resultados. */
.bd-no-results {
	padding: 32px;
	border-radius: var(--bd-radius);
	background: var(--bd-card);
}

.bd-no-results .search-form {
	max-width: 560px;
	margin: 1.25rem 0 1.5rem;
}

.entry-content .bd-no-results__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-no-results__links li {
	margin: 0;
}

.bd-no-results__links a {
	--bd-ico-color: var(--bd-red);
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 14px 16px;
	border: 1px solid #2a2a2a;
	border-radius: var(--bd-radius);
	background: #1c1c1c;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	transition: border-color 0.2s;
}

.bd-no-results__links a:hover,
.bd-no-results__links a:focus {
	border-color: var(--bd-red-dark);
	color: #fff;
}

/* Barra lateral (resultados y archivos): tarjetas, secciones con conteo y ayuda. */
.sidebar .widget {
	padding: 24px;
	border: 1px solid #222;
	border-top: 3px solid var(--bd-red-dark);
	border-radius: var(--bd-radius);
	background: var(--bd-card);
}

.sidebar .widget-title {
	margin-bottom: 1rem;
}

.sidebar .widget_categories ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar .widget_categories li {
	margin: 0;
	border-bottom: 1px solid #222;
}

.sidebar .widget_categories li:last-child {
	border-bottom: 0;
}

.sidebar .widget_categories li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 10px 0;
	text-decoration: none;
	color: var(--bd-text);
	transition: color 0.2s;
}

.sidebar .widget_categories li a:hover,
.sidebar .widget_categories li a:focus,
.sidebar .widget_categories .current-cat > a {
	color: #fff;
}

.bd-count {
	flex: none;
	min-width: 28px;
	padding: 2px 8px;
	border-radius: 20px;
	background: #222;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
	color: var(--bd-muted);
	transition: background-color 0.2s, color 0.2s;
}

.sidebar .widget_categories li a:hover .bd-count,
.sidebar .widget_categories .current-cat > a .bd-count {
	background: var(--bd-red-dark);
	color: #fff;
}

.bd-side-help .bd-kicker {
	margin-bottom: 0.6rem;
	font-size: 0.7rem;
}

.bd-side-help p {
	margin-bottom: 0.9rem;
	color: var(--bd-text);
}

.bd-side-help__tel {
	--bd-ico-color: var(--bd-red);
	--bd-ico-size: 16px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.bd-side-help p.bd-side-help__tel {
	margin: 0;
}

.bd-side-help__tel a {
	font-weight: 700;
	text-decoration: none;
	color: #fff;
}

@media (max-width: 600px) {
	.search-results .site-main > article,
	.bd-no-results {
		padding: 20px;
	}

	.entry-content .bd-no-results__links {
		grid-template-columns: 1fr;
	}
}

/* 9. Formulario PQRSD
   ========================================================================== */
.bd-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
	max-width: 720px;
	margin: 0 auto 1.5em;
}

.bd-form__field--email,
.bd-form__field--mensaje,
.bd-form__consent,
.bd-form__submit {
	grid-column: 1 / -1;
}

.bd-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 600;
	color: #fff;
}

.bd-form input[type="text"],
.bd-form input[type="email"],
.bd-form input[type="tel"],
.bd-form textarea {
	width: 100%;
}

.bd-form__consent label {
	font-weight: 400;
	color: var(--bd-text);
}

.bd-form__req {
	color: var(--bd-red);
}

.bd-form__hp {
	position: absolute;
	left: -9999px;
}

.bd-notice {
	max-width: 720px;
	margin: 0 auto 1rem;
	padding: 1rem;
	border-radius: var(--bd-radius);
}

.bd-notice--ok {
	background: #12301d;
	color: #b7f0c8;
}

.bd-notice--error {
	background: #3a1512;
	color: #ffc9c2;
}

@media (max-width: 600px) {
	.bd-form {
		grid-template-columns: 1fr;
	}
}

/* 10. Pie de página
   ========================================================================== */
.footer-widgets .widget-title {
	margin-bottom: 1.2rem;
	font-size: 1.15rem;
	color: #fff;
}

.footer-widgets .widget-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 3px;
	margin-top: 0.6rem;
	background: var(--bd-yellow);
}

.bd-footer-brand img {
	width: auto;
	max-height: 90px;
	margin-bottom: 1rem;
}

.bd-footer-brand p {
	font-size: 0.93rem;
	color: var(--bd-muted);
}

.bd-social {
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bd-red-dark);
	color: #fff;
}

.bd-social a:hover,
.bd-social a:focus {
	background: #fff;
	color: var(--bd-red-dark);
}

.bd-social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.footer-widgets .menu {
	margin: 0;
	list-style: none;
}

.footer-widgets .menu li {
	margin-bottom: 0.65rem;
}

.footer-widgets .menu a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.93rem;
	text-decoration: none;
}

.footer-widgets .menu a::before {
	content: "";
	flex: none;
	width: 11px;
	height: 11px;
	background-color: var(--bd-yellow);
	-webkit-mask: var(--i-chevron) center / contain no-repeat;
	mask: var(--i-chevron) center / contain no-repeat;
}

.bd-footer-info p {
	margin-bottom: 1rem;
	font-size: 0.93rem;
}

.bd-footer-info strong {
	display: block;
	font-size: 1rem;
	color: #fff;
}

.bd-footer-info a {
	text-decoration: none;
}

.site-info {
	border-top: 1px solid #262626;
	font-size: 0.85rem;
}

/* Barra inferior: enlaces legales arriba y copyright debajo, centrados. */
.site-info .inside-site-info {
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	text-align: center;
}

.site-info .footer-bar {
	order: 1;
	margin: 0;
}

.site-info .copyright-bar {
	order: 2;
	color: var(--bd-muted);
}

/* Copyright (formato del sitio de camping) y, debajo, el correo de notificaciones judiciales. */
.bd-copy,
.bd-copy-legal {
	display: block;
}

.bd-copy-legal {
	margin-top: 0.3rem;
	font-size: 0.8rem;
}

.site-info .copyright-bar a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bd-copy a {
	white-space: nowrap;
}

.site-info .widget {
	margin: 0;
	padding: 0;
}

.bd-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bd-footer-links a {
	text-decoration: none;
}

.bd-footer-links li + li::before {
	content: "\00B7";
	margin: 0 0.8rem;
	color: var(--bd-red);
}

/* 11. Página 404 (GP Elements: "Página 404 – Contenido" y "Página 404 – Diseño")
   ========================================================================== */
.bd-404__hero {
	padding: 100px 0 110px;
	border-bottom: 4px solid var(--bd-red-dark);
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.97) 0%, rgba(17, 17, 17, 0.86) 50%, rgba(17, 17, 17, 0.6) 100%),
		#171717 url(../../../../uploads/2020/10/bomberos.jpg) center / cover no-repeat;
}

.bd-404__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2rem 4rem;
	align-items: center;
}

.bd-404__code {
	margin: 0;
	font-size: clamp(7rem, 18vw, 13rem);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.04em;
	color: var(--bd-red-dark);
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.bd-404__title {
	margin-bottom: 0.5em;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
}

.bd-404__text > p:not([class]) {
	max-width: 560px;
	color: var(--bd-text);
}

.bd-404 .search-form {
	display: flex;
	max-width: 520px;
	margin: 1.8rem 0;
}

.bd-404 .search-form label {
	flex: 1;
}

.bd-404 .search-field {
	width: 100%;
	height: 52px;
	padding: 0 1.3rem;
	border-radius: 40px 0 0 40px;
}

.bd-404 .search-submit {
	height: 52px;
	padding: 0 1.4rem;
	border-radius: 0 40px 40px 0;
}

.bd-404__links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	padding-top: 70px;
	padding-bottom: 40px;
}

.bd-404__card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 28px 24px;
	border-bottom: 3px solid transparent;
	background: var(--bd-card);
	text-decoration: none;
	color: var(--bd-muted);
	transition: border-color 0.2s, transform 0.2s;
}

.bd-404__card::before {
	--bd-ico-size: 42px;
	--bd-ico-color: var(--bd-red);
	margin-bottom: 0.6rem;
}

.bd-404__card strong {
	font-size: 1.15rem;
	color: #fff;
}

.bd-404__card span {
	font-size: 0.9rem;
}

.bd-404__card:hover,
.bd-404__card:focus {
	border-color: var(--bd-red-dark);
	color: var(--bd-muted);
	transform: translateY(-3px);
}

.bd-404__emergency {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.6rem 1rem;
	margin: 0 0 70px;
	padding: 22px 24px;
	background: var(--bd-red-dark);
	font-size: 1.1rem;
	font-weight: 600;
	text-align: center;
	color: #fff;
}

.bd-404__emergency::before {
	--bd-ico-size: 30px;
}

.bd-404__emergency a {
	color: #fff;
	font-weight: 800;
}

@media (max-width: 900px) {
	.bd-404__hero {
		padding: 60px 0 70px;
	}

	.bd-404__inner {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.bd-404__links {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.bd-404__links {
		grid-template-columns: 1fr;
	}
}

/* 12. Botones de contacto (GP Elements: Hook "Botones flotantes" en wp_footer)
   Móvil y tablet: barra fija inferior con Mapa, Fijo, Celular y WhatsApp. El body reserva
   su alto para que la barra no tape nada. Escritorio: solo WhatsApp, redondo en la esquina.
   ========================================================================== */
:root {
	--bd-float-h: 64px;
}

.bd-float__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: #fff;
}

.bd-float__btn svg {
	width: 22px;
	height: 22px;
	flex: none;
}

.bd-float__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -5px;
}

@media (max-width: 1024px) {
	body {
		padding-bottom: calc(var(--bd-float-h) + env(safe-area-inset-bottom));
	}

	.bd-float {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		height: calc(var(--bd-float-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 3px solid var(--bd-red-dark);
		background: #000;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
	}

	.bd-float__btn {
		transition: background-color 0.2s;
	}

	.bd-float__btn + .bd-float__btn {
		border-left: 1px solid #222;
	}

	.bd-float__btn:hover,
	.bd-float__btn:focus {
		background: #1a1a1a;
		color: #fff;
	}

	.bd-float__btn--fijo svg,
	.bd-float__btn--celular svg {
		color: var(--bd-red);
	}

	.bd-float__btn--whatsapp svg {
		color: #25d366;
	}

	/* Sin "volver arriba" de GeneratePress: flotaría sobre el contenido. */
	body a.generate-back-to-top {
		display: none;
	}
}

@media (min-width: 1025px) {
	.bd-float {
		position: fixed;
		right: 24px;
		bottom: 24px;
		z-index: 90;
	}

	.bd-float__btn--map,
	.bd-float__btn--fijo,
	.bd-float__btn--celular {
		display: none;
	}

	/* Círculo solo con el icono (el nombre accesible viene del aria-label).
	   Verde WhatsApp con contraste 3:1 para el icono blanco. */
	.bd-float__btn--whatsapp {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: #1faa55;
		box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
		transition: transform 0.2s, background-color 0.2s;
	}

	.bd-float__btn--whatsapp span {
		display: none;
	}

	.bd-float__btn--whatsapp svg {
		width: 30px;
		height: 30px;
	}

	.bd-float__btn--whatsapp:hover,
	.bd-float__btn--whatsapp:focus {
		background: #178a44;
		color: #fff;
		transform: translateY(-3px);
	}

	.bd-float__btn--whatsapp:focus-visible {
		outline-offset: 3px;
	}

	/* "Volver arriba" de GeneratePress encima de WhatsApp. */
	.generate-back-to-top {
		bottom: 96px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bd-float__btn,
	.bd-float__btn--whatsapp {
		transition: none;
	}
}