/* Cityn Events Modern UI - Scoped (.cty-*) & Mobile-First Safe */
.cty-single-shell,
.cty-page-wrap {
  --cty-accent: #d60b52;
  --cty-accent-hover: #b00843;
  --cty-accent-soft: rgba(214, 11, 82, 0.08);
  --cty-ink: #0f172a;
  --cty-body: #334155;
  --cty-muted: #64748b;
  --cty-bg: #f6f7fb;
  --cty-surface: #ffffff;
  --cty-subtle: #f8fafc;
  --cty-border: rgba(15, 23, 42, 0.08);
  --cty-shadow: 0 20px 44px -18px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  --cty-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--cty-body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.cty-single-shell *,
.cty-single-shell *::before,
.cty-single-shell *::after,
.cty-page-wrap *,
.cty-page-wrap *::before,
.cty-page-wrap *::after {
  box-sizing: border-box;
}

.cty-single-shell {
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(214, 11, 82, 0.06), transparent 65%),
    radial-gradient(700px 360px at 8% 8%, rgba(15, 23, 42, 0.035), transparent 60%),
    var(--cty-bg);
  padding: 28px 0 0;
  overflow-x: clip;
}

body.page-id-1131,
body.page-id-1200,
body.page-id-1131 .wrapper,
body.page-id-1131 .wrapper_inner,
body.page-id-1131 .content,
body.page-id-1200 .wrapper,
body.page-id-1200 .wrapper_inner,
body.page-id-1200 .content {
  background: radial-gradient(900px 420px at 88% -6%, rgba(214, 11, 82, 0.06), transparent 65%), radial-gradient(700px 360px at 8% 8%, rgba(15, 23, 42, 0.035), transparent 60%), #f6f7fb !important;
  background-color: #f6f7fb !important;
}
body.page-id-1131 .content_inner,
body.page-id-1131 .container,
body.page-id-1131 .container_inner,
body.page-id-1131 .full_width,
body.page-id-1200 .content_inner,
body.page-id-1200 .container,
body.page-id-1200 .container_inner,
body.page-id-1200 .full_width {
  background: transparent !important;
  background-color: transparent !important;
}

.cty-page-wrap {
  padding: 28px 0 56px;
  overflow-x: clip;
}

.cty-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
.container_inner .cty-container {
  padding: 0;
}

.cty-single-shell h1,
.cty-single-shell h2,
.cty-single-shell h3,
.cty-page-wrap h1,
.cty-page-wrap h2,
.cty-page-wrap h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--cty-ink);
  margin: 0;
  letter-spacing: -0.02em;
  text-transform: none;
}

/* Breadcrumb */
.cty-breadcrumb {
  padding: 4px 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cty-muted);
}
.cty-breadcrumb a {
  text-decoration: none;
  font-weight: 500;
  color: var(--cty-muted);
}
.cty-breadcrumb a:hover { color: var(--cty-accent); }
.cty-breadcrumb .cty-sep { opacity: .45; }
.cty-breadcrumb .cty-current { color: var(--cty-ink); font-weight: 600; }

/* 70 / 30 Single Event Layout */
.cty-layout-70-30 {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

.cty-col-main,
.cty-col-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Double-Bezel Panels */
.cty-panel {
  background: var(--cty-surface);
  border: 1px solid var(--cty-border);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.03);
}
.cty-panel-in {
  background: var(--cty-surface);
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 15px;
  padding: 26px 28px;
}

/* Badges & Title */
.cty-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.cty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cty-badge-accent {
  background: var(--cty-accent-soft);
  color: var(--cty-accent);
  border: 1px solid rgba(214, 11, 82, 0.16);
}
.cty-badge-neutral {
  background: var(--cty-subtle);
  color: var(--cty-ink);
  border: 1px solid var(--cty-border);
}

body.page-id-1131 .title_outer,
body.page-id-1200 .title_outer,
body.page-id-1131 .title.title_size_large,
body.page-id-1200 .title.title_size_large {
  display: none !important;
}

.cty-col-main h1.cty-event-h1 {
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.22;
  font-weight: 800;
  margin: 0 0 22px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* 2x2 Key Facts Grid */
.cty-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.cty-fact-box {
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  border-radius: 15px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}
.cty-fact-ico {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--cty-accent-soft);
  color: var(--cty-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cty-fact-ico svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cty-fact-body { min-width: 0; }
.cty-fact-k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cty-muted);
  margin-bottom: 3px;
}
.cty-fact-v {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--cty-ink);
  line-height: 1.35;
}
.cty-fact-sub {
  display: block;
  font-size: 13px;
  color: var(--cty-muted);
  margin-top: 3px;
  line-height: 1.4;
}
.cty-id-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--cty-surface);
  border: 1px solid var(--cty-border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cty-body);
  white-space: nowrap;
}

/* Section Titles & Content */
.cty-sec-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--cty-ink) !important;
  margin: 0 0 16px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cty-sec-title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: var(--cty-accent);
  flex-shrink: 0;
}

.cty-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cty-pill-item {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--cty-ink);
  line-height: 1.4;
}
.cty-pill-item span {
  font-weight: 400;
  color: var(--cty-muted);
}

.cty-rationale {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--cty-body);
  overflow-wrap: anywhere;
}
.cty-rationale p { margin: 0 0 12px; }
.cty-rationale p:last-child { margin-bottom: 0; }
.cty-rationale ul, .cty-rationale ol { margin: 0 0 12px 20px; }

/* Right 30% Column */
.cty-poster-in { padding: 14px; }
.cty-poster-frame {
  border-radius: 14px;
  overflow: hidden;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  cursor: zoom-in;
  transition: transform .3s var(--cty-ease), box-shadow .3s var(--cty-ease);
}
.cty-poster-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.18);
}
.cty-poster-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
.cty-poster-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--cty-muted);
  padding: 10px 4px 2px;
}
.cty-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--cty-accent);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.cty-zoom-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.cty-side-in { padding: 20px; }
.cty-side-head {
  font-size: 17px !important;
  font-weight: 800 !important;
  margin: 0 0 4px !important;
}
.cty-side-sub {
  font-size: 13px;
  color: var(--cty-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.cty-side-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Buttons & Status Pills */
.cty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--cty-ease), box-shadow .25s var(--cty-ease), background-color .2s ease, border-color .2s ease;
}
.cty-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.cty-btn-primary {
  background: var(--cty-accent);
  color: #fff !important;
  box-shadow: 0 10px 22px -8px rgba(214, 11, 82, 0.48);
}
.cty-btn-primary:hover {
  background: var(--cty-accent-hover);
  color: #fff !important;
  transform: translateY(-2px);
}
.cty-btn-secondary {
  background: var(--cty-surface);
  color: var(--cty-ink) !important;
  border-color: rgba(15, 23, 42, 0.14);
}
.cty-btn-secondary:hover {
  border-color: var(--cty-accent);
  color: var(--cty-accent) !important;
  transform: translateY(-2px);
}
.cty-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  background: var(--cty-subtle);
  border: 1px dashed rgba(15, 23, 42, 0.18);
  color: var(--cty-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.cty-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cty-accent);
  opacity: .75;
  flex-shrink: 0;
}
.cty-side-stack .cty-btn { width: 100%; }

.cty-cal-strip {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cty-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cty-cal-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cty-muted);
}
.cty-cal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cty-cal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--cty-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all .2s ease;
}
.cty-cal-link:hover {
  border-color: var(--cty-accent);
  color: var(--cty-accent) !important;
  background: #fff;
}

/* Provider Box inside Right Column */
.cty-provider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cty-provider-logo-box {
  flex: 0 0 auto;
  min-height: 46px;
  min-width: 88px;
  max-width: 150px;
  padding: 6px 12px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--cty-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}
.cty-provider-logo-box img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}
.cty-provider-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--cty-ink);
  letter-spacing: -0.02em;
}
.cty-provider-logo-dot {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--cty-accent), #8e0635);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.cty-provider-meta strong {
  display: block;
  font-size: 14.5px;
  color: var(--cty-ink);
}
.cty-provider-meta span {
  font-size: 12.5px;
  color: var(--cty-muted);
}

/* Related Events */
.cty-related {
  padding: 52px 0 72px;
  border-top: 1px solid var(--cty-border);
  background: rgba(255, 255, 255, 0.72);
}
.cty-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.cty-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cty-accent);
  margin-bottom: 8px;
}
.cty-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cty-accent);
  border-radius: 2px;
}
.cty-related-head h2 { font-size: 24px; font-weight: 800; }
.cty-related-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cty-accent) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.cty-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cty-rel-card {
  background: var(--cty-surface);
  border: 1px solid var(--cty-border);
  border-radius: 20px;
  padding: 18px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 26px -18px rgba(15, 23, 42, 0.14);
  transition: transform .3s var(--cty-ease), box-shadow .3s var(--cty-ease);
}
.cty-rel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cty-shadow);
}
.cty-rel-thumb {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  aspect-ratio: 1 / 1;
  width: 100%;
}
.cty-rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cty-rel-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.cty-rel-thumb-fallback span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cty-rel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cty-rel-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cty-ink);
  line-height: 1.38;
}
.cty-rel-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--cty-muted);
}
.cty-rel-loc svg {
  width: 14px;
  height: 14px;
  stroke: var(--cty-accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.cty-rel-more {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--cty-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--cty-accent);
}

/* Lightbox */
.cty-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cty-lightbox.open { display: flex; }
.cty-lightbox img {
  max-width: min(94vw, 820px);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.cty-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Calendario & Archivio Pages */
.cty-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.cty-page-head h1 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.cty-page-sub {
  font-size: 15px;
  color: var(--cty-muted);
  margin: 0;
  max-width: 640px;
}

.cty-filter-in {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cty-filter-top {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  align-items: center;
}
.cty-filter-archive {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cty-search-box {
  position: relative;
  flex: 1 1 260px;
  height: 44px;
  display: flex;
  align-items: center;
}
.cty-search-box svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  stroke: var(--cty-muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}
.cty-search-input,
.cty-select-input {
  width: 100%;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--cty-border);
  background: var(--cty-subtle);
  font-family: inherit;
  font-size: 14px;
  color: var(--cty-ink);
  outline: none;
}
.cty-search-input { padding: 0 14px 0 40px; }
.cty-select-input { padding: 0 14px; cursor: pointer; }
.cty-search-input:focus,
.cty-select-input:focus {
  border-color: var(--cty-accent);
  background: #fff;
}

.cty-view-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 11px;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  gap: 4px;
}
.cty-view-btn {
  border: 0;
  background: transparent;
  color: var(--cty-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.cty-view-btn.active {
  background: #fff;
  color: var(--cty-ink);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.cty-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cty-pill-btn {
  border: 1px solid var(--cty-border);
  background: var(--cty-subtle);
  color: var(--cty-body);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s var(--cty-ease);
}
.cty-pill-btn:hover {
  border-color: var(--cty-accent);
  color: var(--cty-accent);
}
.cty-pill-btn.active {
  background: var(--cty-accent);
  border-color: var(--cty-accent);
  color: #fff;
}

/* Calendario Grid */
.cty-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cty-events-grid.cty-list-mode {
  grid-template-columns: 1fr;
}
.cty-ev-card {
  background: var(--cty-surface);
  border: 1px solid var(--cty-border);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 10px 26px -18px rgba(15, 23, 42, 0.14);
  transition: transform .3s var(--cty-ease), box-shadow .3s var(--cty-ease);
  display: flex;
  min-width: 0;
}
.cty-ev-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cty-shadow);
}
.cty-ev-card-in {
  background: var(--cty-surface);
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}
.cty-ev-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cty-date-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--cty-accent-soft);
  color: var(--cty-accent);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.cty-ecm-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cty-ink);
  white-space: nowrap;
}
.cty-ev-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  aspect-ratio: 1 / 1;
}
.cty-thumb-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  pointer-events: none;
}
.cty-thumb-badges .cty-tag {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}
.cty-thumb-badges .cty-tag-ecm {
  background: var(--cty-accent);
  color: #fff;
  border-color: transparent;
}
.cty-ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cty-ev-thumb.cty-thumb-contain img {
  object-fit: cover;
  background: #fff;
}
.cty-ev-card-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.34;
  color: var(--cty-ink);
  margin: 0;
}
.cty-ev-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--cty-muted);
}
.cty-ev-meta-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.cty-ev-meta-item svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  stroke: var(--cty-accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.cty-ev-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--cty-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cty-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cty-muted);
  white-space: nowrap;
}
.cty-status-chip .cty-dot { opacity: 1; }
.cty-status-chip.open { color: #047857; }
.cty-status-chip.open .cty-dot { background: #10b981; }

.cty-events-grid.cty-list-mode .cty-ev-card-in {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}
.cty-events-grid.cty-list-mode .cty-ev-thumb {
  aspect-ratio: 1 / 1;
}
.cty-events-grid.cty-list-mode .cty-ev-footer {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
  flex-direction: column;
  align-items: flex-end;
}

/* Archive Rows */
.cty-archive-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cty-arch-card {
  background: var(--cty-surface);
  border: 1px solid var(--cty-border);
  border-radius: 20px;
  padding: 7px;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.14);
  transition: transform .28s var(--cty-ease), box-shadow .28s var(--cty-ease);
}
.cty-arch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cty-shadow);
}
.cty-arch-card-in {
  background: var(--cty-surface);
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 14px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.cty-arch-date-box {
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
}
.cty-arch-day {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--cty-ink);
  line-height: 1.2;
  white-space: nowrap;
}
.cty-arch-month {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cty-accent);
  margin-top: 3px;
  white-space: nowrap;
}
.cty-arch-info { min-width: 0; }
.cty-arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.cty-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.cty-tag-done {
  background: var(--cty-subtle);
  border: 1px solid var(--cty-border);
  color: var(--cty-muted);
}
.cty-tag-ecm {
  background: var(--cty-accent-soft);
  color: var(--cty-accent);
}
.cty-arch-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.34;
  color: var(--cty-ink);
  margin: 0 0 6px;
}
.cty-arch-meta {
  font-size: 13.5px;
  color: var(--cty-muted);
}
.cty-arch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cty-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 20px;
  background: var(--cty-surface);
  border: 1px dashed var(--cty-border);
  border-radius: 18px;
  color: var(--cty-muted);
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .cty-breadcrumb { display: none; }
  .cty-layout-70-30 { grid-template-columns: 1fr; gap: 18px; }
  .cty-col-main,
  .cty-col-side { display: contents; }
  .cty-poster-panel { order: 1; }
  .cty-title-panel { order: 2; }
  .cty-audience-panel { order: 3; }
  .cty-actions-panel {
    order: 4;
    background: linear-gradient(135deg, rgba(214, 11, 82, 0.16), rgba(15, 23, 42, 0.06));
    border-color: rgba(214, 11, 82, 0.24);
  }
  .cty-actions-panel .cty-panel-in {
    background: linear-gradient(180deg, #fff5f8 0%, #fcebf1 100%);
    border-color: rgba(214, 11, 82, 0.14);
  }
  .cty-actions-panel .cty-status-pill {
    background: linear-gradient(135deg, #d60b52, #b80745);
    border: 1px solid #b00843;
    color: #ffffff;
    box-shadow: 0 8px 18px -8px rgba(214, 11, 82, 0.55);
  }
  .cty-actions-panel .cty-status-pill .cty-dot {
    background: #ffffff;
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
  }
  .cty-actions-panel .cty-cal-link {
    background: #d60b52;
    border-color: #b00843;
    color: #ffffff !important;
    box-shadow: 0 6px 14px -6px rgba(214, 11, 82, 0.45);
  }
  .cty-actions-panel .cty-cal-link:hover {
    background: #b00843;
    color: #ffffff !important;
  }
  .cty-rationale-panel { order: 5; }
  .cty-provider-panel { order: 6; }
  .cty-related-grid { grid-template-columns: 1fr; }
  .cty-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cty-filter-top { grid-template-columns: 1fr; }
  .cty-events-grid.cty-list-mode .cty-ev-card-in { grid-template-columns: 1fr; }
  .cty-events-grid.cty-list-mode .cty-ev-footer {
    align-items: flex-start;
    border-top: 1px solid var(--cty-border);
    padding-top: 14px;
  }
  .cty-arch-card-in { grid-template-columns: 1fr; gap: 14px; }
  .cty-arch-date-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .cty-container { padding: 0 16px; }
  .cty-panel-in { padding: 18px; }
  .cty-facts-grid { grid-template-columns: 1fr; }
  .cty-events-grid { grid-template-columns: 1fr; }
  .cty-related-head { flex-direction: column; align-items: flex-start; }
  .cty-arch-card-in { padding: 16px; }
  .cty-arch-actions { width: 100%; }
  .cty-arch-actions .cty-btn { flex: 1 1 auto; }
  .cty-status-pill, .cty-btn { white-space: normal; text-align: center; }

  /* Center all texts & cards on mobile for Single Event */
  .cty-single-shell .cty-panel-in { text-align: center; }
  .cty-single-shell .cty-hero-badges,
  .cty-single-shell .cty-pills-list { justify-content: center; }
  .cty-single-shell .cty-sec-title { justify-content: center; }
  .cty-single-shell .cty-fact-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cty-single-shell .cty-provider-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cty-single-shell .cty-poster-caption {
    justify-content: center;
    gap: 12px;
  }
  .cty-single-shell .cty-related-head,
  .cty-single-shell .cty-rel-card {
    align-items: center;
    text-align: center;
  }
  .cty-single-shell .cty-rel-top,
  .cty-single-shell .cty-rel-loc {
    justify-content: center;
  }
  .cty-single-shell .cty-eyebrow { justify-content: center; }

  /* Center Calendario Eventi on mobile */
  body.page-id-1131 .cty-page-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  body.page-id-1131 .cty-eyebrow { justify-content: center; }
  body.page-id-1131 .cty-filter-pills { justify-content: center; }
  body.page-id-1131 .cty-ev-card-in {
    text-align: center;
    align-items: center;
  }
  body.page-id-1131 .cty-ev-top,
  body.page-id-1131 .cty-ev-meta-row,
  body.page-id-1131 .cty-ev-meta-item,
  body.page-id-1131 .cty-ev-footer {
    justify-content: center;
  }
  body.page-id-1131 .cty-ev-footer { width: 100%; }
}

/* ==========================================================================
   CITYN CUSTOM HEADER (Reversible via option cityn_use_custom_header = 0)
   ========================================================================== */
body.cty-custom-header header.page_header,
body.cty-custom-header .mobile_menu_header,
body.cty-custom-header .q_logo_mobile {
  display: none !important;
}
body.cty-custom-header .content {
  margin-top: 0 !important;
}

.cty-site-header {
  --cty-accent: #d60b52;
  --cty-ink: #000000;
  --cty-body: #000000;
  --cty-muted: #52525b;
  --cty-subtle: #f8fafc;
  --cty-border: rgba(0, 0, 0, 0.08);
  --cty-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: sticky;
  top: 0;
  z-index: 9990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cty-border);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.admin-bar .cty-site-header {
  top: 32px;
}
.cty-site-header *,
.cty-site-header *::before,
.cty-site-header *::after {
  box-sizing: border-box;
}
.cty-site-header-in {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cty-hdr-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none !important;
  flex-shrink: 0;
}
.cty-hdr-brand img {
  height: 62px;
  width: auto;
  display: block;
  object-fit: contain;
}
.cty-hdr-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  margin-left: 2px;
}
.cty-hdr-brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #000000;
  letter-spacing: -0.02em;
}
.cty-hdr-brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cty-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.cty-hdr-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cty-hdr-item {
  position: relative;
}
.cty-hdr-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000 !important;
  text-decoration: none !important;
  padding: 8px 4px;
  white-space: nowrap;
  transition: color .2s ease;
}
.cty-hdr-link:hover,
.cty-hdr-item.active > .cty-hdr-link {
  color: var(--cty-accent) !important;
}
.cty-hdr-caret {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}
.cty-hdr-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--cty-border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s var(--cty-ease);
  z-index: 9995;
}
.cty-hdr-item:hover > .cty-hdr-sub,
.cty-hdr-item:focus-within > .cty-hdr-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cty-hdr-sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cty-body) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.cty-hdr-sub a:hover {
  background: var(--cty-subtle);
  color: var(--cty-accent) !important;
}

.cty-hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cty-hdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all .24s var(--cty-ease);
}
.cty-hdr-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.cty-hdr-search-btn {
  background: var(--cty-subtle);
  color: var(--cty-ink);
  border: 1px solid var(--cty-border);
}
.cty-hdr-search-btn:hover {
  border-color: var(--cty-accent);
  color: var(--cty-accent);
  background: #fff;
}
.cty-hdr-btn.cty-hdr-menu-btn {
  display: none;
  background: var(--cty-ink);
  color: #fff;
  border: 1px solid var(--cty-ink);
}
.cty-hdr-btn.cty-hdr-menu-btn:hover {
  background: var(--cty-accent);
  border-color: var(--cty-accent);
}

/* Global Search Modal & Fullscreen Menu Overlays */
.cty-gsearch-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 16px 24px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cty-gsearch-overlay.open { display: flex; }
.cty-gsearch-modal {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.45);
  overflow: hidden;
}
.cty-gsearch-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.cty-gsearch-head svg {
  width: 20px;
  height: 20px;
  stroke: #d60b52;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.cty-gsearch-input {
  flex: 1;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  background: transparent;
}
.cty-gsearch-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  color: #0f172a;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cty-gsearch-tabs {
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cty-gscope-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.cty-gscope-btn.active {
  background: #d60b52;
  border-color: #d60b52;
  color: #fff;
}
.cty-gsearch-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 14px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cty-gres-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none !important;
  transition: all .2s ease;
}
.cty-gres-item:hover {
  background: #fff;
  border-color: #d60b52;
}
.cty-gres-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}
.cty-gres-meta {
  font-size: 12.5px;
  color: #64748b;
}
.cty-gres-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.cty-gres-status.upcoming { background: rgba(214, 11, 82, 0.1); color: #d60b52; }
.cty-gres-status.past { background: #e2e8f0; color: #334155; }

.cty-fsmenu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(640px 360px at 92% 6%, rgba(214, 11, 82, 0.22), transparent 62%), #0b1120;
  color: #fff;
  display: none;
  flex-direction: column;
  padding: 20px 22px 28px;
  overflow-y: auto;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cty-fsmenu-overlay.open { display: flex; }
.cty-fsmenu-top {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cty-fsmenu-logo {
  height: 44px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}
.cty-fsmenu-close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cty-fsmenu-body {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-content: start;
}
.cty-fsmenu-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cty-fsmenu-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 0;
}
.cty-fsmenu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  text-decoration: none !important;
  color: #fff !important;
}
.cty-fsmenu-link:hover { color: #ff4d8d !important; }
.cty-fsmenu-num {
  font-size: 11.5px;
  font-weight: 700;
  color: #d60b52;
  letter-spacing: .08em;
  min-width: 22px;
}
.cty-fsmenu-label {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(19px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.cty-fsmenu-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 12px 36px;
}
.cty-fsmenu-sublinks a {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
}
.cty-fsmenu-info {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cty-fsmenu-info h3 { color: #fff; font-size: 15px; margin: 0; font-family: "Montserrat", sans-serif; }
.cty-fsmenu-info p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }
.cty-fsmenu-info a { color: #ff6b9d !important; text-decoration: none !important; font-weight: 600; }

@media (max-width: 980px) {
  .cty-site-header-in { padding: 0 16px; height: 68px; }
  .cty-hdr-brand img { height: 48px; }
  .cty-hdr-brand-name { font-size: 17px; }
  .cty-hdr-brand-sub { font-size: 9px; }
  .cty-hdr-nav { display: none; }
  .cty-hdr-btn { height: 36px; padding: 0 12px; font-size: 12.5px; }
  .cty-hdr-btn.cty-hdr-menu-btn {
    display: inline-flex;
    width: 38px;
    padding: 0;
  }
  .cty-hdr-btn.cty-hdr-menu-btn span { display: none; }
  .cty-fsmenu-body { grid-template-columns: 1fr; }
}
