/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* DACNIS palette (same tones as the custom CSS in Woodmart > Theme settings) */
:root {
	--dv-navy: #0d3b54;
	--dv-ink: #102a38;
	--dv-blue: #009ee2;
	--dv-blue-dark: #0077b6;
	--dv-sky: #f0f8fc;
	--dv-line: #d4e7f0;
	--dv-text: #3b5363;
}

/* Main menu: keep all items on one line on laptop screens */
@media (min-width: 1025px) and (max-width: 1440px) {
	.whb-header .wd-header-main-nav .wd-nav-main > li > a {
		padding-left: 3px;
		padding-right: 3px;
	}
}
@media (min-width: 1280px) {
	.whb-header .wd-header-main-nav .wd-nav-main {
		flex-wrap: nowrap;
	}
}

/* WPBakery "Sticky column" (Woodmart option on any column): done with CSS
   so the column stays in place while the other one scrolls, until both end
   together. The row becomes flex so the column is as tall as its row. */
@media (min-width: 1025px) {
	.vc_row:has(> .woodmart-sticky-column),
	.vc_row_inner:has(> .woodmart-sticky-column) {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}
	.woodmart-sticky-column > .vc_column-inner {
		position: sticky !important;
		top: 110px;
		transform: none !important;
	}
	.woodmart-sticky-column.wd_sticky_offset_150 > .vc_column-inner {
		top: 150px;
	}
	.woodmart-sticky-column.wd_sticky_offset_50 > .vc_column-inner {
		top: 50px;
	}
}

/* =========================================================
   HOME HERO: readable text on phones
   ========================================================= */
@media (max-width: 767px) {
	#slide-3477 .wd-slide-bg {
		background-position: 31% 50% !important;
	}
	/* Text box on top, the bird stays visible below it */
	.wd-slide .dacnis-clean-hero {
		margin-top: 0 !important;
		margin-bottom: 470px;
		max-width: none;
		padding: 20px 18px 18px;
		background: linear-gradient(180deg, rgba(8, 34, 48, 0.72) 0%, rgba(8, 34, 48, 0.9) 100%);
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
		border-radius: 16px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
	}
	.dacnis-clean-kicker {
		font-size: 10.5px;
		letter-spacing: 1px;
		text-shadow: none;
		margin-bottom: 6px;
	}
	.dacnis-clean-hero h1 {
		font-size: 27px;
		line-height: 1.12;
		margin-bottom: 12px;
		text-shadow: none;
	}
	.dacnis-clean-hero h1 span {
		color: #4fe0ff;
	}
	.dacnis-clean-hero p {
		font-size: 14.5px;
		text-shadow: none;
		color: rgba(255, 255, 255, 0.92);
	}
}

/* =========================================================
   AVES DEL VALLE (inc/aves.php + templates/*-ave*.php)
   ========================================================= */
.dv-aves-page .wd-page-title {
	display: none;
}
.dv-aves-page .main-page-wrapper {
	background: linear-gradient(180deg, #eef7fb 0, #fff 420px);
}
.dv-pill {
	display: inline-block;
	background: #fff;
	color: var(--dv-blue-dark);
	border: 1px solid #b6dff0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 5px 15px;
	border-radius: 30px;
	margin-bottom: 14px;
}

/* Listing */
.dv-aves__head {
	text-align: center;
	max-width: 820px;
	margin: 10px auto 34px;
}
.dv-aves__head h1 {
	color: var(--dv-navy);
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 12px;
}
.dv-aves__head p {
	color: var(--dv-text);
	font-size: 16.5px;
	line-height: 1.7;
}
.dv-regions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}
.dv-regions a {
	padding: 10px 22px;
	border-radius: 30px;
	border: 1px solid #cfe5f0;
	background: #fff;
	color: var(--dv-ink);
	font-weight: 700;
	font-size: 14px;
	transition: all 0.25s ease;
}
.dv-regions a:hover,
.dv-regions a.is-active {
	background: var(--dv-ink);
	border-color: var(--dv-ink);
	color: #fff;
}
.dv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
	margin-bottom: 50px;
}
.dv-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(13, 59, 84, 0.06);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
	color: inherit;
}
.dv-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 34px rgba(0, 158, 226, 0.16);
}
.dv-card__img {
	position: relative;
	display: block;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: #e6f2f7;
}
.dv-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.dv-card:hover .dv-card__img img {
	transform: scale(1.05);
}
.dv-card__region {
	position: absolute;
	left: 12px;
	top: 12px;
	background: rgba(13, 59, 84, 0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 4px 11px;
	border-radius: 20px;
}
.dv-card__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 16px 18px 18px;
}
.dv-card__body strong {
	color: var(--dv-navy);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}
.dv-card__body em {
	color: #5b7486;
	font-size: 14px;
}
.dv-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}
.dv-card__alt {
	font-size: 12px;
	color: #5b7486;
	font-weight: 600;
}
.dv-empty {
	text-align: center;
	color: var(--dv-text);
	padding: 40px 0 60px;
}

/* IUCN badge */
.dv-uicn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #1f5130;
	background: #e3f4e8;
	border-radius: 20px;
	padding: 3px 10px 3px 3px;
}
.dv-uicn b {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 22px;
	border-radius: 20px;
	background: #2e8b57;
	color: #fff;
	font-size: 11px;
}
.dv-uicn--near { color: #6b5200; background: #fff4cc; }
.dv-uicn--near b { background: #c99700; }
.dv-uicn--vu { color: #8a4300; background: #ffe8d1; }
.dv-uicn--vu b { background: #e07b00; }
.dv-uicn--en { color: #9b1c1c; background: #fde2e2; }
.dv-uicn--en b { background: #d93636; }
.dv-uicn--cr { color: #7a0f0f; background: #f8d0d0; }
.dv-uicn--cr b { background: #9b1111; }
.dv-uicn--dd { color: #475569; background: #eef2f6; }
.dv-uicn--dd b { background: #64748b; }

/* Bird page */
.dv-ave {
	padding-bottom: 30px;
}
.dv-crumbs {
	display: flex;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	margin: 6px 0 22px;
	color: #7a93a3;
}
.dv-crumbs a {
	color: var(--dv-blue-dark);
}
.dv-ave__main {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 44px;
	align-items: start;
	margin-bottom: 50px;
}
.dv-ave__photo {
	margin: 0;
	position: sticky;
	top: 100px;
}
.dv-ave__photo img {
	width: 100%;
	border-radius: 18px;
	box-shadow: 0 22px 45px rgba(13, 59, 84, 0.18);
}
.dv-ave__photo figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: #64748b;
	text-align: right;
}
.dv-ave__info h1 {
	color: var(--dv-navy);
	font-size: 40px;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 6px;
}
.dv-ave__sci {
	font-size: 18px;
	color: var(--dv-blue-dark);
	margin-bottom: 10px;
}
.dv-ave__tag {
	display: inline-block;
	background: #fff4cc;
	color: #6b5200;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 8px;
	margin-bottom: 18px;
}
.dv-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 8px 0 24px;
}
.dv-fact {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-top: 4px solid var(--dv-blue);
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 6px 16px rgba(13, 59, 84, 0.04);
}
.dv-fact span:first-child {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #5b7486;
	margin-bottom: 6px;
}
.dv-fact strong {
	color: var(--dv-navy);
	font-size: 16px;
	line-height: 1.35;
}
.dv-fact--uicn { border-top-color: #2e8b57; }
.dv-fact--tamano { border-top-color: #0f896d; }
.dv-fact--habitat { border-top-color: #164e63; }
.dv-ave__text p {
	color: #374151;
	font-size: 16px;
	line-height: 1.75;
}
.dv-ave__where {
	background: var(--dv-sky);
	border-left: 4px solid var(--dv-blue);
	border-radius: 0 12px 12px 0;
	padding: 14px 18px;
	color: var(--dv-ink);
	font-size: 15px;
}
.dv-ave__gallery,
.dv-ave__more {
	margin-bottom: 40px;
}
.dv-ave__gallery h2,
.dv-ave__more h2 {
	color: var(--dv-navy);
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 20px;
}
.dv-ave__gallery img {
	border-radius: 12px;
}

@media (max-width: 991px) {
	.dv-ave__main {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.dv-ave__photo {
		position: static;
	}
}
@media (max-width: 767px) {
	.dv-aves__head h1 { font-size: 30px; }
	.dv-ave__info h1 { font-size: 30px; }
	.dv-regions a { padding: 8px 16px; font-size: 13px; }
	.dv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.dv-card__body { padding: 12px; }
	.dv-card__body strong { font-size: 15px; }
	.dv-card__body em { font-size: 12.5px; }
	.dv-card__alt { display: none; }
	.dv-facts { gap: 10px; }
	.dv-fact { padding: 12px; }
	.dv-fact strong { font-size: 14.5px; }
}

/* =========================================================
   SALIDAS Y EVENTOS (inc/actividades.php + templates/*-actividad*.php)
   ========================================================= */
.da-page .wd-page-title {
	display: none;
}
.da-page .main-page-wrapper {
	overflow-x: clip;
}
.da-archive {
	padding-top: 10px;
}
.da-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 26px;
	margin-bottom: 40px;
}
.da-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 16px;
	overflow: hidden;
	color: inherit;
	box-shadow: 0 8px 22px rgba(13, 59, 84, 0.06);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.da-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 34px rgba(0, 158, 226, 0.16);
}
.da-card__img {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #0d3b54, #0077b6);
}
.da-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
/* Post without any photo: DACNIS logo on the brand gradient */
.da-card__img--empty {
	background: url("/wp-content/uploads/2026/10/DACNIS_TRANSP_NEG_2.png") center / 120px auto no-repeat, linear-gradient(135deg, #0d3b54, #0077b6);
}
/* Category pages (Eventos, Salidas, Censos, Lugares...): soft gradient
   header like Rupícola, no photo */
.da-archive-hero {
	margin: -40px calc(50% - 50vw) 40px;
	padding: 70px 15px 60px;
	background: linear-gradient(180deg, #dff1f8 0%, #eef7fb 65%, #f8fbfd 100%);
	border-bottom: 1px solid #d0e7f2;
	text-align: center;
}
.da-archive-hero__inner {
	max-width: 820px;
	margin: 0 auto;
}
.da-archive-hero .dv-pill {
	margin-bottom: 16px;
}
.da-archive-hero h1 {
	color: var(--dv-navy) !important;
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 12px;
}
.da-archive-hero p {
	color: #3b5a6f;
	font-size: 16.5px;
	line-height: 1.7;
	margin-bottom: 14px;
}
.da-archive-hero__count {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: var(--dv-blue-dark);
}
@media (max-width: 767px) {
	.da-archive-hero {
		padding: 50px 16px 40px;
	}
	.da-archive-hero h1 {
		font-size: 30px;
	}
}
.da-hero__lead {
	max-width: 720px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 17px;
	line-height: 1.6;
	margin-bottom: 12px;
}
.da-archive > .dv-regions {
	margin: 0 0 34px;
}
.da-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.da-card__chips span {
	background: var(--dv-sky);
	border: 1px solid var(--dv-line);
	color: var(--dv-ink);
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
}

/* Lugares de Pajareo post (templates/single-lugar.php) */
.dp-lugar .da-hero__inner {
	padding-bottom: 120px;
}
.dp-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: -90px 0 50px;
	position: relative;
	z-index: 3;
}
.dp-fact {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-top: 4px solid var(--dv-blue);
	border-radius: 16px;
	padding: 18px 18px 16px;
	box-shadow: 0 14px 32px rgba(13, 59, 84, 0.1);
}
.dp-fact i {
	display: block;
	font-style: normal;
	font-size: 22px;
	margin-bottom: 8px;
}
.dp-fact span {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #5b7486;
	margin-bottom: 4px;
}
.dp-fact strong {
	color: var(--dv-navy);
	font-size: 17px;
	line-height: 1.35;
}
.dp-ficha h3 {
	color: var(--dv-blue-dark);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin: 0 0 10px;
}
.dp-aves {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}
.da-ficha .dp-aves li {
	display: block;
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: 1px solid #edf2f4;
	line-height: 1.35;
}
.dp-aves li::before {
	content: "🐦";
	position: absolute;
	left: 0;
	top: 9px;
	font-size: 14px;
}
.da-ficha .dp-aves strong {
	display: block;
	font-size: 14.5px;
	color: var(--dv-navy);
	font-size: 14.5px;
}
.dp-aves em {
	color: #5b7486;
	font-size: 13px;
}
.dp-route {
	margin-top: 30px;
	background: var(--dv-sky);
	border-left: 5px solid var(--dv-blue);
	border-radius: 0 16px 16px 0;
	padding: 22px 26px;
}
.dp-route h2 {
	margin-top: 0 !important;
	font-size: 22px;
}
.dp-route .dacnis-btn-outline {
	display: inline-block;
	margin-top: 4px;
}
@media (max-width: 1024px) {
	.dp-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.dp-facts {
		margin-top: -60px;
		gap: 10px;
	}
	.dp-fact {
		padding: 14px;
	}
	.dp-fact strong {
		font-size: 14.5px;
	}
	.da-hero.da-hero--archive {
		min-height: 280px;
	}
}

/* Places (or posts without a filled "ficha"): the content uses the full width */
.da-body.da-body--full {
	grid-template-columns: minmax(0, 1fr);
}
.da-body--full .da-content.da-content {
	max-width: none;
}
.da-card:hover .da-card__img img {
	transform: scale(1.05);
}
.da-card__cat {
	position: absolute;
	left: 14px;
	top: 14px;
	background: #fff;
	color: var(--dv-blue-dark);
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 5px 12px;
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.da-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	flex: 1;
}
.da-card__date {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--dv-blue-dark);
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.da-card__body strong {
	color: var(--dv-navy);
	font-size: 19px;
	line-height: 1.3;
	font-weight: 800;
}
.da-card__text {
	color: #4a5568;
	font-size: 14.5px;
	line-height: 1.6;
}
.da-card__place {
	font-size: 13px;
	color: #5b7486;
	font-weight: 600;
}
.da-card__more {
	margin-top: auto;
	padding-top: 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--dv-blue);
}
.da-all {
	text-align: center;
}
.da-all .dacnis-btn-outline {
	display: inline-block;
}

/* Post */
.da-hero {
	position: relative;
	margin: -40px calc(50% - 50vw) 50px;
	min-height: 440px;
	display: flex;
	align-items: flex-end;
	background: #0d3b54 center / cover no-repeat;
}
.da-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 34, 48, 0.15) 0%, rgba(8, 34, 48, 0.55) 55%, rgba(8, 34, 48, 0.92) 100%);
}
.da-hero__inner {
	position: relative;
	width: 100%;
	max-width: 1222px;
	margin: 0 auto;
	padding: 60px 15px 44px;
	color: #fff;
}
.da-hero__crumbs {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 12.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}
.da-hero__crumbs a {
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	padding: 5px 13px;
	border-radius: 20px;
}
.da-hero__crumbs span {
	color: rgba(255, 255, 255, 0.6);
	align-self: center;
}
.da-hero h1 {
	color: #fff !important;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.12;
	max-width: 900px;
	margin-bottom: 16px;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.da-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}
.da-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 50px;
	align-items: start;
	margin-bottom: 50px;
}
.da-content {
	max-width: 780px;
}
.da-content p,
.da-content li {
	color: #374151;
	font-size: 16.5px;
	line-height: 1.8;
}
.da-content h2,
.da-content h3 {
	color: var(--dv-navy);
	font-weight: 800;
	margin-top: 30px;
}
.da-content a {
	color: var(--dv-blue-dark);
	font-weight: 600;
	border-bottom: 1px solid #b6dff0;
}
.da-content blockquote {
	background: var(--dv-sky);
	border-left: 4px solid var(--dv-blue);
	border-radius: 0 12px 12px 0;
	padding: 18px 22px;
	font-style: italic;
	color: var(--dv-ink);
}
.da-content img {
	border-radius: 14px;
}
.da-content .da-figure {
	margin: 26px 0;
}
.da-content .da-figure figcaption {
	font-size: 13px;
	color: #64748b;
	margin-top: 8px;
}
.da-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 26px 0;
}
.da-stats div {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-top: 4px solid var(--dv-blue);
	border-radius: 14px;
	padding: 18px 14px;
	text-align: center;
}
.da-stats strong {
	display: block;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--dv-blue);
}
.da-stats span {
	font-size: 13px;
	font-weight: 700;
	color: #5b7486;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.da-names {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 20px 0;
}
.da-names li {
	background: var(--dv-sky);
	border: 1px solid var(--dv-line);
	color: var(--dv-ink);
	font-size: 14px !important;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	line-height: 1.4 !important;
}
.da-ficha {
	position: sticky;
	top: 110px;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-top: 5px solid var(--dv-blue);
	border-radius: 18px;
	padding: 24px 22px;
	box-shadow: 0 14px 34px rgba(13, 59, 84, 0.08);
}
.da-ficha h2 {
	color: var(--dv-navy);
	font-size: 19px;
	font-weight: 800;
	margin-bottom: 14px;
}
.da-ficha ul {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
}
.da-ficha li {
	display: grid;
	grid-template-columns: 30px 1fr;
	padding: 11px 0;
	border-bottom: 1px solid #edf2f4;
}
.da-ficha li i {
	grid-row: span 2;
	font-style: normal;
	font-size: 18px;
}
.da-ficha li span {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5b7486;
}
.da-ficha li strong {
	color: var(--dv-navy);
	font-size: 15px;
}
.da-ficha__btn {
	display: block;
	text-align: center;
	margin-top: 10px;
}
.da-gallery,
.da-more {
	margin-bottom: 50px;
}
.da-gallery h2,
.da-more h2 {
	color: var(--dv-navy);
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 20px;
}
.da-gallery img {
	border-radius: 12px;
}

@media (max-width: 1024px) {
	.da-body {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.da-ficha {
		position: static;
	}
}
@media (max-width: 767px) {
	.da-hero {
		min-height: 360px;
		margin-bottom: 30px;
	}
	.da-hero__inner {
		padding: 40px 16px 28px;
	}
	.da-hero h1 {
		font-size: 28px;
	}
	.da-hero__meta {
		font-size: 13.5px;
		gap: 6px 14px;
	}
	.da-content p,
	.da-content li {
		font-size: 16px;
		line-height: 1.72;
	}
	.da-stats {
		grid-template-columns: 1fr 1fr 1fr;
		gap: 8px;
	}
	.da-stats strong {
		font-size: 22px;
	}
	.da-stats span {
		font-size: 10.5px;
	}
	.da-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.da-gallery h2,
	.da-more h2 {
		font-size: 23px;
	}
}

/* =========================================================
   MÓDULO DESTACADOS DEL INICIO (inc/modulos.php)
   ========================================================= */
.dm-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: repeat(2, 300px);
	gap: 18px;
}
.dm-card {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(135deg, #0d3b54, #0077b6);
	color: #fff;
	display: flex;
	align-items: flex-end;
	isolation: isolate;
	box-shadow: 0 14px 34px rgba(13, 59, 84, 0.14);
}
.dm-card--1 {
	grid-row: span 2;
}
.dm-card__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	z-index: -2;
	transition: transform 0.7s ease;
}
.dm-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 34, 48, 0) 30%, rgba(8, 34, 48, 0.55) 62%, rgba(8, 34, 48, 0.9) 100%);
}
.dm-card:hover .dm-card__bg {
	transform: scale(1.06);
}
.dm-card__hit {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.dm-card__body {
	position: relative;
	z-index: 2;
	padding: 24px 24px 22px;
	pointer-events: none;
}
.dm-card__body a {
	pointer-events: auto;
}
.dm-card__tag {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
}
.dm-card h3 {
	color: #fff !important;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 6px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.dm-card--1 h3 {
	font-size: 38px;
}
.dm-card p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 14.5px;
	line-height: 1.5;
	margin: 0 0 14px;
	max-width: 420px;
}
.dm-card--1 p {
	font-size: 16.5px;
}
.dm-card__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.dm-btn {
	display: inline-block;
	background: #fff;
	color: var(--dv-ink) !important;
	font-size: 13.5px;
	font-weight: 800;
	padding: 10px 18px;
	border-radius: 30px;
	transition: all 0.25s ease;
}
.dm-btn:hover {
	background: var(--dv-blue);
	color: #fff !important;
}
.dm-btn--ghost {
	background: rgba(255, 255, 255, 0.14);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.55);
}
@media (max-width: 1024px) {
	.dm-grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 380px repeat(2, 250px);
	}
	.dm-card--1 {
		grid-row: auto;
		grid-column: span 2;
	}
}
@media (max-width: 767px) {
	.dm-grid {
		grid-template-rows: 360px repeat(2, 220px);
		gap: 12px;
	}
	.dm-card {
		border-radius: 16px;
	}
	.dm-card__body {
		padding: 14px 14px 14px;
	}
	.dm-card--1 .dm-card__body {
		padding: 20px;
	}
	.dm-card h3 {
		font-size: 18px;
	}
	.dm-card--1 h3 {
		font-size: 28px;
	}
	.dm-card:not(.dm-card--1) p {
		display: none;
	}
	.dm-card__tag {
		font-size: 9.5px;
		padding: 4px 9px;
		margin-bottom: 7px;
	}
	.dm-card:not(.dm-card--1) .dm-btn {
		font-size: 12px;
		padding: 7px 12px;
	}
	.dm-card--2 .dm-card__btns {
		gap: 5px;
	}
}

/* =========================================================
   LIBROS (inc/modulos.php [dacnis_libro])
   ========================================================= */
.dl-quick {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 18px 0 0;
}
.dl-quick a {
	padding: 10px 20px;
	border-radius: 30px;
	background: #fff;
	border: 1px solid #cfe5f0;
	color: var(--dv-ink);
	font-weight: 700;
	font-size: 14px;
	transition: all 0.25s ease;
}
.dl-quick a:hover {
	background: var(--dv-ink);
	border-color: var(--dv-ink);
	color: #fff;
}
.dl-book {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(13, 59, 84, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	scroll-margin-top: 120px;
}
.dl-book:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 158, 226, 0.16);
}
.dl-book__cover {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 34px 30px 26px;
	background: linear-gradient(160deg, #e6f3f8 0%, #f4f9f5 100%);
}
.dl-book__cover img {
	height: 340px !important;
	width: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 18px 34px rgba(13, 59, 84, 0.25);
	transition: transform 0.35s ease;
}
.dl-book:hover .dl-book__cover img {
	transform: translateY(-4px) rotate(-1deg);
}
.dl-book__cover span {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--dv-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 5px 12px;
	border-radius: 20px;
}
.dl-book__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}
.dl-book__body h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 6px;
}
.dl-book__body h3 a {
	color: var(--dv-navy);
}
.dl-book__author {
	color: var(--dv-blue-dark);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 10px;
}
.dl-book__body > p:not(.dl-book__author) {
	color: #4a5568;
	font-size: 15px;
	line-height: 1.65;
}
.dl-book__btns {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.dl-book__btns a {
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
	padding-left: 12px !important;
	padding-right: 12px !important;
	white-space: nowrap;
	font-size: 14px !important;
}
@media (min-width: 768px) {
	.vc_row:has(> .wpb_column .dl-book) {
		display: flex;
		flex-wrap: wrap;
	}
	.wpb_column:has(.dl-book) > .vc_column-inner,
	.wpb_column:has(.dl-book) .wpb_wrapper {
		height: 100%;
	}
}
@media (max-width: 767px) {
	.dl-book__cover img {
		height: 280px !important;
	}
	.dl-book {
		margin-bottom: 20px;
	}
}

/* =========================================================
   PÁGINA DACNIS (Sobre nosotros)
   ========================================================= */
.dn-hero {
	background-size: cover !important;
	background-position: center !important;
	position: relative;
}
/* ::before is taken by the WPBakery clearfix, so it is forced here */
.vc_row.dn-hero::before {
	content: "" !important;
	display: block !important;
	position: absolute !important;
	inset: 0;
	width: auto !important;
	height: auto !important;
	z-index: 0;
	background: linear-gradient(90deg, rgba(8, 34, 48, 0.9) 0%, rgba(8, 34, 48, 0.7) 45%, rgba(8, 34, 48, 0.1) 80%);
}
.dn-hero > * {
	position: relative;
	z-index: 1;
}
/* Brand version (no photo): dark blue gradient, soft light circles, logo */
.vc_row.dn-hero--marca {
	background: radial-gradient(circle at 82% 30%, rgba(44, 224, 255, 0.35) 0, rgba(44, 224, 255, 0) 42%), radial-gradient(circle at 10% 110%, rgba(0, 158, 226, 0.45) 0, rgba(0, 158, 226, 0) 45%), linear-gradient(135deg, #081f2e 0%, #0d3b54 50%, #0b5c86 100%) !important;
	overflow: hidden;
}
.vc_row.dn-hero--marca::before {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.5'%3E%3Ccircle cx='300' cy='300' r='120'/%3E%3Ccircle cx='300' cy='300' r='200'/%3E%3Ccircle cx='300' cy='300' r='280'/%3E%3C/svg%3E") right -120px center / 760px no-repeat !important;
}
.dn-hero .wd-image {
	text-align: center !important;
}
.dn-hero .wd-image img {
	width: 100%;
	max-width: 360px;
	height: auto !important;
	padding: 36px 40px;
	background: #fff;
	border-radius: 32px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(255, 255, 255, 0.08);
}
.dn-hero__in {
	max-width: 620px;
	color: #fff;
}
.dn-hero__in .dv-pill {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}
.dn-hero__in h1 {
	color: #fff !important;
	font-size: 56px;
	font-weight: 800;
	line-height: 1.05;
	margin-bottom: 18px;
}
.dn-hero__in h1 span {
	color: #4fe0ff;
}
.dn-hero__in p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 18px;
	line-height: 1.65;
	margin-bottom: 26px;
}
.dn-hero__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.dn-hero__btns .dm-btn {
	padding: 13px 24px;
	font-size: 15px;
}
.dn-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	width: 100%; /* a 0-height float from the full-width row would squeeze it */
	margin-top: -64px;
	position: relative;
	z-index: 3;
}
.dn-stats div {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 18px;
	padding: 22px 20px;
	box-shadow: 0 16px 36px rgba(13, 59, 84, 0.1);
}
.dn-stats strong {
	display: block;
	color: var(--dv-blue);
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 8px;
}
.dn-stats span {
	color: #4a5568;
	font-size: 14px;
	line-height: 1.45;
	font-weight: 600;
}
.dn-story-img img {
	border-radius: 22px;
	box-shadow: 0 24px 50px rgba(13, 59, 84, 0.18);
}
.dn-story {
	padding-left: 20px;
}
.dn-story .dv-pill {
	margin-bottom: 10px;
}
.dn-story h2 {
	color: var(--dv-navy) !important;
	font-size: 38px;
	font-weight: 800;
	margin-bottom: 18px;
}
.dn-story blockquote {
	margin: 0 0 20px;
	background: var(--dv-sky);
	border-left: 5px solid var(--dv-blue);
	border-radius: 0 14px 14px 0;
	padding: 18px 22px;
	color: var(--dv-ink);
	font-size: 16.5px;
	line-height: 1.7;
	font-style: italic;
}
.dn-story p {
	color: #374151;
	font-size: 16px;
	line-height: 1.8;
}
.dn-timeline {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 24px 0;
}
.dn-timeline div {
	border-top: 3px solid var(--dv-blue);
	padding-top: 10px;
}
.dn-timeline b {
	display: block;
	color: var(--dv-navy);
	font-size: 22px;
	font-weight: 800;
}
.dn-timeline span {
	color: #5b7486;
	font-size: 13.5px;
	line-height: 1.45;
}
.dn-missions {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}
.dn-mission {
	position: relative;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 18px;
	padding: 26px 20px 22px;
	box-shadow: 0 8px 22px rgba(13, 59, 84, 0.05);
	transition: all 0.28s ease;
}
.dn-mission:hover {
	transform: translateY(-6px);
	border-color: var(--dv-blue);
	box-shadow: 0 16px 34px rgba(0, 158, 226, 0.14);
}
.dn-mission i {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--dv-sky);
	font-style: normal;
	font-size: 25px;
	margin-bottom: 16px;
}
.dn-mission small {
	position: absolute;
	top: 22px;
	right: 20px;
	color: #c3d9e4;
	font-size: 26px;
	font-weight: 800;
}
.dn-mission h4 {
	color: var(--dv-navy);
	font-size: 17.5px;
	font-weight: 800;
	margin-bottom: 8px;
}
.dn-mission p {
	color: #4a5568;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}
.dn-join {
	background: linear-gradient(140deg, #0d3b54 0%, #0077b6 100%);
	color: #fff;
	border-radius: 22px;
	padding: 34px 30px;
	height: 100%;
}
.dn-join h3 {
	color: #fff !important;
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 10px;
}
.dn-join p {
	color: rgba(255, 255, 255, 0.88);
}
.dn-join ul {
	list-style: none;
	padding: 0;
	margin: 18px 0 24px;
}
.dn-join li {
	padding: 8px 0 8px 30px;
	position: relative;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.dn-join li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #4fe0ff;
	font-weight: 800;
}
.dn-join .dm-btn {
	display: block;
	text-align: center;
	padding: 14px 20px;
	font-size: 15px;
}
.dn-form iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 16px;
	background: #fff;
}
.dn-form {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 22px;
	padding: 10px;
	box-shadow: 0 14px 34px rgba(13, 59, 84, 0.07);
}
@media (max-width: 1024px) {
	.dn-missions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.dn-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.dn-story {
		padding-left: 0;
	}
}
@media (max-width: 767px) {
	.vc_row.dn-hero::before {
		background: linear-gradient(180deg, rgba(8, 34, 48, 0.35) 0%, rgba(8, 34, 48, 0.9) 70%);
	}
	.dn-hero__in h1 {
		font-size: 38px;
	}
	.dn-hero__in p {
		font-size: 16px;
	}
	.dn-stats {
		margin-top: -20px;
		gap: 10px;
	}
	.vc_row.dn-hero {
		padding-top: 70px !important;
		padding-bottom: 80px !important;
	}
	.vc_row.dn-hero--marca::before {
		background: none !important;
	}
	.dn-hero .wd-image img {
		max-width: 190px;
		padding: 20px;
		margin-top: 30px;
	}
	.dn-stats div {
		padding: 16px 14px;
	}
	.dn-stats strong {
		font-size: 28px;
	}
	.dn-stats span {
		font-size: 12.5px;
	}
	.dn-story h2 {
		font-size: 28px;
	}
	.dn-timeline {
		grid-template-columns: 1fr;
	}
	.dn-missions {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.dn-mission {
		display: grid;
		grid-template-columns: 52px 1fr;
		gap: 0 14px;
		padding: 18px;
	}
	.dn-mission i {
		grid-row: 1 / span 2;
		grid-column: 1;
		margin: 0;
	}
	.dn-mission h4,
	.dn-mission p {
		grid-column: 2;
	}
	.dn-mission br {
		display: none;
	}
	.dn-mission small {
		top: 14px;
		right: 16px;
		font-size: 18px;
	}
	.dn-join {
		padding: 26px 20px;
		margin-bottom: 20px;
	}
	.dn-form iframe {
		height: 900px;
	}
}

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.dv-legal {
	max-width: 820px;
	margin: 0 auto;
}
.dv-legal__date {
	color: #64748b;
	font-size: 14px;
}
.dv-legal h2 {
	color: var(--dv-navy);
	font-size: 22px;
	font-weight: 800;
	margin: 32px 0 10px;
}
.dv-legal p,
.dv-legal li {
	color: #374151;
	font-size: 16px;
	line-height: 1.75;
}
.dv-legal a {
	color: var(--dv-blue-dark);
	font-weight: 600;
}

/* =========================================================
   FOOTER (bloque HTML "Footer DACNIS", Woodmart > Footer)
   ========================================================= */
.wd-footer {
	background: #061823 !important;
}
.wd-footer .main-footer {
	padding: 0;
}
.wd-copyrights {
	background: #061823 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
	font-size: 13.5px;
}
.vc_row.df-footer {
	background: linear-gradient(135deg, #081f2e 0%, #0d3b54 60%, #0b4f72 100%) !important;
	color: rgba(255, 255, 255, 0.78);
}
.df-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.df-brand img {
	width: 170px;
	height: auto;
	margin-bottom: 16px;
}
.df-brand p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14.5px;
	line-height: 1.7;
	max-width: 330px;
}
.df-social {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}
.df-social a {
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.25s ease;
}
.df-social a:hover {
	background: var(--dv-blue);
	border-color: var(--dv-blue);
}
.df-col h4 {
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
}
.df-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.df-col li {
	margin-bottom: 9px;
	line-height: 1.4;
}
.df-col a {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 14.5px;
	transition: color 0.2s ease;
}
.df-col a:hover {
	color: #4fe0ff !important;
}
.df-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding-top: 22px;
	font-size: 14px;
}
.df-bottom a {
	color: #4fe0ff !important;
	font-weight: 700;
}
@media (max-width: 1024px) {
	.df-grid {
		grid-template-columns: 1fr 1fr;
	}
	.df-brand {
		grid-column: span 2;
	}
}
@media (max-width: 767px) {
	.vc_row.df-footer {
		padding-top: 50px !important;
	}
	.df-grid {
		gap: 28px 20px;
	}
	.df-col:last-child {
		grid-column: span 2;
	}
	.df-bottom {
		flex-direction: column;
	}
}

/* =========================================================
   NATIVE ELEMENTS (scripts/build-nativo.php): styles for the WPBakery /
   Woodmart elements, hooked on the "Extra class" of rows, columns and
   elements so editors can reuse them.
   ========================================================= */

/* Home: 5 promo banners (row inner class "dm-grid-row", big one "dm-big") */
.dm-grid-row {
	display: grid !important;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: 300px 300px;
	gap: 18px;
	margin: 0 !important;
}
.dm-grid-row::before,
.dm-grid-row::after {
	display: none !important;
}
.dm-grid-row > .wpb_column {
	width: auto !important;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.dm-grid-row > .dm-big {
	grid-row: span 2;
}
.dm-grid-row .vc_column-inner,
.dm-grid-row .wpb_wrapper,
.dm-grid-row .promo-banner-wrapper,
.dm-grid-row .promo-banner,
.dm-grid-row .main-wrapp-img,
.dm-grid-row .banner-image {
	height: 100%;
	padding: 0 !important;
	margin: 0 !important;
}
.dm-grid-row .promo-banner {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(13, 59, 84, 0.14);
}
.dm-grid-row .banner-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.dm-grid-row .wrapper-content-banner {
	align-items: flex-end !important;
	padding: 24px !important;
	background: linear-gradient(180deg, rgba(8, 34, 48, 0) 30%, rgba(8, 34, 48, 0.55) 62%, rgba(8, 34, 48, 0.9) 100%);
}
.dm-grid-row .banner-title {
	color: #fff !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	line-height: 1.15;
	margin-bottom: 6px;
}
.dm-grid-row .dm-big .banner-title {
	font-size: 38px !important;
}
.dm-grid-row .banner-inner,
.dm-grid-row .banner-inner p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 14.5px;
	max-width: 420px;
}
.dm-grid-row .dm-big .banner-inner p {
	font-size: 16.5px;
}
.dm-grid-row .banner-btn-wrapper {
	margin-top: 12px;
}
@media (max-width: 1024px) {
	.dm-grid-row {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 380px repeat(2, 250px);
	}
	.dm-grid-row > .dm-big {
		grid-row: auto;
		grid-column: span 2;
	}
}
@media (max-width: 767px) {
	.dm-grid-row {
		grid-template-rows: 360px repeat(2, 220px);
		gap: 12px;
	}
	.dm-grid-row .promo-banner {
		border-radius: 16px;
	}
	.dm-grid-row .wrapper-content-banner {
		padding: 14px !important;
	}
	.dm-grid-row .banner-title {
		font-size: 18px !important;
	}
	.dm-grid-row .dm-big .banner-title {
		font-size: 28px !important;
	}
	.dm-grid-row > :not(.dm-big) .banner-inner {
		display: none;
	}
	.dm-grid-row > :not(.dm-big) .btn {
		font-size: 12px;
		padding: 6px 12px;
		min-height: 0;
	}
}

/* Buttons on dark backgrounds keep the white look */
.dn-hero .wd-button-wrapper,
.dl-info-col .wd-button-wrapper,
.dl-col .wd-button-wrapper {
	margin: 6px 8px 6px 0;
}

/* DACNIS page */
.dn-hero .wd-image {
	text-align: center !important;
}
.dn-stats-row {
	margin-top: -64px !important;
	position: relative;
	z-index: 3;
}
.dn-stat {
	height: 100%;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 18px;
	padding: 22px 20px !important;
}
.dn-stat .info-box-icon,
.dl-metric .info-box-icon,
.da-stat .info-box-icon {
	color: var(--dv-blue);
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
}
.dn-stat .info-box-title {
	color: var(--dv-navy);
	font-size: 16px;
	margin-bottom: 4px;
}
.dn-stat .info-box-inner,
.dn-mission-box .info-box-inner,
.dv-channel-box .info-box-inner {
	color: #4a5568;
	font-size: 14px;
	line-height: 1.55;
}
.dn-timeline-row {
	margin-top: 10px;
}
.dn-year {
	border-top: 3px solid var(--dv-blue);
	padding-top: 12px !important;
}
.dn-year .info-box-icon {
	color: var(--dv-navy);
	font-size: 22px;
	font-weight: 800;
}
.dn-year .info-box-title {
	font-size: 14px;
	color: var(--dv-ink);
	margin-bottom: 2px;
}
.dn-year .info-box-inner {
	font-size: 13px;
	color: #5b7486;
}
.dn-follow {
	font-weight: 700;
	color: var(--dv-ink);
	margin: 14px 0 8px;
}
.dn-mission-box {
	height: 100%;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 18px;
	padding: 26px 20px 22px !important;
	transition: all 0.28s ease;
}
.dn-mission-box:hover {
	transform: translateY(-6px);
	border-color: var(--dv-blue);
	box-shadow: 0 16px 34px rgba(0, 158, 226, 0.14);
}
.dn-mission-box .info-box-icon,
.dv-channel-box .info-box-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--dv-sky);
	font-size: 25px;
}
.dn-mission-box .info-box-title {
	color: var(--dv-navy);
	font-size: 17.5px;
	font-weight: 800;
}
.dn-missions-row > .wpb_column {
	margin-bottom: 16px;
}
.dn-join-col > .vc_column-inner {
	background: linear-gradient(140deg, #0d3b54 0%, #0077b6 100%);
	border-radius: 22px;
	padding: 34px 30px !important;
	color: #fff;
}
.dn-join-col h3 {
	color: #fff !important;
	font-size: 28px;
	font-weight: 800;
}
.dn-join-col p {
	color: rgba(255, 255, 255, 0.88);
}
.dn-join-col .dv-pill {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}
.dn-join-list {
	margin: 10px 0 22px !important;
}
.dn-join-list li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.dn-join-list a,
.df-list a {
	color: #fff !important;
}
.dn-join-btn .btn,
.dn-join-btn.btn {
	width: 100%;
}

/* Contact */
.dv-left-title {
	margin-bottom: 18px !important;
}
.dv-channel-box {
	display: flex !important;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--dv-line) !important;
	border-radius: 14px;
	padding: 16px 18px !important;
	margin-bottom: 12px;
	transition: all 0.25s ease;
}
.dv-channel-box .box-icon-wrapper {
	margin: 0 !important;
	flex: 0 0 auto;
}
.dl-metric,
.da-stat {
	border: 1px solid var(--dv-line);
}
.dv-channel-box:hover {
	border-color: var(--dv-blue) !important;
	transform: translateY(-3px);
}
.dv-channel-box .info-box-icon {
	width: 46px;
	height: 46px;
	font-size: 21px;
	line-height: 46px;
	text-align: center;
}
.dv-channel-box .info-box-title {
	color: var(--dv-navy);
	font-size: 16px;
	margin-bottom: 2px;
}
.dv-contact-social {
	margin-top: 8px;
}
.dv-form-col > .vc_column-inner {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-top: 5px solid var(--dv-blue);
	border-radius: 18px;
	padding: 30px 28px !important;
	box-shadow: 0 14px 36px rgba(13, 59, 84, 0.07);
}
.dv-form-col .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.dv-form-col .wpcf7 select,
.dv-form-col .wpcf7 textarea {
	border-radius: 10px;
	border-color: #cfe5f0;
	background: #fbfdfe;
}
.dv-form-col .wpcf7-submit {
	width: 100%;
	border-radius: 10px;
	background: var(--dv-ink) !important;
	color: #fff !important;
}
.dv-form-col .wpcf7-submit:hover {
	background: var(--dv-blue) !important;
}

/* Libros */
.dl-hero .wpb_wrapper {
	text-align: center;
}
.dl-quick-title {
	margin: 18px 0 4px;
	font-weight: 700;
	color: var(--dv-ink);
}
.dl-hero .wd-button-wrapper {
	margin: 4px;
}
@media (min-width: 768px) {
	.dl-row {
		display: flex;
		flex-wrap: wrap;
	}
}
.dl-col > .vc_column-inner {
	height: 100%;
	padding: 0 0 24px !important;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(13, 59, 84, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	scroll-margin-top: 120px;
}
.dl-col > .vc_column-inner:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 158, 226, 0.16);
}
.dl-col > .vc_column-inner > .wpb_wrapper {
	padding: 0 24px;
}
.dl-col .wd-image {
	margin-left: -24px !important;
	margin-right: -24px !important;
	padding: 34px 30px 26px;
	background: linear-gradient(160deg, #e6f3f8 0%, #f4f9f5 100%);
	text-align: center !important;
	margin-bottom: 20px !important;
}
.dl-col .wd-image img {
	height: 320px !important;
	width: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 18px 34px rgba(13, 59, 84, 0.25);
}
.dl-tag {
	display: inline-block;
	background: var(--dv-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
}
.dl-col h3 {
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 6px;
}
.dl-col h3 a {
	color: var(--dv-navy);
}
.dl-author {
	color: var(--dv-blue-dark);
	font-weight: 700;
	font-size: 14px;
}
.dl-metrics-row {
	margin: 4px 0 18px !important;
}
.dl-metric {
	background: #fff;
	border-radius: 12px;
	padding: 14px 10px !important;
}
.dl-metric .info-box-icon {
	font-size: 26px;
}
.dl-metric .info-box-title {
	font-size: 13px;
	color: #475569;
	font-weight: 600;
}
.dl-wa .btn,
.btn.dl-wa {
	background: linear-gradient(135deg, #128c4a 0%, #25d366 100%) !important;
	color: #fff !important;
}

/* Activity posts */
.da-stats-row {
	margin: 22px 0 !important;
}
.da-stat {
	border-top: 4px solid var(--dv-blue) !important;
	border-radius: 14px;
	padding: 16px 10px !important;
}
.da-stat .info-box-title {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #5b7486;
}
.da-img img {
	border-radius: 14px;
}
.da-caption {
	font-size: 13px !important;
	color: #64748b !important;
	margin-top: -10px;
}

/* Footer (HTML block "Footer DACNIS") */
.df-logo img {
	width: 170px;
	height: auto;
}
.df-brand-col p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14.5px;
	line-height: 1.7;
}
.df-brand-col a {
	color: #4fe0ff;
}
.df-h {
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
}
.df-list li {
	margin-bottom: 6px;
}
.df-list a {
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 14.5px;
}
.df-list a:hover {
	color: #4fe0ff !important;
}
.vc_row.df-footer--bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.df-place {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
}
.df-join .btn,
.btn.df-join {
	color: #4fe0ff !important;
	font-weight: 700;
}
@media (max-width: 767px) {
	.dn-stats-row {
		margin-top: -20px !important;
	}
	.dn-stat {
		padding: 16px 14px !important;
		margin-bottom: 10px;
	}
	.dn-stat .info-box-icon {
		font-size: 28px;
	}
	.dn-join-col > .vc_column-inner {
		padding: 26px 20px !important;
		margin-bottom: 20px;
	}
	.dv-form-col > .vc_column-inner {
		padding: 22px 16px !important;
	}
	.dl-col .wd-image img {
		height: 260px !important;
	}
	.dl-col {
		margin-bottom: 20px;
	}
	.df-links-col {
		margin-bottom: 10px;
	}
	.df-join {
		text-align: left !important;
	}
}

/* ---- Pages built before: native versions of their cards and buttons ---- */

/* Home: "¿Quieres volar con la bandada?" column + Manual banner row */
.dacnis-join-col > .vc_column-inner {
	background: #f4f8f9;
	border: 1px solid #d3e4e5;
	border-radius: 14px;
	padding: 55px 35px !important;
	text-align: center;
}
.dacnis-join-col h2 {
	font-size: 32px;
	font-weight: 700;
	color: #102a38;
}
.dacnis-join-col p {
	max-width: 660px;
	margin-left: auto;
	margin-right: auto;
	color: #4a5568;
}
.dacnis-join-social {
	margin-top: 16px;
}
.vc_row.dacnis-resource-row {
	background: linear-gradient(135deg, #102a38 0%, #006b99 100%);
	border-radius: 14px;
	padding: 42px 33px;
	margin: 0 !important;
	box-shadow: 0 14px 34px rgba(16, 42, 56, 0.18);
}
.dacnis-resource-row h3 {
	color: #fff !important;
	font-size: 28px;
	font-weight: 700;
}
.dacnis-resource-row p {
	color: rgba(255, 255, 255, 0.88);
}

/* Publicaciones: 4 cards + tab buttons */
.dacnis-pub-box {
	height: 100%;
	border: 1px solid #d3e4e5;
	border-radius: 14px;
	padding: 26px 22px !important;
	transition: all 0.28s ease;
}
.dacnis-pub-box:hover {
	transform: translateY(-5px);
	border-color: #008ecc;
}
.dacnis-pub-box .info-box-icon {
	display: inline-block;
	background: #eef5f6;
	color: #006b99;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 4px 10px;
	border-radius: 6px;
}
.dacnis-pub-box .info-box-title {
	color: #102a38;
	font-size: 19px;
	font-weight: 700;
}
.dacnis-pub-box .info-box-inner {
	color: #555;
	font-size: 14px;
	line-height: 1.6;
}
.dacnis-cat-btn {
	margin: -10px 0 26px;
}

/* Rupícola: zigzag timeline with one row per volume (Caja de información + Botón) */
.vc_row.dacnis-ztl-native {
	position: relative;
	margin: 0 !important;
	padding-bottom: 40px;
}
.vc_row.dacnis-ztl-native::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 0 !important;
	border-left: 3px dashed #7cc4e4;
	transform: translateX(-50%);
}
.dacnis-ztl-native > .wpb_column {
	position: relative;
	z-index: 2;
}
.dacnis-ztl-native.is-left > .wpb_column > .vc_column-inner {
	padding-right: 48px !important;
}
.dacnis-ztl-native.is-right > .wpb_column > .vc_column-inner {
	padding-left: 48px !important;
}
.dacnis-ztl-box {
	position: relative;
	overflow: visible !important;
	border-radius: 16px;
	border: 1px solid #d4e6f0;
	border-top: 6px solid #0088c6;
	padding: 24px !important;
	margin-bottom: 12px;
}
.dacnis-theme-navy .dacnis-ztl-box { border-top-color: #164e63; }
.dacnis-theme-red .dacnis-ztl-box { border-top-color: #e11d48; }
.dacnis-theme-teal .dacnis-ztl-box { border-top-color: #0096c7; }
.dacnis-ztl-box .box-icon-wrapper {
	position: absolute;
	top: 14px;
	margin: 0 !important;
	z-index: 5;
}
.is-left .dacnis-ztl-box .box-icon-wrapper {
	right: -85px;
}
.is-right .dacnis-ztl-box .box-icon-wrapper {
	left: -85px;
}
.dacnis-ztl-box .info-box-icon {
	width: 74px;
	height: 38px;
	line-height: 32px;
	text-align: center;
	background: #0d3b54;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	border-radius: 30px;
	border: 3px solid #fff;
	box-shadow: 0 6px 16px rgba(13, 59, 84, 0.22);
}
.dacnis-ztl-box .info-box-title {
	color: #0d3b54;
	font-size: 20px;
	font-weight: 800;
}
.dacnis-ztl-meta {
	font-size: 13px;
	color: #0077b6;
}
.dacnis-ztl-box .info-box-inner p {
	color: #475569;
	font-size: 14.5px;
	line-height: 1.68;
}
.dacnis-ztl-download .btn,
.btn.dacnis-ztl-download {
	width: 100%;
}
.dacnis-theme-red .btn.dacnis-ztl-download {
	background: #e11d48;
}
@media (max-width: 991px) {
	.vc_row.dacnis-ztl-native::before {
		left: 28px;
	}
	.dacnis-ztl-native > .wpb_column {
		width: 100% !important;
		margin-left: 0 !important;
	}
	.dacnis-ztl-native.is-left > .wpb_column > .vc_column-inner,
	.dacnis-ztl-native.is-right > .wpb_column > .vc_column-inner {
		padding-left: 72px !important;
		padding-right: 15px !important;
	}
	.is-left .dacnis-ztl-box .box-icon-wrapper,
	.is-right .dacnis-ztl-box .box-icon-wrapper {
		left: -78px;
		right: auto;
	}
	.dacnis-ztl-box .info-box-icon {
		width: 64px;
		font-size: 15px;
	}
}

/* Libro Aves del Valle: buy buttons */
.dacnis-buy-btn .btn,
.btn.dacnis-buy-btn {
	border-radius: 10px;
	background: linear-gradient(135deg, #15508d 0%, #3a8bdf 100%);
	color: #fff !important;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.dv-contact-hero {
	background: linear-gradient(180deg, #dff1f8 0%, #eef7fb 65%, #f8fbfd 100%) !important;
	border-bottom: 1px solid #d0e7f2;
}
.dv-contact-hero .dv-intro {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.dv-contact-hero h1 {
	color: var(--dv-navy) !important;
	font-size: 40px;
	font-weight: 800;
	margin-bottom: 12px;
}
.dv-contact-hero h1 span {
	color: var(--dv-blue);
}
.dv-contact-hero p {
	color: var(--dv-text);
	font-size: 16.5px;
	line-height: 1.7;
	margin: 0;
}
.dv-channels {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dv-channel {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 14px;
	padding: 18px 20px;
	color: inherit;
	box-shadow: 0 6px 18px rgba(13, 59, 84, 0.04);
	transition: all 0.25s ease;
}
a.dv-channel:hover {
	border-color: var(--dv-blue);
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(0, 158, 226, 0.12);
}
.dv-channel i {
	flex: 0 0 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--dv-sky);
	color: var(--dv-blue-dark);
	font-style: normal;
	font-size: 22px;
}
.dv-channel strong {
	display: block;
	color: var(--dv-navy);
	font-size: 16px;
}
.dv-channel span {
	color: #5b7486;
	font-size: 14px;
}
.dv-form-card {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-top: 5px solid var(--dv-blue);
	border-radius: 18px;
	padding: 30px 28px;
	box-shadow: 0 14px 36px rgba(13, 59, 84, 0.07);
}
.dv-form-card h2 {
	color: var(--dv-navy);
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 6px;
}
.dv-form-card > p {
	color: var(--dv-text);
	margin-bottom: 18px;
}
.dv-form-card .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.dv-form-card .wpcf7 select,
.dv-form-card .wpcf7 textarea {
	border-radius: 10px;
	border-color: #cfe5f0;
	background: #fbfdfe;
}
.dv-form-card .wpcf7 textarea {
	min-height: 140px;
}
.dv-form-card .wpcf7-submit {
	width: 100%;
	border-radius: 10px;
	background: var(--dv-ink) !important;
	color: #fff !important;
	font-weight: 700;
	padding: 14px 20px;
}
.dv-form-card .wpcf7-submit:hover {
	background: var(--dv-blue) !important;
}
.dv-form-card .wpcf7-submit:disabled {
	opacity: 0.55;
}
.dv-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
.dv-form-card .wpcf7-list-item {
	margin: 0;
	font-size: 13.5px;
	color: #5b7486;
}
@media (max-width: 767px) {
	.dv-contact-hero h1 { font-size: 28px; }
	.dv-form-card { padding: 22px 16px; }
	.dv-form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   LIBROS: helpers for the book pages (they reuse the
   .dacnis-book-* classes from the Libro Aves del Valle page)
   ========================================================= */
/* The theme-options CSS has a stray "}" just before this rule, so the
   browser drops it there: repeated here so the book hero keeps its colour. */
.dacnis-book-hero {
	background: linear-gradient(135deg, #eef6f0 0%, #e6f3f8 55%, #f7fbfd 100%) !important;
	border-bottom: 1px solid #d2e7ef;
}
.dacnis-book-buy-box .dv-book-secondary {
	display: block;
	text-align: center;
}
.dv-btn-wa {
	background: linear-gradient(135deg, #128c4a 0%, #25d366 100%) !important;
	box-shadow: 0 8px 20px rgba(18, 140, 74, 0.25) !important;
}
.dv-btn-wa:hover {
	background: linear-gradient(135deg, #0b6b37 0%, #1fb457 100%) !important;
}
.dv-book-secondary {
	display: inline-block;
	margin-top: 12px;
	font-weight: 700;
	color: var(--dv-blue-dark) !important;
}
.dv-book-cover-ph {
	aspect-ratio: 3 / 4;
	border-radius: 12px;
	background: linear-gradient(160deg, #0d3b54 0%, #0077b6 60%, #2ce0ff 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 34px 28px;
	box-shadow: 0 22px 45px rgba(13, 59, 84, 0.18);
	border: 4px solid #fff;
}
.dv-book-cover-ph small {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	opacity: 0.8;
}
.dv-book-cover-ph strong {
	font-size: 34px;
	line-height: 1.1;
	font-weight: 800;
	margin: 10px 0 8px;
}
.dv-poem {
	background: #fff;
	border: 1px solid var(--dv-line);
	border-radius: 16px;
	padding: 28px 30px;
	font-style: italic;
	font-size: 17px;
	line-height: 1.8;
	color: var(--dv-ink);
	box-shadow: 0 10px 26px rgba(13, 59, 84, 0.06);
}
