/* Archivo de listas: años → calendario de meses → listas.
   Se carga solo en /listas-top/…, así que no afecta al resto de la web. */

.pmt-arq {
	--arq-accent: #f2bf07;
	--arq-card: #0e0e11;
	--arq-line: rgba(255, 255, 255, .08);
	--arq-muted: rgba(255, 255, 255, .62);
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 20px 70px;
}

.pmt-arq__head {
	margin: 0 0 26px;
}

.pmt-arq__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 4vw, 38px);
	line-height: 1.1;
}

/* =====================================================================
   FILTROS: dos desplegables, nada más
   ===================================================================== */

.pmt-arq__filtros {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.pmt-arq__sel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.pmt-arq__sel-lbl {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--arq-muted);
}

.pmt-arq__sel select {
	appearance: none;
	-webkit-appearance: none;
	padding: 8px 34px 8px 13px;
	background-color: var(--arq-card);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23f2bf07' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	border: 1px solid var(--arq-line);
	border-radius: 8px;
	color: #fff;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease;
}

.pmt-arq__sel select:hover {
	border-color: rgba(242, 191, 7, .4);
}

.pmt-arq__sel select:focus {
	outline: none;
	border-color: var(--arq-accent);
	box-shadow: 0 0 0 2px rgba(242, 191, 7, .18);
}

.pmt-arq__limpiar {
	font-size: 13px;
	color: var(--arq-accent);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.pmt-arq__limpiar:hover {
	border-bottom-color: currentColor;
}

.pmt-arq__resumen {
	margin: 0 0 16px;
	font-size: 13px;
	color: var(--arq-muted);
}

/* =====================================================================
   CALENDARIO DE MESES
   ===================================================================== */

.pmt-cal {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 12px;
}

.pmt-cal__mes {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 14px 14px;
	border-radius: 12px;
	border: 1px solid var(--arq-line);
	background: var(--arq-card);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

/* Barra superior: dorada si hay tops. */
.pmt-cal__mes::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--arq-accent);
	opacity: .9;
}

.pmt-cal__num {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--arq-accent);
}

.pmt-cal__nom {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.pmt-cal__cuenta {
	font-size: 12px;
	color: var(--arq-muted);
	margin-top: 2px;
}

.pmt-cal__mes.is-on:hover {
	transform: translateY(-3px);
	border-color: rgba(242, 191, 7, .55);
	box-shadow: 0 12px 24px rgba(0, 0, 0, .4);
}

/* Mes sin tops: apagado. */
.pmt-cal__mes.is-off {
	background: rgba(255, 255, 255, .015);
	border-style: dashed;
	border-color: rgba(255, 255, 255, .07);
	cursor: default;
}

.pmt-cal__mes.is-off::before {
	background: transparent;
}

.pmt-cal__mes.is-off .pmt-cal__num {
	color: rgba(255, 255, 255, .22);
}

.pmt-cal__mes.is-off .pmt-cal__nom {
	color: rgba(255, 255, 255, .38);
	font-weight: 500;
}

.pmt-cal__mes.is-off .pmt-cal__cuenta {
	color: rgba(255, 255, 255, .3);
	font-style: italic;
}

/* =====================================================================
   FILAS (portada de años)
   ===================================================================== */

.pmt-arq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pmt-arq-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px 16px 24px;
	background: var(--arq-card);
	border: 1px solid var(--arq-line);
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.pmt-arq-row::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 0 2px 2px 0;
	background: var(--arq-accent);
	opacity: .85;
}

.pmt-arq-row:hover,
.pmt-arq-row:focus-visible {
	border-color: rgba(242, 191, 7, .5);
	background: #121216;
	transform: translateX(2px);
	outline: none;
}

.pmt-arq-row__name {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	line-height: 1.2;
}

.pmt-arq-row__meta {
	font-size: 13px;
	color: var(--arq-muted);
}

.pmt-arq-row__arrow {
	margin-left: auto;
	color: var(--arq-accent);
	font-size: 16px;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .16s ease, transform .16s ease;
}

.pmt-arq-row:hover .pmt-arq-row__arrow,
.pmt-arq-row:focus-visible .pmt-arq-row__arrow {
	opacity: 1;
	transform: translateX(0);
}

/* =====================================================================
   TARJETAS DE LISTA
   ===================================================================== */

.pmt-arq__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}

.pmt-arq-card {
	display: flex;
	flex-direction: column;
	background: var(--arq-card);
	border: 1px solid var(--arq-line);
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.pmt-arq-card:hover,
.pmt-arq-card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(242, 191, 7, .5);
	box-shadow: 0 12px 26px rgba(0, 0, 0, .45);
	outline: none;
}

.pmt-arq-card__cover {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	background-color: #08080a;
}

.pmt-arq-card__cover-empty {
	font-size: 12px;
	letter-spacing: .18em;
	color: var(--arq-muted);
}

.pmt-arq-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 18px;
}

.pmt-arq-card__cat {
	align-self: flex-start;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--arq-accent);
	border: 1px solid rgba(242, 191, 7, .38);
	border-radius: 999px;
	padding: 2px 9px;
}

.pmt-arq-card__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pmt-arq-card__meta {
	font-size: 12px;
	color: var(--arq-muted);
}

/* =====================================================================
   LATERAL: buscador, recientes y más vistos
   ===================================================================== */

.pmt-arq__wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 36px;
	align-items: start;
}

.pmt-arq__main {
	min-width: 0;
}

.pmt-arq-box {
	background: var(--arq-card);
	border: 1px solid var(--arq-line);
	border-radius: 14px;
	padding: 18px 18px 16px;
	margin-bottom: 18px;
}

.pmt-arq-box:last-child {
	margin-bottom: 0;
}

.pmt-arq-box__title {
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--arq-accent);
	font-weight: 700;
}

.pmt-arq-search {
	display: flex;
}

.pmt-arq-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 12px;
	background: #08080a;
	border: 1px solid var(--arq-line);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	color: #fff;
	font-size: 14px;
}

.pmt-arq-search input[type="search"]:focus {
	outline: none;
	border-color: rgba(242, 191, 7, .5);
}

.pmt-arq-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	padding: 0;
	background: var(--arq-accent);
	border: 1px solid var(--arq-accent);
	border-radius: 0 8px 8px 0;
	color: #111;
	cursor: pointer;
}

.pmt-arq-search button:hover {
	filter: brightness(1.08);
}

.pmt-arq-search button .material-icons {
	font-size: 20px;
	line-height: 1;
}

.pmt-arq-mini {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pmt-arq-mini li {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.pmt-arq-mini li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.pmt-arq-mini a {
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.35;
	transition: color .16s ease;
}

.pmt-arq-mini a:hover {
	color: var(--arq-accent);
}

.pmt-arq-mini__meta {
	font-size: 12px;
	color: var(--arq-muted);
}

/* =====================================================================
   Varios
   ===================================================================== */

.pmt-arq__empty {
	padding: 40px 0;
	color: var(--arq-muted);
}

.pmt-arq__back {
	margin: 32px 0 0;
}

.pmt-arq__back a {
	color: var(--arq-accent);
	text-decoration: none;
	font-size: 14px;
}

.pmt-arq__back a:hover {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.pmt-arq__wrap {
		grid-template-columns: 1fr;
		gap: 26px;
	}
}

@media (max-width: 640px) {
	.pmt-arq {
		padding: 26px 14px 50px;
	}
	.pmt-cal {
		grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
		gap: 8px;
	}
	.pmt-cal__num {
		font-size: 18px;
	}
	.pmt-cal__nom {
		font-size: 12px;
	}
	.pmt-arq-row {
		flex-wrap: wrap;
		gap: 6px 12px;
		padding: 14px 16px 14px 20px;
	}
	.pmt-arq-row__arrow {
		display: none;
	}
	.pmt-arq__grid {
		gap: 14px;
	}
}
/* =====================================================================
   VARIANTES DE FILTRO (?filtros=a|b|c)
   a · Dos desplegables       → año y género, lo más discreto
   b · Flechas de año         → < 2024 > más género, mínimo espacio
   c · Pastillas solo de año  → años a la vista, género desplegable
   ===================================================================== */

.pmt-flt {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
}

/* B · Paso de año */
.pmt-flt__step {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--arq-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--arq-card);
}

.pmt-flt__step a,
.pmt-flt__step > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 36px;
	color: var(--arq-accent);
	text-decoration: none;
	font-size: 15px;
	transition: background .16s ease;
}

.pmt-flt__step a:hover {
	background: rgba(242, 191, 7, .12);
}

.pmt-flt__step .is-off {
	color: rgba(255, 255, 255, .16);
	cursor: default;
}

.pmt-flt__step .pmt-flt__step-val {
	min-width: 68px;
	padding: 0 4px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	border-left: 1px solid var(--arq-line);
	border-right: 1px solid var(--arq-line);
}

/* C · Pastillas de año */
.pmt-flt__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.pmt-flt__pills a {
	padding: 6px 14px;
	border: 1px solid var(--arq-line);
	border-radius: 999px;
	color: var(--arq-muted);
	text-decoration: none;
	font-size: 13px;
	transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.pmt-flt__pills a:hover {
	color: #fff;
	border-color: rgba(242, 191, 7, .45);
}

.pmt-flt__pills a.is-on {
	color: #111;
	background: var(--arq-accent);
	border-color: var(--arq-accent);
	font-weight: 600;
}
/* =====================================================================
   DISPOSICIÓN DE TRES COLUMNAS:
   géneros (izquierda) · calendario (centro) · destacados (derecha)
   ===================================================================== */

.pmt-arq__wrap {
	grid-template-columns: 196px minmax(0, 1fr) 250px;
	gap: 28px;
}

/* Calendario 4×3: doce meses en tres filas. */
.pmt-cal {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.pmt-cal__mes {
	padding: 14px 12px 12px;
}

.pmt-cal__num {
	font-size: 19px;
}

.pmt-cal__nom {
	font-size: 13px;
}

/* Menú vertical de géneros */
.pmt-gen {
	display: flex;
	flex-direction: column;
	gap: 1px;
	position: sticky;
	top: 92px;
	align-self: start;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	padding-right: 4px;
}

.pmt-gen__title {
	margin: 0 0 10px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--arq-accent);
	font-weight: 700;
}

.pmt-gen__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 11px;
	border-radius: 7px;
	color: var(--arq-muted);
	text-decoration: none;
	font-size: 13.5px;
	line-height: 1.25;
	transition: color .14s ease, background .14s ease;
}

.pmt-gen__item:hover {
	color: #fff;
	background: rgba(255, 255, 255, .05);
}

.pmt-gen__item.is-on {
	color: #111;
	background: var(--arq-accent);
	font-weight: 600;
}

.pmt-gen__item.is-vacio {
	opacity: .42;
}

.pmt-gen__item.is-vacio:hover {
	opacity: .8;
}

.pmt-gen__n {
	font-size: 11px;
	opacity: .7;
	font-variant-numeric: tabular-nums;
	flex: 0 0 auto;
}

.pmt-gen__item.is-on .pmt-gen__n {
	opacity: .85;
}

/* Por debajo de 1080px los géneros pasan a fila horizontal encima. */
@media (max-width: 1080px) {
	.pmt-arq__wrap {
		grid-template-columns: minmax(0, 1fr) 250px;
	}
	.pmt-gen {
		grid-column: 1 / -1;
		position: static;
		max-height: none;
		overflow: visible;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px;
		padding: 0 0 4px;
	}
	.pmt-gen__title {
		width: 100%;
		margin: 0 0 4px;
	}
	.pmt-gen__item {
		border: 1px solid var(--arq-line);
		border-radius: 999px;
		padding: 6px 12px;
	}
}

@media (max-width: 900px) {
	.pmt-arq__wrap {
		grid-template-columns: 1fr;
	}
	.pmt-cal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.pmt-cal {
		grid-template-columns: 1fr;
	}
}
/* =====================================================================
   BARRA DE AÑOS, centrada sobre la columna del calendario
   ===================================================================== */

.pmt-arq__barra {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 0 0 22px;
}

.pmt-arq__years {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 7px;
}

.pmt-arq__years a {
	padding: 7px 16px;
	border: 1px solid var(--arq-line);
	border-radius: 999px;
	color: var(--arq-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.pmt-arq__years a:hover {
	color: #fff;
	border-color: rgba(242, 191, 7, .45);
}

.pmt-arq__years a.is-on {
	color: #111;
	background: var(--arq-accent);
	border-color: var(--arq-accent);
	font-weight: 600;
}

.pmt-arq__head {
	margin-bottom: 18px;
}
/* Cabecera centrada sobre la pagina */
.pmt-arq__head {
	text-align: center;
	margin: 0 0 26px;
}

.pmt-arq__barra {
	justify-content: center;
}

.pmt-arq__years {
	justify-content: center;
}
