/* Agenda de «Planes con entrada» (/eventos/): tira de fechas + lista por tandas. 04-12-2026. */

.ag-rail { position: relative; margin-top: 22px; }
.ag-strip {
  display: flex; align-items: stretch; gap: 6px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 2px 2px 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.ag-strip::-webkit-scrollbar { display: none; }
.ag-strip.ag-ini { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%); }
.ag-strip.ag-finl { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px); mask-image: linear-gradient(90deg, transparent 0, #000 28px); }
.ag-strip.ag-ini.ag-finl { -webkit-mask-image: none; mask-image: none; }

.ag-strip a {
  flex: none; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 52px; height: 62px; padding: 0 8px; border-radius: 14px;
  border: 1px solid var(--line-2); color: var(--ink); text-decoration: none;
  font-family: var(--display); line-height: 1.1;
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.ag-strip a small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); transition: color 150ms ease-out; }
.ag-strip a b { font-size: 20px; font-weight: 600; margin-top: 3px; }
.ag-strip a.ag-todos { padding: 0 18px; font-weight: 600; font-size: 15px; }
@media (hover: hover) { .ag-strip a:hover { border-color: var(--gold); } }
.ag-strip a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ag-strip a[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: #1a1003; }
.ag-strip a[aria-current="true"] small { color: rgba(26, 16, 3, .72); }
.ag-strip a[aria-busy="true"] { opacity: .55; }

.ag-mes {
  flex: none; align-self: center; height: 62px; margin: 0 2px 0 8px; padding-right: 8px;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; transform: rotate(180deg); border-right: 1px solid var(--line-2);
  font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}

.ag-nav {
  display: none; position: absolute; top: 15px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ag-prev { left: -48px; } .ag-next { right: -48px; }
@media (hover: hover) and (min-width: 1180px) { .ag-nav:not([hidden]) { display: grid; place-items: center; } }
.ag-nav:hover { border-color: var(--gold); }

.ag-lista .ev-day:first-child { margin-top: 0; }
.ag-lista + .ag-solo .ev-day { margin-top: 0; }
.ag-mas { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.ag-mas .btn { min-width: 220px; justify-content: center; }
.ag-mas .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.ag-fin { margin-top: 28px; text-align: center; color: var(--ink-3); font-size: 14px; }
.ev-day-h:focus { outline: none; }
