/* Poblanea Core v0.2 — estilos de marca para todo el sitio.
   Tipografías alojadas en el sitio: Archivo (titulares, extendida) e Inter (texto). */

@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	src: url("fonts/inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--pb-azul: #0047a2;
	--pb-marino: #022456;
	--pb-noche: #011634;
	--pb-magenta: #ff0084;
	--pb-rojo: #f2002e;
	--pb-amarillo: #fad000;
	--pb-frambuesa: #d11a61;
	--pb-cian: #00b7f3;
	--pb-papel: #f4f3ef;
	--pb-tinta: #161a26;
	--pb-gris: #545b6b;
	--pb-borde: #e2dfd6;
	--pb-wa: #1a8a4a;
	--pb-radio: 18px;
	--pb-sombra: 0 1px 2px rgba(2, 36, 86, .06), 0 8px 24px rgba(2, 36, 86, .08);
	--pb-display: "Archivo", "Arial Black", system-ui, sans-serif;
	--pb-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pb-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -40 80 80'%3E%3Cpath d='M0 -40 L11 -11 L40 0 L11 11 L0 40 L-11 11 L-40 0 L-11 -11Z' fill='%23FAD000'/%3E%3C/svg%3E");
	--pb-spark-m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -40 80 80'%3E%3Cpath d='M0 -40 L11 -11 L40 0 L11 11 L0 40 L-11 11 L-40 0 L-11 -11Z' fill='%23FF0084'/%3E%3C/svg%3E");
	--pb-spark-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -40 80 80'%3E%3Cpath d='M0 -40 L11 -11 L40 0 L11 11 L0 40 L-11 11 L-40 0 L-11 -11Z' fill='%2300B7F3'/%3E%3C/svg%3E");
	--pb-dots: radial-gradient(rgba(255, 255, 255, .12) 1.4px, transparent 1.6px) 0 0 / 10px 10px;

	/* Paleta y tipografía del tema (Twenty Twenty-Five) con la marca. */
	--wp--preset--color--base: var(--pb-papel);
	--wp--preset--color--contrast: var(--pb-tinta);
	--wp--preset--color--accent-1: var(--pb-amarillo);
	--wp--preset--color--accent-2: var(--pb-magenta);
	--wp--preset--color--accent-3: var(--pb-azul);
	--wp--preset--color--accent-4: var(--pb-gris);
	--wp--preset--font-family--manrope: var(--pb-text);
}

/* ---------- Base de todo el sitio ---------- */
body { background: var(--pb-papel); color: var(--pb-tinta); font-family: var(--pb-text); -webkit-font-smoothing: antialiased; }
html, body { overflow-x: clip; }
a { color: var(--pb-azul); }
a:hover { color: var(--pb-magenta); }
:where(h1, h2, h3, .wp-block-post-title, .wp-block-query-title) {
	font-family: var(--pb-display); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; color: var(--pb-marino);
}
:where(.wp-block-post-title) { text-transform: uppercase; line-height: 1.02; }
::selection { background: var(--pb-amarillo); color: var(--pb-noche); }
:focus-visible { outline: 3px solid var(--pb-cian); outline-offset: 2px; }

/* Encabezado */
.pb-header { background: #fff; border-bottom: 1px solid var(--pb-borde); position: relative; z-index: 20; }
.pb-header .wp-block-site-logo img { width: 150px; height: auto; }
@media (min-width: 782px) { .pb-header .wp-block-site-logo img { width: 176px; } }
.pb-header .wp-block-navigation { font-family: var(--pb-display); font-stretch: 112%; font-weight: 700; font-size: .92rem; color: var(--pb-marino); }
.pb-header .wp-block-navigation a:hover { color: var(--pb-magenta); }
.pb-header .wp-block-navigation__submenu-container { border-radius: 12px; border: 1px solid var(--pb-borde) !important; box-shadow: var(--pb-sombra); padding: 6px 0; font-family: var(--pb-text); font-stretch: 100%; font-weight: 600; }
.pb-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--pb-marino) !important; color: #fff !important; }
.pb-header .wp-block-navigation__responsive-container.is-menu-open a { color: #fff; font-size: 1.15rem; }

/* Pie */
.pb-footer { background: var(--pb-noche) var(--pb-dots); color: #dfe6f3; padding: 48px 16px 32px; position: relative; overflow: hidden; }
.pb-footer::before { content: ""; position: absolute; right: 6%; top: 28px; width: 34px; height: 34px; background: var(--pb-spark) center / contain no-repeat; }
.pb-footer::after { content: ""; position: absolute; right: 12%; top: 70px; width: 18px; height: 18px; background: var(--pb-spark-m) center / contain no-repeat; }
.pb-footer a { color: #fff; text-decoration: none; }
.pb-footer a:hover { color: var(--pb-amarillo); }
.pb-footer__tag { max-width: 32ch; margin: 0; opacity: .85; }
.pb-footer__nav { font-weight: 600; gap: .5rem !important; }
.pb-footer__legal { font-size: .8rem; opacity: .65; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; margin-top: 32px; }

/* Páginas y notas del tema */
.wp-block-post-content :where(h2) { font-size: clamp(1.3rem, 3.6vw, 1.75rem); text-transform: none; }
.wp-block-post-content :where(p, li) { line-height: 1.65; }

/* ---------- Plantillas Poblanea ---------- */
.pb-main { background: var(--pb-papel); color: var(--pb-tinta); padding-bottom: 3rem; }
.pb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.pb-muted { color: var(--pb-gris); font-size: .9em; }
.pb-sub { color: var(--pb-gris); margin: -.5rem 0 1.25rem; }
.pb-h2 {
	font-family: var(--pb-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(1.35rem, 4.5vw, 2rem); line-height: 1.05; margin: 2.75rem 0 1.25rem; color: var(--pb-marino);
	display: flex; align-items: center; gap: 10px;
}
.pb-h2::after { content: ""; width: 22px; height: 22px; flex: none; background: var(--pb-spark-m) center / contain no-repeat; }
.pb-h2--sm { font-size: 1.1rem; margin: 1.5rem 0 .75rem; }
.pb-h2--sm::after { display: none; }

/* Hero */
.pb-hero { position: relative; overflow: hidden; background: var(--pb-noche); color: #fff; isolation: isolate; }
.pb-hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: -2; }
.pb-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 22, 52, .55) 0%, rgba(1, 22, 52, .35) 40%, rgba(1, 22, 52, .92) 100%); }
@media (min-width: 900px) { .pb-hero::before { background: linear-gradient(90deg, rgba(1, 22, 52, .96) 0%, rgba(1, 22, 52, .72) 45%, rgba(1, 22, 52, .05) 80%); } }
.pb-hero__inner { max-width: 1200px; margin: 0 auto; padding: 40px 16px 28px; }
@media (min-width: 900px) { .pb-hero__inner { padding: 72px 16px 56px; } }
.pb-kicker { margin: 0 0 .25rem; font-family: var(--pb-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1rem, 3.5vw, 1.3rem); color: #fff; }
.pb-hero__title {
	margin: 0; font-family: var(--pb-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
	font-size: clamp(3rem, 15vw, 7rem); line-height: .9; letter-spacing: -.02em; color: #fff;
}
.pb-hero--small .pb-hero__title { font-size: clamp(1.9rem, 8vw, 3.6rem); }
.pb-hero__date { margin: .6rem 0 0; font-family: var(--pb-display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.1rem, 4vw, 1.6rem); }
/* Subrayado de pincel magenta */
.pb-hero__date span {
	padding: 0 .15em 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12 C60 4 120 16 180 9 S270 6 297 11' stroke='%23FF0084' stroke-width='7' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") left bottom / 100% 12px no-repeat;
}
.pb-hero__lede { margin: .9rem 0 1.4rem; max-width: 40ch; color: #e6ecf7; font-size: 1.05rem; }
.pb-hero--small .pb-hero__inner { padding-top: 32px; }
.pb-hero--small .pb-kicker { color: var(--pb-amarillo); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

/* Buscador */
.pb-search {
	display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); background: #fff; padding: 10px;
	border-radius: var(--pb-radio); color: var(--pb-tinta); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); max-width: 1100px;
}
.pb-search > * { min-width: 0; }
.pb-search label { display: block; margin: 0; }
.pb-search input[type="search"], .pb-search select {
	width: 100%; max-width: 100%; min-height: 48px; padding: 8px 14px; font: inherit; font-size: 16px;
	border: 1.5px solid var(--pb-borde); border-radius: 12px; background: #fff; color: var(--pb-tinta);
}
.pb-search input[type="search"]:focus, .pb-search select:focus { border-color: var(--pb-azul); outline: none; box-shadow: 0 0 0 3px rgba(0, 71, 162, .15); }
.pb-search__check { display: flex !important; align-items: center; gap: 8px; min-height: 48px; padding: 0 6px; font-weight: 600; }
.pb-search__check input { width: 20px; height: 20px; accent-color: var(--pb-magenta); }
.pb-search .pb-btn { min-height: 48px; background: var(--pb-magenta); font-size: 1rem; }
.pb-search .pb-btn:hover { background: var(--pb-frambuesa); }
@media (min-width: 600px) { .pb-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pb-search__q { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
	.pb-search { grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) auto auto; align-items: center; }
	.pb-search__q { grid-column: auto; }
}

/* Botones */
.pb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border: 0; border-radius: 999px; background: var(--pb-azul); color: #fff; font: inherit; font-weight: 700;
	text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s;
}
.pb-btn:hover, .pb-btn:focus-visible { background: var(--pb-marino); color: #fff; }
.pb-btn:active { transform: translateY(1px); }
.pb-btn--wa { background: var(--pb-wa); }
.pb-btn--wa:hover, .pb-btn--wa:focus-visible { background: #126b38; }
.pb-btn--ghost { background: transparent; color: var(--pb-magenta); box-shadow: inset 0 0 0 2px var(--pb-magenta); }
.pb-btn--ghost:hover, .pb-btn--ghost:focus-visible { background: var(--pb-magenta); color: #fff; }
.pb-lead-link { margin-top: 1.5rem; }
.pb-lead-link .pb-btn { background: var(--pb-amarillo); color: var(--pb-noche); white-space: normal; text-align: center; padding: 10px 20px; }

/* Encabezados de día */
.pb-dayhead {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 2.5rem 0 1rem; padding-bottom: 10px;
	border-bottom: 3px solid var(--pb-marino); font-family: var(--pb-display);
}
.pb-dayhead__dow { font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 6vw, 2.4rem); line-height: 1; color: var(--pb-marino); }
.pb-dayhead__date { font-stretch: 110%; font-weight: 700; font-size: 1rem; color: var(--pb-magenta); }
.pb-dayhead--all { border-bottom-color: var(--pb-amarillo); }
.pb-dayhead--all .pb-dayhead__dow::after { content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .3em; background: var(--pb-spark) center / contain no-repeat; vertical-align: .05em; }

/* Tarjetas */
/* auto-fit: si hay menos tarjetas que columnas, se estiran y no queda hueco a la derecha. */
.pb-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (min-width: 1000px) { .pb-grid { gap: 22px; } }
/* Una sola tarjeta: horizontal en pantallas anchas. */
@media (min-width: 760px) {
	.pb-grid > .pb-card:only-child { flex-direction: row; }
	.pb-grid > .pb-card:only-child .pb-card__media { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
	.pb-grid > .pb-card:only-child .pb-card__body { padding: 28px 30px; justify-content: center; }
	.pb-grid > .pb-card:only-child .pb-card__title { font-size: 1.6rem; }
	.pb-grid > .pb-card:only-child .pb-card__actions { margin-top: 12px !important; flex: 0 0 auto; }
}
.pb-card {
	display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: var(--pb-radio); overflow: hidden;
	box-shadow: var(--pb-sombra); transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) { .pb-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(2, 36, 86, .08), 0 16px 36px rgba(2, 36, 86, .14); } }
.pb-card.is-sponsored { box-shadow: inset 0 0 0 3px var(--pb-amarillo), var(--pb-sombra); }
.pb-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--pb-marino); overflow: hidden; }
.pb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
@media (hover: hover) { .pb-card:hover .pb-card__media img { transform: scale(1.04); } }
.pb-date {
	position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 56px; padding: 6px 8px 7px; background: #fff; color: var(--pb-marino); border-radius: 12px;
	font-family: var(--pb-display); font-stretch: 110%; font-weight: 700; font-size: .78rem; line-height: 1; text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.pb-date b { display: block; font-size: 1.7rem; font-weight: 900; font-stretch: 100%; color: var(--pb-magenta); margin: 1px 0 2px; }
.pb-date--until { font-size: .68rem; }
.pb-date--until b { font-size: 1.35rem; }
.pb-card__cat {
	position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--pb-amarillo); color: var(--pb-noche);
	font-family: var(--pb-display); font-stretch: 110%; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .02em;
}
.pb-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pb-card__body p { margin: 0; overflow-wrap: anywhere; }
.pb-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #e8eef8; color: var(--pb-azul); font-size: .75rem; font-weight: 800; margin: 0; }
.pb-tag--free { background: #dff5e8; color: var(--pb-wa); }
.pb-tag--sponsor { background: #fff4c2; color: #6b5300; }
.pb-card__title { margin: 0; font-family: var(--pb-display); font-stretch: 112%; font-weight: 800; font-size: 1.2rem; line-height: 1.15; text-transform: none; }
.pb-card__title a { color: var(--pb-marino); text-decoration: none; }
.pb-card__title a:hover { color: var(--pb-magenta); }
.pb-card__when { font-weight: 700; color: var(--pb-magenta); font-size: .95rem; }
.pb-card__where, .pb-card__price { color: var(--pb-gris); font-size: .92rem; }
.pb-card__where a { color: var(--pb-azul); font-weight: 600; }
.pb-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto !important; padding-top: 12px; }
.pb-card__actions .pb-btn { flex: 1 1 auto; font-size: .92rem; min-height: 42px; }

/* Bandas */
.pb-band--free { position: relative; background: var(--pb-amarillo); margin-top: 3rem; padding: .5rem 0 2rem; overflow: hidden; }
.pb-band--free .pb-h2 { color: var(--pb-noche); }
.pb-band--free .pb-h2::after { background-image: var(--pb-spark-m); }
.pb-band--free::before { content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; background: var(--pb-spark-m) center / contain no-repeat; opacity: .9; }
.pb-band--free a:not(.pb-btn) { color: var(--pb-noche); font-weight: 700; }

.pb-avisos { margin-top: 1.5rem; background: #fff; border-left: 6px solid var(--pb-rojo); border-radius: 12px; padding: 6px 18px 14px; box-shadow: var(--pb-sombra); }
.pb-avisos .pb-h2 { margin-top: 12px; font-size: 1.05rem; }
.pb-avisos .pb-h2::after { display: none; }
.pb-avisos ul, .pb-list { margin: 0; padding-left: 1.1rem; }
.pb-avisos li, .pb-list li { margin: .4rem 0; }

/* Regiones */
.pb-regions { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 1rem; }
@media (min-width: 800px) { .pb-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pb-region {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 112px; padding: 14px;
	border-radius: 16px; color: #fff; text-decoration: none; overflow: hidden;
	background: var(--pb-dots), linear-gradient(160deg, var(--pb-azul), var(--pb-marino));
	transition: transform .2s;
}
.pb-region:nth-child(4n+2) { background: var(--pb-dots), linear-gradient(160deg, var(--pb-frambuesa), var(--pb-marino)); }
.pb-region:nth-child(4n+3) { background: var(--pb-dots), linear-gradient(160deg, #0a8ab8, var(--pb-marino)); }
.pb-region:nth-child(4n) { background: var(--pb-dots), linear-gradient(160deg, var(--pb-marino), var(--pb-noche)); }
.pb-region::before { content: ""; position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; background: var(--pb-spark) center / contain no-repeat; }
.pb-region:hover, .pb-region[aria-current="page"] { color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 3px var(--pb-amarillo); }
.pb-region__name { font-family: var(--pb-display); font-stretch: 115%; font-weight: 900; font-size: 1.05rem; line-height: 1.1; text-transform: uppercase; }
.pb-region__sub { font-size: .78rem; opacity: .85; overflow-wrap: anywhere; }

.pb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1rem; }
.pb-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--pb-borde); color: var(--pb-marino); text-decoration: none; font-weight: 700; }
.pb-chip:hover, .pb-chip[aria-current="page"] { background: var(--pb-marino); box-shadow: none; color: #fff; }

.pb-empty { background: #fff; padding: 18px; border-radius: var(--pb-radio); margin-top: 1.5rem; box-shadow: var(--pb-sombra); }
.pb-count { margin: 1.25rem 0 .75rem; font-weight: 600; }
.pb-pagination { margin: 1.75rem 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pb-pagination .page-numbers { padding: 9px 14px; border-radius: 10px; background: #fff; text-decoration: none; font-weight: 700; box-shadow: var(--pb-sombra); }
.pb-pagination .current { background: var(--pb-marino); color: #fff; }

/* Página del evento */
.pb-ficha__media { margin: 0 0 1rem; border-radius: var(--pb-radio); overflow: hidden; position: relative; aspect-ratio: 16 / 9; background: var(--pb-marino); }
.pb-ficha__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-ficha__media figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: #fff; opacity: .75; }
.pb-ficha { background: #fff; border-radius: var(--pb-radio); padding: 20px; margin: 0 0 1.75rem; box-shadow: var(--pb-sombra); border-top: 6px solid var(--pb-magenta); }
.pb-ficha dl { margin: 0; display: grid; gap: 10px; }
.pb-ficha dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--pb-borde); }
.pb-ficha dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-ficha dt { font-family: var(--pb-display); font-stretch: 112%; font-weight: 800; color: var(--pb-marino); text-transform: uppercase; font-size: .82rem; padding-top: 2px; }
.pb-ficha dd { margin: 0; overflow-wrap: anywhere; }
.pb-ficha .pb-card__actions { padding-top: 16px; }
.pb-ficha__fuente { font-size: .85rem; color: var(--pb-gris); margin: 12px 0 0; }
.pb-share { margin-top: 2rem; }

.pb-page .screen-reader-text, .pb-search .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .pb-card, .pb-card__media img, .pb-btn, .pb-region { transition: none; } }
/* Hero en celular — la ilustración completa arriba, el texto abajo */
@media (max-width: 899px) {
	body .pb-hero::before { display: none; }
	body .pb-hero .pb-hero__art { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 1080 / 640; object-fit: cover; object-position: 50% 70%;
		-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
	body .pb-hero .pb-hero__inner { position: relative; margin-top: -14px; padding-top: 0; }
	body .pb-hero--small .pb-hero__art { aspect-ratio: 1080 / 460; }
	body .pb-hero--small .pb-hero__inner { margin-top: 0; padding-top: 18px; }
}

/* Sin franja entre encabezado y portada */
body .wp-site-blocks > .pb-main { margin-block-start: 0; }

/* ---------- Tira de fechas ---------- */
.pb-strip { margin: 18px 0 0; }
.pb-strip__track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pb-strip__day {
	flex: 0 0 auto; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 64px; min-height: 84px; padding: 8px 4px 12px; border-radius: 14px; background: #fff; color: var(--pb-gris); text-decoration: none;
	box-shadow: inset 0 0 0 1.5px var(--pb-borde); font-family: var(--pb-display); line-height: 1; transition: transform .15s, background-color .15s;
}
.pb-strip__dow { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.pb-strip__num { font-size: 1.6rem; font-weight: 900; margin: 4px 0 3px; color: var(--pb-gris); }
.pb-strip__mon { font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.pb-strip__dot { position: absolute; bottom: 6px; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.pb-strip__day.has-events { color: var(--pb-marino); box-shadow: inset 0 0 0 2px var(--pb-marino); }
.pb-strip__day.has-events .pb-strip__num { color: var(--pb-marino); }
.pb-strip__day.has-events .pb-strip__dot { background: var(--pb-magenta); }
.pb-strip__day:first-child .pb-strip__dow { color: var(--pb-magenta); }
.pb-strip__day:hover, .pb-strip__day.is-current { background: var(--pb-marino); color: #fff; box-shadow: none; transform: translateY(-2px); }
.pb-strip__day:hover .pb-strip__num, .pb-strip__day.is-current .pb-strip__num, .pb-strip__day.is-current .pb-strip__dow { color: #fff; }
.pb-strip__day:hover .pb-strip__dot, .pb-strip__day.is-current .pb-strip__dot { background: var(--pb-amarillo); }
.pb-strip__cal { background: var(--pb-amarillo); color: var(--pb-noche); box-shadow: none; }
.pb-strip__cal .pb-strip__num { color: var(--pb-noche); }

/* ---------- Calendario mensual ---------- */
.pb-cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 14px; }
.pb-cal__nav .pb-btn { min-height: 40px; text-transform: capitalize; }
.pb-cal__today { font-weight: 700; }
.pb-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pb-cal__dow { text-align: center; font-family: var(--pb-display); font-weight: 800; font-size: .75rem; text-transform: uppercase; color: var(--pb-gris); padding: 6px 0; }
.pb-cal__cell { position: relative; min-height: 64px; background: #fff; border-radius: 10px; padding: 6px; box-shadow: inset 0 0 0 1px var(--pb-borde); min-width: 0; }
.pb-cal__cell.is-empty { background: transparent; box-shadow: none; }
.pb-cal__cell.is-past { opacity: .55; }
.pb-cal__cell.is-today { box-shadow: inset 0 0 0 2.5px var(--pb-magenta); }
.pb-cal__num { display: inline-block; font-family: var(--pb-display); font-weight: 900; font-size: 1.05rem; color: var(--pb-marino); text-decoration: none; }
.pb-cal__cell.has-events { background: #f1f5fc; }
.pb-cal__list { display: none; list-style: none; margin: 4px 0 0; padding: 0; }
.pb-cal__list li { margin: 0 0 4px; font-size: .78rem; line-height: 1.2; }
.pb-cal__list a { color: var(--pb-tinta); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; border-left: 3px solid var(--pb-magenta); padding-left: 5px; }
.pb-cal__list a:hover { color: var(--pb-magenta); }
.pb-cal__more a { border-left-color: transparent; font-weight: 700; color: var(--pb-azul); }
.pb-cal__count { position: absolute; right: 6px; bottom: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pb-magenta); color: #fff; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (min-width: 900px) {
	.pb-cal__cell { min-height: 120px; padding: 8px; }
	.pb-cal__list { display: block; }
	.pb-cal__count { display: none; }
}

/* Menú compacto en escritorio (una sola línea) */
@media (min-width: 782px) {
	.pb-header .wp-block-navigation { font-size: .86rem; }
	.pb-header .wp-block-navigation .wp-block-navigation__container { gap: .2em 1.1em; }
}

/* Vista de un día: "También en curso" más discreto */
@media (min-width: 1000px) { .pb-grid--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); } }
.pb-grid--compact .pb-card__title { font-size: 1.02rem; }
.pb-grid--compact .pb-card__price, .pb-grid--compact .pb-card__actions { display: none; }

/* ---------- Ficha ampliada (v0.4) ---------- */
.pb-sec { margin: 2rem 0; }
.pb-sec__h { font-family: var(--pb-display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.15rem, 3.6vw, 1.45rem); color: var(--pb-marino); margin: 0 0 .9rem; padding-bottom: 8px; border-bottom: 3px solid var(--pb-amarillo); }
.pb-sec__h3 { font-family: var(--pb-display); font-weight: 800; font-size: 1rem; color: var(--pb-marino); margin: 1.2rem 0 .5rem; text-transform: none; }
.pb-dl { margin: 0; display: grid; gap: 8px; }
.pb-dl > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--pb-borde); }
.pb-dl dt { font-weight: 800; color: var(--pb-marino); font-size: .9rem; }
.pb-dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .pb-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.pb-precios { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--pb-sombra); }
.pb-precios th, .pb-precios td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--pb-borde); }
.pb-precios th { background: var(--pb-marino); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.pb-precios td:last-child { font-weight: 800; color: var(--pb-magenta); white-space: nowrap; }
.pb-note { font-size: .88rem; color: var(--pb-gris); background: #fff8d6; border-left: 4px solid var(--pb-amarillo); padding: 10px 12px; border-radius: 8px; margin-top: 12px; }
.pb-checklist { list-style: none; padding: 0; margin: 0; }
.pb-checklist li { position: relative; padding: 6px 0 6px 26px; }
.pb-checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; background: var(--pb-spark-m) center / contain no-repeat; }
.pb-btn--sm { min-height: 38px; font-size: .9rem; }
.pb-faq { background: #fff; border-radius: 12px; margin: 0 0 8px; box-shadow: var(--pb-sombra); }
.pb-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 800; color: var(--pb-marino); list-style: none; }
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: "+"; float: right; color: var(--pb-magenta); font-size: 1.2rem; line-height: 1; }
.pb-faq[open] summary::after { content: "–"; }
.pb-faq p { margin: 0; padding: 0 16px 14px; }
.pb-past { background: #ffe3ea; border-left: 5px solid var(--pb-rojo); padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.pb-sec--recinto { background: #fff; border-radius: var(--pb-radio); padding: 18px 20px; box-shadow: var(--pb-sombra); }
.pb-recinto__cols { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 900px) { .pb-recinto__cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.pb-recinto__about p { line-height: 1.7; }

/* "Sobre la región / municipio" */
.pb-sec--about { background: #fff; border-radius: var(--pb-radio); padding: 20px 22px; box-shadow: var(--pb-sombra); margin-top: 2.5rem; }
.pb-sec--about p { line-height: 1.7; max-width: 70ch; }
