.evento { padding-bottom: clamp(48px, 7vw, 90px); }

.ev-breadcrumb { padding-top: 16px; padding-bottom: 16px; font-size: .88rem; color: var(--muted); }
.ev-breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.ev-breadcrumb a:hover { color: var(--rosa); text-decoration: underline; }
.ev-breadcrumb .sep { margin: 0 8px; color: var(--muted); }
.ev-breadcrumb .curr { color: var(--ink); font-weight: 600; margin-left: 0; }

.ev-hero {
  position: relative; min-height: clamp(340px, 52vw, 560px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #24101c 0%, #3a1030 45%, #0d3b39 100%);
}
.ev-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ev-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,18,.15) 0%, rgba(20,12,18,.45) 55%, rgba(20,12,18,.88) 100%);
}
.ev-hero-inner { position: relative; z-index: 2; width: 100%; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 5vw, 56px); }
.ev-cat {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; background: var(--rosa); color: #fff;
}
.ev-hero h1 { font-size: clamp(2rem, 5.2vw, 4rem); font-weight: 600; margin: 16px 0 14px; max-width: 20ch; }
.ev-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 1rem; }
.ev-hero-meta span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); }
.ev-hero-meta svg { flex: none; opacity: .9; }
.ev-hero-actions { position: absolute; top: 20px; right: clamp(18px, 4vw, 32px); z-index: 3; display: flex; gap: 8px; }
.ev-icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .15s;
}
.ev-icon-btn:hover { background: rgba(255,255,255,.28); }

.ev-quickfacts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: -34px; position: relative; z-index: 5;
}

.ev-quickfacts--3 { grid-template-columns: repeat(3, 1fr); }
.qf {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; display: flex; align-items: center; gap: 13px;
}
.qf-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--jade-soft); color: var(--jade); }
.qf:nth-child(1) .qf-ico { background: rgba(225,10,125,.1); color: var(--rosa); }
.qf:nth-child(3) .qf-ico { background: rgba(232,162,60,.16); color: #9a6b12; }
.qf:nth-child(4) .qf-ico { background: rgba(180,71,31,.12); color: var(--terra); }
.qf-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qf-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.qf-value { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: var(--ink); word-break: break-word; }

.ev-body { display: grid; grid-template-columns: 1fr 348px; gap: clamp(24px, 4vw, 52px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }

.ev-section { margin-bottom: clamp(32px, 5vw, 48px); }
.ev-section > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.ev-prose { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.75; }
.ev-prose p { margin-bottom: 18px; }
.ev-prose h3 { font-size: 1.3rem; color: var(--ink); margin: 28px 0 12px; }
.ev-prose ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ev-prose ul li { position: relative; padding-left: 30px; }
.ev-prose ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--jade-soft);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%230F766E" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>');
  background-repeat: no-repeat; background-position: center;
}

.ev-map .ev-venue { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.ev-map .ev-venue svg { flex: none; color: var(--rosa); margin-top: 3px; }
.ev-map .ev-venue h3 { font-family: var(--font-display); font-size: 1.2rem; }
.ev-map .ev-venue p { color: var(--ink-soft); font-size: .96rem; }
.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 16/8; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(1.05); }
.ev-map .btn { margin-top: 16px; }

.ev-aside { position: sticky; top: calc(var(--vmc-navbar-height, 49px) + 20px); }
body.admin-bar .ev-aside { top: calc(32px + var(--vmc-navbar-height, 49px) + 20px); }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.ev-card-top { padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.ev-price-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ev-price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; margin: 4px 0 16px; }
.ev-price small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.ev-card-top .btn { width: 100%; font-size: 1rem; padding: 15px; }

.ev-card-top--nobtn .ev-price { margin-bottom: 0; }
.ev-card-sec { padding: 8px 22px 4px; }
.ev-detail { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev-detail:last-child { border-bottom: 0; }
.ev-detail svg { flex: none; color: var(--jade); margin-top: 2px; }
.ev-detail .d-label { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ev-detail .d-value { font-weight: 500; color: var(--ink); }
.ev-detail .d-value a { color: var(--rosa); word-break: break-word; }
.ev-card-foot { padding: 16px 22px 22px; display: grid; gap: 10px; }
.ev-card-foot .btn { width: 100%; }
.ev-share { display: flex; align-items: center; gap: 10px; justify-content: center; padding-top: 6px; color: var(--muted); font-size: .85rem; }
.ev-share a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-soft); }
.ev-share a:hover { border-color: var(--rosa); color: var(--rosa); }

.ev-related { margin-top: clamp(40px, 6vw, 64px); }
.ev-related h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 22px; }
.ev-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.ev-back { margin-top: 36px; }
.ev-back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--jade); }

@media (max-width: 900px) {
  .ev-body { grid-template-columns: 1fr; }
  .ev-aside { position: static; }
  .ev-quickfacts { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -24px; }
  .ev-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ev-quickfacts { grid-template-columns: 1fr; margin-top: -16px; gap: 10px; }
  .ev-related-grid { grid-template-columns: 1fr; }
  .ev-hero-actions { top: 14px; }
}

.events-archive { padding-bottom: clamp(60px, 8vw, 100px); }
.events-archive-hero { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px); }
.events-archive-hero .barrio-title { color: var(--ink); font-weight: 700; margin: 0 0 12px; }
.events-archive-hero .barrio-subtitle { font-size: clamp(1rem, 1.8vw, 1.18rem); line-height: 1.6; color: var(--ink-soft); max-width: 720px; margin: 0; }
.ev-filters-wrapper { background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 0; position: sticky; top: var(--vmc-navbar-height, 49px); z-index: 950; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03); }
body.admin-bar .ev-filters-wrapper { top: calc(32px + var(--vmc-navbar-height, 49px)); }
@media (max-width: 992px) {
  .ev-filters-wrapper { top: 60px; }
  body.admin-bar .ev-filters-wrapper { top: 92px; }
}
.ev-filter-block { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ev-filter-block--cat { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.ev-filter-title { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); min-width: 78px; }
.ev-filter-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ev-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font-size: 0.86rem; font-weight: 500; text-decoration: none; transition: all 0.16s ease; line-height: 1.3; }
.ev-pill:hover { border-color: var(--ink); color: var(--ink); }
.ev-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.ev-pill-count { font-size: 0.72rem; padding: 1px 6px; border-radius: 999px; background: rgba(15, 23, 42, 0.08); color: inherit; }
.ev-pill.is-active .ev-pill-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.ev-results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-top: 8px; }
.ev-results-count { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.ev-reset-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--rosa); text-decoration: none; }
.ev-reset-btn:hover { text-decoration: underline; }
.ev-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.ev-item-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.ev-item-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08); border-color: rgba(15, 23, 42, 0.18); }
.ev-item-media-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.ev-item-media { display: block; width: 100%; height: 100%; position: relative; }
.ev-item-media-wrap .card-fav-btn { position: absolute; top: 12px; right: 12px; z-index: 4; }
.ev-date-badge { position: absolute; top: 12px; left: 12px; z-index: 3; width: 48px; height: 52px; border-radius: 8px; background: var(--rosa); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(217, 4, 41, 0.32); line-height: 1; }
.ev-date-day { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; font-style: normal; }
.ev-date-month { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.ev-tag-pill { position: absolute; bottom: 10px; left: 12px; z-index: 3; padding: 4px 10px; border-radius: 6px; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(4px); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.ev-item-content { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ev-item-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; font-style: normal; line-height: 1.3; margin: 0 0 12px; }
.ev-item-title a { color: var(--ink); text-decoration: none; transition: color 0.15s ease; }
.ev-item-title a:hover { color: var(--rosa); }
.ev-item-meta { display: grid; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 20px; }
.ev-item-row { display: flex; align-items: center; gap: 8px; line-height: 1.4; }
.ev-item-row svg { flex: none; color: var(--jade); }
.ev-item-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.ev-item-price { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.ev-item-cta { font-size: 0.85rem; font-weight: 600; color: var(--rosa); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.15s ease; }
.ev-item-cta:hover { gap: 8px; }
.ev-empty-state { text-align: center; padding: clamp(48px, 8vw, 80px) 24px; background: var(--surface-2); border-radius: var(--radius-lg); border: 1px dashed var(--line); margin: 24px 0; }
.ev-empty-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(217, 4, 41, 0.08); color: var(--rosa); display: grid; place-items: center; margin: 0 auto 16px; }
.ev-empty-state h3 { font-family: var(--font-display); font-size: 1.4rem; font-style: normal; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.ev-empty-state p { color: var(--ink-soft); max-width: 48ch; margin: 0 auto 20px; font-size: 0.95rem; }
.ev-guide-cta { margin-top: clamp(48px, 6vw, 72px); }
.ev-guide-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ev-guide-txt { max-width: 580px; }
.ev-guide-txt h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-style: normal; font-weight: 600; margin: 8px 0 10px; color: var(--ink); }
.ev-guide-txt p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.ev-guide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .ev-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-filters-wrapper { position: static; }
}
@media (max-width: 640px) {
  .ev-archive-grid { grid-template-columns: 1fr; }
  .ev-guide-box { flex-direction: column; align-items: flex-start; }
}

