:root {
	--ep-burdeos: #7D0400;
	--ep-verde: #126000;
	--ep-naranja: #EC8900;
	--ep-blanco: #FFFFFF;
	--ep-crema: #FFF8F2;
	--ep-texto: #2b2b2b;
	--ep-borde: rgba(125, 4, 0, 0.14);
	--ep-max: 1240px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ep-blanco);
	color: var(--ep-texto);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.65;
}

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

a {
	color: var(--ep-burdeos);
}

a:hover {
	color: var(--ep-verde);
}

.content-wrap {
	width: min(calc(100% - 40px), var(--ep-max));
	margin-inline: auto;
}

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

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: #000;
}

.site-header {
	position: relative;
	z-index: 100;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--ep-borde);
}

.site-header__inner {
	width: min(calc(100% - 40px), var(--ep-max));
	min-height: 92px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.site-branding {
	flex: 0 0 auto;
}

.custom-logo-link {
	display: inline-block;
}

.site-header .custom-logo {
	width: auto;
	max-width: min(420px, 42vw);
	max-height: 72px;
	object-fit: contain;
}

.site-title {
	font-size: 1.7rem;
	font-weight: 800;
	text-decoration: none;
	color: var(--ep-burdeos);
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav li {
	position: relative;
}

.primary-nav a {
	display: block;
	padding: 12px 13px;
	color: var(--ep-burdeos);
	font-size: .92rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .025em;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--ep-verde);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 200;
	display: none;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--ep-borde);
	box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	display: block;
}

.primary-nav .sub-menu a {
	padding: 9px 11px;
	text-transform: none;
	white-space: nowrap;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 42px;
	padding: 9px;
	border: 1px solid var(--ep-borde);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.menu-toggle__line {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: var(--ep-burdeos);
}

.site-main {
	min-height: 60vh;
}

.home-hero {
	min-height: 520px;
	background: linear-gradient(135deg, var(--ep-crema), #fff);
	background-position: center;
	background-size: cover;
}

.home-hero__overlay {
	min-height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	background: linear-gradient(to bottom, rgba(255,255,255,.05), rgba(0,0,0,.18));
}

.home-hero__content {
	max-width: 900px;
	text-align: center;
	color: #fff;
	text-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.home-hero:not(.home-hero--image) .home-hero__content {
	color: var(--ep-burdeos);
	text-shadow: none;
}

.home-hero__content h1 {
	margin: 0;
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	line-height: 1;
}

.home-hero__content p {
	margin: 18px 0 0;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.home-hero__logo {
	display: none;
}

.home-content,
.entry-content,
.archive-wrap,
.error-404 {
	padding-block: 54px 70px;
}

.page-header {
	padding-top: 44px;
}

.page-header h1,
.page-hero h1 {
	margin: 0;
	color: var(--ep-burdeos);
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.05;
}

.page-hero {
	min-height: 390px;
	background-position: center;
	background-size: cover;
}

.page-hero__overlay {
	min-height: inherit;
	display: flex;
	align-items: end;
	padding: 45px max(20px, calc((100vw - var(--ep-max)) / 2));
	background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05));
}

.page-hero h1 {
	color: #fff;
	text-shadow: 0 2px 15px rgba(0,0,0,.35);
}

.entry-content h2,
.entry-content h3 {
	color: var(--ep-burdeos);
}

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

.post-card {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ep-borde);
	border-radius: 12px;
}

.post-card__image img {
	aspect-ratio: 3 / 2;
	width: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 20px;
}

.post-card__body h2 {
	margin-top: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.post-card__body h2 a {
	text-decoration: none;
}

.button-link {
	display: inline-block;
	padding: 11px 18px;
	border-radius: 8px;
	background: var(--ep-burdeos);
	color: #fff;
	text-decoration: none;
}

.button-link:hover {
	background: var(--ep-verde);
	color: #fff;
}

.site-footer {
	position: relative;
	margin-top: 50px;
	background: var(--ep-naranja);
	color: #fff;
}

.site-footer__landscape {
	height: 80px;
	overflow: hidden;
	background: var(--ep-crema);
}

.site-footer__landscape svg {
	display: block;
	width: 100%;
	height: 100%;
}

.site-footer__landscape path {
	fill: var(--ep-naranja);
}

.site-footer__inner {
	width: min(calc(100% - 40px), var(--ep-max));
	margin-inline: auto;
	padding: 24px 0 36px;
	text-align: center;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 20px;
	margin: 16px 0;
	padding: 0;
	list-style: none;
}

.footer-nav a,
.site-footer a {
	color: #fff;
}

.site-footer__copy {
	margin: 10px 0 0;
	font-size: .9rem;
}

@media (max-width: 900px) {
	body {
		font-size: 17px;
	}

	.site-header__inner {
		min-height: 78px;
	}

	.site-header .custom-logo {
		max-width: 280px;
		max-height: 58px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		background: #fff;
		border-bottom: 1px solid var(--ep-borde);
		box-shadow: 0 10px 25px rgba(0,0,0,.08);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav ul {
		display: block;
		width: min(calc(100% - 40px), var(--ep-max));
		margin-inline: auto;
		padding-block: 10px 18px;
	}

	.primary-nav .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 18px;
		border: 0;
		box-shadow: none;
	}

	.primary-nav a {
		padding: 9px 0;
	}

	.home-hero {
		min-height: 420px;
	}

	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.content-wrap,
	.site-header__inner,
	.site-footer__inner {
		width: min(calc(100% - 28px), var(--ep-max));
	}

	.site-header .custom-logo {
		max-width: 220px;
	}

	.home-hero {
		min-height: 350px;
	}

	.page-hero {
		min-height: 300px;
	}

	.post-grid {
		grid-template-columns: 1fr;
	}
}


/* ======================================================
   HERO PORTADA
   ====================================================== */

.home-hero {
	min-height: 540px;
	background-color: #f6f3ef;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.home-hero__overlay {
	min-height: 540px;
	display: flex;
	align-items: center;

	background:
		linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.24) 0%,
			rgba(0, 0, 0, 0.10) 40%,
			rgba(0, 0, 0, 0.00) 70%
		);
}

.home-hero__inner {
	width: min(calc(100% - 80px), 1240px);
	margin-inline: auto;
}

.home-hero__content {
	max-width: 600px;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.home-hero__content h1 {
	margin: 0;
	font-size: clamp(3rem, 5.5vw, 5.4rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.03em;
}

.home-hero__content p {
	margin: 22px 0 28px;
	font-size: clamp(1.15rem, 1.8vw, 1.55rem);
	font-weight: 500;
	line-height: 1.25;
}

.home-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	padding: 13px 22px;
	border: 2px solid rgba(255,255,255,0.85);
	border-radius: 999px;
	background: #7D0400;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0,0,0,.18);
	transition:
		background-color .2s ease,
		transform .2s ease;
}

.home-hero__button:hover {
	background: #126000;
	color: #ffffff;
	transform: translateY(-1px);
}

.home-hero__button span {
	font-size: 1.35em;
	line-height: 1;
}

@media (max-width: 900px) {

	.home-hero,
	.home-hero__overlay {
		min-height: 470px;
	}

	.home-hero__inner {
		width: min(calc(100% - 48px), 1240px);
	}

	.home-hero__content {
		max-width: 500px;
	}
}

@media (max-width: 620px) {

	.home-hero {
		min-height: 430px;
		background-position: 64% center;
	}

	.home-hero__overlay {
		min-height: 430px;
		align-items: flex-end;
		padding-bottom: 32px;

		background:
			linear-gradient(
				to top,
				rgba(0,0,0,.60) 0%,
				rgba(0,0,0,.18) 58%,
				rgba(0,0,0,.02) 100%
			);
	}

	.home-hero__inner {
		width: calc(100% - 30px);
	}

	.home-hero__content h1 {
		font-size: 2.35rem;
	}

	.home-hero__content p {
		margin: 14px 0 20px;
		font-size: 1rem;
	}

	.home-hero__button {
		padding: 10px 16px;
		font-size: .9rem;
	}
}


/* ======================================================
   HEADER v2
   ====================================================== */

.site-header__inner {
	width: min(calc(100% - 64px), 1440px);
	min-height: 112px;

	display: grid;
	grid-template-columns: 330px minmax(0, 1fr) 150px;
	align-items: center;
	gap: 24px;

	margin-inline: auto;
}


/* LOGO */

.site-branding {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.site-header .custom-logo {
	width: auto;
	height: auto;

	max-width: 305px;
	max-height: 88px;

	object-fit: contain;
}


/* MENÚ */

.primary-nav {
	justify-self: center;
}

.primary-nav ul {
	justify-content: center;
	gap: 12px;
}

.primary-nav a {
	padding: 12px 8px;

	font-size: .95rem;
	font-weight: 750;
	letter-spacing: .015em;
}


/* ACCIONES DERECHA */

.header-actions {
	justify-self: end;

	display: flex;
	align-items: center;
	gap: 14px;
}


/* REDES */

.header-social {
	display: flex;
	align-items: center;
	gap: 9px;
}

.social-icon {
	width: 30px;
	height: 30px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	color: #ffffff;
	text-decoration: none;

	transition:
		transform .18s ease,
		opacity .18s ease;
}

.social-icon:hover {
	color: #ffffff;
	transform: translateY(-2px);
	opacity: .86;
}

.social-icon svg {
	width: 17px;
	height: 17px;
	display: block;
	fill: currentColor;
}

.social-icon--x {
	background: #111111;
}

.social-icon--facebook {
	background: #1877F2;
}

.social-icon--instagram {
	background:
		linear-gradient(
			135deg,
			#833AB4 0%,
			#C13584 38%,
			#E1306C 62%,
			#FCAF45 100%
		);
}


/* TABLET */

@media (max-width: 1100px) {

	.site-header__inner {
		grid-template-columns: 270px minmax(0, 1fr) 130px;
		width: min(calc(100% - 40px), 1440px);
	}

	.site-header .custom-logo {
		max-width: 250px;
	}

	.primary-nav ul {
		gap: 4px;
	}

	.primary-nav a {
		font-size: .83rem;
		padding-inline: 6px;
	}

	.social-icon {
		width: 27px;
		height: 27px;
	}

	.social-icon svg {
		width: 15px;
		height: 15px;
	}
}


/* MÓVIL */

@media (max-width: 900px) {

	.site-header__inner {
		min-height: 82px;

		display: flex;
		justify-content: space-between;

		width: calc(100% - 30px);
	}

	.site-header .custom-logo {
		max-width: 225px;
		max-height: 68px;
	}

	.header-actions {
		margin-left: auto;
		gap: 12px;
	}

	.header-social {
		gap: 7px;
	}

	.social-icon {
		width: 28px;
		height: 28px;
	}

	.menu-toggle {
		display: block;
	}

}


/* TELÉFONO */

@media (max-width: 520px) {

	.site-header__inner {
		min-height: 72px;
	}

	.site-header .custom-logo {
		max-width: 180px;
		max-height: 56px;
	}

	.header-social {
		gap: 5px;
	}

	.social-icon {
		width: 25px;
		height: 25px;
	}

	.social-icon svg {
		width: 14px;
		height: 14px;
	}

	.menu-toggle {
		width: 39px;
		height: 38px;
		padding: 7px;
	}

}



/* ======================================================
   MENÚ MÓVIL AJUSTADO
   ====================================================== */

@media (max-width: 900px) {

	.primary-nav {
		top: 100%;
		left: auto;
		right: 0;

		width: min(78vw, 360px);

		background: #ffffff;
		border-left: 1px solid rgba(125, 4, 0, .10);
		border-bottom: 1px solid rgba(125, 4, 0, .10);

		box-shadow: -12px 16px 30px rgba(0,0,0,.12);
	}

	.primary-nav ul {
		width: 100%;
		margin: 0;
		padding: 12px 18px 18px;
	}

	.primary-nav li {
		margin: 0;
	}

	.primary-nav a {
		padding: 7px 0;

		font-size: 1rem;
		line-height: 1.15;
	}

	.primary-nav .sub-menu {
		padding: 2px 0 4px 16px;
	}

	.primary-nav .sub-menu a {
		padding: 5px 0;

		font-size: .94rem;
		line-height: 1.1;
	}

	.primary-nav .sub-menu .sub-menu {
		padding-left: 14px;
	}

}


/* TELÉFONOS ESTRECHOS */

@media (max-width: 520px) {

	.primary-nav {
		width: min(82vw, 330px);
	}

	.primary-nav ul {
		padding: 10px 16px 16px;
	}

	.primary-nav a {
		padding: 6px 0;
		font-size: .96rem;
	}

	.primary-nav .sub-menu {
		padding-left: 14px;
	}

	.primary-nav .sub-menu a {
		padding: 4px 0;
		font-size: .91rem;
	}
}



/* ======================================================
   FOOTER v2
   ====================================================== */

.site-footer {
	position: relative;
	margin-top: 50px;
	background: transparent;
	color: #ffffff;
}


/* PAISAJE SUPERIOR */

.site-footer__landscape {
	position: relative;
	height: 105px;
	overflow: hidden;
	background: #FFF8F2;
}

.footer-horizon {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.footer-horizon__back {
	fill: #EC8900;
}


/* ÁRBOLES */

.footer-trees {
	position: absolute;
	right: 7%;
	bottom: 12px;
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.footer-tree {
	position: relative;
	display: block;
	width: 16px;
	background: #D97700;
	border-radius: 50% 50% 38% 38%;
}

.footer-tree::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -14px;
	width: 3px;
	height: 17px;
	transform: translateX(-50%);
	background: #D97700;
}

.footer-tree--small {
	height: 34px;
}

.footer-tree--large {
	height: 47px;
}


/* BLOQUE NARANJA */

.site-footer__main {
	background: #EC8900;
}

.site-footer__inner {
	width: min(calc(100% - 64px), 1440px);
	margin-inline: auto;

	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) 340px;
	align-items: center;
	gap: 36px;

	padding: 26px 0 30px;
}


/* LOGO FOOTER */

.footer-logo {
	display: inline-block;

	color: #ffffff;
	font-size: 2rem;
	font-weight: 800;
	font-style: italic;

	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.footer-logo:hover {
	color: #ffffff;
	opacity: .86;
}


/* MENÚ PIE */

.site-footer__links {
	text-align: center;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;

	margin: 0;
	padding: 0;

	list-style: none;
}

.footer-nav li {
	position: relative;
}

.footer-nav li:not(:last-child)::after {
	content: "|";
	position: absolute;
	right: -11px;
	color: rgba(255,255,255,.55);
}

.footer-nav a {
	color: #ffffff;
	font-size: .87rem;
	text-decoration: none;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.site-footer__copy {
	margin: 12px 0 0;

	color: rgba(255,255,255,.92);

	font-size: .82rem;
}


/* TEXTO DERECHA */

.site-footer__about {
	padding-left: 30px;
	border-left: 1px solid rgba(255,255,255,.65);

	font-size: .88rem;
	line-height: 1.45;
}

.site-footer__about p {
	margin: 0;
}


/* TABLET */

@media (max-width: 1000px) {

	.site-footer__inner {
		grid-template-columns: 210px minmax(0, 1fr);
	}

	.site-footer__about {
		grid-column: 1 / -1;

		padding: 18px 0 0;
		border-left: 0;
		border-top: 1px solid rgba(255,255,255,.45);

		text-align: center;
	}

}


/* MÓVIL */

@media (max-width: 700px) {

	.site-footer__landscape {
		height: 85px;
	}

	.footer-trees {
		right: 8%;
		bottom: 10px;
		transform: scale(.82);
		transform-origin: bottom right;
	}

	.site-footer__inner {
		width: calc(100% - 30px);

		display: block;

		padding: 22px 0 26px;

		text-align: center;
	}

	.footer-logo {
		font-size: 1.65rem;
	}

	.site-footer__links {
		margin-top: 17px;
	}

	.footer-nav ul {
		gap: 6px 14px;
	}

	.footer-nav li:not(:last-child)::after {
		right: -9px;
	}

	.footer-nav a {
		font-size: .8rem;
	}

	.site-footer__about {
		margin-top: 18px;
		padding-top: 16px;

		font-size: .8rem;
	}

	.site-footer__copy {
		font-size: .76rem;
	}

}



/* ======================================================
   AJUSTES FOOTER
   ====================================================== */

/* Fondo blanco encima de la franja naranja */
.site-footer__landscape {
	background: #FFFFFF;
}


/* Copyright / licencia en dos líneas */
.site-footer__copy {
	margin-top: 12px;
	font-size: .80rem;
	line-height: 1.45;
	color: rgba(255,255,255,.94);
}

.site-footer__copy p {
	margin: 3px 0;
}

.site-footer__copy a {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.site-footer__copy a:hover {
	color: #FFFFFF;
	opacity: .85;
}


/* Ajuste móvil */
@media (max-width: 700px) {

	.site-footer__copy {
		font-size: .73rem;
		line-height: 1.4;
	}

}



/* ======================================================
   FOOTER SIN BLOQUE DERECHO
   ====================================================== */

.site-footer__inner {
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 48px;
}

.site-footer__links {
	text-align: center;
}

@media (max-width: 1000px) {

	.site-footer__inner {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 32px;
	}

}

@media (max-width: 700px) {

	.site-footer__inner {
		display: block;
		text-align: center;
	}

	.site-footer__links {
		margin-top: 18px;
	}

}



/* ======================================================
   OLA SUPERIOR HERO
   ====================================================== */

.home-hero {
	position: relative;
	overflow: hidden;
}

.home-hero__topwave {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 72px;
	z-index: 2;
	pointer-events: none;
}

.home-hero__topwave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.home-hero__topwave path {
	fill: #ffffff;
}

.home-hero__overlay {
	position: relative;
	z-index: 3;
}


/* ======================================================
   BUSCADOR HEADER
   ====================================================== */

.header-actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 14px;
}

.header-search {
	position: relative;
	display: flex;
	align-items: center;
}

.search-toggle {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #222222;
	padding: 0;
}

.search-toggle svg {
	width: 22px;
	height: 22px;
	display: block;
	fill: currentColor;
}

.header-search__form {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transition: all .22s ease;
}

.header-search.is-open .header-search__form {
	width: 250px;
	opacity: 1;
	pointer-events: auto;
}

.header-search__form input[type="search"] {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(125, 4, 0, .18);
	border-radius: 10px;
	background: #ffffff;
	color: #222222;
	font-size: .95rem;
	box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.header-search__form input[type="search"]:focus {
	outline: none;
	border-color: #7D0400;
}

@media (max-width: 900px) {
	.home-hero__topwave {
		height: 52px;
	}

	.search-toggle {
		width: 30px;
		height: 30px;
	}

	.search-toggle svg {
		width: 20px;
		height: 20px;
	}

	.header-search.is-open .header-search__form {
		width: 200px;
	}
}

@media (max-width: 520px) {
	.home-hero__topwave {
		height: 42px;
	}

	.header-search.is-open .header-search__form {
		width: 170px;
		right: -6px;
	}
}



/* ======================================================
   AJUSTE OLA + BUSCADOR
   ====================================================== */

/* Ola completamente blanca */
.home-hero__topwave {
	z-index: 10;
}

.home-hero__topwave svg,
.home-hero__topwave path {
	fill: #FFFFFF !important;
}

/* El overlay queda por debajo de la ola */
.home-hero__overlay {
	position: relative;
	z-index: 3;
}


/* BUSCADOR CORPORATIVO */

.search-toggle {
	width: 34px;
	height: 34px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 0;

	border: 0 !important;
	outline: 0 !important;

	background: transparent !important;
	color: #7D0400;

	border-radius: 50%;

	box-shadow: none !important;

	cursor: pointer;

	transition:
		color .18s ease,
		background-color .18s ease,
		transform .18s ease;
}

.search-toggle:hover {
	color: #126000;
	background: rgba(125, 4, 0, .05) !important;
	transform: translateY(-1px);
}

.search-toggle:focus,
.search-toggle:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(125, 4, 0, .18) !important;
}

.search-toggle svg {
	width: 22px;
	height: 22px;

	display: block;

	fill: currentColor;
}

@media (max-width: 900px) {

	.search-toggle {
		width: 30px;
		height: 30px;
	}

	.search-toggle svg {
		width: 20px;
		height: 20px;
	}

}



/* ======================================================
   QUITAR LÍNEA ENCIMA DE LA OLA
   ====================================================== */

.site-header {
	border-bottom: 0 !important;
	box-shadow: none !important;
}

.home-hero {
	margin-top: 0 !important;
	border-top: 0 !important;
}

.home-hero__topwave {
	top: 0;
	margin-top: 0 !important;
	border-top: 0 !important;
}



/* ======================================================
   TÍTULO DE PÁGINAS = MISMO TAMAÑO QUE H1
   ====================================================== */

.entry-title,
.page-title {
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 700;
    color: #7D0400;
    margin-bottom: 1.2em;
}

@media (max-width: 700px) {

    .entry-title,
    .page-title {
        font-size: 2rem;
    }

}



/* ======================================================
   TAMAÑO DEL TÍTULO DE LAS PÁGINAS
   ====================================================== */

.page-header h1 {
    font-size: 2.5rem !important;
    line-height: 1.15;
    font-weight: 700;
}

@media (max-width: 700px) {

    .page-header h1 {
        font-size: 2rem !important;
    }

}


/* ======================================================
   ONDA SUPERIOR DEL HERO
   Color corporativo naranja
   ====================================================== */

.home-hero__topwave {
    background: #EC8900 !important;
}

.home-hero__topwave svg path,
.home-hero__topwave svg polygon,
.home-hero__topwave svg rect {
    fill: #EC8900 !important;
}


/* ======================================================
   HEADER Y ONDA SUPERIOR
   Fondo corporativo naranja #EC8900
   ====================================================== */

/* Todo el encabezado: logo, menú, buscador y redes */
.site-header {
    background: #EC8900 !important;
}

/* Evitar que el contenedor interior conserve fondo blanco */
.site-header__inner {
    background: transparent !important;
}


/* La onda NO debe tener fondo rectangular */
.home-hero__topwave {
    background: transparent !important;
}


/* La forma SVG de la onda sí va en naranja */
.home-hero__topwave svg {
    background: transparent !important;
}

.home-hero__topwave svg path,
.home-hero__topwave svg polygon,
.home-hero__topwave svg rect {
    fill: #EC8900 !important;
}


/* ======================================================
   HEADER RESPONSIVE
   Colores oficiales:
   Granate #7D0400
   Verde   #126000
   Naranja #EC8900
   ====================================================== */


/* ------------------------------------------------------
   1. MENÚ PRINCIPAL: evitar saltos de línea
   ------------------------------------------------------ */

.primary-nav a {
    white-space: nowrap !important;
}


/* Reducir ligeramente el espacio cuando empieza a faltar ancho */
@media (max-width: 1250px) {

    .primary-nav > ul,
    .primary-nav .menu {
        column-gap: 22px !important;
        gap: 22px !important;
    }

    .primary-nav a {
        font-size: 0.96rem;
    }
}

@media (max-width: 1100px) {

    .primary-nav > ul,
    .primary-nav .menu {
        column-gap: 16px !important;
        gap: 16px !important;
    }

    .primary-nav a {
        font-size: 0.92rem;
    }
}


/* ------------------------------------------------------
   2. REDES SOCIALES
   Iconos propios, sin círculos de marca.
   Granate normal / verde al pasar el ratón
   ------------------------------------------------------ */

.header-social .social-icon {
    background: transparent !important;
    background-image: none !important;

    color: #7D0400 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    width: 34px !important;
    height: 34px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease !important;
}

.header-social .social-icon:hover,
.header-social .social-icon:focus {
    background: transparent !important;
    color: #126000 !important;
    transform: translateY(-1px);
}


/* SVG de X, Facebook e Instagram */
.header-social .social-icon svg {
    width: 26px !important;
    height: 26px !important;

    fill: currentColor !important;

    color: inherit !important;
}


/* Si algún icono utiliza stroke en lugar de fill */
.header-social .social-icon svg * {
    color: inherit !important;
}


/* ------------------------------------------------------
   3. BUSCADOR
   Mantenerlo integrado con el nuevo header
   ------------------------------------------------------ */

.search-toggle {
    color: #7D0400 !important;
}

.search-toggle:hover,
.search-toggle:focus {
    color: #126000 !important;
}

.search-toggle svg {
    stroke: currentColor !important;
}


/* ------------------------------------------------------
   4. BOTÓN MENÚ MÓVIL
   Granate
   ------------------------------------------------------ */

.menu-toggle {
    background: transparent !important;

    border: 2px solid #7D0400 !important;

    color: #7D0400 !important;

    box-shadow: none !important;
}

.menu-toggle__line {
    background: #7D0400 !important;
}

.menu-toggle:hover,
.menu-toggle:focus {
    border-color: #126000 !important;
    color: #126000 !important;
}

.menu-toggle:hover .menu-toggle__line,
.menu-toggle:focus .menu-toggle__line {
    background: #126000 !important;
}


/* ------------------------------------------------------
   5. EVITAR SCROLL HORIZONTAL EN MÓVIL
   ------------------------------------------------------ */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}


/* Elementos multimedia nunca deben superar la pantalla */
img,
svg,
video,
iframe {
    max-width: 100%;
}


/* Header completo */
.site-header {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.site-header__inner {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;
}


/* Acciones del header no pueden forzar más ancho */
.header-actions,
.header-social,
.header-search {
    min-width: 0;
}


/* ------------------------------------------------------
   6. TABLET
   ------------------------------------------------------ */

@media (max-width: 1000px) {

    .site-header__inner {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .header-actions {
        gap: 14px !important;
    }

    .header-social {
        gap: 10px !important;
    }
}


/* ------------------------------------------------------
   7. MÓVIL
   ------------------------------------------------------ */

@media (max-width: 700px) {

    .site-header__inner {
        padding-left: 16px !important;
        padding-right: 16px !important;

        gap: 12px !important;
    }

    .site-header .custom-logo {
        max-width: min(340px, 46vw) !important;
        height: auto !important;
    }

    .header-actions {
        gap: 10px !important;
        flex-shrink: 1 !important;
    }

    .header-social {
        gap: 7px !important;
        flex-shrink: 1 !important;
    }

    .header-social .social-icon {
        width: 31px !important;
        height: 31px !important;
    }

    .header-social .social-icon svg {
        width: 23px !important;
        height: 23px !important;
    }

    .search-toggle {
        flex: 0 0 auto !important;
    }

    .menu-toggle {
        flex: 0 0 auto !important;
        width: 54px !important;
        height: 54px !important;
    }
}


/* iPhone y pantallas estrechas */
@media (max-width: 480px) {

    .site-header__inner {
        padding-left: 12px !important;
        padding-right: 12px !important;

        gap: 8px !important;
    }

    .site-header .custom-logo {
        max-width: 43vw !important;
    }

    .header-actions {
        gap: 7px !important;
    }

    .header-social {
        gap: 5px !important;
    }

    .header-social .social-icon {
        width: 28px !important;
        height: 28px !important;
    }

    .header-social .social-icon svg {
        width: 21px !important;
        height: 21px !important;
    }

    .menu-toggle {
        width: 48px !important;
        height: 48px !important;
    }
}


/* ======================================================
   HEADER EN DOS FILAS
   Logo a la izquierda
   Redes/buscador arriba a la derecha
   Menú debajo
   ====================================================== */

.site-header__inner {
    display: grid !important;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(0, 1.8fr) !important;

    grid-template-rows:
        auto
        auto !important;

    column-gap: 34px !important;
    row-gap: 6px !important;

    align-items: center !important;
}


/* ------------------------------------------------------
   LOGO
   Ocupa las dos filas
   ------------------------------------------------------ */

.site-branding {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;

    align-self: center !important;
    justify-self: start !important;

    min-width: 0 !important;
}


/* ------------------------------------------------------
   BUSCADOR + REDES
   Primera fila, derecha
   ------------------------------------------------------ */

.header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;

    justify-self: end !important;
    align-self: end !important;

    display: flex !important;
    align-items: center !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
}


/* ------------------------------------------------------
   MENÚ
   Segunda fila, derecha
   ------------------------------------------------------ */

.primary-nav {
    grid-column: 2 !important;
    grid-row: 2 !important;

    justify-self: end !important;
    align-self: start !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 0 !important;
}


.primary-nav > ul,
.primary-nav .menu {
    justify-content: flex-end !important;

    margin: 0 !important;
}


/* Ninguna opción del menú parte en dos líneas */
.primary-nav a {
    white-space: nowrap !important;
}


/* ------------------------------------------------------
   AJUSTE EN PORTÁTILES / TABLETS GRANDES
   ------------------------------------------------------ */

@media (max-width: 1200px) {

    .site-header__inner {
        grid-template-columns:
            minmax(230px, 0.7fr)
            minmax(0, 1.8fr) !important;

        column-gap: 24px !important;
    }

    .primary-nav > ul,
    .primary-nav .menu {
        gap: 18px !important;
    }

    .primary-nav a {
        font-size: 0.92rem !important;
    }
}


/* ------------------------------------------------------
   MÓVIL
   El menú normal desaparece según las reglas existentes
   y aparece la hamburguesa.
   ------------------------------------------------------ */

@media (max-width: 900px) {

    .site-header__inner {
        grid-template-columns:
            minmax(0, 1fr)
            auto !important;

        grid-template-rows: auto !important;

        column-gap: 14px !important;
        row-gap: 0 !important;

        align-items: center !important;
    }


    .site-branding {
        grid-column: 1 !important;
        grid-row: 1 !important;

        min-width: 0 !important;
    }


    .header-actions {
        grid-column: 2 !important;
        grid-row: 1 !important;

        justify-self: end !important;
        align-self: center !important;

        min-width: 0 !important;
    }


    .primary-nav {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }
}


/* ------------------------------------------------------
   IPHONE / PANTALLAS ESTRECHAS
   Evitar que el header provoque scroll horizontal
   ------------------------------------------------------ */

@media (max-width: 600px) {

    .site-header__inner {
        padding-left: 12px !important;
        padding-right: 12px !important;

        column-gap: 8px !important;
    }


    .site-branding {
        max-width: 42vw !important;
    }


    .site-header .custom-logo {
        display: block !important;

        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }


    .header-actions {
        gap: 7px !important;

        flex-wrap: nowrap !important;
    }


    .header-social {
        gap: 5px !important;

        flex-wrap: nowrap !important;
    }
}


/* Pantallas especialmente estrechas */
@media (max-width: 420px) {

    .site-branding {
        max-width: 38vw !important;
    }


    .header-actions {
        gap: 5px !important;
    }


    .header-social {
        gap: 3px !important;
    }
}


/* ======================================================
   AJUSTE HEADER: menú centrado + más aire en redes
   ====================================================== */

@media (min-width: 901px) {

    /* estructura general */
    .site-header__inner {
        display: grid !important;
        grid-template-columns: 320px 1fr 260px !important;
        grid-template-rows: auto auto !important;
        column-gap: 24px !important;
        row-gap: 8px !important;
        align-items: center !important;
    }

    /* logo a la izquierda ocupando dos filas */
    .site-branding {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        justify-self: start !important;
        align-self: center !important;
    }

    /* acciones arriba a la derecha */
    .header-actions {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: start !important;

        display: flex !important;
        align-items: center !important;
        gap: 22px !important;          /* separación buscador / redes */
        padding-right: 18px !important; /* más margen a la derecha */
        margin: 0 !important;
        width: auto !important;
    }

    /* redes con algo más de aire entre iconos */
    .header-social {
        display: flex !important;
        align-items: center !important;
        gap: 18px !important;
        margin-left: 6px !important;   /* separa un poco más del buscador */
    }

    /* menú centrado en la segunda fila */
    .primary-nav {
        grid-column: 2 / 4 !important;
        grid-row: 2 !important;
        justify-self: center !important;
        align-self: start !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .primary-nav > ul,
    .primary-nav .menu {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 42px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .primary-nav a {
        white-space: nowrap !important;
        text-align: center !important;
    }
}


/* ======================================================
   AJUSTE FINO DEL MENÚ PRINCIPAL
   Más compacto y centrado
   ====================================================== */

@media (min-width: 901px) {

    .primary-nav {
        grid-column: 2 / 4 !important;
        grid-row: 2 !important;

        justify-self: center !important;

        width: auto !important;
        max-width: 980px !important;

        margin: 0 auto !important;
    }

    .primary-nav > ul,
    .primary-nav .menu {
        display: flex !important;

        justify-content: center !important;
        align-items: center !important;

        width: auto !important;
        max-width: 100% !important;

        gap: 28px !important;

        margin: 0 auto !important;
        padding: 0 !important;
    }

    .primary-nav > ul > li,
    .primary-nav .menu > li {
        flex: 0 0 auto !important;
    }

    .primary-nav a {
        white-space: nowrap !important;
    }

}


/* Algo más compacto en portátiles */
@media (min-width: 901px) and (max-width: 1200px) {

    .primary-nav {
        max-width: 860px !important;
    }

    .primary-nav > ul,
    .primary-nav .menu {
        gap: 22px !important;
    }
}


/* ======================================================
   MENÚ MÁS CERCA DEL LOGO
   ====================================================== */

@media (min-width: 901px) {

    .primary-nav {
        grid-column: 2 / 4 !important;

        justify-self: start !important;

        width: auto !important;
        max-width: 980px !important;

        margin-left: 40px !important;
        margin-right: 0 !important;
    }

    .primary-nav > ul,
    .primary-nav .menu {
        justify-content: flex-start !important;

        width: auto !important;

        gap: 28px !important;

        margin: 0 !important;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {

    .primary-nav {
        margin-left: 20px !important;
    }

    .primary-nav > ul,
    .primary-nav .menu {
        gap: 22px !important;
    }
}


/* Submenú ESTA WEB alineado con su elemento padre */
.primary-nav > ul > li:last-child,
.primary-nav .menu > li:last-child {
    position: relative !important;
}

.primary-nav > ul > li:last-child > .sub-menu,
.primary-nav .menu > li:last-child > .sub-menu {
    left: 0 !important;
    right: auto !important;
}


/* ======================================================
   FOOTER ELPARAMO.NET
   Paisaje WebP + fondo granate + ajuste Safari
   ====================================================== */

.site-footer {
    position: relative !important;
    margin-top: 50px !important;
    background: transparent !important;
    color: #FFFFFF !important;
    overflow: hidden !important;
}

/* Paisaje superior */
.site-footer__landscape {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 175px !important;
    min-height: 175px !important;
    max-height: 175px !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    background: transparent
        url("../images/footer-paramo.webp")
        center bottom / 100% 175px
        no-repeat !important;
    overflow: hidden !important;
    line-height: 0 !important;
    font-size: 0 !important;
    border: 0 !important;
    vertical-align: bottom !important;
}

/* Evitar duplicar la imagen */
.site-footer__landscape > img {
    display: none !important;
}

/* Bloque inferior granate */
.site-footer__main {
    position: relative !important;
    margin: 0 !important;
    margin-top: -1px !important;
    padding: 0 !important;
    background: #7D0400 !important;
    background-image: none !important;
    border-top: 1px solid #7D0400 !important;
    color: #FFFFFF !important;
}

/* Mantener la distribución */
.site-footer__inner {
    position: relative !important;
    z-index: 2 !important;
}

/* Textos y enlaces */
.site-footer__main,
.site-footer__main p,
.site-footer__main li,
.site-footer__main a,
.site-footer__main .footer-logo {
    color: #FFFFFF !important;
}

.site-footer__main a:hover,
.site-footer__main a:focus,
.footer-logo:hover {
    color: #FFFFFF !important;
    opacity: .85 !important;
}

/* Elementos decorativos antiguos */
.footer-horizon,
.footer-trees,
.footer-tree,
.footer-horizon__back {
    display: none !important;
}

/* ====================================================== */

/* ======================================================
   HEADER - MENÚ 10px DESPUÉS DEL LOGO
   ====================================================== */

@media (min-width: 901px) {

    .site-header__inner {
        display: grid !important;

        grid-template-columns:
            max-content
            minmax(0, 1fr)
            max-content !important;

        grid-template-rows:
            auto
            auto !important;

        column-gap: 10px !important;
        row-gap: 6px !important;

        align-items: center !important;
    }


    /* Logo */
    .site-branding {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;

        justify-self: start !important;
        align-self: center !important;

        margin: 0 !important;
    }


    /* Iconos arriba a la derecha */
    .header-actions {
        grid-column: 3 !important;
        grid-row: 1 !important;

        justify-self: end !important;
        align-self: start !important;

        margin: 0 !important;
        padding-right: 18px !important;
    }


    /* Menú justo después del logo */
    .primary-nav {
        grid-column: 2 !important;
        grid-row: 2 !important;

        justify-self: start !important;
        align-self: start !important;

        width: auto !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 0 !important;
    }


    .primary-nav > ul,
    .primary-nav .menu {
        display: flex !important;

        justify-content: flex-start !important;
        align-items: center !important;

        width: auto !important;
        max-width: 100% !important;

        gap: 26px !important;

        margin: 0 !important;
        padding: 0 !important;
    }


    .primary-nav a {
        white-space: nowrap !important;
    }
}


/* Un poco más compacto antes de pasar a móvil */
@media (min-width: 901px) and (max-width: 1250px) {

    .primary-nav > ul,
    .primary-nav .menu {
        gap: 18px !important;
    }

    .primary-nav a {
        font-size: 0.9rem !important;
    }
}



/* ======================================================
   SUBMENÚ ESCRITORIO v2
   ====================================================== */

@media (min-width: 769px) {

    .primary-nav > ul > li,
    .primary-nav .menu > li {
        position: relative;
    }

    .primary-nav > ul > li > .sub-menu,
    .primary-nav .menu > li > .sub-menu {
        left: 0;
        right: auto;

        width: 320px;
        min-width: 0;
        padding: 8px 0;

        background: #FFFFFF;

        border: 1px solid #7D0400;
        border-radius: 0 0 12px 12px;

        box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
    }

    .primary-nav > ul > li > .sub-menu > li,
    .primary-nav .menu > li > .sub-menu > li {
        margin: 0;

        border-bottom: 1px solid #E5E7EB;
    }

    .primary-nav > ul > li > .sub-menu > li:last-child,
    .primary-nav .menu > li > .sub-menu > li:last-child {
        border-bottom: 0;
    }

    .primary-nav > ul > li > .sub-menu > li > a,
    .primary-nav .menu > li > .sub-menu > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 13px 18px;

        color: #7D0400;
        background: #FFFFFF;

        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;

        text-align: left;
        text-transform: none;
        white-space: normal;

        text-decoration: none;

        transition:
            color .18s ease,
            background-color .18s ease,
            padding-left .18s ease;
    }

    .primary-nav > ul > li > .sub-menu > li > a::after,
    .primary-nav .menu > li > .sub-menu > li > a::after {
        display: none !important;
    }

    .primary-nav > ul > li > .sub-menu > li > a:hover,
    .primary-nav > ul > li > .sub-menu > li > a:focus,
    .primary-nav .menu > li > .sub-menu > li > a:hover,
    .primary-nav .menu > li > .sub-menu > li > a:focus {
        padding-left: 22px;

        color: #126000;
        background: #FFF8F2;
    }

}


/* Ajuste compacto submenú escritorio */
@media (min-width: 769px) {

    .primary-nav > ul > li > .sub-menu,
    .primary-nav .menu > li > .sub-menu {
        width: 250px;
    }

    .primary-nav > ul > li > .sub-menu > li > a,
    .primary-nav .menu > li > .sub-menu > li > a {
        padding: 11px 14px;
        font-size: .96rem;
    }

    .primary-nav > ul > li > .sub-menu > li > a:hover,
    .primary-nav > ul > li > .sub-menu > li > a:focus,
    .primary-nav .menu > li > .sub-menu > li > a:hover,
    .primary-nav .menu > li > .sub-menu > li > a:focus {
        padding-left: 18px;
    }

}


/* ======================================================
   ELPARAMO.NET — CABECERA CENTRADA
   17/10/2026
   ====================================================== */

@media (min-width: 901px) {

    .site-header__inner {
        width: 100% !important;
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

}


/* ELPARAMO - ICONOS SOCIALES UNIFICADOS */

.header-social {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-social .social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #7D0400 !important;
    line-height: 1 !important;
}

.header-social .social-icon:hover,
.header-social .social-icon:focus-visible {
    color: #126000 !important;
}

.header-social .social-icon svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.header-social .social-icon svg path {
    fill: currentColor !important;
    stroke: none !important;
}

.header-social .social-icon--x svg,
.header-social .social-icon--facebook svg,
.header-social .social-icon--instagram svg {
    width: 20px !important;
    height: 20px !important;
}



/* EP - ONDA GLOBAL CABECERA */

.site-header {
    position: relative !important;
    overflow: visible !important;
}

.site-header > .home-hero__topwave {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
    z-index: 20 !important;
}

.site-header > .home-hero__topwave svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
}

.site-header > .home-hero__topwave svg path {
    fill: #EC8900 !important;
}


/* EP - ESPACIO TITULOS BAJO ONDA */

/*
 * Páginas sin fotografía de cabecera.
 * Reservamos espacio para la onda naranja.
 * No afecta a las páginas con hero fotográfico.
 */

.page-entry > .page-header {
    padding-top: 55px !important;
}

/* Espacio adaptable en tabletas y móviles */
@media (max-width: 900px) {
    .page-entry > .page-header {
        padding-top: 50px !important;
    }
}

@media (max-width: 600px) {
    .page-entry > .page-header {
        padding-top: 45px !important;
    }
}


/* EP - Ajuste de espacio superior en portada */
body.home .home-content {
    padding-top: 15px;
}



/* ======================================================
   FOOTER MOVIL - COMPORTAMIENTO ANTERIOR A LA LIMPIEZA
   ====================================================== */

@media (max-width: 700px) {

    .site-footer__landscape {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        overflow: hidden !important;
        line-height: 0 !important;
        visibility: visible !important;
    }

    .site-footer__landscape > img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-footer__main {
        margin-top: -1px !important;
    }
}
