*{box-sizing:border-box}
body{margin:0;background:#fff;color:#111;font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#111}a:hover{color:#1D4ED8}
:focus-visible{outline:2px solid #1D4ED8;outline-offset:2px}
.wrap{max-width:1040px;margin:0 auto;padding:0 24px}
.top{display:flex;justify-content:flex-end;padding-top:20px;padding-bottom:12px}
nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
nav a{font-size:15px;text-decoration:none}
.langs{display:flex;border:1px solid #D4D7DD;border-radius:999px;padding:3px}
.langs button{height:30px;min-width:44px;padding:0 10px;font:inherit;font-size:13px;font-weight:600;border:0;border-radius:999px;cursor:pointer;background:transparent;color:#111}
.langs button[aria-pressed=true]{background:#111;color:#fff}
.hero{padding:16px 0 28px}
h1{margin:0;font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:clamp(28px,4vw,44px);line-height:1.08;letter-spacing:-.03em;max-width:760px}
.hero p{margin:20px 0 0;font-size:18px;line-height:1.5;color:#4B5160;max-width:560px}
.block{border-top:1px solid #111;padding:16px 0 32px}
h2{margin:0;font-family:'Space Grotesk',sans-serif;font-weight:500;font-size:28px;letter-spacing:-.02em}
.news{display:flex;flex-wrap:wrap;gap:24px 48px;align-items:flex-end}
.news-text{flex:1 1 320px}.news-text p{margin:8px 0 0;font-size:15px;line-height:1.5;color:#4B5160}
.news-form{flex:1 1 380px;display:flex;flex-direction:column;gap:8px}
.news-form label{font-size:14px;font-weight:500}
.row-in{display:flex;gap:8px;flex-wrap:wrap}
input[type=email]{flex:1 1 220px;height:48px;padding:0 16px;font:inherit;font-size:16px;border:1px solid #B8BDC7;border-radius:10px;background:#fff;color:#111}
.btn{height:48px;padding:0 22px;font:inherit;font-size:16px;font-weight:600;border:0;border-radius:10px;background:#111;color:#fff;cursor:pointer}
.btn:disabled{opacity:.6;cursor:default}
.hint{font-size:13px;color:#5B6170}
.hint.ok{font-size:15px;color:#1E3A8A}.hint.err{color:#B42318}
#agenda h2{margin-bottom:16px}
.anchor{display:block;position:relative;top:-8px}
nav a.on{font-weight:600;text-decoration:underline;text-underline-offset:6px}
.filters{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:flex-end}
.f{display:flex;flex-direction:column;gap:8px}.f.grow{flex:1 1 180px}
.lbl{font-size:13px;font-weight:500;color:#4B5160}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{height:36px;padding:0 14px;font:inherit;font-size:14px;font-weight:500;border-radius:999px;cursor:pointer;border:1px solid #B8BDC7;background:#fff;color:#111}
.chip[aria-pressed=true]{border-color:#111;background:#111;color:#fff}
.chip.date{padding:0 10px}.chip.date.on{border-color:#111;box-shadow:inset 0 0 0 1px #111}
select,input[type=search]{height:44px;padding:0 12px;font:inherit;font-size:15px;border:1px solid #B8BDC7;border-radius:10px;background:#fff;color:#111}
#results{margin-top:32px}
.chip:disabled{opacity:.35;cursor:default}
.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.pager .pm{font-weight:600}
.count{font-size:14px;color:#5B6170;margin-bottom:16px}
.day{margin-bottom:28px}
.day h3{margin:0;padding-bottom:10px;border-bottom:1px solid #E3E5E9;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#4B5160}
.ev{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 8px;border-bottom:1px solid #E3E5E9;text-decoration:none;color:#111}
.ev:hover{background:#F6F7F9;color:#111}
.ev .m{display:flex;flex-direction:column;gap:4px;min-width:0}
.ev .n{font-size:17px;font-weight:600;line-height:1.3}
.ev .d{display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;font-size:14px;color:#5B6170}
.ev .d>span{white-space:nowrap}.ev .d>span:not(:last-child)::after{content:'·';margin:0 8px;color:#B8BDC7;font-weight:400;font-family:Inter,sans-serif;letter-spacing:0}
.ev .d .pb{font-weight:600;color:#111}
.ev .d .tp{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.ev .d .hr{font-family:'Space Grotesk',sans-serif;color:#111}
.ev .d .pr{font-weight:600;color:#111}
.empty{padding:40px 0;text-align:center;color:#5B6170;font-size:16px}
.empty button{margin-left:8px}
footer{border-top:1px solid #E3E5E9}
.foot{padding-top:24px;padding-bottom:24px;font-size:13px;color:#5B6170}
@media (max-width:520px){.ev{grid-template-columns:minmax(0,1fr);}.ev svg{display:none}}
.langs a{display:inline-flex;align-items:center;justify-content:center;height:30px;min-width:44px;padding:0 10px;font-size:13px;font-weight:600;border-radius:999px;text-decoration:none;color:#111}
.langs a[aria-current=true]{background:#111;color:#fff}
.page-baja{max-width:36rem}.page-baja h2{margin-bottom:12px}.page-baja p{font-size:16px;line-height:1.5}.page-baja .news-form{margin:8px 0 16px}
.hint a{color:inherit}
.row-in[hidden]{display:none}
/* Página de preferencias de la newsletter (functions/api/confirmar.js, functions/preferencias.js) */
.page-prefs{max-width:40rem}.page-prefs h2{margin-bottom:8px}.page-prefs p{font-size:16px;line-height:1.5}.page-prefs .intro{color:#4B5160;margin:0 0 20px}
.prefs-form{display:flex;flex-direction:column;gap:24px}.prefs-form .btn{align-self:flex-start}
.grp{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.grp legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:600}
.chip-box input,.opt input{accent-color:#111}.chip-box input{position:absolute;opacity:0;pointer-events:none}
.chip-box span{display:inline-flex;align-items:center;height:36px;padding:0 14px;font-size:14px;font-weight:500;border-radius:999px;cursor:pointer;border:1px solid #B8BDC7;background:#fff;color:#111}
.chip-box input:checked+span{border-color:#111;background:#111;color:#fff}.chip-box input:focus-visible+span{outline:2px solid #1D4ED8;outline-offset:2px}
.grp .search{height:44px;padding:0 14px;font:inherit;font-size:15px;border:1px solid #B8BDC7;border-radius:10px}
.grp .list{max-height:320px;overflow:auto;border:1px solid #E3E5E9;border-radius:10px;padding:4px 12px}
.opt{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #F0F1F3;font-size:15px;cursor:pointer}.opt:last-child{border-bottom:0}.opt[hidden]{display:none}.opt.all{font-weight:600}
.grp .none{font-size:14px;color:#5B6170;margin:0}
.tree details{margin:0}.tree summary{list-style:none;display:flex;align-items:center;gap:6px;cursor:pointer}.tree summary::-webkit-details-marker{display:none}
.tree summary::before{content:"";flex:none;width:7px;height:7px;margin:0 4px;border-right:1.5px solid #5B6170;border-bottom:1.5px solid #5B6170;transform:rotate(-45deg);transition:transform .15s}
.tree details[open]>summary::before{transform:rotate(45deg)}.tree summary .opt{flex:1}.tree .kids{padding-left:22px}.tree details[hidden]{display:none}
.opt.lvl1{font-weight:600}.opt.lvl2{font-weight:500}
