:root {
	--mpn-header-start: #7a1e2b;
	--mpn-header-end: #3a0d14;
	--mpn-header-text: #f3e6d3;
	--mpn-navy: #14172b;
	--mpn-accent-red: #d21f2f;
	--mpn-gold: #ffd400;
}

/* ============ LAYOUT GENERAL ============ */
.mpn-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ============ TOPBAR: logo + banner ============ */
.mpn-topbar {
	background:
		repeating-linear-gradient(
			-35deg,
			rgba(255,255,255,0.04) 0px,
			rgba(255,255,255,0.04) 2px,
			transparent 2px,
			transparent 40px
		),
		linear-gradient(120deg, var(--mpn-header-start), var(--mpn-header-end) 70%);
	padding: 14px 0;
}
.mpn-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.mpn-logo-col {
	flex-shrink: 0;
}
.mpn-logo-text {
	font-size: 2rem;
	font-weight: 800;
	color: var(--mpn-header-text);
	text-decoration: none;
	letter-spacing: -0.02em;
}
.mpn-topbar-banner {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	max-width: 940px;
	margin-left: auto;
}
.mpn-topbar-banner .mpn-banner {
	width: 100%;
}
.mpn-topbar-banner .mpn-banner::before {
	background: rgba(0,0,0,0.4);
	color: #eee;
}

@media (max-width: 860px) {
	.mpn-topbar-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.mpn-topbar-banner {
		max-width: 100%;
		justify-content: flex-start;
	}
}

/* ============ NAVBAR ============ */
.mpn-navbar {
	background: var(--mpn-navy);
}
.mpn-navbar-inner {
	display: flex;
	align-items: center;
	gap: 4px;
}
.mpn-nav-home {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--mpn-accent-red);
	color: #fff;
	flex-shrink: 0;
}
.mpn-nav-menu-wrap {
	flex: 1;
}
.mpn-nav-menu {
	list-style: none;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.mpn-nav-menu li {
	position: relative;
}
.mpn-nav-menu a {
	display: block;
	padding: 13px 16px;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.92rem;
	white-space: nowrap;
}
.mpn-nav-menu li:hover > a,
.mpn-nav-menu a:focus {
	background: rgba(255,255,255,0.08);
}
.mpn-nav-menu li.menu-item-has-children > a::after {
	content: "▾";
	margin-left: 6px;
	font-size: 0.7em;
}
.mpn-nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--mpn-navy);
	min-width: 200px;
	list-style: none;
	margin: 0;
	padding: 6px 0;
	box-shadow: 0 8px 16px rgba(0,0,0,0.3);
	z-index: 20;
}
.mpn-nav-menu li:hover > .sub-menu {
	display: block;
}
.mpn-nav-menu .sub-menu a {
	padding: 10px 16px;
}

.mpn-nav-search-toggle {
	background: none;
	border: none;
	color: #fff;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}
.mpn-nav-search-form {
	display: none;
	position: absolute;
	right: 16px;
	top: 100%;
	background: var(--mpn-navy);
	padding: 12px;
	box-shadow: 0 8px 16px rgba(0,0,0,0.3);
	z-index: 21;
}
.mpn-nav-search-form.is-open {
	display: block;
}
.mpn-search-form {
	display: flex;
	align-items: stretch;
}
.mpn-nav-search-form input[type="search"] {
	padding: 8px 10px;
	border: none;
	border-radius: 4px 0 0 4px;
	min-width: 220px;
}
.mpn-search-form button {
	border: none;
	background: var(--mpn-accent-red, #d21f2f);
	color: #fff;
	padding: 0 12px;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	display: flex;
	align-items: center;
}

.mpn-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
}
.mpn-nav-toggle span {
	width: 22px;
	height: 2px;
	background: #fff;
	display: block;
}

@media (max-width: 860px) {
	.mpn-nav-toggle {
		display: flex;
	}
	.mpn-nav-menu-wrap {
		display: none;
		width: 100%;
		order: 4;
	}
	.mpn-nav-menu-wrap.is-open {
		display: block;
	}
	.mpn-nav-menu {
		flex-direction: column;
		align-items: stretch;
	}
	.mpn-nav-menu .sub-menu {
		position: static;
		box-shadow: none;
		padding-left: 16px;
	}
}

.mpn-main-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 24px;
	margin-top: 24px;
	align-items: start;
}

.mpn-content-col {
	min-width: 0;
}

.mpn-news-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.mpn-news-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mpn-news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.mpn-card-thumb-link {
	position: relative;
	display: block;
}
.mpn-card-thumb-link img {
	aspect-ratio: 16/10;
	object-fit: cover;
	width: 100%;
}
.mpn-card-thumb-placeholder {
	aspect-ratio: 16/10;
	background: #e2e2e2;
}
.mpn-card-category {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--mpn-accent-red, #d21f2f);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 9px;
	border-radius: 3px;
}
.mpn-news-card .mpn-card-body {
	padding: 14px 16px 16px;
}
.mpn-news-card h2 {
	font-size: 1.05rem;
	margin: 0 0 6px;
	line-height: 1.3;
}
.mpn-news-card h2 a {
	text-decoration: none;
	color: #1a1a1a;
}
.mpn-news-card:hover h2 a {
	color: var(--mpn-accent-red, #d21f2f);
}
.mpn-news-card p {
	font-size: 0.9rem;
	color: #555;
	margin: 0 0 10px;
}
.mpn-card-date {
	display: block;
	font-size: 0.78rem;
	color: #999;
}

@media (max-width: 860px) {
	.mpn-main-grid {
		grid-template-columns: 1fr;
	}
	.mpn-news-grid {
		grid-template-columns: 1fr;
	}
}

/* ============ BANNERS PUBLICITARIOS ============ */
.mpn-banner {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: relative;
}
.mpn-banner::before {
	content: "Publicidad";
	position: absolute;
	top: 2px;
	left: 6px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #999;
	background: rgba(255,255,255,0.8);
	padding: 1px 4px;
	border-radius: 2px;
	z-index: 1;
}
.mpn-banner img {
	max-width: 100%;
	height: auto;
}

/* 1. Banner de header (junto al logo) */
.mpn-banner-leaderboard_top {
	min-height: 90px;
	background: rgba(255,255,255,0.05);
	border-radius: 4px;
}
@media (max-width: 480px) {
	.mpn-banner-leaderboard_top {
		min-height: 100px;
	}
}

/* 2. Banner nativo intercalado (portada) */
.mpn-banner-native_intercalado {
	grid-column: 1 / -1;
	background: #fafafa;
	border: 1px dashed #ddd;
	border-radius: 8px;
	min-height: 100px;
	margin: 4px 0;
}

/* Leaderboard de nota/sección */
.mpn-banner-article_top {
	margin: 16px auto;
	min-height: 90px;
	background: #fafafa;
	border-radius: 6px;
}

/* In-article */
.mpn-banner-in_article {
	min-height: 280px;
	max-width: 336px;
	margin: 20px auto;
	background: #fafafa;
	border-radius: 6px;
}

/* 3. Sidebar */
.mpn-banner-sidebar {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	min-height: 250px;
	margin-bottom: 20px;
}

/* 4. Pre-footer */
.mpn-banner-prefooter {
	margin: 24px auto;
	min-height: 90px;
	background: #fafafa;
}

/* Sidebar sticky en la vista de nota individual */
.single .mpn-sidebar-col {
	position: sticky;
	top: 16px;
	align-self: start;
}

/* ============ ARTÍCULO (nota individual) ============ */
.mpn-article {
	background: #fff;
	border-radius: 8px;
	padding: 28px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.mpn-article-category {
	display: inline-block;
	background: var(--mpn-accent-red, #d21f2f);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: 3px;
	text-decoration: none;
	margin-bottom: 12px;
}
.mpn-article-title {
	font-size: 1.9rem;
	line-height: 1.25;
	margin: 12px 0 8px;
}
.mpn-article-meta {
	color: #888;
	font-size: 0.88rem;
	margin: 0 0 20px;
}
.mpn-article-thumb {
	margin: 0 0 20px;
	border-radius: 6px;
	overflow: hidden;
}
.mpn-entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #262626;
}
.mpn-entry-content p {
	margin: 0 0 1.2em;
}
.mpn-entry-content img {
	border-radius: 6px;
	margin: 1em 0;
}
.mpn-entry-content h2,
.mpn-entry-content h3 {
	margin-top: 1.6em;
}

@media (max-width: 860px) {
	.single .mpn-sidebar-col {
		position: static;
	}
	.mpn-article {
		padding: 18px;
	}
	.mpn-article-title {
		font-size: 1.5rem;
	}
}

/* ============ SIDEBAR WIDGETS ============ */
.mpn-widget {
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.mpn-widget-title {
	margin-top: 0;
	font-size: 1rem;
	border-bottom: 2px solid #ffd400;
	padding-bottom: 8px;
}

/* ============ WIDGET: ÚLTIMAS NOTICIAS ============ */
.mpn-latest-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mpn-latest-news-item {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
}
.mpn-latest-news-item:first-child {
	padding-top: 0;
}
.mpn-latest-news-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.mpn-latest-news-thumb {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 6px;
	overflow: hidden;
	display: block;
}
.mpn-latest-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mpn-latest-news-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #e2e2e2;
}
.mpn-latest-news-body {
	min-width: 0;
}
.mpn-latest-news-title {
	margin: 0 0 6px;
	font-size: 0.95rem;
	line-height: 1.3;
	font-weight: 700;
}
.mpn-latest-news-title a {
	color: #1a1a1a;
	text-decoration: none;
}
.mpn-latest-news-title a:hover {
	color: var(--mpn-accent-red, #d21f2f);
}
.mpn-latest-news-meta {
	margin: 0;
	font-size: 0.78rem;
	color: #999;
}
.mpn-latest-news-meta a {
	color: #3b6fd6;
	text-decoration: none;
}
.mpn-latest-news-meta a:hover {
	text-decoration: underline;
}
.mpn-latest-news-sep {
	margin: 0 4px;
	color: #ccc;
}

/* ============ SLIDER DE NOTICIAS PRINCIPALES ============ */
.mpn-slider-row {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 20px;
	margin: 20px 0;
	align-items: start;
}
.mpn-slider {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	margin: 0;
	background: #111;
	box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mpn-slider-sidebar {
	min-width: 0;
}
@media (max-width: 860px) {
	.mpn-slider-row {
		grid-template-columns: 1fr;
	}
}
.mpn-slider-track {
	display: flex;
	transition: transform 0.5s ease;
}
.mpn-slide {
	flex: 0 0 100%;
	position: relative;
	min-height: 500px;
	display: flex;
	align-items: flex-end;
}
.mpn-slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mpn-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 60%);
}
.mpn-slide-content {
	position: relative;
	z-index: 1;
	padding: 24px 28px;
	color: #fff;
	max-width: 780px;
}
.mpn-slide-category {
	display: inline-block;
	background: var(--mpn-accent-red, #d21f2f);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: 3px;
	margin-bottom: 10px;
}
.mpn-slide-content h2 {
	margin: 0 0 8px;
	font-size: 1.6rem;
	line-height: 1.25;
}
.mpn-slide-content h2 a {
	color: #fff;
	text-decoration: none;
}
.mpn-slide-content p {
	margin: 0;
	color: #eee;
	font-size: 0.95rem;
	max-width: 640px;
}

.mpn-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.45);
	color: #fff;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	font-size: 1.2rem;
	line-height: 1;
}
.mpn-slider-arrow:hover {
	background: rgba(0,0,0,0.7);
}
.mpn-slider-prev { left: 14px; }
.mpn-slider-next { right: 14px; }

.mpn-slider-dots {
	position: absolute;
	bottom: 14px;
	right: 20px;
	display: flex;
	gap: 6px;
	z-index: 2;
}
.mpn-slider-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	border: none;
	cursor: pointer;
	padding: 0;
}
.mpn-slider-dot.is-active {
	background: #fff;
}

@media (max-width: 600px) {
	.mpn-slide {
		min-height: 320px;
	}
	.mpn-slide-content h2 {
		font-size: 1.2rem;
	}
}

/* ============ BLOQUE DE NOTICIAS DESTACADAS (SPOTLIGHT) ============ */
.mpn-spotlight-section {
	margin: 32px 0;
}
.mpn-spotlight-heading {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 800;
	margin: 0 0 4px;
	padding-bottom: 10px;
	position: relative;
	width: 100%;
}
.mpn-spotlight-heading::after {
	content: "";
	display: block;
	margin-top: 10px;
	height: 3px;
	width: 100%;
	background: linear-gradient(to right, #3b6fd6, #34c77b);
	border-radius: 2px;
}
.mpn-spotlight-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 20px;
}
.mpn-spotlight-thumb {
	display: block;
	border-radius: 6px;
	overflow: hidden;
}
.mpn-spotlight-thumb img {
	aspect-ratio: 16/10;
	object-fit: cover;
	width: 100%;
	transition: transform 0.25s ease;
}
.mpn-spotlight-card:hover .mpn-spotlight-thumb img {
	transform: scale(1.04);
}
.mpn-spotlight-body {
	padding-top: 12px;
}
.mpn-spotlight-meta {
	font-size: 0.82rem;
	color: #888;
	margin: 0 0 8px;
}
.mpn-spotlight-meta a {
	color: #888;
	text-decoration: none;
}
.mpn-spotlight-meta a:hover {
	color: var(--mpn-accent-red, #d21f2f);
}
.mpn-spotlight-sep {
	margin: 0 4px;
}
.mpn-spotlight-body h3 {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0 0 8px;
	font-weight: 800;
}
.mpn-spotlight-body h3 a {
	color: #1a1a1a;
	text-decoration: none;
}
.mpn-spotlight-card:hover h3 a {
	color: var(--mpn-accent-red, #d21f2f);
}
.mpn-spotlight-excerpt {
	font-size: 0.92rem;
	color: #666;
	margin: 0;
	line-height: 1.5;
}

@media (max-width: 860px) {
	.mpn-spotlight-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.mpn-spotlight-grid {
		grid-template-columns: 1fr;
	}
}

/* ============ FOOTER ============ */
.mpn-site-footer {
	background: #1a1a1a;
	color: #ccc;
	margin-top: 32px;
	font-size: 0.9rem;
}
.mpn-footer-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	padding: 36px 0 28px;
}
.mpn-footer-col {
	min-width: 0;
}
.mpn-footer-widget-title {
	color: #fff;
	border-bottom-color: rgba(255,255,255,0.2);
}
.mpn-footer-widget {
	color: #bbb;
}
.mpn-footer-widget a {
	color: #bbb;
}
.mpn-footer-widget a:hover {
	color: #fff;
}
/* El widget de últimas noticias también puede vivir en el footer: ajustamos su
   paleta para que se lea bien sobre fondo oscuro. */
.mpn-footer-widget .mpn-latest-news-item {
	border-bottom-color: rgba(255,255,255,0.1);
}
.mpn-footer-widget .mpn-latest-news-title a {
	color: #fff;
}
.mpn-footer-widget .mpn-latest-news-meta {
	color: #888;
}

.mpn-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
}
.mpn-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 16px 0;
}
.mpn-footer-copyright {
	margin: 0;
	color: #999;
	font-size: 0.85rem;
}
.mpn-footer-nav ul {
	list-style: none;
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
}
.mpn-footer-nav a {
	color: #999;
	text-decoration: none;
	font-size: 0.85rem;
}
.mpn-footer-nav a:hover {
	color: #fff;
}

@media (max-width: 860px) {
	.mpn-footer-columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.mpn-footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
