/* Pronunciamientos en Video — paleta tomada de la plantilla del senador. */
.pv-coleccion,
.pv-destacados,
.pv-single,
.pv-list {
	--pv-green: #034C21;
	--pv-green-2: #69A04F;
	--pv-gold: #D8C800;
	--pv-bg: #F2F5EF;
	--pv-muted: #5A6B5C;
	--pv-border: #DCE6DE;
	--pv-border-2: #E8EDE4;
	--pv-white: #FFFFFF;
	--pv-radius: 12px;
	--pv-shadow: 0 2px 10px rgba(3, 76, 33, .08);
}

/* ------------------------------------------------------------------ */
/* Facade de video (miniatura + play, carga el iframe al hacer clic)  */
/* ------------------------------------------------------------------ */
.pv-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0a0a0a;
	border-radius: var(--pv-radius);
	overflow: hidden;
}
.pv-video__btn {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	cursor: pointer;
	background: transparent;
	display: block;
}
.pv-video__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease, filter .35s ease;
}
.pv-video__btn:hover .pv-video__thumb,
.pv-video__btn:focus-visible .pv-video__thumb {
	transform: scale(1.03);
	filter: brightness(.92);
}
.pv-video__btn:focus-visible {
	outline: 3px solid var(--pv-gold);
	outline-offset: -3px;
}
.pv-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.pv-video__play svg { display: block; }
.pv-video__play-bg { fill: #212121; opacity: .85; transition: fill .3s ease; }
.pv-video__btn:hover .pv-video__play-bg { fill: #cc0000; opacity: 1; }
.pv-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ------------------------------------------------------------------ */
/* Etiquetas, botones                                                 */
/* ------------------------------------------------------------------ */
.pv-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pv-green);
	background: var(--pv-bg);
	border: 1px solid var(--pv-border);
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.pv-btn {
	display: inline-block;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	padding: 11px 18px;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pv-btn--primary { background: var(--pv-green); color: #fff !important; }
.pv-btn--primary:hover { background: #023618; color: #fff !important; }
.pv-btn--ghost {
	background: transparent;
	color: var(--pv-green) !important;
	border-color: var(--pv-green);
}
.pv-btn--ghost:hover { background: var(--pv-green); color: #fff !important; }

/* ------------------------------------------------------------------ */
/* Filtros                                                            */
/* ------------------------------------------------------------------ */
.pv-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}
.pv-filters__tipos { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-chip {
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--pv-muted);
	background: #fff;
	border: 1px solid var(--pv-border);
	border-radius: 999px;
	padding: 7px 14px;
	cursor: pointer;
	transition: all .18s ease;
}
.pv-chip:hover { border-color: var(--pv-green-2); color: var(--pv-green); }
.pv-chip.is-active { background: var(--pv-green); border-color: var(--pv-green); color: #fff; }
.pv-filters__search {
	flex: 1 1 220px;
	min-width: 0;
	max-width: 320px;
	box-sizing: border-box;
	font: inherit;
	font-size: 16px; /* evita el zoom automático de iOS al enfocar */
	padding: 10px 14px;
	border: 1px solid var(--pv-border);
	border-radius: 8px;
	background: #fff;
}
.pv-filters__search:focus { outline: 2px solid var(--pv-green-2); border-color: var(--pv-green-2); }

/* ------------------------------------------------------------------ */
/* Listado                                                            */
/* ------------------------------------------------------------------ */
.pv-list--lista { display: flex; flex-direction: column; gap: 0; }
.pv-item--lista {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 24px;
	align-items: start;
	padding: 28px 0;
	border-bottom: 1px solid var(--pv-border);
}
.pv-item--lista:first-child { padding-top: 0; }
.pv-item__media { min-width: 0; }
.pv-item__noimg {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--pv-radius);
	background: repeating-linear-gradient(135deg, var(--pv-bg), var(--pv-bg) 12px, #e6ece2 12px, #e6ece2 24px);
}
.pv-item__body { min-width: 0; }
.pv-item__title { margin: 0 0 6px; line-height: 1.25; }
.pv-item__title a { color: var(--pv-green); text-decoration: none; }
.pv-item__title a:hover { text-decoration: underline; }
.pv-item__meta { margin: 0 0 10px; color: var(--pv-muted); font-size: 15px; }
.pv-item__meta strong { color: var(--pv-green); }
.pv-item__excerpt { margin: 0 0 16px; color: #333; }
.pv-item__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Grid / tarjetas */
.pv-list--grid { display: grid; gap: 24px; }
.pv-cols-1 { grid-template-columns: 1fr; }
.pv-cols-2 { grid-template-columns: repeat(2, 1fr); }
.pv-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pv-item--grid {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius);
	overflow: hidden;
	box-shadow: var(--pv-shadow);
}
.pv-item--grid .pv-video { border-radius: 0; }
.pv-item--grid .pv-item__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pv-item--grid .pv-item__actions { margin-top: auto; }

/* ------------------------------------------------------------------ */
/* Destacado grande                                                   */
/* ------------------------------------------------------------------ */
.pv-destacados { display: flex; flex-direction: column; gap: 32px; }
.pv-featured {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	align-items: center;
}
.pv-featured__media { min-width: 0; }
.pv-featured__title { margin: 0 0 8px; color: var(--pv-green); line-height: 1.2; }
.pv-featured__excerpt { margin: 0 0 20px; color: #333; }

/* ------------------------------------------------------------------ */
/* Individual                                                         */
/* ------------------------------------------------------------------ */
.pv-single { display: flex; flex-direction: column; gap: 16px; }
.pv-single__title { margin: 0; color: var(--pv-green); }
.pv-single__meta { display: flex; flex-direction: column; gap: 4px; }

/* ------------------------------------------------------------------ */
/* Utilidades                                                         */
/* ------------------------------------------------------------------ */
.pv-item.is-hidden { display: none !important; }
.pv-loadmore-wrap { text-align: center; margin-top: 28px; }
.pv-noresults, .pv-empty { color: var(--pv-muted); text-align: center; padding: 24px 0; }

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */
@media (max-width: 880px) {
	.pv-item--lista { grid-template-columns: 1fr; gap: 16px; }
	.pv-featured { grid-template-columns: 1fr; gap: 20px; }
	.pv-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.pv-cols-2, .pv-cols-3 { grid-template-columns: 1fr; }
	.pv-filters { flex-direction: column; align-items: stretch; }
	.pv-filters__search { flex-basis: auto; width: 100%; max-width: none; }
}
