/* Portada con movimiento (movimiento.php). Only on the home page, only when switched on. */
.cb-mv {
	--mv-tinta: var(--wp--preset--color--tinta, #17120f);
	--mv-papel: var(--wp--preset--color--papel, #f2f0eb);
	--mv-blanco: #fff;
	--mv-gris: var(--wp--preset--color--gris, #4a433e);
	--mv-granate: var(--wp--preset--color--granate, #7a1630);
	--mv-azul: var(--wp--preset--color--azul, #1f4e9c);
	--mv-mostaza: var(--wp--preset--color--mostaza, #e8b931);
	--mv-verde: var(--wp--preset--color--verde, #1d8a5c);
	--mv-pad: var(--wp--style--root--padding-left, clamp(20px, 5vw, 72px));
	--mv-ease: cubic-bezier(.2, .8, .2, 1);
	--mv-rebote: cubic-bezier(.34, 1.56, .64, 1);
	overflow-x: clip;
}
.cb-mv-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--mv-pad); box-sizing: content-box; }
.cb-mv-enlace { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; color: inherit; }
@media (hover: hover) {
.cb-mv-enlace:hover { color: var(--mv-granate); }
}
.cb-mv-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.cb-mv-cab h2 { margin: 0; }

/* ---------- Buttons: a thin hard shadow that grows on hover and sinks when pressed ---------- */
.cb-mv-btn,
.cb-mv .wp-block-button__link,
.cb-mv .cb-search--portada .wp-block-search__button {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
	border: 2px solid var(--mv-tinta); border-radius: 10px 10px 0 10px; background: var(--mv-blanco); color: var(--mv-tinta);
	font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
	box-shadow: 2px 2px 0 var(--mv-tinta);
	transition: transform .18s var(--mv-ease), box-shadow .18s var(--mv-ease), background-color .18s, color .18s;
}
.cb-mv-btn:active, .cb-mv .wp-block-button__link:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--mv-tinta); }
.cb-mv-flecha { display: inline-block; transition: transform .18s var(--mv-ease); }
@media (hover: hover) {
.cb-mv-btn:hover .cb-mv-flecha { transform: translateX(4px); }
}
.cb-mv-pronto { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mv-gris); }

/* ---------- La espera: title, text and search on the left, the poster still on the right ---------- */
.cb-mv-entrada { position: relative; }
.cb-mv-hero { padding: clamp(28px, 4.5vh, 64px) 0 clamp(28px, 4.5vh, 64px); }
.cb-mv-hero__in { display: grid; grid-template-columns: minmax(0, 64fr) minmax(0, 36fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cb-mv-hero__txt { min-width: 0; }
/* Always the same size: almost as wide as its column, never more than 96px (no script, so it can't change after a visit). */
.cb-mv-hero__txt { container-type: inline-size; }
.cb-mv-hero__t { margin: 0; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .9; font-size: min(96px, 12.6cqi); white-space: nowrap; }
.cb-mv-hero__t span { display: inline-block; }
.cb-mv-hero__lema { max-width: 46ch; margin: clamp(14px, 2.4vh, 24px) 0 clamp(18px, 2.8vh, 28px); font-size: clamp(17px, 2.2vh, 20px); line-height: 1.45; }
.cb-mv-hero__buscar { position: relative; z-index: 20; width: min(580px, 100%); }
.cb-mv-hero__buscar .cb-search--portada { margin: 0; max-width: none; }
.cb-mv .cb-search--portada .wp-block-search__inside-wrapper { border: 2px solid var(--mv-tinta) !important; border-radius: 10px 10px 0 10px !important; overflow: hidden; padding: 0 !important; transition: transform .2s var(--mv-ease), box-shadow .2s var(--mv-ease); }
.cb-mv .cb-search--portada .wp-block-search__inside-wrapper:focus-within { box-shadow: 2px 2px 0 var(--mv-granate) !important; }
.cb-mv .cb-search--portada .wp-block-search__input { border: 0 !important; min-height: 52px; padding: 0 16px; background: transparent; font-size: 17px; }
/* The button is the right end of the bar: straight on its left side, the bar's own corners on the right. */
.cb-mv .cb-search--portada .wp-block-search__inside-wrapper .wp-block-search__button { margin: 0; border: 0 !important; border-left: 2px solid var(--mv-tinta) !important; border-radius: 0 !important; box-shadow: none !important; background: var(--mv-tinta); color: var(--mv-blanco); min-height: 52px; transform: none !important; }
@media (hover: hover) {
.cb-mv .cb-search--portada .wp-block-search__inside-wrapper .wp-block-search__button:hover { background: var(--mv-granate); }
}
.cb-mv-hero__cartel { min-width: 0; }
@media (max-width: 781px) {
	.cb-mv-hero { padding-top: 64px; }
	.cb-mv-hero__in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	/* The poster centred, with room above it for its tape. */
	.cb-mv-hero__cartel.cb-cartel-hero { justify-self: center; width: 100%; max-width: 250px !important; margin: 48px auto 0 !important; }
	.cb-mv-hero__cartel .cb-carteles--uno { margin-inline: auto; }
}

/* Entrance of the title, once the page is ready */
.cb-mv.is-mv .cb-mv-hero__t span { transform: translateY(40px); opacity: 0; transition: transform .9s var(--mv-ease), opacity .9s var(--mv-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.cb-mv.is-mv .cb-mv-hero__lema, .cb-mv.is-mv .cb-mv-hero__buscar { opacity: 0; transition: opacity .8s .45s; }
.cb-mv.is-mv.is-listo .cb-mv-hero__t span { transform: none; opacity: 1; }
.cb-mv.is-mv.is-listo .cb-mv-hero__lema, .cb-mv.is-mv.is-listo .cb-mv-hero__buscar { opacity: 1; }

/* ---------- Things that appear as you scroll down (only when the script is on) ---------- */
.cb-mv.is-mv [data-mv] { transition-delay: calc(var(--i, 0) * 90ms); }
.cb-mv.is-mv [data-mv].is-in { opacity: 1; transform: none; }
.cb-mv.is-mv [data-mv-dib] path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--mv-ease); transition-delay: calc(var(--i, 0) * 90ms + .15s); }
.cb-mv.is-mv [data-mv-dib].is-in path { stroke-dashoffset: 0; }
.cb-mv.is-mv [data-mv-salta] { transition-delay: calc(var(--i, 0) * 90ms); }
.cb-mv.is-mv [data-mv-salta].is-in { transform: none; opacity: 1; }

/* ---------- The figures in a black band the whole width ---------- */
.cb-mv-banda { flex: 0 0 auto; background: var(--mv-granate); color: #fff; padding: clamp(18px, 3.2vh, 36px) 0 clamp(16px, 3vh, 32px); }
.cb-mv-cifras { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.cb-mv-cifra { display: flex; flex-direction: column; }
.cb-mv-cifra__ico { display: block; width: clamp(34px, 5vh, 52px); height: clamp(34px, 5vh, 52px); margin-bottom: 10px; color: var(--mv-mostaza); }
.cb-mv-cifra__ico svg, .cb-mv-nc__ico svg, .cb-mv-paso__ico svg, .cb-mv-colabora__ilus svg { width: 100%; height: 100%; overflow: visible; transition: transform .45s var(--mv-rebote); }
@media (hover: hover) {
.cb-mv-cifra:hover .cb-mv-cifra__ico svg { transform: rotate(-8deg) scale(1.08); }
}
.cb-mv-cifra__n { font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .9; font-size: clamp(40px, 6.4vh, 66px); }
.cb-mv-cifra__t { font-weight: 700; font-size: 16px; line-height: 1.2; margin-top: 6px; }
@media (hover: hover) {
.cb-mv-banda .cb-mv-enlace:hover { color: var(--mv-mostaza); }
}

@media (max-width: 1000px) { .cb-mv-cifras { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; } }
@media (max-width: 560px) { .cb-mv-cifras { column-gap: 12px; } .cb-mv-cifra__ico { width: 30px; height: 30px; margin-bottom: 6px; } .cb-mv-cifra__n { font-size: 34px; } .cb-mv-cifra__t { font-size: 13px; } }

/* ---------- Nuestro carnaval: the pile of posters stays, the blocks go by ---------- */
.cb-mv-nc { padding: clamp(60px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); }
.cb-mv-nc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 96px); }
.cb-mv-nc.is-sin-carteles .cb-mv-nc__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cb-mv-nc__pila { position: sticky; top: calc(50vh - 220px); height: 440px; }
.cb-mv-nc__pila figure { position: absolute; left: 50%; top: 0; width: max-content; margin: 0; opacity: 0; transform: translateX(-50%) rotate(var(--r)) translateY(30px) scale(.94); transition: transform .7s var(--mv-rebote), opacity .45s; }
.cb-mv:not(.is-mv) .cb-mv-nc__pila figure:first-child,
.cb-mv-nc__pila figure.is-act { opacity: 1; transform: translateX(-50%) rotate(var(--r)); z-index: 2; }
.cb-mv-nc__pila figure.is-prev { opacity: 1; filter: brightness(.92); }
.cb-mv-nc__pila img { display: block; height: min(400px, 56vh); width: auto; max-width: none; border: 2px solid var(--mv-tinta); box-shadow: 2px 2px 0 var(--mv-tinta); background: var(--mv-blanco); }
.cb-mv-nc__pila figcaption { margin-top: 10px; text-align: center; font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mv-gris); }
.cb-mv-nc__bloque { min-height: 34vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 0; }
.cb-mv-nc__ico { display: block; width: 72px; height: 72px; color: var(--mv-granate); }
.cb-mv-nc__bloque--azul .cb-mv-nc__ico { color: var(--mv-azul); }
.cb-mv-nc__bloque--verde .cb-mv-nc__ico { color: var(--mv-verde); }
.cb-mv-nc__bloque--tinta .cb-mv-nc__ico { color: var(--mv-tinta); }
.cb-mv-nc__bloque--mostaza .cb-mv-nc__ico { color: #b8860b; }
@media (hover: hover) {
.cb-mv-nc__bloque:hover .cb-mv-nc__ico svg { transform: rotate(8deg) scale(1.08); }
}
.cb-mv-nc__bloque h3 { margin: 0; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .92; font-size: clamp(36px, 4vw, 56px); }
.cb-mv-nc__bloque p { margin: 0; font-size: 19px; max-width: 44ch; }
@media (max-width: 860px) {
	.cb-mv-nc__grid { grid-template-columns: minmax(0, 1fr); }
	.cb-mv-nc__pila { display: none; }
	.cb-mv-nc__bloque { min-height: 0; padding: 24px 0; }
}

/* ---------- Existing pieces of the page: lift on hover ---------- */
.cb-mv .cb-card2 { transition: transform .25s var(--mv-ease), box-shadow .25s var(--mv-ease); }
.cb-mv .cb-card2 .cb-ilus { transition: transform .5s var(--mv-rebote); }
@media (hover: hover) {
.cb-mv .cb-card2:hover .cb-ilus { transform: scale(1.08) rotate(-2deg); }
}
.cb-mv .cb-hoja--azul .cb-cartel { transition: transform .35s var(--mv-rebote), box-shadow .35s; }

/* ---------- The carnival day by day, with hand-drawn arrows ---------- */
.cb-mv-dias { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); text-align: center; }
.cb-mv-dias h2 { margin: 0 0 10px; }
.cb-mv-dias__sub { margin: 0 auto 54px; max-width: 46ch; color: var(--mv-gris); }
.cb-mv-camino { display: flex; align-items: flex-start; text-align: left; }
.cb-mv-paso { flex: 1.25 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cb-mv-paso.is-abajo { margin-top: 120px; }
.cb-mv-paso__ico { display: block; width: 84px; height: 84px; color: var(--mv-tinta); }
@media (hover: hover) {
.cb-mv-paso:hover .cb-mv-paso__ico svg { transform: translateY(-6px) rotate(-6deg); }
}
.cb-mv-paso__f { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mv-granate); }
.cb-mv-paso h3 { margin: 0; font-weight: 800; font-stretch: 72%; text-transform: none; font-size: 24px; line-height: 1.05; }
.cb-mv-paso p { margin: 0; font-size: 15px; color: var(--mv-gris); }
.cb-mv-flecha-mano { flex: .6 1 0; min-width: 0; height: 120px; margin-top: 10px; color: var(--mv-tinta); }
.cb-mv-flecha-mano svg { display: block; width: 100%; height: 100%; overflow: visible; }
@media (max-width: 900px) {
	.cb-mv-camino { flex-direction: column; align-items: stretch; max-width: 420px; margin: 0 auto; }
	.cb-mv-paso, .cb-mv-paso.is-abajo { margin-top: 0; }
	.cb-mv-flecha-mano { height: 70px; width: 90px; margin: 4px 0 4px 10px; transform: rotate(80deg); }
}

/* ---------- Rounded panels, a few pixels in from both sides ---------- */
.cb-mv-panel { margin: 0; border-radius: 0; }
.cb-mv-colabora { background: var(--mv-mostaza); color: var(--mv-tinta); padding: clamp(56px, 8vw, 100px) 0; }
.cb-mv-colabora .cb-mv-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.cb-mv-colabora h2 { margin: 0 0 16px; }
.cb-mv-colabora p { margin: 0 0 26px; font-size: 20px; max-width: 46ch; }
.cb-mv-colabora__ilus { display: block; justify-self: center; width: min(280px, 70%); aspect-ratio: 1; }
@media (hover: hover) {
.cb-mv-colabora__ilus:hover svg { transform: rotate(-6deg) scale(1.05); }
}
@media (max-width: 760px) { .cb-mv-colabora .cb-mv-wrap { grid-template-columns: minmax(0, 1fr); } .cb-mv-colabora__ilus { width: 160px; justify-self: start; } }

/* Colabora sits right against the footer */
.cb-mv + * { margin-top: 0; }
body:has(.cb-mv) .cb-footer, body:has(.cb-mv) .wp-site-blocks > footer { margin-top: 0 !important; margin-block-start: 0 !important; }
body:has(.cb-mv) main { padding-bottom: 0 !important; margin-bottom: 0 !important; }
.cb-mv > .cb-mv-colabora:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	.cb-mv *, .cb-mv *::before, .cb-mv *::after { animation: none !important; transition: none !important; }
}

/* ---------- Hoy en el archivo, in mostaza ---------- */
.cb-mv .cb-hoy__h { color: var(--mv-tinta); }
.cb-mv .cb-hoy__fecha { color: var(--mv-granate); }

/* ---------- Las agrupaciones del último carnaval: five a row ---------- */

.cb-mv .cb-hoja--azul { margin-top: 0 !important; }

/* ---------- Jingles, apart, on green ---------- */
.cb-mv-jingles { padding: clamp(56px, 7vw, 96px) 0; }
.cb-mv-jingles__g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.cb-mv-jingles__ico { display: block; width: 72px; height: 72px; margin-bottom: 14px; }
.cb-mv-jingles h2 { margin: 0 0 12px; }
.cb-mv-jingles p { margin: 0 0 24px; font-size: 19px; max-width: 42ch; }
.cb-mv-jingles__l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-mv-jingles__l a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: var(--mv-tinta); text-decoration: none; font-weight: 700; transition: transform .18s var(--mv-ease), background-color .18s; }
.cb-mv-jingles__l a span:nth-child(2) { flex: 1; }
.cb-mv-jingles__n { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; font-weight: 600; }
@media (hover: hover) {
.cb-mv-jingles__l a:hover .cb-mv-flecha { transform: translateX(4px); }
}
@media (max-width: 760px) { .cb-mv-jingles__g { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Protagonistas and Colabora: less air between them ---------- */
.cb-mv .cb-base { padding-top: clamp(56px, 7vw, 90px) !important; }
.cb-mv-colabora { margin-top: clamp(48px, 6vw, 80px); margin-bottom: 0; }

/* ---------- A black line between sections of different colour, as thick as the others (3 px) ---------- */
.cb-mv-entrada + .cb-hoy-banda, .cb-mv-entrada + * .cb-hoy-banda:first-child { border-top: 0 !important; }

/* Short computer screens: everything a little tighter, so the band of figures still fits in the first screen. */
@media (min-width: 782px) and (max-height: 760px) {
	.cb-mv-hero { padding: 22px 0 24px; }
	.cb-mv-hero__lema { margin: 10px 0 16px; }
	.cb-mv-banda { padding: 14px 0 12px; }
	.cb-mv-cifra__ico { width: 30px; height: 30px; margin-bottom: 6px; }
	.cb-mv-cifra__n { font-size: 40px; }
	
	.cb-mv-hero__t { font-size: min(96px, 12.6cqi, 12vh); }
}

/* ---------- Las agrupaciones del último carnaval, in cards that slide sideways ---------- */
.cb-mv-hero { padding-bottom: clamp(20px, 3vh, 36px); }
.cb-mv-ult { padding: 0 0 clamp(24px, 3.4vh, 40px); }
.cb-mv-ult__cab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.cb-mv-ult__h { margin: 0; font-weight: 900; font-stretch: 62%; font-size: clamp(28px, 3vw, 38px); line-height: 1; text-transform: uppercase; }
.cb-mv-ult__n { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mv-granate); }

.cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 16 / 9; }
.cb-mv-ult .cb-card2__body { gap: 5px; }
.cb-mv-ult .cb-card2__title { font-size: 20px; line-height: 1.05; }
.cb-mv-ult__fin { flex: 0 0 180px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 20px; border: 2px solid var(--mv-tinta); border-radius: 10px 10px 0 10px; background: var(--mv-tinta); color: var(--mv-mostaza); font-weight: 900; font-stretch: 62%; font-size: 30px; line-height: .95; text-transform: uppercase; text-decoration: none; }
@media (hover: hover) {
.cb-mv-ult__fin:hover { background: var(--mv-granate); color: #fff; }
}
@media (hover: hover) {
.cb-mv-ult__fin:hover .cb-mv-flecha { transform: translateX(4px); }
}
@media (max-width: 781px) {
	
	
	
	.cb-mv-ult .cb-card2__title { font-size: 17px; }
	.cb-mv-ult__fin { flex-basis: 140px; font-size: 24px; }
}

/* ---------- The figures: a thin black band ---------- */
.cb-mv-banda { background: var(--mv-tinta); padding: 16px 0; }
.cb-mv-cifras { gap: 18px; }
.cb-mv-cifra { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.cb-mv-cifra__ico { grid-row: 1 / 3; width: 34px; height: 34px; margin: 0; }
.cb-mv-cifra__n { font-size: 38px; }
.cb-mv-cifra__t { margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
@media (max-width: 1000px) { .cb-mv-cifras { row-gap: 12px; } }
@media (max-width: 560px) {
	.cb-mv-banda { padding: 14px 0; }
	.cb-mv-cifra { column-gap: 8px; }
	.cb-mv-cifra__ico { width: 24px; height: 24px; margin: 0; }
	.cb-mv-cifra__n { font-size: 28px; }
	.cb-mv-cifra__t { font-size: 11px; }
}
@media (min-width: 782px) and (max-height: 760px) { .cb-mv-banda { padding: 12px 0; } .cb-mv-cifra__ico { width: 28px; height: 28px; margin: 0; } .cb-mv-cifra__n { font-size: 32px; } }

/* ---------- Explora el archivo ---------- */
.cb-mv-explora { padding: clamp(60px, 7vw, 96px) 0 0; }
.cb-mv-explora__g { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.cb-mv-explora__g.is-uno { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cb-mv-explora__sorp { display: flex; }
.cb-mv-puertas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.cb-mv-puerta { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 10px 10px 0 10px; color: var(--mv-tinta); text-decoration: none; transition: transform .18s var(--mv-ease), background-color .18s; }
@media (hover: hover) {
.cb-mv-puerta:hover { color: var(--mv-tinta); }
}
@media (hover: hover) {
.cb-mv-puerta:hover .cb-mv-flecha { transform: translateX(4px); }
}
.cb-mv-puerta__ico { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px 10px 0 10px; color: #fff; }
.cb-mv-puerta__ico svg { width: 36px; height: 36px; }
.cb-mv-puerta__ico--granate { background: var(--mv-granate); }
.cb-mv-puerta__ico--azul { background: var(--mv-azul); }
.cb-mv-puerta__ico--verde { background: var(--mv-verde); }
.cb-mv-puerta__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cb-mv-puerta__t { font-weight: 900; font-stretch: 62%; font-size: 30px; line-height: .95; text-transform: uppercase; }
.cb-mv-puerta__s { font-size: 14px; line-height: 1.35; color: var(--mv-gris); }
@media (max-width: 960px) {
	.cb-mv-explora__g { grid-template-columns: minmax(0, 1fr); }
	.cb-mv-explora__sorp { order: -1; }
	.cb-mv-puertas { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.cb-mv-puerta { padding: 12px 14px; }
	.cb-mv-puerta__ico { width: 44px; height: 44px; }
	.cb-mv-puerta__ico svg { width: 28px; height: 28px; }
	.cb-mv-puerta__t { font-size: 26px; }
	.cb-mv-puerta__s { font-size: 13px; }
}

/* ==================================================================
   0.101 — La primera pantalla de la portada
   ================================================================== */
.cb-mv-entrada { display: flex; flex-direction: column; }
.cb-mv-pantalla { display: flex; flex-direction: column; }
.cb-mv-hero__t { font-size: min(124px, 18cqi, 9.6vh); line-height: .86; }
.cb-mv-ult .cb-card2__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-mv-hero__cartel { display: block; text-decoration: none; color: var(--mv-tinta); }
.cb-mv-hero__cartel img { display: block; width: auto; max-width: none; border: 2px solid var(--mv-tinta); background: var(--mv-blanco); transform: rotate(3deg); transition: transform .3s var(--mv-rebote); }
@media (hover: hover) {
.cb-mv-hero__cartel:hover img { transform: rotate(0) translate(-2px, -2px); }
}

.cb-mv-ult__todo { font-size: 15px; }

/* Computer: the poster as tall as the title, the text and the search; the figures at the bottom of the screen */
@media (min-width: 782px) {
	.cb-mv-entrada { min-height: calc(100svh - var(--cb-entrada-y, 150px)); }
	.cb-mv-pantalla { flex: 1; justify-content: center; }
	.cb-mv-hero { padding: clamp(14px, 3vh, 44px) 0 clamp(14px, 2.6vh, 30px); }
	.cb-mv-hero__in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 5vw, 80px); }
	.cb-mv-hero__lema { margin: clamp(10px, 1.8vh, 20px) 0 clamp(14px, 2.4vh, 26px); }
	.cb-mv-hero__cartel { justify-self: end; margin-right: 6px; }
	.cb-mv-hero__cartel img { height: var(--cb-hero-h, 340px); max-height: 42vh; }
	
	.cb-mv-ult { padding-bottom: clamp(14px, 2.4vh, 28px); }
	.cb-mv-ult__cab { margin-bottom: 10px; }
	.cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 5 / 2; }
	.cb-mv-banda { margin-top: auto; padding: 12px 0; }
}
@media (min-width: 782px) and (max-height: 820px) {
	.cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 3 / 1; }
	.cb-mv-ult .cb-card2__title { font-size: 18px; }
	.cb-mv-hero__lema { font-size: 16px; }
}

/* Phone: title, text, search, the small poster with its year and the strip fill the first screen */
@media (max-width: 781px) {
	.cb-mv-pantalla { min-height: calc(100svh - var(--cb-entrada-y, 120px)); }
	.cb-mv-hero { padding: 18px 0 14px; }
	.cb-mv-hero__br { display: none; }
	.cb-mv-hero__t { font-size: min(64px, 13.4cqi); }
	.cb-mv-hero__lema { font-size: 15px; margin: 10px 0 14px; }
	.cb-mv-hero__in { gap: 14px; }
	.cb-mv-hero__cartel { display: flex; align-items: center; gap: 16px; justify-self: start; }
	.cb-mv-hero__cartel img { height: 74px; transform: rotate(-3deg); }
	
	
	
	.cb-mv-ult { margin-top: auto; padding-bottom: 16px; }
	.cb-mv-ult__cab { margin-bottom: 10px; gap: 4px 12px; }
	.cb-mv-ult__h { font-size: 26px; }
	.cb-mv-ult__todo { font-size: 13px; margin-left: auto; }
	.cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 16 / 9; }
}

/* The figures, a little bigger */
.cb-mv-cifra__ico { width: 38px; height: 38px; }
.cb-mv-cifra__n { font-size: 46px; }
.cb-mv-cifra__t { font-size: 14px; }
@media (min-width: 782px) and (max-height: 760px) { .cb-mv-cifra__ico { width: 32px; height: 32px; } .cb-mv-cifra__n { font-size: 38px; } }
@media (max-width: 560px) {
	.cb-mv-cifra__ico { width: 28px; height: 28px; }
	.cb-mv-cifra__n { font-size: 34px; }
	.cb-mv-cifra__t { font-size: 12px; }
}
/* (0.101) everything a little tighter, so the first screen ends with the band of figures */
@media (min-width: 782px) {
	.cb-mv-hero__t { font-size: min(124px, 18cqi, 8.6vh); }
	.cb-mv-hero { padding: clamp(12px, 2.4vh, 36px) 0 clamp(10px, 1.8vh, 22px); }
	.cb-mv-ult { padding-bottom: clamp(10px, 1.6vh, 20px); }
	.cb-mv-ult__cab { margin-bottom: 8px; }
	
	.cb-mv-banda { padding: 10px 0; }
}
@media (min-width: 782px) and (max-height: 820px) {
	.cb-mv-hero__lema { max-width: 62ch; font-size: 15.5px; line-height: 1.4; margin: 8px 0 14px; }
	.cb-mv-ult__h { font-size: 28px; }
	.cb-mv-hero__t { font-size: min(124px, 18cqi, 7.8vh); }
	.cb-mv-ult .cb-card2__body { gap: 3px; }
	.cb-mv-cifra__ico { width: 30px; height: 30px; }
	.cb-mv-cifra__n { font-size: 36px; }
	.cb-mv-cifra__t { font-size: 13px; }
}
@media (min-width: 782px) {
	/* room for the pennants over the title */
	.cb-mv-hero { padding-top: clamp(40px, 5.6vh, 56px); }
	.cb-mv-hero__t { font-size: min(124px, 18cqi, 7.8vh); }
}
@media (min-width: 782px) and (max-height: 820px) { .cb-mv-hero__t { font-size: min(124px, 18cqi, 7.2vh); } }
@media (max-width: 781px) {
	/* the free room goes around the text, not in a gap before the strip */
	.cb-mv-hero { flex: 1; display: flex; align-items: center; padding-top: 34px; }
	.cb-mv-hero > .cb-mv-wrap { flex: 1; }
	.cb-mv-ult { margin-top: 0; }
}
@media (min-width: 782px) { .cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 3 / 1; } .cb-mv-banda { padding: 8px 0; } }
@media (min-width: 782px) and (max-height: 820px) { .cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 4 / 1; } }
/* (0.101.1) The title in one line again. */
.cb-mv-hero__br { display: none; }
@media (min-width: 782px) {
	.cb-mv-hero__t { font-size: min(96px, 12.6cqi, 11vh); white-space: nowrap; }
	/* A screen too short for everything: the figures go to the next screen, right below the fold. */
	.cb-mv-entrada.is-cifras-abajo .cb-mv-pantalla { flex: none; min-height: calc(100svh - var(--cb-entrada-y, 150px)); }
}

/* ==================================================================
   0.102 — The top: title, text, search and the poster; the figures at the bottom of the screen.
   The posters and the agrupaciones of the last carnival go into «Explora».
   ================================================================== */
@media (min-width: 782px) {
	.cb-mv-hero__br { display: inline; }
	.cb-mv-hero__t { font-size: min(124px, 18cqi, 11vh); white-space: nowrap; }
	.cb-mv-hero { padding: clamp(40px, 6vh, 72px) 0 clamp(24px, 4vh, 48px); }
	.cb-mv-hero__lema { margin: clamp(12px, 2.2vh, 24px) 0 clamp(16px, 3vh, 30px); font-size: clamp(17px, 2.2vh, 20px); }
	.cb-mv-hero__cartel img { max-height: 60vh; }
}
.cb-mv-explora__carteles { margin-top: clamp(40px, 5vw, 64px); }
.cb-mv-explora__carteles .cb-mv-ult__cab { flex-wrap: wrap; }
.cb-mv-explora__carteles .cb-mv-ult__todo { margin-left: auto; }
.cb-mv-explora .cb-mv-ult { margin-top: clamp(28px, 4vw, 48px); padding-bottom: 0; }
.cb-mv-explora .cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 16 / 10; }
.cb-mv-explora .cb-mv-puertas { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 781px) {
	/* the poster under the search, as big as the room left in the first screen */
	.cb-mv-hero__cartel { justify-self: center; display: block; margin-top: 6px; }
	.cb-mv-hero__cartel img { height: max(180px, calc(100svh - var(--cb-entrada-y, 120px) - var(--cb-txt-h, 300px) - 92px)); width: auto; max-width: 100%; object-fit: contain; transform: rotate(2deg); }
	.cb-mv-hero { align-items: flex-start; }
	.cb-mv-explora .cb-mv-ult .cb-card2 .cb-card2__photo { aspect-ratio: 16 / 9; }
}
.cb-mv-explora .cb-mv-ult > .cb-mv-wrap { max-width: none; padding-inline: 0; }

/* ==================================================================
   0.102.1
   ================================================================== */
.cb-mv-hero__num { color: var(--mv-granate); }
@media (min-width: 782px) {
	.cb-mv-hero__t { font-size: min(170px, 26cqi, 17vh); }
	.cb-mv-hero__cartel img { height: calc(var(--cb-hero-h, 340px) * 1.08); max-height: 66vh; }
	.cb-mv-banda { padding: 20px 0; }
}
@media (min-width: 782px) and (max-height: 760px) { .cb-mv-banda { padding: 12px 0; } .cb-mv-hero__t { font-size: min(170px, 26cqi, 14vh); } }

/* Phone: room between the pennants and the title, and air all round the poster */
@media (max-width: 781px) {
	.cb-mv-hero { padding-top: 64px; padding-bottom: 28px; }
	.cb-mv-hero__cartel { margin: 18px auto 0; }
	.cb-mv-hero__cartel img { height: max(170px, calc(100svh - var(--cb-entrada-y, 120px) - var(--cb-txt-h, 300px) - 190px)); }
}

/* «Explora» and «Hoy en el archivo»: titles of the same size */
.cb-mv .cb-hoy__h, .cb-mv-explora .cb-mv-cab h2 { font-size: clamp(44px, 5vw, 68px); line-height: .92; }

/* The strip of posters: a little smaller, with the shape of the logo and slightly turned */
.cb-mv-explora .cb-carrusel__pista { grid-auto-columns: calc((100% - 6 * 22px) / 7); scrollbar-color: var(--mv-tinta) transparent; padding: 16px 6px 20px; }
.cb-mv-explora .cb-carrusel .cb-cartel { transition: transform .3s var(--mv-rebote), box-shadow .2s; }
.cb-mv-explora .cb-carrusel__btn { border-radius: 10px 10px 0 10px; }
/* The strip of agrupaciones, as the posters' (buttons on the sides) */
.cb-carrusel--ult .cb-carrusel__pista { grid-auto-columns: 208px; gap: 16px; padding: 6px 4px 16px; }
.cb-carrusel--ult .cb-card2 { scroll-snap-align: start; }
.cb-carrusel--ult .cb-mv-ult__fin { scroll-snap-align: start; }
.cb-mv-ult__cab .cb-mv-ult__todo { margin-left: auto; }
@media (max-width: 1000px) { .cb-mv-explora .cb-carrusel__pista { grid-auto-columns: calc((100% - 3 * 18px) / 4); } }
@media (max-width: 781px) {
	.cb-mv-explora .cb-carrusel__pista { grid-auto-columns: calc((100% - 2 * 14px) / 2.6); gap: 14px; }
	.cb-carrusel--ult .cb-carrusel__pista { grid-auto-columns: 158px; gap: 12px; }
}
.cb-mv-explora .cb-carrusel .cb-cartel__big { font-size: clamp(20px, 1.7vw, 26px); }

/* ==================================================================
   0.102.2 — One scale of letters for the whole home page
   Portada (only the big title of the top) · L titles of a section · M titles of a piece (cards, strips,
   doors, numbers of the figures) · S text · XS labels in mono (kickers, tags, dates, counts).
   ================================================================== */
.cb-mv { --tx-l: clamp(40px, 4.4vw, 58px); --tx-m: var(--cb-fs-tarjeta, 24px); --tx-s: 16px; --tx-xs: 12px; }
@media (max-width: 781px) { .cb-mv { --tx-l: 38px; --tx-s: 15px; --tx-xs: 11px; } }
/* (0.169) The titles of sections and blocks and the cards follow the scale of the whole web (front.css, «Tipografía unificada»); L stays for the figures */

/* L */
body .cb-mv .cb-hoy__h, body .cb-mv .cb-mv-cab h2, body .cb-mv .cb-mv-colabora h2, body .cb-mv .cb-mv-cifra__n { font-size: var(--tx-l) !important; line-height: .92; }
/* M */
body .cb-mv .cb-hoy__t, body .cb-mv .cb-hoy__t--s, body .cb-mv .cb-hoy__mini .cb-item__title, body .cb-mv .cb-player__title, body .cb-mv .cb-mv-ult__h, body .cb-mv .cb-card2__title, body .cb-mv .cb-mv-ult__fin, body .cb-mv .cb-carrusel .cb-cartel__cap b, body .cb-mv .cb-mv-puerta__t { font-size: var(--tx-m) !important; line-height: 1.05; }
/* S */
body .cb-mv .cb-mv-hero__lema, body .cb-mv .cb-search--portada .wp-block-search__input, body .cb-mv .cb-search--portada .wp-block-search__button, body .cb-mv .cb-mv-cifra__t, body .cb-mv .cb-hoy__m, body .cb-mv .cb-item__meta, body .cb-mv .cb-card2__sub, body .cb-mv .cb-mv-ult__todo, body .cb-mv .cb-mv-enlace, body .cb-mv .cb-mv-puerta__s, body .cb-mv .cb-mv-colabora p, body .cb-mv .cb-mv-btn { font-size: var(--tx-s) !important; line-height: 1.4; }
/* XS (mono) */
body .cb-mv .cb-hoy__fecha, body .cb-mv .cb-hoy__k, body .cb-mv .cb-nov__w, body .cb-mv .cb-player__kicker, body .cb-mv .cb-player__cur, body .cb-mv .cb-player__dur, body .cb-mv .cb-tag, body .cb-mv .cb-card2__body .cb-tag, body .cb-mv .cb-mv-ult__n, body .cb-mv .cb-carrusel .cb-cartel__cap span { font-size: var(--tx-xs) !important; }
body .cb-mv .cb-mv-cifra__t { font-weight: 600; line-height: 1.2; }

/* The poster of the top: a little smaller on a computer; on a phone, centred between the search and the bottom */
@media (min-width: 782px) { .cb-mv-hero__cartel img { height: calc(var(--cb-hero-h, 340px) * .96); } }
@media (max-width: 781px) {
	.cb-mv-hero { align-items: stretch; padding-bottom: 20px; }
	.cb-mv-hero > .cb-mv-wrap.cb-mv-hero__in { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.cb-mv-hero__cartel { flex: 1; display: flex; align-items: center; justify-content: center; margin: 0; padding: 22px 0; }
	.cb-mv-hero__cartel img { height: max(170px, calc(100svh - var(--cb-entrada-y, 120px) - var(--cb-txt-h, 300px) - 200px)); }
}
body .cb-mv .cb-carrusel .cb-cartel__big { font-size: var(--tx-m) !important; } body .cb-mv .cb-carrusel .cb-kicker { font-size: var(--tx-xs) !important; }

/* The figures: carnavales first; the drawings a little bigger; on a phone, smaller letters so all fits */
.cb-mv-cifra__ico { width: 48px; height: 48px; }
@media (min-width: 782px) and (max-height: 760px) { .cb-mv-cifra__ico { width: 40px; height: 40px; } }
@media (max-width: 781px) {
	.cb-mv-cifra__ico { width: 26px; height: 26px; }
	body .cb-mv .cb-mv-cifra__n { font-size: 30px !important; }
	body .cb-mv .cb-mv-cifra__t { font-size: 10.5px !important; line-height: 1.15; }
	.cb-mv-cifras { column-gap: 10px; }
}

/* Hoy en el archivo on a phone: the picture fills the left of the card, cut by a line */
.cb-hoy__mini.cb-item { padding: 0; }
.cb-hoy__mini .cb-item__foto img, .cb-hoy__mini .cb-item__foto svg { height: 100% !important; }
.cb-hoy__mini .cb-item__txt { padding: 12px 14px; justify-content: center; }

/* Explora on a phone: the Cara B first, then the bombo */
@media (max-width: 960px) { .cb-mv-explora__sorp { order: 0; } }

/* ---------- (0.128) «Una agrupación al azar»: white, the title as big as the one of the Cara B, as tall as the
   cassette beside it on a computer; the bombo in granate ---------- */

@media (min-width: 961px) {
	html body .cb-mv .cb-mv-explora__g:not(.is-uno) { align-items: start; }
	html body .cb-mv .cb-mv-explora__g:not(.is-uno) .cb-mv-explora__sorp { position: relative; align-self: stretch; }
	
	
	
	
	
	
}

/* (0.130) «Hoy en el archivo» on piedra */

/* ---------- (0.132) «Nuestro carnaval» beside the Cara B; two doors; titles without line; «Lo último archivado»;
   a lower Colabora, flush with the footer ---------- */
.cb-mv-nc { flex: 1; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 26px; color: var(--mv-tinta); border-radius: 10px 10px 0 10px; overflow: hidden; }
.cb-mv-nc__k { font: 600 var(--tx-xs, 12px) var(--wp--preset--font-family--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--mv-granate); }
.cb-mv-nc__h { font-weight: 900; font-stretch: 62%; font-size: var(--tx-l); line-height: .92; text-transform: uppercase; color: var(--mv-tinta) !important; text-decoration: none; }
@media (hover: hover) {
.cb-mv-nc__h:hover { color: var(--mv-granate) !important; }
}
.cb-mv-nc__p { margin: 0; font-size: var(--tx-s, 16px); line-height: 1.45; color: var(--mv-gris); max-width: 46ch; }
.cb-mv-nc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cb-mv-nc__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border-radius: 10px 10px 0 10px; color: var(--mv-tinta) !important; font: 600 var(--tx-xs, 12px) var(--wp--preset--font-family--mono, monospace); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.cb-mv-nc__c { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--mv-tinta); flex: none; }
.cb-mv-nc__ir { align-self: flex-start; margin-top: auto; }
@media (min-width: 961px) {
	html body .cb-mv .cb-mv-explora__g:not(.is-uno) .cb-mv-explora__sorp { position: relative; align-self: stretch; }
	html body .cb-mv .cb-mv-explora__g:not(.is-uno) .cb-mv-nc { position: absolute; inset: 0; }
	html body .cb-mv .cb-mv-nc__h { font-size: calc(var(--tx-l) * .8); }
}
.cb-mv-puertas.cb-mv-puertas--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .cb-mv-puertas.cb-mv-puertas--2 { grid-template-columns: minmax(0, 1fr); } }
/* Carnavales por año, Las agrupaciones de…: no line, the size of the title of the Cara B */
html body .cb-mv .cb-mv-ult__h { font-size: var(--tx-l) !important; line-height: .92; }
@media (min-width: 782px) { html body .cb-mv .cb-mv-ult__h { font-size: calc(var(--tx-l) * .8) !important; } }
/* Lo último archivado: a line a day */
.cb-nov--dias .cb-nov__list { display: flex; flex-direction: column; gap: 0; }
.cb-nov__dia { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--cb-piedra); }
.cb-nov__dia:last-child { border-bottom: 0; }
.cb-nov--dias .cb-nov__w { flex: none; min-width: 108px; }
.cb-nov__l { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-stretch: 70%; font-size: 18px; line-height: 1.2; }
.cb-nov__it[hidden], .cb-nov__mas[hidden] { display: none; }
.cb-nov__l a { color: var(--cb-tinta) !important; text-decoration: none; }
@media (hover: hover) {
.cb-nov__l a:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.cb-nov__sep, .cb-nov__mas { font-weight: 500; color: var(--cb-gris); }
@media (max-width: 781px) { .cb-nov__dia { flex-direction: column; gap: 2px; } .cb-nov__l { width: 100%; font-size: 16px; } }
/* Colabora: less air above and below; nothing between it and the footer */
html body .cb-mv .cb-mv-colabora { padding: clamp(32px, 4vw, 52px) 0; }
body:has(.cb-portada) .wp-site-blocks > main { padding-bottom: 0 !important; margin-bottom: 0 !important; }
body:has(.cb-portada) .cb-portada > :last-child, body:has(.cb-portada) .wp-site-blocks > main > :last-child { margin-bottom: 0 !important; }
@media (min-width: 961px) {
	html body .cb-mv .cb-mv-nc { padding: 20px 24px; gap: 8px; }
	html body .cb-mv .cb-mv-nc__chips { gap: 6px; }
	html body .cb-mv .cb-mv-nc__chip { min-height: 34px; padding: 0 10px; }
}
/* between 961 and 1099px there is no room for both side by side: one under the other */
@media (min-width: 961px) and (max-width: 1099px) {
	html body .cb-mv .cb-mv-explora__g:not(.is-uno) { grid-template-columns: minmax(0, 1fr); }
	html body .cb-mv .cb-mv-explora__g:not(.is-uno) .cb-mv-nc { position: relative; inset: auto; }
}
/* (0.134) the strips of the home page lie on papel: saying it lets the browser scroll them on their own layer */
.cb-mv-explora .cb-carrusel__pista { background-color: var(--mv-papel); }

/* ==== GENERADO (finos.js): en el móvil, las líneas de 2 px pasan a 1,5 px. No editar: se rehace solo. ==== */
@media (max-width: 781px) and (min-resolution: 2dppx) {
	.cb-mv-btn, .cb-mv .wp-block-button__link, .cb-mv .cb-search--portada .wp-block-search__button { border-width: 1.5px; box-shadow: 2px 2px 0 var(--mv-tinta); }
	.cb-mv-btn:active, .cb-mv .wp-block-button__link:active { box-shadow: 0 0 0 var(--mv-tinta); }
	.cb-mv .cb-search--portada .wp-block-search__inside-wrapper { border-width: 1.5px !important; }
	.cb-mv .cb-search--portada .wp-block-search__inside-wrapper:focus-within { box-shadow: 2px 2px 0 var(--mv-granate) !important; }
	.cb-mv .cb-search--portada .wp-block-search__input { border-width: 0 !important; }
	.cb-mv .cb-search--portada .wp-block-search__inside-wrapper .wp-block-search__button { border-width: 0 !important; border-left-width: 1.5px !important; box-shadow: none !important; }
	.cb-mv-nc__pila img { border-width: 1.5px; box-shadow: 2px 2px 0 var(--mv-tinta); }
	.cb-mv-entrada + .cb-hoy-banda, .cb-mv-entrada + * .cb-hoy-banda:first-child { border-top-width: 0 !important; }
	.cb-mv-ult__fin { border-width: 1.5px; }
	.cb-mv-hero__cartel img { border-width: 1.5px; }
	.cb-mv-nc__c { border-width: 1.5px; }
	.cb-nov__dia { border-bottom-width: 1px; }
	.cb-nov__dia:last-child { border-bottom-width: 0; }
}
/* ==== /GENERADO (finos.js) ==== */
