.entry_body{display: flex;flex-wrap: wrap;background-color: var(--bg-2);margin-bottom: 0;}
.entry-header{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
    overflow: hidden;
    width: 100%;
}
.entry-header .nav-menu{
    text-align: end;
}
.entry-header .site_nav{
	position: relative;
	width: 100%;
}

.site_nav .container-fluid{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site_nav .navbar-collapse{
	flex-grow: 0;
}

.site_nav .elemento_escritorio{
	display: flex;
	align-items: center;
}

/* Contenedor de la imagen */
.entry-header .entry_img{
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Imagen como fondo */
.entry-header .entry_img .post-thumbnail{
	width: 100%;
	height: 100%;
}
.entry-header .entry_img .post-thumbnail img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center; /* ← centra la imagen */
	opacity: 0.8; /* nivel de transparencia */
}
/* Overlay opcional para mejor contraste */
.entry-header::after{
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.35);
	z-index: 2;
}

/* Título centrado */
.entry-header .entry-title{
	position: relative;
	z-index: 3;
	color: #fff;
	font-family: "Playfair Display", "Poppins", serif;
	font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.5rem);
	max-width: 80%;
    margin-bottom: 1em;
}

/* Páginas de texto simple (ej. legales): fondo vino en vez de foto,
   y bastante más bajas que el resto de los heroes de foto. */
.entry-header--plain{
	background: linear-gradient(135deg, var(--header-maroon, #711c2e), var(--header-maroon-dark, #3a0f18));
	min-height: 0 !important;
	padding-bottom: 3em;
}
.entry-header--plain::after{ content: none; }
.entry-header--plain .entry-title{ margin-top: 1.5em; margin-bottom: 0; }
@media (min-width:960px){
	.entry-header--plain{ padding-bottom: 3.5em; }
}
.entry_body .entry-footer{width: 100%;display: flex;justify-content: space-between;}
.entry_body .entry-footer .cat-links #text{padding-left: 0.3em;}
.entry_body .entry-footer .edit-link{margin-left: auto;}
.section_entry{margin: 0;}
.section_entry .entry-date{margin-bottom: 2em;}
.section_entry .entry-date a{margin-left: 0.3em;}
.entry_body .section_entry a{text-decoration: none;color: var(--brand);}
.entry_body .section_entry h2{text-transform: uppercase;font-weight: 300;margin: 0.8em 0 0.5em;}
.entry_body .section_entry h3{font-weight: 700;margin: 1.3em 0 0.4em;color: var(--brand-dark);}
.entry_body .section_entry p{margin-bottom: 1.5em;}
.entry_body .section_entry .wp-element-caption{font-style: italic;font-size: 90%;}
@media (max-width:959px){
    .site_nav .elemento_escritorio{
        display: none;
	}
    .entry-header{
        min-height: 30vh;
    }
    .entry_body .entry-footer,
    .section_entry{padding: 2em 5%;}
}

/* =========================================================
  RESPONSIVE: ESCRITORIO (≥ 960px)
  ========================================================= */
@media (min-width:960px){
    .entry-header{
        min-height: 50vh;
    }
    .entry-header .entry-title{
        margin-top: 1em;
    }
    .entry_body .entry-footer{padding: 0 36% 2em 13%;}
    .section_entry{padding: 2em 2% 2em 13%; width: 68%;}
    .entry_sidebar{padding: 6em 10% 2em 2%;width: 32%;}
}
.cat-links {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
	font-size: 0.95rem;
}

.cat-links .cat-title {
	color: #7a7a7a;
	margin-right: 0.5em;
}

.cat-links a {
	background: #e0e0e0;
	color: #555;
	text-decoration: none;
	padding: 0.35em 1em;
	border-radius: 999px;
	font-size: 0.85rem;
	transition: all 0.2s ease;
}

/* elimina la coma visual */
.cat-links a::after {
	content: none;
}

/* hover suave */
.cat-links a:hover {
	background: #d0d0d0;
	color: #000;
}
.entry_body .cat-links .post-categories{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
}
.entry_body .edit-link a{
	color: var(--brand-dark);
	text-decoration: none;
}

/* =========================================================
   PÁGINAS LEGALES (Términos, Privacidad): sin sidebar (ver
   page.php), texto centrado a un ancho de lectura cómodo y
   tipografía acorde al resto del sitio.
   ========================================================= */
.legal-page{
	float: none;
}
.legal-page .entry-content{
	max-width: 1320px;
	margin: 0 auto;
	padding: 2.5em 4% 4em;
	width: 100%;
	box-sizing: border-box;
}
@media (max-width:768px){
	.legal-page .entry-content{ padding: 1.5em 6% 2.5em; }
}
.legal-page .entry-content h2{
	font-family: "Playfair Display", "Poppins", serif;
	text-transform: none;
	font-weight: 800;
	font-size: 1.4em;
	color: var(--header-maroon, #711c2e);
	margin: 1.4em 0 .6em;
	border-top: 1px solid rgba(0,0,0,.08);
	padding-top: 1.2em;
}
.legal-page .entry-content > h2:first-child{
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}
.legal-page .entry-content p{
	line-height: 1.75;
	opacity: .85;
}
.legal-page .entry-content ul{
	line-height: 1.8;
	opacity: .85;
}
.legal-page .entry-content a{
	color: var(--header-maroon, #711c2e);
}