:root {
	--ppz-primary: #175178;
	--ppz-white: #FFFFFF;
	--ppz-accent: #FFD557;
	--ppz-text: #7A7A7A;
	--ppz-hover-underline: #A14B49;
	--ppz-dropdown-hover-bg: #F7F7F7;
}

/* ---------- Header ---------- */
.ppz-header {
	background: var(--ppz-primary);
	border-bottom: 2px solid var(--ppz-accent);
}
.ppz-header__bar {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 24px;
}
.ppz-header__logo img {
	height: 58px;
	width: auto;
	display: block;
	background: var(--ppz-white);
	border-radius: 8px;
	padding: 6px 10px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.ppz-nav--desktop {
	display: none;
}
.ppz-menu {
	list-style: none;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.ppz-menu > li {
	position: relative;
}
.ppz-menu > li > a {
	display: block;
	padding: 12px 14px;
	color: var(--ppz-white);
	font-family: Poppins, sans-serif;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.ppz-menu > li > a:hover,
.ppz-menu > li:hover > a {
	color: var(--ppz-white);
	border-bottom-color: var(--ppz-hover-underline);
}
.ppz-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--ppz-white);
	box-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.21);
	border-radius: 4px;
	display: none;
	z-index: 50;
}
.ppz-menu li:hover > .sub-menu,
.ppz-menu li:focus-within > .sub-menu {
	display: block;
}
.ppz-menu .sub-menu a {
	display: block;
	padding: 8px 16px;
	color: var(--ppz-text);
	font-family: Poppins, sans-serif;
	font-weight: 500;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}
.ppz-menu .sub-menu a:hover {
	background: var(--ppz-dropdown-hover-bg);
	color: var(--ppz-primary);
}
.ppz-menu .menu-item-has-children > a::after {
	content: "\25BE";
	margin-left: 6px;
	font-size: 10px;
}

.ppz-hamburger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}
.ppz-hamburger span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--ppz-white);
	border-radius: 2px;
}

.ppz-mobile-menu {
	display: none;
	background: var(--ppz-primary);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.ppz-mobile-menu.is-open {
	display: block;
}
.ppz-mobile-menu__inner {
	padding: 20px;
	text-align: center;
}
.ppz-mobile-menu__logo img {
	height: 50px;
	background: var(--ppz-white);
	border-radius: 8px;
	padding: 6px 10px;
	margin-bottom: 12px;
}
.ppz-menu--mobile {
	flex-direction: column;
	align-items: center;
}
.ppz-menu--mobile .sub-menu {
	position: static;
	display: none;
	box-shadow: none;
	background: rgba(255, 255, 255, 0.06);
}
.ppz-menu--mobile li.is-expanded > .sub-menu {
	display: block;
}
.ppz-menu--mobile > li > a {
	color: var(--ppz-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ppz-menu--mobile .sub-menu a {
	color: #D9E2EA;
}

@media (min-width: 1025px) {
	.ppz-nav--desktop {
		display: block;
	}
	.ppz-hamburger,
	.ppz-mobile-menu {
		display: none !important;
	}
}

/* ---------- Footer ---------- */
.ppz-footer-wrap {
	background: var(--ppz-primary);
	border-top: 3px solid var(--ppz-accent);
}
.ppz-footer {
	color: var(--ppz-white);
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding: 56px 24px 20px;
	max-width: 1400px;
	margin: 0 auto;
}
.ppz-footer__col {
	flex: 1 1 220px;
	min-width: 200px;
}
.ppz-footer__col--logo img {
	max-width: 170px;
	height: auto;
	margin-bottom: 10px;
}
.ppz-footer h4 {
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ppz-accent);
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.ppz-footer-menu,
.ppz-footer-contact,
.ppz-footer-social {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ppz-footer-menu li,
.ppz-footer-contact li {
	margin-bottom: 9px;
}
.ppz-footer-menu a,
.ppz-footer-contact a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	transition: color 0.15s ease, padding-left 0.15s ease;
}
.ppz-footer-menu a:hover,
.ppz-footer-contact a:hover {
	color: var(--ppz-accent);
	padding-left: 3px;
}
.ppz-footer-menu .sub-menu {
	list-style: none;
	margin: 6px 0 10px 14px;
	padding: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.ppz-footer-menu .sub-menu li {
	margin-bottom: 6px;
	padding-left: 10px;
}
.ppz-footer-menu .sub-menu a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
}
.ppz-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 18px;
	flex-wrap: wrap;
}
.ppz-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--ppz-white);
	text-decoration: none;
	font-family: Poppins, sans-serif;
	font-size: 0;
	transition: background 0.15s ease;
}
.ppz-footer-social a svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
.ppz-footer-social a:hover {
	background: var(--ppz-accent);
	color: var(--ppz-primary);
}
.ppz-footer__bottom {
	flex-basis: 100%;
	text-align: center;
	font-size: 12px;
	opacity: 0.7;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin-top: 10px;
}

@media (max-width: 640px) {
	.ppz-footer {
		text-align: center;
	}
	.ppz-footer h4 {
		border-bottom: none;
	}
	.ppz-footer-social {
		justify-content: center;
	}
	.ppz-footer-menu .sub-menu {
		border-left: none;
		margin-left: 0;
	}
}

/* ---------- Video showcase (reemplaza el widget "Video Playlist" de Elementor Pro) ---------- */
.ppz-video-section {
	padding: 60px 24px;
	max-width: 1400px;
	margin: 0 auto;
}
.ppz-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 24px;
}
.ppz-video-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ppz-video-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.ppz-video-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0c2a3d;
	overflow: hidden;
}
.ppz-video-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ppz-video-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ppz-video-card__play span {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ppz-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ppz-video-card__play span::before {
	content: "";
	border-style: solid;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent var(--ppz-primary);
	margin-left: 3px;
}
.ppz-video-card__duration {
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: Poppins, sans-serif;
}
.ppz-video-card__title {
	padding: 12px 14px;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--ppz-primary);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Listado de entradas del blog ---------- */
.ppz-blog-header {
	max-width: 1200px;
	margin: 40px auto 0;
	padding: 0 24px;
}
.ppz-blog-header h1 {
	color: var(--ppz-primary);
	font-family: Poppins, sans-serif;
}
.ppz-blog-grid {
	max-width: 1200px;
	margin: 24px auto 60px;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}
.ppz-post-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ppz-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.ppz-post-card__thumb {
	aspect-ratio: 16 / 10;
	background: var(--ppz-primary) linear-gradient(135deg, var(--ppz-primary), #0c2a3d);
	overflow: hidden;
}
.ppz-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ppz-post-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.ppz-post-card__date {
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ppz-hover-underline);
}
.ppz-post-card__title {
	margin: 0;
	font-family: Poppins, sans-serif;
	font-size: 18px;
	line-height: 1.35;
}
.ppz-post-card__title a {
	color: var(--ppz-primary);
	text-decoration: none;
}
.ppz-post-card__title a:hover {
	color: var(--ppz-hover-underline);
}
.ppz-post-card__excerpt {
	color: var(--ppz-text);
	font-size: 14px;
	line-height: 1.55;
	flex: 1;
}
.ppz-post-card__more {
	align-self: flex-start;
	margin-top: 4px;
	font-family: Poppins, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--ppz-white);
	background: var(--ppz-primary);
	padding: 8px 16px;
	border-radius: 20px;
	text-decoration: none;
	transition: background 0.15s ease;
}
.ppz-post-card__more:hover {
	background: var(--ppz-hover-underline);
}
.ppz-blog-pagination {
	max-width: 1200px;
	margin: 0 auto 60px;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
	font-family: Poppins, sans-serif;
}
.ppz-blog-pagination a {
	color: var(--ppz-primary);
	text-decoration: none;
	font-weight: 600;
}
.ppz-blog-pagination a:hover {
	color: var(--ppz-hover-underline);
}
