*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg-soft:   #fdf8f2;
  --border:    #ede8df;
  --border-dk: #d4cdc0;
  --ink:       #1a1510;
  --ink-mid:   #4a4238;
  --ink-soft:  #8a8070;
  --ink-faint: #b8b0a0;
  --accent:    #c85a00;
  --accent-bg: #fff4ed;

  --cat-teatro:     #1d3d6b; --cat-teatro-bg:     #e6eef8;
  --cat-concierto:  #5a1d6b; --cat-concierto-bg:  #f2e6f8;
  --cat-expo:       #1d5a3d; --cat-expo-bg:       #e6f4ec;
  --cat-humor:      #6b3d1d; --cat-humor-bg:      #f8ede6;
  --cat-deporte:    #1d4a5a; --cat-deporte-bg:    #e6f1f4;
  --cat-fiestas:    #7a3a00; --cat-fiestas-bg:    #fdf0e5;
  --cat-literatura: #3d5a1d; --cat-literatura-bg: #edf4e6;
  --cat-flamenco:   #8a1a2e; --cat-flamenco-bg:   #fce8ec;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: var(--accent) !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
}

.nav-cta:hover { opacity: 0.9; }

/* ── HEADER STRIP ── */
.header-strip {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-align: center;
  padding: 8px 32px;
  letter-spacing: 0.03em;
}

.header-strip strong { color: #fff; font-weight: 600; }

/* ── HERO ── */
.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 56px 32px 48px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cat-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 700px;
  margin: 0 auto;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border-dk);
  background: var(--bg);
  color: var(--ink-mid);
  text-decoration: none;
  transition: all 0.15s;
}

.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── MAIN ── */
.main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.sec-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sec-head a {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.sec-head a:hover { text-decoration: underline; }

/* ── FEATURED BLOCK ── */
.featured-block {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}

.featured-main {
  position: relative;
  min-height: 420px;
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.featured-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}

.featured-main:hover img { transform: scale(1.03); }

.featured-main-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,12,6,0.9) 0%, rgba(18,12,6,0.2) 55%, transparent 100%);
}

.featured-main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--border);
}

.featured-side-card {
  flex: 1;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
}

.featured-side-card:hover { background: var(--bg-soft); }

.featured-side-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* TAG */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  width: fit-content;
}

.tag-teatro     { color: var(--cat-teatro);     background: var(--cat-teatro-bg); }
.tag-concierto  { color: var(--cat-concierto);  background: var(--cat-concierto-bg); }
.tag-expo       { color: var(--cat-expo);       background: var(--cat-expo-bg); }
.tag-humor      { color: var(--cat-humor);      background: var(--cat-humor-bg); }
.tag-deporte    { color: var(--cat-deporte);    background: var(--cat-deporte-bg); }
.tag-fiestas    { color: var(--cat-fiestas);    background: var(--cat-fiestas-bg); }
.tag-literatura { color: var(--cat-literatura); background: var(--cat-literatura-bg); }
.tag-flamenco   { color: var(--cat-flamenco);   background: var(--cat-flamenco-bg); }

/* FEATURED TEXT */
.feat-tag { margin-bottom: 10px; }

.feat-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feat-meta { display: flex; flex-direction: column; gap: 4px; }
.feat-meta .meta-row { color: rgba(255,255,255,0.55); }
.feat-meta .meta-row strong { color: rgba(255,255,255,0.85); }

.side-title {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.side-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}

.card-body {
  padding: 18px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 13px;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}

.meta-row strong {
  font-weight: 600;
  color: var(--ink-mid);
  min-width: 42px;
  flex-shrink: 0;
}

/* DATE DIVIDER */
.date-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 24px;
}

.date-divider span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.date-divider::before,
.date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.date-divider::before { max-width: 20px; }

/* CTA BANNER */
.cta-banner {
  background: var(--ink);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  margin-top: 16px;
}

.cta-banner h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-banner a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.cta-banner a:hover { opacity: 0.9; }

/* FOOTER */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--ink-mid); }

.footer-copy { font-size: 12px; color: var(--ink-faint); }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 199;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 11px 14px;
    border-radius: 6px;
    font-size: 15px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px 14px !important;
  }

  .hero { padding: 40px 20px 36px; }
  .main { padding: 32px 20px 60px; }

  .featured-block { grid-template-columns: 1fr; }
  .featured-main { min-height: 320px; }
  .featured-side { flex-direction: row; gap: 2px; }
  .featured-side-card { padding: 16px; }
  .featured-side-card img { height: 80px; }
  .side-title { font-size: 13px; }

  .cards-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  .cta-banner { padding: 36px 24px; }
  .cta-banner h3 { font-size: 22px; }

  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 14px; }
}

@media (max-width: 600px) {
  .header-strip { display: none; }

  .hero { padding: 32px 16px 28px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 14px; }

  .cat-pills {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-pills::-webkit-scrollbar { display: none; }

  .main { padding: 24px 16px 48px; }

  .sec-head h2 { font-size: 18px; }

  .featured-block { border-radius: 8px; }
  .featured-main { min-height: 260px; }
  .featured-main-content { padding: 20px; }
  .feat-title { font-size: 20px; }
  .feat-desc { display: none; }

  .featured-side { flex-direction: column; }
  .featured-side-card img { height: 110px; }

  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-img { height: 160px; }

  .date-divider span { font-size: 11px; }

  .cta-banner { padding: 28px 20px; border-radius: 8px; }
  .cta-banner h3 { font-size: 20px; }
  .cta-banner p { font-size: 13px; }

  footer { gap: 16px; }
  .footer-links { flex-direction: column; gap: 10px; }
}
a {
  text-decoration: none;
}

/* ── ESTILOS ESPECÍFICOS DE EVENTOS.HTML ── */

.page-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 40px 32px 32px;
}

.page-header-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.page-header-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}

/* FILTROS */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.filter-sep {
  width: 1px;
  height: 24px;
  background: var(--border-dk);
  flex-shrink: 0;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--border-dk);
  background: var(--bg);
  color: var(--ink-mid);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* RESULTADOS BAR */
.results-bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results-count {
  font-size: 13px;
  color: var(--ink-soft);
}

.results-count strong {
  color: var(--ink);
  font-weight: 600;
}

.results-order {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.results-order select {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border-dk);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  outline: none;
}

/* LISTA DE EVENTOS */
.eventos-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* LISTA */
.eventos-lista { min-width: 0; }

.date-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 20px;
}

.date-divider:first-child { margin-top: 0; }

.date-divider span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.date-divider::before,
.date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.date-divider::before { max-width: 20px; }

/* EVENTO ROW (lista horizontal) */
.evento-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  border-radius: 6px;
}

.evento-row:hover { background: var(--bg-soft); padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.evento-row:last-child { border-bottom: none; }

.evento-row-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.evento-row-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  min-width: 0;
}

.evento-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.evento-row-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evento-row-desc {
  font-size: 13px;
  color: var(--ink-mid);
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evento-row-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.evento-row-meta span {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 4px;
}

.evento-row-meta span strong {
  font-weight: 600;
  color: var(--ink-mid);
}

/* TAG */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  width: fit-content;
  white-space: nowrap;
}

.tag-teatro     { color: var(--cat-teatro);     background: var(--cat-teatro-bg); }
.tag-concierto  { color: var(--cat-concierto);  background: var(--cat-concierto-bg); }
.tag-expo       { color: var(--cat-expo);       background: var(--cat-expo-bg); }
.tag-humor      { color: var(--cat-humor);      background: var(--cat-humor-bg); }
.tag-deporte    { color: var(--cat-deporte);    background: var(--cat-deporte-bg); }
.tag-fiestas    { color: var(--cat-fiestas);    background: var(--cat-fiestas-bg); }
.tag-literatura { color: var(--cat-literatura); background: var(--cat-literatura-bg); }
.tag-flamenco   { color: var(--cat-flamenco);   background: var(--cat-flamenco-bg); }
.tag-cine       { color: #1a4a6b;               background: #e5f0f8; }
.tag-infantil   { color: #5a6b1d;               background: #f0f5e5; }
.tag-ocio       { color: #6b5a1d;               background: #f5f0e5; }
.tag-espectaculo{ color: #4a1d6b;               background: #f0e5f8; }

/* PAGINACIÓN */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-dk);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  background: var(--bg);
}

.page-btn:hover { border-color: var(--ink); color: var(--ink); }
.page-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.page-btn.dots { border-color: transparent; cursor: default; }
.page-btn.arrow { width: auto; padding: 0 12px; gap: 4px; font-size: 13px; }

/* SIDEBAR */
.sidebar { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-box-head {
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sidebar-box-body { padding: 16px 18px; }

.sidebar-cat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }

.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: background 0.15s;
}

.sidebar-cat-list a:hover { background: var(--bg-soft); color: var(--ink); }
.sidebar-cat-list a.active { background: var(--ink); color: #fff; }

.sidebar-cat-list a span {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-faint);
}

.sidebar-cat-list a.active span { color: rgba(255,255,255,0.5); }

.sidebar-muni-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-dk) transparent;
}

.sidebar-muni-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: background 0.15s;
}

.sidebar-muni-list a:hover { background: var(--bg-soft); color: var(--ink); }

.sidebar-cta {
  background: var(--ink);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}

.sidebar-cta h4 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-cta a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.sidebar-cta a:hover { opacity: 0.9; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .page-header { padding: 32px 20px 24px; }
  .results-bar { padding: 16px 20px 0; }
  .eventos-main { grid-template-columns: 1fr; padding: 20px 20px 60px; gap: 32px; }
  .sidebar { position: static; }
  .filters-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .filters-bar::-webkit-scrollbar { display: none; }
}

@media (max-width: 600px) {
  .page-header { padding: 24px 16px 20px; }
  .results-bar { padding: 12px 16px 0; flex-direction: column; align-items: flex-start; }
  .eventos-main { padding: 16px 16px 48px; }
  .evento-row { grid-template-columns: 88px 1fr; gap: 12px; }
  .evento-row-img { width: 88px; height: 64px; }
  .evento-row-title { font-size: 14px; }
  .evento-row-desc { display: none; }
}

 
    /* ── BREADCRUMB ── */
    .breadcrumb {
      padding: 0.85rem 1.5rem;
      border-bottom: 1px solid var(--border);
      font-family: 'Syne', sans-serif;
      font-size: 0.72rem;
      letter-spacing: 0.04em;
      color: var(--muted);
    }
    .breadcrumb a { color: var(--muted); text-decoration: none; }
    .breadcrumb a:hover { color: var(--rust); }
    .breadcrumb span { margin: 0 0.4rem; }
 
    /* ── LAYOUT ── */
    .page-wrap {
      max-width: 860px;
      margin: 0 auto;
      padding: 2.5rem 1.5rem 4rem;
    }
 
    /* ── CATEGORY BADGE ── */
    .cat-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: var(--warm);
      border: 1px solid var(--border);
      border-radius: 2rem;
      padding: 0.25rem 0.85rem;
      font-family: 'Syne', sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 1.1rem;
    }
 
    /* ── TITLE ── */
    h1 {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: clamp(1.9rem, 5vw, 2.9rem);
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: var(--ink);
      margin-bottom: 0.5rem;
    }
    .subtitle {
      font-family: 'Newsreader', serif;
      font-style: italic;
      font-size: 1.15rem;
      color: var(--muted);
      margin-bottom: 2rem;
    }
 
    /* ── INFO STRIP ── */
    .info-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 2rem;
      background: #fff;
    }
    .info-cell {
      flex: 1 1 180px;
      padding: 1rem 1.25rem;
      border-right: 1px solid var(--border);
    }
    .info-cell:last-child { border-right: none; }
    .info-label {
      font-family: 'Syne', sans-serif;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 0.3rem;
    }
    .info-value {
      font-family: 'Syne', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--ink);
      line-height: 1.3;
    }
    .info-value.free {
      color: #2a7a44;
      font-size: 1rem;
    }
 
    /* ── HERO IMAGE ── */
    .event-image {
      width: 100%;
      aspect-ratio: 16/7;
      object-fit: cover;
      border-radius: var(--radius);
      margin-bottom: 2rem;
      display: block;
      background: linear-gradient(135deg, #d4c9b8 0%, #b8a99a 100%);
      position: relative;
      overflow: hidden;
    }
    .event-image-placeholder {
      width: 100%;
      aspect-ratio: 16/7;
      border-radius: var(--radius);
      margin-bottom: 2rem;
      background: linear-gradient(140deg, #2e2520 0%, #5a3d2b 50%, #8a6248 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .event-image-placeholder::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.03) 40px,
        rgba(255,255,255,0.03) 80px
      );
    }
    .event-image-placeholder .img-icon {
      font-size: 3.5rem;
      opacity: 0.35;
    }
 
    /* ── DESCRIPTION ── */
    .event-body { margin-bottom: 2.5rem; }
    .event-body p {
      font-size: 1.05rem;
      line-height: 1.75;
      color: #333;
      margin-bottom: 1.1rem;
    }
    .event-body h2 {
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: -0.01em;
      color: var(--ink);
      margin: 1.8rem 0 0.6rem;
    }
 
    /* ── TAGS ── */
    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2.5rem;
    }
    .tag {
      background: var(--warm);
      border: 1px solid var(--border);
      border-radius: 2rem;
      padding: 0.2rem 0.7rem;
      font-family: 'Syne', sans-serif;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      color: var(--muted);
    }
 
    /* ── MAP BLOCK ── */
    .map-block {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 2.5rem;
    }
    .map-header {
      padding: 0.9rem 1.25rem;
      background: var(--warm);
      border-bottom: 1px solid var(--border);
      font-family: 'Syne', sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .map-body {
      padding: 1.1rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .map-pin { font-size: 1.6rem; }
    .map-address { font-size: 0.95rem; color: var(--ink); }
    .map-address strong { display: block; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1rem; }
 
    /* ── SHARE / CTA ── */
    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
      padding: 1.5rem;
      background: var(--warm);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 2.5rem;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.65rem 1.3rem;
      border-radius: var(--radius);
      font-family: 'Syne', sans-serif;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: all .18s;
      text-decoration: none;
      border: none;
    }
    .btn-primary {
      background: var(--rust);
      color: #fff;
    }
    .btn-primary:hover { background: #a03416; }
    .btn-ghost {
      background: transparent;
      color: var(--ink);
      border: 1.5px solid var(--border);
    }
    .btn-ghost:hover { border-color: var(--ink); }
    .cta-label {
      font-family: 'Syne', sans-serif;
      font-size: 0.8rem;
      color: var(--muted);
      flex: 1;
      min-width: 140px;
    }
 
    /* ── RELATED ── */
    .related-title {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 1rem;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      color: var(--ink);
      margin-bottom: 1rem;
      padding-bottom: 0.6rem;
      border-bottom: 2px solid var(--ink);
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .related-card {
      background: #fff;
      padding: 1.1rem 1.2rem;
      text-decoration: none;
      transition: background .15s;
    }
    .related-card:hover { background: var(--warm); }
    .related-card .rc-cat {
      font-family: 'Syne', sans-serif;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--rust);
      margin-bottom: 0.3rem;
    }
    .related-card .rc-title {
      font-family: 'Syne', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--ink);
      line-height: 1.25;
      margin-bottom: 0.4rem;
    }
    .related-card .rc-date {
      font-size: 0.8rem;
      color: var(--muted);
    }
 
 
    /* ── RESPONSIVE ── */
    @media (max-width: 600px) {
      .site-nav { display: none; }
      h1 { font-size: 1.8rem; }
      .info-cell { flex: 1 1 45%; }
    }
 
    /* ── ENTRANCE ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .page-wrap > * {
      animation: fadeUp .5s ease both;
    }
    .page-wrap > *:nth-child(1) { animation-delay: .05s; }
    .page-wrap > *:nth-child(2) { animation-delay: .12s; }
    .page-wrap > *:nth-child(3) { animation-delay: .18s; }
    .page-wrap > *:nth-child(4) { animation-delay: .24s; }
    .page-wrap > *:nth-child(5) { animation-delay: .30s; }
    .page-wrap > *:nth-child(6) { animation-delay: .36s; }
    .page-wrap > *:nth-child(7) { animation-delay: .42s; }