/* ctxd-ilus v1 (2-dic-2026): rediseño móvil estilo «app ilustrada». Solo < 768 px; escritorio intacto.
   Ficha de evento: foto a sangre con parallax, botones redondos flotantes, hoja que monta la foto, fecha en bloque, datos en bloques.
   Portada y ciudad: escena ilustrada de la ciudad. Lugares: foto a sangre + hoja. Revertir: quitar las 2 etiquetas ctxd-ilus del preload. */
@media (max-width: 767.98px) {
:root { --ilus-h: min(78vw, 420px); --ilus-r: 28px; --ilus-tile: color-mix(in srgb, var(--fg, #18181b) 5%, var(--bg, #fff)); --ilus-red: #dc2f3e; }

/* ================= FICHA DE EVENTO ================= */
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) body > header { display: none !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article { display: flex; flex-direction: column; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > * { min-width: 0; max-width: 100%; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > nav:first-child { order: 5; padding-top: 8px !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > nav:first-child ol { flex-wrap: wrap; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] { height: auto !important; min-height: 0 !important; padding-top: 0 !important; margin-bottom: 0 !important; overflow: hidden !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > img, html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"]::before {
  top: 0 !important; bottom: auto !important; height: var(--ilus-h) !important;
  transform: translate3d(0, calc(var(--ilus-y, 0) * .45px), 0) scale(1.02); will-change: transform;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.inset-0 { display: none !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.top-4 { top: calc(12px + env(safe-area-inset-top, 0px)) !important; bottom: auto !important; right: 16px !important; left: auto !important; z-index: 6 !important; gap: 10px !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.top-4 button {
  width: 44px !important; height: 44px !important; min-width: 44px; padding: 0 !important; border-radius: 50% !important; border: 0 !important;
  background: #fff !important; color: #18181b !important; justify-content: center !important; font-size: 0 !important;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.45) !important; backdrop-filter: none !important;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.top-4 button svg { width: 20px !important; height: 20px !important; margin: 0 !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 {
  position: relative !important; inset: auto !important; margin-top: calc(var(--ilus-h) - var(--ilus-r)) !important;
  background: var(--bg, #fff) !important; border-radius: var(--ilus-r) var(--ilus-r) 0 0; padding: 24px 16px 8px !important; z-index: 3;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 > div { position: relative; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 > div > span:first-child {
  background: none !important; border: 0 !important; padding: 0 !important; color: var(--ilus-red) !important;
  font-size: 13px !important; font-weight: 600 !important; backdrop-filter: none !important; margin-bottom: 6px;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] h1 { color: var(--fg, #18181b) !important; font-size: 26px !important; line-height: 1.12 !important; padding-right: 74px; text-shadow: none !important; text-wrap: balance; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap {
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin-top: 18px !important; color: var(--fg, #18181b) !important;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span {
  display: flex !important; flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 2px !important;
  background: var(--ilus-tile); border-radius: 16px; padding: 12px 14px 12px 14px; font-weight: 600; font-size: 15px; line-height: 1.25;
  color: var(--fg, #18181b) !important; min-height: 62px; font-variant-numeric: tabular-nums;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span::before { font-size: 12px; font-weight: 500; color: var(--muted, #63636c); }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(1) { order: 3; grid-column: 1 / -1; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(1)::before { content: "Lugar"; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(1) svg { display: none !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(2), html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(4) { display: none !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(3) { order: 1; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(3)::before { content: "Fecha"; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(5) { order: 2; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(5)::before { content: "Hora"; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.bottom-0 div.flex.flex-wrap > span:nth-child(3):last-child { grid-column: 1 / -1; }
.ilus-fecha {
  position: absolute; top: 0; right: 0; width: 62px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: "Libre Franklin", system-ui, sans-serif; pointer-events: none;
}
.ilus-fecha b { width: 58px; height: 58px; border-radius: 18px; background: color-mix(in srgb, var(--ilus-red) 9%, var(--bg, #fff)); color: var(--ilus-red); font: 700 24px/58px "Libre Franklin", system-ui, sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
.ilus-fecha small { font: 500 12px/1.2 Inter, system-ui, sans-serif; color: var(--muted, #63636c); white-space: nowrap; }
body > button.ilus-atras {
  position: absolute !important; top: calc(12px + env(safe-area-inset-top, 0px)) !important; left: 16px !important; z-index: 40 !important; margin: 0 !important; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: #18181b; display: grid; place-items: center; box-shadow: 0 4px 14px -6px rgba(0,0,0,.45); cursor: pointer;
}
.ilus-atras:focus-visible, html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > div.absolute.top-4 button:focus-visible { outline: 3px solid var(--ilus-red); outline-offset: 2px; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) #t3a-acc .t3a-btn { border-radius: 18px !important; min-height: 54px; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) #t3a-acc .t3a-btn--pri { font-size: 16px !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) #t3a-barra { background: linear-gradient(to top, var(--bg, #fff) 70%, transparent) !important; border-top: 0 !important; box-shadow: none !important; padding-top: 14px !important; gap: 12px !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) #t3a-barra .t3a-btn--pri { flex: 1 1 auto !important; height: 56px !important; border-radius: 20px !important; font-size: 16px !important; font-weight: 600 !important; }
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) #t3a-barra .t3a-btn--sec {
  flex: 0 0 56px !important; width: 56px !important; height: 56px !important; padding: 0 !important; border-radius: 50% !important;
  font-size: 0 !important; justify-content: center !important; gap: 0 !important;
}
html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) #t3a-barra .t3a-btn--sec svg { width: 22px !important; height: 22px !important; margin: 0 !important; }

/* ================= PORTADA ================= */
main section[class*="min-h-[88vh]"] { min-height: 0 !important; display: block !important; background: var(--bg, #fff) !important; }
main section[class*="min-h-[88vh]"] > video, main section[class*="min-h-[88vh]"] > div.absolute { display: none !important; }
main section[class*="min-h-[88vh]"] > div.relative { padding: 22px 16px 26px !important; }
main section[class*="min-h-[88vh]"] h1 { color: #24131f !important; font-size: clamp(26px, 7.6vw, 31px) !important; line-height: 1.08 !important; text-shadow: none !important; max-width: 20ch; text-wrap: balance; }
main section[class*="min-h-[88vh]"] div.mt-7 { position: relative; margin-top: calc(76.9vw - 40px) !important; }
main section[class*="min-h-[88vh]"] div.mt-7::before {
  content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: -700px; bottom: calc(100% - 28px);
  background: var(--ilus-scene) center bottom calc(var(--ilus-y, 0) * -.3px) / 100% auto no-repeat, var(--ilus-sky);
}
main section[class*="min-h-[88vh]"] div.mt-7 > * { border-radius: 18px !important; box-shadow: 0 12px 30px -14px rgba(36,19,31,.45) !important; border-color: transparent !important; }
main section[class*="min-h-[88vh]"] div.mt-6 a, main section[class*="min-h-[88vh]"] div.mt-6 button { border-radius: 18px !important; }
:root { --ilus-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300'%3E%3Crect width='390' height='300' fill='%23f9d6d8'/%3E%3Ccircle cx='300' cy='90' r='40' fill='%23ffe9e4'/%3E%3Cg fill='%23fff' opacity='.85'%3E%3Cellipse cx='70' cy='56' rx='42' ry='12'/%3E%3Cellipse cx='94' cy='48' rx='24' ry='12'/%3E%3Cellipse cx='236' cy='40' rx='30' ry='9'/%3E%3C/g%3E%3Cpath d='M-20 200 L70 128 L140 176 L220 112 L300 168 L420 120 L420 260 L-20 260Z' fill='%23d7a7b8'/%3E%3Cg fill='%23eab9c0'%3E%3Crect x='16' y='168' width='40' height='80'/%3E%3Crect x='62' y='150' width='30' height='98'/%3E%3Crect x='290' y='160' width='40' height='88'/%3E%3Crect x='336' y='140' width='40' height='108'/%3E%3C/g%3E%3Crect x='150' y='190' width='90' height='56' fill='%23f7efe9'/%3E%3Crect x='140' y='180' width='110' height='12' rx='3' fill='%23ecdcd2'/%3E%3Crect x='170' y='166' width='50' height='14' rx='2' fill='%23dc2f3e'/%3E%3Cg fill='%23ffd27a'%3E%3Crect x='178' y='206' width='34' height='40'/%3E%3C/g%3E%3Cg fill='%23fff6e8' opacity='.45'%3E%3Cpath d='M170 190 L120 40 L146 38Z'/%3E%3Cpath d='M220 190 L274 36 L248 34Z'/%3E%3C/g%3E%3Crect y='244' width='390' height='56' fill='%238cc29a'/%3E%3Crect y='262' width='390' height='16' fill='%23efe4dc'/%3E%3Cg%3E%3Crect x='40' y='220' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='42' cy='210' r='22' fill='%236fae7f'/%3E%3C/g%3E%3Cg%3E%3Crect x='346' y='220' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='348' cy='210' r='22' fill='%236fae7f'/%3E%3C/g%3E%3Cg fill='%233a2a44'%3E%3Ccircle cx='120' cy='256' r='5'/%3E%3Crect x='115' y='261' width='10' height='16' rx='4'/%3E%3Ccircle cx='270' cy='258' r='5'/%3E%3Crect x='265' y='263' width='10' height='16' rx='4'/%3E%3C/g%3E%3C/svg%3E"); --ilus-sky: #f9d6d8; }
:root:has(input[placeholder*="CDMX"]), :root:has(link[rel="canonical"][href*="/mx/cdmx"]) { --ilus-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300'%3E%3Crect width='390' height='300' fill='%23fbd9cb'/%3E%3Ccircle cx='318' cy='92' r='40' fill='%23ffeadb'/%3E%3Cg fill='%23fff' opacity='.85'%3E%3Cellipse cx='66' cy='58' rx='38' ry='11'/%3E%3Cellipse cx='90' cy='50' rx='22' ry='12'/%3E%3Cellipse cx='250' cy='40' rx='30' ry='9'/%3E%3C/g%3E%3Cpath d='M-20 200 L72 112 L104 134 L132 120 L236 200Z' fill='%23c7a6c4'/%3E%3Cpath d='M54 130 L72 112 L90 130 L80 127 L72 134 L63 128Z' fill='%23fff'/%3E%3Cpath d='M170 200 L296 96 L420 200Z' fill='%23b08cb6'/%3E%3Cpath d='M276 113 L296 96 L316 113 L305 110 L296 118 L286 111Z' fill='%23fff'/%3E%3Cg fill='%23e2b8b9'%3E%3Crect x='14' y='170' width='38' height='70'/%3E%3Crect x='226' y='160' width='32' height='80'/%3E%3Crect x='330' y='166' width='46' height='74'/%3E%3Crect x='268' y='180' width='54' height='60'/%3E%3C/g%3E%3Crect x='66' y='150' width='20' height='90' fill='%23d3a3ae'/%3E%3Cpath d='M76 122 L70 150 L82 150Z' fill='%23d3a3ae'/%3E%3Crect x='187' y='116' width='16' height='120' fill='%23f6eee2'/%3E%3Crect x='181' y='112' width='28' height='7' rx='2' fill='%23ecdcc2'/%3E%3Crect x='175' y='228' width='40' height='16' fill='%23ecdcc2'/%3E%3Cpath d='M195 80 L188 112 L202 112Z' fill='%23e3a93a'/%3E%3Cpath d='M195 92 L176 80 L186 96Z M195 92 L214 80 L204 96Z' fill='%23e3a93a'/%3E%3Ccircle cx='195' cy='78' r='4' fill='%23e3a93a'/%3E%3Crect y='240' width='390' height='60' fill='%238cc29a'/%3E%3Crect y='262' width='390' height='16' fill='%23efe4dc'/%3E%3Cg%3E%3Crect x='38' y='214' width='6' height='36' fill='%236b4a5b'/%3E%3Ccircle cx='41' cy='204' r='26' fill='%239b7fd1'/%3E%3Ccircle cx='22' cy='216' r='16' fill='%23b39be0'/%3E%3C/g%3E%3Cg%3E%3Crect x='122' y='222' width='5' height='30' fill='%236b4a5b'/%3E%3Ccircle cx='124' cy='213' r='19' fill='%23b39be0'/%3E%3C/g%3E%3Cg%3E%3Crect x='262' y='220' width='5' height='32' fill='%236b4a5b'/%3E%3Ccircle cx='265' cy='210' r='21' fill='%238a6cc6'/%3E%3C/g%3E%3Cg%3E%3Crect x='346' y='212' width='6' height='40' fill='%236b4a5b'/%3E%3Ccircle cx='349' cy='199' r='28' fill='%239b7fd1'/%3E%3Ccircle cx='371' cy='213' r='16' fill='%23b39be0'/%3E%3C/g%3E%3C/svg%3E"); --ilus-sky: #fbd9cb; }
:root:has(input[placeholder*="Lima"]), :root:has(link[rel="canonical"][href*="/pe/lima"]) { --ilus-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300'%3E%3Crect width='390' height='300' fill='%23d9e4ea'/%3E%3Cg fill='%23fff' opacity='.7'%3E%3Cellipse cx='80' cy='50' rx='70' ry='16'/%3E%3Cellipse cx='290' cy='38' rx='80' ry='14'/%3E%3Cellipse cx='200' cy='70' rx='60' ry='10'/%3E%3C/g%3E%3Ccircle cx='300' cy='104' r='26' fill='%23f4ecdf'/%3E%3Cpath d='M0 170 L390 160 L390 300 L0 300Z' fill='%237fb2c9'/%3E%3Cg stroke='%23fff' stroke-width='3' stroke-linecap='round' opacity='.7'%3E%3Cpath d='M20 196h40M110 210h60M240 190h50M300 220h60'/%3E%3C/g%3E%3Cpath d='M200 300 C210 230 240 196 300 176 L390 170 L390 300Z' fill='%23c9a98a'/%3E%3Cpath d='M236 300 C246 246 270 214 320 196 L390 190 L390 300Z' fill='%23b48f70'/%3E%3Cg fill='%23f2ebe3'%3E%3Crect x='300' y='132' width='26' height='46'/%3E%3Crect x='330' y='120' width='22' height='62'/%3E%3Crect x='356' y='140' width='30' height='44'/%3E%3C/g%3E%3Cg fill='%23c9d6de'%3E%3Crect x='306' y='140' width='5' height='5'/%3E%3Crect x='314' y='140' width='5' height='5'/%3E%3Crect x='336' y='130' width='4' height='5'/%3E%3Crect x='344' y='130' width='4' height='5'/%3E%3Crect x='336' y='142' width='4' height='5'/%3E%3Crect x='344' y='142' width='4' height='5'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M90 96 q22 -14 44 0' fill='%23dc2f3e'/%3E%3Cpath d='M98 96 L112 118 L126 96' fill='none' stroke='%236b4a5b' stroke-width='1.2'/%3E%3Ccircle cx='112' cy='120' r='3' fill='%236b4a5b'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M170 120 q16 -10 32 0' fill='%23f2b33d'/%3E%3Cpath d='M176 120 L186 136 L196 120' fill='none' stroke='%236b4a5b' stroke-width='1'/%3E%3Ccircle cx='186' cy='138' r='2.4' fill='%236b4a5b'/%3E%3C/g%3E%3Cpath d='M0 300 L0 232 C50 224 120 240 170 300Z' fill='%238cc29a'/%3E%3Cg%3E%3Crect x='40' y='236' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='42' cy='228' r='18' fill='%236fae7f'/%3E%3C/g%3E%3C/svg%3E"); --ilus-sky: #d9e4ea; }
:root:has(input[placeholder*="Bogotá"]), :root:has(link[rel="canonical"][href*="/co/bogota"]) { --ilus-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300'%3E%3Crect width='390' height='300' fill='%23dce9e2'/%3E%3Cg fill='%23fff' opacity='.85'%3E%3Cellipse cx='70' cy='60' rx='46' ry='12'/%3E%3Cellipse cx='300' cy='48' rx='54' ry='12'/%3E%3C/g%3E%3Cpath d='M-20 220 L60 110 L120 150 L196 60 L280 140 L340 100 L420 190 L420 260 L-20 260Z' fill='%237fae8c'/%3E%3Cpath d='M-20 240 L90 160 L170 200 L250 150 L330 190 L420 170 L420 280 L-20 280Z' fill='%235f9a72'/%3E%3Crect x='186' y='46' width='20' height='16' fill='%23f7f2ea'/%3E%3Cpath d='M184 46 L196 34 L208 46Z' fill='%23e8dccb'/%3E%3Crect x='194' y='26' width='4' height='10' fill='%23e8dccb'/%3E%3Cpath d='M196 62 L196 120' stroke='%23f7f2ea' stroke-width='1.5' stroke-dasharray='3 3'/%3E%3Cg fill='%23c8674f'%3E%3Crect x='20' y='200' width='54' height='60'/%3E%3Crect x='84' y='186' width='40' height='74'/%3E%3Crect x='250' y='190' width='46' height='70'/%3E%3Crect x='306' y='176' width='60' height='84'/%3E%3C/g%3E%3Cg fill='%23a9503c'%3E%3Crect x='134' y='206' width='44' height='54'/%3E%3Crect x='190' y='196' width='50' height='64'/%3E%3C/g%3E%3Cg fill='%23f3d7c9'%3E%3Crect x='30' y='212' width='8' height='10'/%3E%3Crect x='48' y='212' width='8' height='10'/%3E%3Crect x='94' y='200' width='7' height='10'/%3E%3Crect x='108' y='200' width='7' height='10'/%3E%3Crect x='262' y='204' width='8' height='10'/%3E%3Crect x='278' y='204' width='8' height='10'/%3E%3Crect x='318' y='190' width='9' height='10'/%3E%3Crect x='336' y='190' width='9' height='10'/%3E%3Crect x='200' y='210' width='8' height='10'/%3E%3Crect x='220' y='210' width='8' height='10'/%3E%3C/g%3E%3Crect y='258' width='390' height='42' fill='%238cc29a'/%3E%3Crect y='270' width='390' height='14' fill='%23efe4dc'/%3E%3Cg%3E%3Crect x='358' y='232' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='360' cy='224' r='18' fill='%23f2b33d'/%3E%3C/g%3E%3C/svg%3E"); --ilus-sky: #dce9e2; }
:root:has(input[placeholder*="Madrid"]), :root:has(link[rel="canonical"][href*="/es/madrid"]) { --ilus-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300'%3E%3Crect width='390' height='300' fill='%23ffe2c6'/%3E%3Ccircle cx='80' cy='84' r='34' fill='%23fff1df'/%3E%3Cg fill='%23fff' opacity='.85'%3E%3Cellipse cx='290' cy='50' rx='50' ry='12'/%3E%3Cellipse cx='316' cy='42' rx='26' ry='12'/%3E%3C/g%3E%3Cg fill='%23f0cfb8'%3E%3Crect x='10' y='150' width='60' height='100'/%3E%3Crect x='320' y='140' width='64' height='110'/%3E%3C/g%3E%3Crect x='250' y='120' width='56' height='130' fill='%23f6e6d6'/%3E%3Cpath d='M250 120 Q278 70 306 120Z' fill='%232f3a4a'/%3E%3Crect x='270' y='74' width='16' height='12' fill='%232f3a4a'/%3E%3Cpath d='M278 74 L278 58' stroke='%23e3a93a' stroke-width='3'/%3E%3Ccircle cx='278' cy='56' r='4' fill='%23e3a93a'/%3E%3Cg fill='%23e9d2bd'%3E%3Crect x='258' y='140' width='10' height='20'/%3E%3Crect x='273' y='140' width='10' height='20'/%3E%3Crect x='288' y='140' width='10' height='20'/%3E%3C/g%3E%3Crect x='82' y='150' width='150' height='100' fill='%23f3e2cf'/%3E%3Crect x='76' y='140' width='162' height='14' fill='%23e6cdb3'/%3E%3Cpath d='M130 140 L157 116 L184 140Z' fill='%23e6cdb3'/%3E%3Cg fill='%23d9a77e'%3E%3Cpath d='M98 250 V196 a14 14 0 0 1 28 0 V250Z'/%3E%3Cpath d='M143 250 V184 a14 14 0 0 1 28 0 V250Z'/%3E%3Cpath d='M188 250 V196 a14 14 0 0 1 28 0 V250Z'/%3E%3C/g%3E%3Crect y='248' width='390' height='52' fill='%238cc29a'/%3E%3Crect y='264' width='390' height='16' fill='%23efe4dc'/%3E%3Cg%3E%3Crect x='40' y='226' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='42' cy='216' r='20' fill='%236fae7f'/%3E%3C/g%3E%3Cg%3E%3Crect x='350' y='226' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='352' cy='216' r='20' fill='%236fae7f'/%3E%3C/g%3E%3C/svg%3E"); --ilus-sky: #ffe2c6; }
:root:has(input[placeholder*="Buenos Aires"]), :root:has(link[rel="canonical"][href*="/ar/buenos-aires"]) { --ilus-scene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 300'%3E%3Crect width='390' height='300' fill='%23d6e6f5'/%3E%3Ccircle cx='310' cy='80' r='32' fill='%23fff6dc'/%3E%3Cg fill='%23fff' opacity='.9'%3E%3Cellipse cx='70' cy='52' rx='48' ry='12'/%3E%3Cellipse cx='96' cy='44' rx='26' ry='12'/%3E%3C/g%3E%3Cg fill='%23c4d3e6'%3E%3Crect x='10' y='150' width='44' height='100'/%3E%3Crect x='60' y='130' width='36' height='120'/%3E%3Crect x='280' y='140' width='46' height='110'/%3E%3Crect x='332' y='120' width='48' height='130'/%3E%3C/g%3E%3Cg fill='%23b2c3da'%3E%3Crect x='104' y='166' width='50' height='84'/%3E%3Crect x='236' y='160' width='38' height='90'/%3E%3C/g%3E%3Cpath d='M186 250 L190 70 L200 70 L204 250Z' fill='%23f7f2ea'/%3E%3Cpath d='M190 70 L195 52 L200 70Z' fill='%23f7f2ea'/%3E%3Crect x='192' y='140' width='6' height='8' fill='%23dbe4ef'/%3E%3Crect y='246' width='390' height='54' fill='%238cc29a'/%3E%3Crect y='262' width='390' height='18' fill='%23efe4dc'/%3E%3Cg%3E%3Crect x='40' y='222' width='5' height='34' fill='%236b4a5b'/%3E%3Ccircle cx='42' cy='212' r='22' fill='%239b7fd1'/%3E%3C/g%3E%3Cg%3E%3Crect x='130' y='228' width='5' height='28' fill='%236b4a5b'/%3E%3Ccircle cx='132' cy='220' r='16' fill='%23b39be0'/%3E%3C/g%3E%3Cg%3E%3Crect x='262' y='228' width='5' height='28' fill='%236b4a5b'/%3E%3Ccircle cx='264' cy='220' r='16' fill='%23b39be0'/%3E%3C/g%3E%3Cg%3E%3Crect x='346' y='220' width='5' height='36' fill='%236b4a5b'/%3E%3Ccircle cx='348' cy='208' r='24' fill='%239b7fd1'/%3E%3C/g%3E%3C/svg%3E"); --ilus-sky: #d6e6f5; }

/* ================= PÁGINA DE CIUDAD ================= */
main section[class*="h-[62vh]"] {
  height: auto !important; min-height: 0 !important; max-height: none !important; display: block !important; overflow: hidden !important;
  padding-top: calc(76.9vw - var(--ilus-r)) !important;
  background: var(--ilus-scene) center calc(var(--ilus-y, 0) * .35px) / 100% auto no-repeat, var(--ilus-sky) !important;
}
main section[class*="h-[62vh]"] > div.absolute, main section[class*="h-[62vh]"] > p { display: none !important; }
main section[class*="h-[62vh]"] > div.relative { background: var(--bg, #fff); border-radius: var(--ilus-r) var(--ilus-r) 0 0; padding: 22px 16px 26px !important; }
main section[class*="h-[62vh]"] > div.relative * { text-shadow: none !important; filter: none !important; }
main section[class*="h-[62vh]"] ol, main section[class*="h-[62vh]"] ol * { color: var(--muted, #63636c) !important; }
main section[class*="h-[62vh]"] ol li:last-child, main section[class*="h-[62vh]"] ol li:last-child * { color: var(--fg, #18181b) !important; }
main section[class*="h-[62vh]"] h1 { color: var(--fg, #18181b) !important; font-size: 30px !important; line-height: 1.08 !important; text-shadow: none !important; }
main section[class*="h-[62vh]"] p { color: var(--muted, #63636c) !important; }
main section[class*="h-[62vh]"] span[class*="uppercase"] {
  color: var(--ilus-red) !important; background: color-mix(in srgb, var(--ilus-red) 9%, var(--bg, #fff)) !important; border: 0 !important;
  border-radius: 10px !important; padding: 4px 9px !important; backdrop-filter: none !important;
}
main section[class*="h-[62vh]"] a[class*="inline-flex"] { border-radius: 18px !important; min-height: 52px; }
main section[class*="h-[62vh]"] a[class*="inline-flex"]:nth-child(2) { background: transparent !important; color: var(--fg, #18181b) !important; border: 1.5px solid var(--border, #e4e4e7) !important; backdrop-filter: none !important; }

/* ================= RESTAURANTES, BARES Y LUGARES ================= */
article.rxf > header.rxf-hero {
  margin-left: -16px !important; margin-right: -16px !important; width: auto !important; border-radius: 0 !important; height: auto !important; min-height: 0 !important;
  background: var(--bg, #fff) !important; overflow: hidden !important; box-shadow: none !important;
}
article.rxf > header.rxf-hero > img { top: 0 !important; height: var(--ilus-h) !important; bottom: auto !important; transform: translate3d(0, calc(var(--ilus-y, 0) * .35px), 0); }
article.rxf > header.rxf-hero::before, article.rxf > header.rxf-hero::after { display: none !important; }
article.rxf > header.rxf-hero .rxf-cap {
  margin-top: calc(var(--ilus-h) - var(--ilus-r)) !important; background: var(--bg, #fff) !important; border-radius: var(--ilus-r) var(--ilus-r) 0 0;
  padding: 24px 16px 6px !important; position: relative; z-index: 2; color: var(--fg, #18181b) !important;
}
article.rxf > header.rxf-hero .rxf-cap h1 { color: var(--fg, #18181b) !important; text-shadow: none !important; font-size: 28px !important; }
article.rxf > header.rxf-hero .rxf-cap .rxf-k { color: var(--muted, #63636c) !important; text-shadow: none !important; }
article.rxf > header.rxf-hero .rxf-cap .rxf-k:first-child { color: var(--ilus-red) !important; font-weight: 600; }
article.rxf > header.rxf-hero .rxf-badge { background: var(--ilus-tile) !important; color: var(--fg, #18181b) !important; border: 0 !important; border-radius: 16px !important; backdrop-filter: none !important; }
article.rxf .rxf-card { border-radius: 24px !important; }
article.rxf .rxf-btn, article.rxf .rxf-card .ctxd-add { border-radius: 18px !important; }

/* ================= TARJETAS ================= */
.t8x-c, .t8s-c { border-radius: 22px !important; }
.t8x-c img, .t8s-c img { border-radius: inherit; }
section.ctxd-lucha { border-radius: 24px !important; overflow: hidden !important; }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"] > img, html:has(link[rel="canonical"][href*="ctxplorer.com/events/"]) article > div[class*="h-[40vh]"]::before, article.rxf > header.rxf-hero > img { transform: none !important; }
}
