.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-size: clamp(2rem, 5vw, 3.5rem);
	max-width: 80%;
    margin-bottom: 1em;
}
.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;
}