:root {
  --bg: #fcfbf7;
  --surface: #ffffff;
  --border: #e6e4de;
  --ink: #383838;
  --muted: #6e6e6e;
  --orange: #f39200;
  --orange-dark: #d97f00;
  --blue: #135d94;
  --blue-soft: #1d70b8;
  --pill-bg: #f1f2f4;
  --radius: 10px;
  --block-gap: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eceae4; position: sticky; top: 0; z-index: 40; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-soft); font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-logo { height: 52px; width: auto; object-fit: contain; display: block; }
.brand-logo-footer { height: 145px; width: auto; object-fit: contain; display: block; }
.brand small { display: block; font-size: 0.72rem; font-weight: 600; color: #7a8a99; line-height: 1; margin-top: -2px; text-align: right; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { font-size: 0.92rem; font-weight: 600; color: #555; padding: 6px 2px; border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--orange); }
.header-search { flex: 1; min-width: 210px; max-width: 340px; margin-left: auto; display: flex; align-items: center; background: #f4f4f4; border: 1px solid #e6e6e6; border-radius: 6px; padding: 0 10px; }
.header-search input { flex: 1; border: 0; background: transparent; padding: 8px 6px; font: inherit; font-size: 0.88rem; color: var(--ink); outline: none; }
.header-search button { border: 0; background: transparent; color: #555; cursor: pointer; padding: 4px; display: inline-flex; }
.mobile-search-toggle { display: none; }
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a { color: var(--orange); display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 4px; }
.social-links a:hover { opacity: 0.8; }

/* Section Ribbon */
.ribbon { background: var(--orange); color: #fff; text-align: center; font-weight: 700; font-size: 0.95rem; padding: 7px 16px; }
.ribbon.blue { background: var(--blue); }

/* Main Container */
.page-wrap { max-width: 1180px; margin: 18px auto 48px; padding: 0 20px; }
.page-wrap.narrow { max-width: 1040px; }

/* White Section Card */
.page-h1 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 800; color: #3a3f45; letter-spacing: -0.01em; line-height: 1.25; }
.page-h1.in-card { margin: 0 0 10px; font-size: 1.02rem; }
.section-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px 22px; margin-bottom: var(--block-gap); box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.section-card:last-child { margin-bottom: 0; }
.section-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.section-head h1, .section-head h2 { margin: 0; font-size: 0.96rem; font-weight: 800; color: #5f5f5f; text-transform: uppercase; letter-spacing: 0.02em; }
.section-icon { width: 36px; height: 30px; border-radius: 7px; background: #fff3e0; border: 1px solid #fde2b8; color: var(--orange); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; }
.section-icon svg { width: 18px; height: 18px; display: block; }
.section-icon-img { width: 22px; height: 22px; object-fit: contain; flex: 0 0 22px; display: block; }
.section-more { margin-left: auto; font-size: 0.82rem; font-weight: 600; color: var(--blue-soft); }
.section-more:hover { text-decoration: underline; }

/* Horizontal Rail (Home) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 152px; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.rail.locais-rail { grid-auto-columns: 156px; }

/* Grids (Directories) */
.events-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.locais-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* Event Card */
.event-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eceae4; border-radius: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; scroll-snap-align: start; }
.event-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.event-thumb { width: 100%; aspect-ratio: 4 / 5; background: #eceff2; overflow: hidden; position: relative; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-thumb .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9aa5b1; font-size: 0.78rem; padding: 8px; text-align: center; }
.event-body { padding: 9px 9px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-title { font-size: 0.8rem; font-weight: 700; color: #333; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.date-pill { display: inline-block; align-self: flex-start; background: var(--pill-bg); color: #5a626a; font-size: 0.68rem; font-weight: 700; padding: 3px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.01em; }
.card-loc { display: flex; align-items: flex-start; gap: 4px; font-size: 0.72rem; color: #666; line-height: 1.25; margin-top: auto; }
.card-loc svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--blue-soft); margin-top: 1px; }
.card-loc span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Local Card */
.local-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eceae4; border-radius: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; scroll-snap-align: start; }
.local-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.local-thumb { width: 100%; aspect-ratio: 16 / 11; background: #eceff2; overflow: hidden; }
.local-thumb img { width: 100%; height: 100%; object-fit: cover; }
.local-body { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.local-title { font-size: 0.82rem; font-weight: 700; color: #333; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Detail Hero */
.detail-hero { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: var(--block-gap); display: flex; gap: 20px; align-items: flex-start; }
.detail-poster { width: 180px; flex: 0 0 180px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #eceff2; border: 1px solid #eee; }
.detail-poster.square { width: 112px; flex: 0 0 112px; aspect-ratio: 1 / 1; }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { margin: 0 0 12px; font-size: 1.48rem; font-weight: 800; color: #363636; line-height: 1.25; }
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.meta-item { display: flex; align-items: flex-start; gap: 8px; font-size: 0.86rem; color: #555; }
.meta-item svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--blue-soft); margin-top: 2px; }
.meta-item a { color: var(--ink); font-weight: 700; }
.meta-item a:hover { color: var(--blue-soft); text-decoration: underline; }

/* Detail 2-column layout */
.detail-cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--block-gap); align-items: start; }
.detail-cols > div { display: flex; flex-direction: column; gap: var(--block-gap); min-width: 0; }
.detail-cols > div > .section-card { margin-bottom: 0; }
.prose { font-size: 0.92rem; color: #444; white-space: pre-line; margin: 0; line-height: 1.65; }
.sub-divider { border: 0; border-top: 1px solid #eee; margin: 14px 0; }
.sub-label { font-size: 0.82rem; font-weight: 700; color: #666; margin: 0 0 4px; }

/* Gallery Carousel (Instagram-style horizontal swipe) */
.gallery-stage { position: relative; background: #f7f7f7; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-stage.local-gallery { aspect-ratio: 16 / 10; background: #eef1f5; }
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-draggable { cursor: grab; }
.gallery-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fafaf8;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .2s ease, filter .2s ease;
}
.gallery-stage.local-gallery .gallery-slide img {
  object-fit: cover;
  object-position: center;
  background: #eef1f5;
}
.gallery-track.is-dragging .gallery-slide img { cursor: grabbing; }
.gallery-stage.is-loading img, .pb-lightbox-inner.is-loading img { opacity: 0.45; filter: saturate(0.85); }
.gallery-loader {
  position: absolute; inset: 0; margin: auto; width: 38px; height: 38px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(17, 24, 39, 0.14);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .16s ease; z-index: 3;
}
.gallery-stage.is-loading .gallery-loader, .pb-lightbox-inner.is-loading .gallery-loader { opacity: 1; }
.pb-lightbox-inner .gallery-loader { background: rgba(17, 24, 39, 0.72); border: 1px solid rgba(255, 255, 255, 0.14); }
.gallery-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.2px solid rgba(243, 146, 0, 0.24);
  border-top-color: var(--orange);
  animation: pb-gal-spin .68s linear infinite;
}
.pb-lightbox-inner .gallery-spinner { border-color: rgba(255, 255, 255, 0.22); border-top-color: var(--orange); }
@keyframes pb-gal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .gallery-spinner { animation-duration: 1.4s; }
  .gallery-track { scroll-behavior: auto; }
}
.gallery-counter { position: absolute; right: 10px; bottom: 10px; z-index: 3; padding: 3px 9px; border-radius: 999px; background: rgba(17, 24, 39, 0.72); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; pointer-events: none; backdrop-filter: blur(4px); }
.gallery-zoom-hint { position: absolute; left: 10px; bottom: 10px; z-index: 3; padding: 3px 8px; border-radius: 999px; background: rgba(17, 24, 39, 0.58); color: #fff; font-size: 0.7rem; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .15s ease; }
.gallery-stage:hover .gallery-zoom-hint { opacity: 1; }
.gallery-zoom-ico { display: none; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; background: rgba(255,255,255,0.92); border: 1px solid rgba(0,0,0,0.08); color: var(--orange); width: 36px; height: 36px; border-radius: 50%; font-size: 1.25rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.14); transition: transform .12s, background .12s; }
.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-caption { font-size: 0.78rem; color: #777; margin-top: 8px; text-align: center; }
.gallery-dots { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.gallery-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: #cfd5dc; padding: 0; cursor: pointer; transition: width .18s ease, background .18s ease, transform .12s ease; }
.gallery-dots button:hover { background: #a8b4c0; transform: scale(1.12); }
.gallery-dots button.active { width: 24px; background: var(--orange); }

/* Lightbox modal for gallery full view */
.pb-lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(12, 18, 26, 0.88); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; gap: 10px; touch-action: pan-y; }
.pb-lightbox-inner { position: relative; max-width: 92vw; max-height: 82vh; display: flex; align-items: center; justify-content: center; }
.pb-lightbox-inner img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 18px 48px rgba(0,0,0,0.45); background: #111; user-select: none; -webkit-user-drag: none; transition: transform .22s ease, opacity .2s ease; }
.pb-lightbox-inner img.is-swiping { transition: none; }
.pb-lightbox-close { position: fixed; top: 16px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(17,24,39,0.75); color: #fff; font-size: 1.45rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; }
.pb-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.pb-lightbox-cap { color: rgba(255,255,255,0.9); font-size: 0.84rem; text-align: center; max-width: 720px; }

/* Tabs (Relacionados — Segmented Slider) */
.tabs-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4px;
  margin-top: 14px;
  border-radius: 10px;
  background: #f2f0ea;
  border: 1px solid #e4e1d8;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tabs-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 7px;
  background: var(--orange);
  box-shadow: 0 2px 6px rgba(243, 146, 0, 0.28);
  transform: translateX(0);
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.26s ease, box-shadow 0.26s ease;
  pointer-events: none;
  z-index: 0;
}
.tabs-bar[data-active="pas"] .tabs-slider {
  transform: translateX(100%);
  background: var(--blue-soft);
  box-shadow: 0 2px 6px rgba(29, 112, 184, 0.26);
}
.tabs-bar button {
  position: relative;
  z-index: 1;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: transparent;
  color: #5b6066;
  transition: color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.tabs-bar button:hover { color: var(--ink); }
.tabs-bar button.active { color: #fff; }
.tabs-bar button.active:hover { color: #fff; }
@keyframes pb-tab-slide-in-right { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pb-tab-slide-in-left { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.mini-grid.tab-anim-right { animation: pb-tab-slide-in-right 0.22s ease-out; }
.mini-grid.tab-anim-left { animation: pb-tab-slide-in-left 0.22s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .tabs-slider { transition: none; }
  .mini-grid.tab-anim-right, .mini-grid.tab-anim-left { animation: none; }
}

/* Ticket CTA & Interstitial Popup */
.ticket-cta-wrap { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.btn-ticket { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font: inherit; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; box-shadow: 2px 2px 4px rgba(170,170,170,0.4); transition: background .15s, transform .1s; text-align: center; }
.btn-ticket:hover { background: #d66f02; }
.btn-ticket.blue { background: var(--blue-soft); }
.btn-ticket.blue:hover { background: #0041a8; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.58); display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal-card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 12px; padding: 22px 20px 24px; box-shadow: 0 18px 48px rgba(0,0,0,0.28); text-align: center; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f2f2f2; color: #444; font-size: 1.25rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: #e5e5e5; }
.modal-ad-slot { margin: 14px 0 16px; min-height: 120px; border-radius: 8px; border: 1px dashed #d7d4cc; background: #faf9f5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; color: #7a7a7a; font-size: 0.8rem; }
.modal-countdown { font-size: 0.94rem; font-weight: 700; color: #444; margin: 10px 0 4px; line-height: 1.45; }
.modal-countdown strong { color: var(--orange); font-size: 1.08rem; }

/* Embedded YouTube Video */
.video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; }
.video-stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.video-controls .gallery-caption { margin-top: 0; flex: 1; }
.video-nav-btns { display: inline-flex; gap: 6px; flex-shrink: 0; }
.video-nav-btns button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #ddd; background: #fff; color: var(--orange); font-size: 1.05rem; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.video-nav-btns button:hover { background: #fff5e6; }

/* Pagina Sobre */
.sobre-prose h3 { margin: 18px 0 6px; font-size: 1rem; font-weight: 800; color: #363636; }
.sobre-prose h3:first-child { margin-top: 0; }
.sobre-prose p { margin: 0 0 12px; font-size: 0.93rem; color: #444; line-height: 1.65; }
.sobre-prose ul { margin: 6px 0 14px 20px; padding: 0; color: #444; font-size: 0.93rem; line-height: 1.65; }
.sobre-prose li { margin-bottom: 8px; }
.sobre-prose a { color: var(--blue-soft); font-weight: 600; }
.sobre-prose a:hover { text-decoration: underline; }
.social-box a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-soft); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.social-box a:hover { text-decoration: underline; }

/* Links & Contacts */
.links-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid #dce3ea; border-radius: 8px; font-size: 0.82rem; font-weight: 600; color: var(--blue); background: #f8fafc; transition: background .14s, border-color .14s, transform .12s; }
.link-chip:hover { background: #edf4fb; border-color: #b4cde2; transform: translateY(-1px); }
.link-chip-ico { width: 16px; height: 16px; flex: 0 0 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--orange); }
.link-chip-ico svg { width: 16px; height: 16px; display: block; }
.link-chip-ext { opacity: 0.55; font-size: 0.76rem; }

/* Filters Bar */
.filters-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; margin-bottom: var(--block-gap); display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.filter-title { font-weight: 700; font-size: 0.9rem; color: #444; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 8px; margin-right: 4px; }
.filter-field { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 170px; }
.filter-field label { font-size: 0.78rem; font-weight: 600; color: #666; }
.filter-field select, .filter-field input { padding: 8px 10px; border: 1px solid #d7d7d7; border-radius: 6px; background: #fafafa; font: inherit; font-size: 0.86rem; color: var(--ink); }
.btn-primary { background: var(--orange); color: #fff; border: 0; border-radius: 6px; padding: 9px 15px; font: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer; }
.btn-clear { background: #e8e8e8; color: #444; border: 0; border-radius: 6px; padding: 9px 14px; font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; text-transform: uppercase; }
.search-wide { width: 100%; display: flex; gap: 8px; }
.search-wide input { flex: 1; padding: 11px 14px; border: 1px solid #e2e2e2; border-radius: 8px; background: #f8f8f8; font: inherit; font-size: 0.95rem; }

/* Pagination & Empty State */
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.84rem; color: var(--muted); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 12px; border-radius: 6px; border: 1px solid var(--border); background: #fff; font-size: 0.84rem; font-weight: 600; color: #444; }
.pagination span.current { background: var(--orange); border-color: var(--orange); color: #fff; }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state h3 { margin: 0 0 8px; color: var(--ink); }

/* Notice */
.disclaimer { font-size: 0.82rem; color: #666; line-height: 1.5; }

/* Search page (/busca) */
.search-hero-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-hero-input-wrap { position: relative; flex: 1 1 320px; display: flex; align-items: center; }
.search-hero-input-wrap input { width: 100%; height: 42px; border: 1px solid #d9d6cf; border-radius: 8px; padding: 0 38px 0 14px; font-size: 0.94rem; font-family: inherit; background: #fafaf8; color: var(--ink); }
.search-hero-input-wrap input:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(243,146,0,0.14); }
.search-hero-clear { position: absolute; right: 8px; color: #777; font-size: 0.9rem; line-height: 1; min-width: 28px; min-height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; text-decoration: none; }
.search-hero-clear:hover { color: var(--ink); text-decoration: none; }
.search-hero-select { height: 42px; border: 1px solid #d9d6cf; border-radius: 8px; padding: 0 10px; font-size: 0.85rem; font-family: inherit; background: #fff; color: var(--ink); }
.search-hero-btn { height: 42px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; font-size: 0.88rem; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; }
.search-hero-btn:hover { filter: brightness(0.96); }
.search-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0eee9; }
.search-tab { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid #e2dfd7; background: #fafaf8; color: #555; font-size: 0.84rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .15s; }
.search-tab:hover { border-color: var(--orange); color: var(--ink); }
.search-tab.active { background: #fff4e2; border-color: var(--orange); color: #9a5800; }
.search-tab .tab-count { background: rgba(0,0,0,0.07); color: inherit; font-size: 0.74rem; padding: 2px 7px; border-radius: 999px; font-weight: 800; }
.search-tab.active .tab-count { background: var(--orange); color: #fff; }
.section-count-pill { background: #f2f1ed; color: #555; font-size: 0.74rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #f4f3ef; border: 1px solid #e6e4dc; color: #444; font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.search-chip:hover { border-color: var(--orange); background: #fff7eb; color: #9a5800; text-decoration: none; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #f39200, #ea8600); color: #fff; padding: 36px 20px 44px; margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-col h4 { margin: 0 0 10px; font-size: 0.92rem; font-weight: 800; }
.footer-col a, .footer-col p { display: block; margin: 0 0 6px; font-size: 0.84rem; color: rgba(255,255,255,0.92); }
.footer-col a.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: #fff; text-decoration: none; }
.footer-col a.brand:hover { text-decoration: none; opacity: 0.95; }
.footer-col a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1080px) {
  .events-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .locais-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  :root { --block-gap: 14px; }
  .site-header { transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease; will-change: transform; }
  .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
  .site-header.is-scrolled:not(.is-hidden) { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
  .header-inner { flex-direction: column; align-items: center; gap: 6px; padding: 14px 14px 8px; }
  .brand { justify-content: center; margin: 0 auto; }
  .brand-logo { height: 42px; }
  .brand-logo-footer { height: 110px; }
  .main-nav { width: 100%; justify-content: center; gap: 13px; flex-wrap: nowrap; }
  .main-nav a { font-size: 0.86rem; padding: 6px 2px 5px; white-space: nowrap; }
  .mobile-search-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; flex: 0 0 32px; margin-left: 2px;
    border-radius: 8px; border: 1px solid #e6e4de; background: #f6f5f1; color: #555;
    cursor: pointer; padding: 0; transition: background .15s, border-color .15s, color .15s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-search-toggle:hover, .site-header.search-open .mobile-search-toggle {
    background: #fff3e0; border-color: #f3c47e; color: var(--orange-dark);
  }
  .header-search {
    display: none; order: 3; width: 100%; max-width: none; flex-basis: auto;
    margin: 4px 0 4px;
  }
  .site-header.search-open .header-search {
    display: flex;
    animation: pb-search-reveal 0.18s ease-out;
  }
  @keyframes pb-search-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
  .social-links { display: none; }
  .page-wrap { padding: 0 14px; margin-top: var(--block-gap); margin-bottom: 32px; }
  .section-card { padding: 18px 18px 20px; }
  .filters-bar { padding: 16px 18px; }
  .local-record-meta { padding: 12px 18px; }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .locais-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .detail-hero { flex-direction: row; gap: 14px; padding: 16px 18px; }
  .detail-info h1 { font-size: 1.2rem; margin-bottom: 8px; }
  .meta-grid { grid-template-columns: 1fr; gap: 6px; }
  .detail-cols { grid-template-columns: 1fr; }
  .gallery-nav { width: 32px; height: 32px; font-size: 1.1rem; background: rgba(255,255,255,0.82); }
  .gallery-zoom-hint { display: none; }
  .gallery-counter { top: 10px; right: 10px; bottom: auto; }
  .gallery-zoom-ico {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(17, 24, 39, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    pointer-events: none;
    opacity: 0.86;
  }
  .gallery-zoom-ico svg { width: 14px; height: 14px; display: block; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 780px) and (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .site-header.search-open .header-search { animation: none; }
}
@media (max-width: 360px) {
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 0.81rem; }
}
@media (max-width: 520px) {
  .detail-poster { width: 112px; flex: 0 0 112px; }
  .detail-poster.square { width: 78px; flex: 0 0 78px; }
  .detail-info h1 { font-size: 1.1rem; }
}

/* Event Detail Hero — Desktop identico ao piloto original; Mobile/Tablet com Combinada A+C */
.detail-hero.event-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "poster title"
    "poster right";
  column-gap: 20px;
  row-gap: 0;
  align-items: start;
  padding: 20px 24px;
}
.event-hero-poster-wrap {
  grid-area: poster;
  width: 100%;
}
.event-hero-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: #eceff2;
  border: 1px solid #eee;
  padding: 0;
  font: inherit;
  color: inherit;
  display: block;
}
.event-hero-poster.is-zoomable {
  cursor: zoom-in;
  transition: box-shadow 0.18s ease;
}
.event-hero-poster.is-zoomable:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.event-hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.22s ease;
}
.event-hero-poster.is-zoomable:hover img {
  transform: scale(1.02);
}
.event-hero-poster .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b1;
  font-size: 0.82rem;
  padding: 10px;
  text-align: center;
}
.poster-zoom-ico {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(17, 24, 39, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0.86;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.event-hero-poster.is-zoomable:hover .poster-zoom-ico {
  opacity: 1;
  background: rgba(17, 24, 39, 0.82);
}
.poster-zoom-ico svg {
  width: 14px;
  height: 14px;
  display: block;
}
.event-hero-title {
  grid-area: title;
  margin: 0 0 12px;
  text-align: left;
  font-size: 1.48rem;
  font-weight: 800;
  color: #363636;
  line-height: 1.25;
}
.event-hero-divider {
  display: none;
  grid-area: divider;
  height: 1px;
  background: #efede7;
  border: 0;
}
.event-hero-right {
  grid-area: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.event-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
  min-width: 0;
}
.event-service-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.event-service-kicker {
  display: none;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange-dark);
  line-height: 1.1;
}
.event-service-kicker.blue {
  color: var(--blue);
}
.event-service-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #555;
  min-width: 0;
}
.event-service-row span, .event-service-row a {
  min-width: 0;
  overflow-wrap: break-word;
}
.event-service-row svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: block;
  color: var(--blue-soft);
  margin-top: 1.5px;
}
.event-service-row strong {
  color: inherit;
  font-weight: 400;
}
.event-service-row a {
  color: var(--ink);
  font-weight: 700;
}
.event-service-row a:hover {
  color: var(--blue-soft);
  text-decoration: underline;
}
.event-hero-tags {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 22px;
}
.event-hero-tag {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: 0.86rem;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
}
.event-hero-tag svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--blue-soft);
  margin-top: 2px;
}

/* Tablet & Mobile (<= 780px): Combinada A+C com topo alinhado, subblocos brancos e tags na coluna direita */
@media (max-width: 780px) {
  .event-meta-desk-only {
    display: none;
  }
  .detail-hero.event-hero {
    grid-template-columns: 184px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "title title"
      "divider divider"
      "poster right";
    column-gap: 18px;
    row-gap: 13px;
    align-items: start;
    padding: 18px 20px 20px;
  }
  .event-hero-title {
    margin: 0;
    text-align: center;
    font-size: 1.38rem;
    color: #2b2f33;
    line-height: 1.24;
    letter-spacing: -0.015em;
  }
  .event-hero-divider {
    display: block;
    margin: -2px 0;
  }
  .event-hero-poster {
    border-color: rgba(0, 0, 0, 0.08);
  }
  .event-hero-right {
    gap: 10px;
  }
  .event-hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }
  .event-service-card {
    background: #ffffff;
    border: 1px solid #ece9e0;
    border-radius: 8px;
    padding: 10px 11px;
    gap: 5px;
  }
  .event-service-kicker {
    display: block;
    font-size: 0.66rem;
  }
  .event-service-row {
    font-size: 0.79rem;
    line-height: 1.38;
    gap: 6px;
    color: #4e5359;
  }
  .event-service-row strong {
    color: #2f3338;
    font-weight: 700;
  }
  .event-service-row a {
    color: var(--blue);
    font-weight: 700;
  }
  .event-service-row svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-top: 1px;
  }
  .event-hero-tags {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
  }
  .event-hero-tag {
    align-items: flex-start;
    padding: 6px 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #ece9e0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #52565b;
    gap: 6px;
    line-height: 1.34;
    min-width: 0;
  }
  .event-hero-tag span {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .event-hero-tag svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-top: 2px;
  }
}
@media (max-width: 640px) {
  .detail-hero.event-hero {
    grid-template-columns: 152px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 10px;
    padding: 16px 15px 16px;
  }
  .event-hero-title {
    font-size: 1.2rem;
  }
  .event-hero-right {
    gap: 7px;
  }
  .event-hero-meta {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .event-service-card {
    padding: 8px 9px;
    gap: 4px;
  }
  .event-service-kicker {
    font-size: 0.63rem;
  }
  .event-service-row {
    font-size: 0.74rem;
    line-height: 1.34;
    gap: 5px;
  }
  .event-service-row svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-top: 1px;
  }
  .event-hero-tags {
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
  }
  .event-hero-tag {
    width: 100%;
    font-size: 0.72rem;
    padding: 7px 9px;
    gap: 5px;
  }
  .event-hero-tag svg {
    margin-top: 1px;
  }
}
@media (max-width: 360px) {
  .detail-hero.event-hero {
    grid-template-columns: 128px minmax(0, 1fr);
  }
  .event-hero-title {
    font-size: 1.12rem;
  }
}


/* Rich Local / Espacos Teatrais details */
.local-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.local-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 700;
  line-height: 1.3;
}
.local-badge.cat { background: #e8f1f8; color: #164f78; border: 1px solid #c9ddeb; }
.local-badge.open { background: #e6f6ec; color: #166534; border: 1px solid #bbf7d0; }
.local-badge.closed { background: #f3f4f6; color: #6b7280; border: 1px solid #d1d5db; }
.local-badge.meta { background: #f7f6f2; color: #444; border: 1px solid #e2dfd7; font-weight: 600; }

.local-facts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 10px; margin-bottom: 14px;
}
.local-fact {
  background: #f8f9fb; border: 1px solid #e4e8ee; border-radius: 8px;
  padding: 10px 12px; display: flex; align-items: flex-start; gap: 10px;
}
.lf-icon {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 7px;
  background: #fff3e0; color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.lf-icon svg { width: 15px; height: 15px; display: block; }
.lf-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lf-label { font-size: 0.7rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.lf-val { font-size: 0.90rem; color: #173348; font-weight: 800; line-height: 1.25; }

.local-subblock { margin-top: 12px; }
.local-subblock:first-child { margin-top: 0; }
.local-subblock h3 { font-size: 0.86rem; font-weight: 800; color: #164f78; margin: 0 0 4px; }

/* Local Video Playlist */
.video-playlist-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.video-playlist-counter { font-size: 0.76rem; font-weight: 700; color: var(--blue); background: #eef4fa; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.video-playlist { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; max-height: 290px; overflow-y: auto; padding-right: 2px; }
.video-pl-item {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 8px 10px; border-radius: 9px; border: 1px solid #e4e6eb; background: #fafaf8;
  cursor: pointer; font: inherit; color: var(--ink); transition: background .14s, border-color .14s;
}
.video-pl-item:hover { background: #f3f6fa; border-color: #c5d6e5; }
.video-pl-item.active { background: #fff7eb; border-color: var(--orange); box-shadow: inset 3px 0 0 var(--orange); }
.video-pl-idx { width: 22px; flex: 0 0 22px; text-align: center; font-size: 0.76rem; font-weight: 800; color: #64748b; }
.video-pl-item.active .video-pl-idx { color: var(--orange); }
.video-pl-thumb { width: 88px; flex: 0 0 88px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #111; position: relative; }
.video-pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-pl-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.video-pl-title { font-size: 0.83rem; font-weight: 700; color: #173348; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-pl-sub { font-size: 0.72rem; color: #64748b; }
.video-pl-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--orange); color: #fff; white-space: nowrap; display: none; }
.video-pl-item.active .video-pl-badge { display: inline-block; }

.local-events-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 12px; padding: 9px 14px; border-radius: 8px;
  border: 1px solid #d5e2ee; background: #f5f9fd; color: var(--blue);
  font-size: 0.82rem; font-weight: 700; text-align: center; transition: background .14s, border-color .14s;
}
.local-events-more:hover { background: #e8f2fb; border-color: #9dc2dd; }

.local-record-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 22px; margin-top: var(--block-gap); font-size: 0.78rem; color: #64748b;
}
.local-record-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.local-record-meta-item svg { width: 14px; height: 14px; flex: 0 0 14px; color: var(--blue-soft); }
.local-record-meta-item strong { color: #3d4f60; font-weight: 700; }

.contact-list { display: flex; flex-direction: column; gap: 6px; }
.contact-item {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 11px; border-radius: 8px; background: #f8fafc;
  border: 1px solid #dfe7ef; color: #173348; font-size: 0.84rem;
  text-decoration: none; transition: background .12s, border-color .12s;
}
.contact-item:hover { background: #eef6fc; border-color: #9dc2dd; }
.contact-item-ico { width: 16px; height: 16px; flex: 0 0 16px; color: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.contact-item-ico svg { width: 16px; height: 16px; display: block; }


/* Noticias (Home rail, /noticias directory, /noticia/:slug article) */
.news-rail { grid-auto-columns: 270px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.news-grid.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.news-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #e7e4dc; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,51,72,0.09); border-color: #c9d9e6; }
.news-thumb { position: relative; aspect-ratio: 16 / 10; background: #eef1f5; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-cat-pill {
  position: absolute; top: 8px; left: 8px;
  background: rgba(21, 94, 137, 0.92); color: #fff;
  font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.01em;
}
.news-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-title {
  margin: 0; font-size: 0.93rem; font-weight: 800; line-height: 1.32; color: #173348;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-sub {
  margin: 0; font-size: 0.79rem; line-height: 1.42; color: #5b6773;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-date {
  margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 600; color: #64748b; white-space: nowrap;
}
.news-date svg, .article-date svg {
  width: 14px; height: 14px; flex: 0 0 14px; display: inline-block;
}

.article-card { padding: 26px 28px; }
.article-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.article-date { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; color: #64748b; font-weight: 600; white-space: nowrap; }
.article-title { margin: 0 0 10px; font-size: clamp(1.38rem, 2.5vw, 1.95rem); line-height: 1.24; color: #173348; font-weight: 800; }
.article-sub { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.5; color: #475569; font-weight: 500; }
.article-figure { margin: 0 0 22px; }
.article-figure img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 10px; display: block; background: #eef1f5; }
.article-figure figcaption { margin-top: 7px; font-size: 0.78rem; color: #64748b; font-style: italic; }
.article-body { display: flex; flex-direction: column; gap: 14px; font-size: 0.99rem; line-height: 1.74; color: #243342; }
.article-body .prose { margin: 0; }
.article-h2 { margin: 10px 0 0; font-size: 1.15rem; font-weight: 800; color: #164f78; line-height: 1.35; }
.article-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.article-body a { color: #155e89; font-weight: 600; text-decoration: underline; word-break: break-word; }
.article-body a:hover { color: #c2410c; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

/* Noticia article + right sidebar layout */
.news-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: var(--block-gap); align-items: start; }
.news-article-layout.single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.news-sidebar { position: sticky; top: 82px; }
.news-sidebar-list { display: flex; flex-direction: column; gap: 10px; }
.news-side-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px; border-radius: 8px; border: 1px solid #efede7; background: #fcfbf9;
  text-decoration: none; color: inherit; transition: background .14s, border-color .14s, transform .12s;
}
.news-side-item:hover { background: #f3f7fb; border-color: #c7d9e8; transform: translateY(-1px); }
.news-side-thumb { width: 92px; flex: 0 0 92px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #eef1f5; }
.news-side-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-side-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.news-side-title {
  margin: 0; font-size: 0.82rem; font-weight: 700; line-height: 1.3; color: #173348;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-side-date { display: inline-flex; align-items: center; gap: 4px; font-size: 0.71rem; font-weight: 600; color: #64748b; }
.news-side-date svg { width: 12px; height: 12px; flex: 0 0 12px; }

@media (max-width: 920px) {
  .news-article-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
}
@media (max-width: 640px) {
  .article-card { padding: 20px 18px; }
}
