:root {
  --bg-top: #FDFDFC;
  --bg-bottom: #F5F5F2;
  --text: #090909;
  --muted: #777777;
  --chip: #F1F1F1;
  --line: #ECECEC;
  --hero-height: 230px;
  --event-card-width: 190px;
  --event-image-height: 120px;
  --content-max: 980px;
  --nav-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-bottom); }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

.rp-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .075;
  background-image: url('../img/republic-mark.svg');
  background-size: 114px auto;
  background-repeat: repeat;
  background-position: -18px 25px;
  transform: rotate(-9.16deg) scale(1.12);
  transform-origin: center;
  filter: grayscale(1);
}

.rp-home {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: 18px 20px calc(var(--nav-h) + 48px + var(--safe-bottom));
}

.rp-topbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rp-brand { display: inline-flex; align-items: baseline; text-decoration: none; white-space: nowrap; }
.rp-brand-main { font-size: 17px; font-weight: 900; letter-spacing: .8px; }
.rp-brand-pass { margin-left: 4px; font-size: 17px; font-weight: 400; letter-spacing: 1.2px; color: #4B4B4B; }
.rp-icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111;
  cursor: pointer;
}
.rp-icon-button:hover { background: rgba(0,0,0,.045); }
.rp-icon-button .material-symbols-rounded { font-size: 25px; }

.rp-featured-wrap { margin-top: 18px; }
.rp-featured {
  position: relative;
  height: var(--hero-height);
  overflow: hidden;
  border-radius: 24px;
  background: #131313;
  box-shadow: 0 7px 28px rgba(0,0,0,.06);
  touch-action: pan-y;
}
.rp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 360ms ease-in-out, transform 360ms cubic-bezier(.65,0,.35,1);
  pointer-events: none;
}
.rp-hero-slide.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; z-index: 2; }
.rp-hero-link { position: absolute; inset: 0; display: block; text-decoration: none; border-radius: 24px; overflow: hidden; }
.rp-hero-image, .rp-image-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-image-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2A2A2A, #0A0A0A);
}
.rp-image-fallback img { width: 96px; opacity: .2; filter: invert(1); }
.rp-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.13), rgba(0,0,0,.9));
}
.rp-hero-copy { position: absolute; left: 20px; right: 20px; bottom: 20px; color: white; }
.rp-feature-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 20px;
  background: white;
  color: #090909;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.4px;
}
.rp-hero-copy h1 {
  max-width: 82%;
  margin: 10px 0 9px;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.7px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.rp-hero-copy p {
  margin: 0;
  color: #E6E6E6;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-featured-dots {
  min-height: 19px;
  padding-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.rp-featured-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 20px;
  background: #D0D0D0; cursor: pointer; transition: width 220ms ease, background 220ms ease;
}
.rp-featured-dots button.is-active { width: 22px; background: #000; }

.rp-quick-filters {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 1px 0;
}
.rp-quick-filters::-webkit-scrollbar, .rp-event-rail::-webkit-scrollbar { display: none; }
.rp-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 12px;
  border: 0;
  border-radius: 20px;
  background: var(--chip);
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}
.rp-chip b { font-weight: 800; }
.rp-chip .material-symbols-rounded { font-size: 17px; font-variation-settings: 'FILL' 0, 'wght' 550, 'GRAD' 0, 'opsz' 20; }
.rp-chip:hover { background: #E9E9E9; }
.rp-chip.is-selected { background: #111; color: #fff; }

.rp-loading { margin-top: 30px; }
.rp-skeleton { background: linear-gradient(90deg,#ededeb 25%,#f7f7f5 50%,#ededeb 75%); background-size: 220% 100%; animation: rp-shimmer 1.1s linear infinite; }
.rp-skeleton-title { width: 180px; height: 24px; border-radius: 8px; margin-bottom: 14px; }
.rp-skeleton-row { display: flex; gap: 12px; overflow: hidden; }
.rp-skeleton-card { flex: 0 0 var(--event-card-width); height: 220px; border-radius: 14px; }
@keyframes rp-shimmer { to { background-position: -220% 0; } }

.rp-empty {
  min-height: 340px;
  padding: 72px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.rp-empty .material-symbols-rounded { font-size: 44px; font-variation-settings: 'FILL' 1, 'wght' 450, 'GRAD' 0, 'opsz' 48; }
.rp-empty strong { margin-top: 10px; font-weight: 800; }
.rp-empty p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.rp-event-section { margin-top: 30px; }
.rp-section-head { display: flex; align-items: flex-end; gap: 18px; justify-content: space-between; }
.rp-section-head > div { min-width: 0; }
.rp-section-head h2, .rp-categories h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: -.35px;
  font-weight: 900;
}
.rp-section-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.rp-section-head > a { flex: 0 0 auto; padding: 7px 4px; text-decoration: none; font-size: 13px; font-weight: 600; }
.rp-section-head > a:hover { text-decoration: underline; }
.rp-event-rail {
  height: 230px;
  margin-top: 12px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  padding: 0 1px 2px;
}
.rp-event-rail-wrap { height: auto; flex-wrap: wrap; overflow: visible; }
.rp-event-card {
  flex: 0 0 var(--event-card-width);
  width: var(--event-card-width);
  height: 230px;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 1px 4px rgba(0,0,0,.07);
  text-decoration: none;
  scroll-snap-align: start;
  animation: rp-card-in 320ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes rp-card-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.rp-event-visual { position: relative; width: 100%; height: var(--event-image-height); overflow: hidden; background: #171717; }
.rp-event-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.rp-event-visual .rp-image-fallback { position: absolute; }
.rp-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 48px;
  padding: 6px 0;
  border-radius: 11px;
  background: white;
  text-align: center;
  color: #090909;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.rp-date-badge strong { display: block; font-size: 17px; line-height: 1; font-weight: 900; }
.rp-date-badge span { display: block; margin-top: 2px; font-size: 9px; line-height: 1.1; font-weight: 800; }
.rp-event-body { padding: 12px; }
.rp-stock-badge {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.rp-event-title {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 800;
}
.rp-event-location {
  margin-top: 5px;
  display: flex;
  align-items: center;
  min-width: 0;
  color: #555;
  font-size: 12px;
}
.rp-event-location .material-symbols-rounded { flex: 0 0 auto; margin-right: 3px; font-size: 14px; }
.rp-event-location span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rp-categories { margin-top: 22px; }
.rp-category-list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.rp-filter-results { margin-top: 30px; }

.rp-bottom-nav {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, var(--content-max));
  min-height: calc(var(--nav-h) + var(--safe-bottom));
  padding: 7px 12px calc(7px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 6px;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.025);
  backdrop-filter: blur(16px);
}
.rp-nav-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #8A8A8A;
  font-size: 10.5px;
  line-height: 1;
}
.rp-nav-icon { width: 42px; height: 33px; display: grid; place-items: center; border-radius: 18px; }
.rp-nav-item .material-symbols-rounded { font-size: 23px; }
.rp-nav-item.is-active { color: #111; font-weight: 700; }
.rp-nav-item.is-active .rp-nav-icon { background: #F4F4F4; }
.rp-nav-item.is-active .material-symbols-rounded { font-variation-settings: 'FILL' 1, 'wght' 550, 'GRAD' 0, 'opsz' 24; }

[hidden] { display: none !important; }

@media (max-width: 760px) {
  :root { --content-max: 100%; }
  .rp-pattern { background-size: 96px auto; }
  .rp-home { padding-left: 20px; padding-right: 20px; }
  .rp-hero-copy h1 { max-width: 94%; }
  .rp-section-head > a { font-size: 12.5px; }
}

@media (min-width: 761px) {
  .rp-home { padding-top: 22px; padding-left: 28px; padding-right: 28px; }
  .rp-topbar { padding: 0 2px; }
  .rp-hero-copy { left: 26px; right: 26px; bottom: 25px; }
  .rp-hero-copy h1 { font-size: 33px; max-width: 70%; }
  .rp-event-rail { scroll-padding-left: 1px; }
  .rp-bottom-nav { border-left: 1px solid rgba(0,0,0,.035); border-right: 1px solid rgba(0,0,0,.035); border-radius: 18px 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.rp-hero-image.is-fallback-img,
.rp-event-image.is-fallback-img {
  object-fit: contain;
  padding: 34px;
  background: linear-gradient(135deg, #2A2A2A, #0A0A0A);
  filter: invert(1);
  opacity: .28;
}


/* ===== Republic Pass — identidade oficial + desktop premium ===== */
.rp-pattern {
  background-image: url('../img/republic-symbol-black.jpg');
  background-size: 118px auto;
  mix-blend-mode: multiply;
  opacity: .038;
}

.rp-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.rp-brand-logo {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.rp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rp-desktop-nav,
.rp-producer-link,
.rp-top-cta,
.rp-featured-side,
.rp-desktop-footer {
  display: none;
}

.rp-image-fallback img {
  width: 92px;
  max-height: 70%;
  object-fit: contain;
  opacity: .32;
  filter: none;
  mix-blend-mode: screen;
}
.rp-hero-image.is-fallback-img,
.rp-event-image.is-fallback-img,
.rp-feature-side-image.is-fallback-img {
  object-fit: contain;
  padding: 34px;
  background: #090909;
  filter: none;
  opacity: .34;
}


@media (min-width: 1024px) {
  :root {
    --content-max: 1440px;
    --hero-height: 520px;
    --event-image-height: 210px;
  }

  html { background: #f3f3f1; }
  body {
    background:
      radial-gradient(circle at 15% -10%, rgba(255,255,255,.95), rgba(255,255,255,0) 34%),
      linear-gradient(180deg, #fbfbfa 0%, #f3f3f1 100%);
  }

  .rp-pattern {
    background-size: 190px auto;
    opacity: .022;
    transform: rotate(-7deg) scale(1.08);
  }

  .rp-home {
    width: min(100%, var(--content-max));
    padding: 22px 42px 58px;
  }

  .rp-topbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 0 4px 15px;
    border-bottom: 1px solid rgba(0,0,0,.075);
  }

  .rp-brand-logo { width: 218px; }

  .rp-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .rp-desktop-nav a {
    position: relative;
    padding: 11px 14px;
    border-radius: 999px;
    color: #5f5f5f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition: background .18s ease, color .18s ease;
  }
  .rp-desktop-nav a:hover {
    background: rgba(0,0,0,.045);
    color: #0a0a0a;
  }
  .rp-desktop-nav a.is-active {
    color: #090909;
    background: #ededeb;
  }

  .rp-topbar-actions { gap: 10px; }
  .rp-producer-link,
  .rp-top-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: -.1px;
  }
  .rp-producer-link {
    border: 1px solid #d9d9d6;
    background: rgba(255,255,255,.72);
  }
  .rp-producer-link:hover { border-color: #aaa; }
  .rp-top-cta {
    min-width: 84px;
    background: #090909;
    color: white;
  }
  .rp-top-cta:hover { background: #242424; }
  .rp-icon-button {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.8);
    border: 1px solid #e3e3e0;
  }

  .rp-featured-wrap { margin-top: 28px; }
  .rp-featured-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: stretch;
  }
  .rp-featured {
    height: var(--hero-height);
    border-radius: 32px;
    box-shadow: 0 26px 70px rgba(0,0,0,.12);
  }
  .rp-hero-link { border-radius: 32px; }
  .rp-hero-gradient {
    background:
      linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.25) 54%, rgba(0,0,0,.08) 100%),
      linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.66));
  }
  .rp-hero-copy {
    left: 42px;
    right: 42px;
    bottom: 40px;
    max-width: 760px;
  }
  .rp-feature-tag {
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 1.6px;
  }
  .rp-hero-copy h1 {
    max-width: 100%;
    margin: 15px 0 12px;
    font-size: clamp(44px, 4vw, 66px);
    line-height: .96;
    letter-spacing: -2.6px;
  }
  .rp-hero-copy p {
    font-size: 15px;
    color: rgba(255,255,255,.86);
  }

  .rp-featured-side {
    display: flex;
    min-height: var(--hero-height);
    flex-direction: column;
    padding: 25px;
    border-radius: 32px;
    border: 1px solid #e6e6e2;
    background: linear-gradient(145deg, #fff 0%, #f8f8f6 100%);
    color: #141414;
    box-shadow: 0 18px 42px rgba(20,20,20,.07);
    overflow: hidden;
  }
  .rp-featured-side-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e3;
  }
  .rp-featured-side-head img {
    width: 48px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    mix-blend-mode: multiply;
  }
  .rp-featured-side-head div {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }
  .rp-featured-side-head span {
    color: #626262;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
  }
  .rp-featured-side-head strong {
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.12;
    letter-spacing: -.35px;
  }
  .rp-featured-side-list {
    flex: 1;
    min-height: 0;
    padding-top: 10px;
    display: grid;
    align-content: start;
    gap: 7px;
  }
  .rp-feature-side-item {
    width: 100%;
    min-height: 91px;
    display: grid;
    grid-template-columns: 78px minmax(0,1fr);
    align-items: center;
    gap: 13px;
    padding: 9px;
    border: 1px solid #ebebe8;
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    color: #191919;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }
  .rp-feature-side-item:hover {
    background: #f5f5f3;
    border-color: #d0d0cc;
    transform: translateX(2px);
  }
  .rp-feature-side-item:focus-visible {
    outline: 2px solid #161616;
    outline-offset: 2px;
  }
  .rp-feature-side-item.is-active {
    background: #f1f1ef;
    color: #090909;
    border-color: #c9c9c5;
    box-shadow: inset 3px 0 0 #171717, 0 5px 15px rgba(0,0,0,.045);
  }
  .rp-feature-side-visual {
    position: relative;
    width: 78px;
    height: 72px;
    overflow: hidden;
    border-radius: 13px;
    background: #e9e9e6;
  }
  .rp-feature-side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .rp-feature-side-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .rp-feature-side-index {
    margin-bottom: 4px;
    color: #717171;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.1px;
  }
  .rp-feature-side-item.is-active .rp-feature-side-index { color: #555; }
  .rp-feature-side-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 850;
  }
  .rp-feature-side-meta {
    margin-top: 6px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #656565;
    font-size: 10.5px;
    font-weight: 600;
  }
  .rp-feature-side-item.is-active .rp-feature-side-meta { color: #515151; }

  .rp-featured-dots { display: none; }

  .rp-quick-filters {
    margin-top: 23px;
    gap: 9px;
    overflow: visible;
  }
  .rp-chip {
    min-height: 40px;
    padding: 8px 14px;
    background: rgba(255,255,255,.78);
    border: 1px solid #e2e2df;
    box-shadow: 0 3px 12px rgba(0,0,0,.025);
  }
  .rp-chip:hover {
    background: #fff;
    border-color: #c8c8c5;
  }
  .rp-chip.is-selected {
    background: #090909;
    border-color: #090909;
  }

  .rp-loading { margin-top: 62px; }
  .rp-skeleton-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px;
  }
  .rp-skeleton-card {
    width: 100%;
    height: 330px;
    border-radius: 22px;
  }

  .rp-event-section { margin-top: 64px; }
  .rp-section-head { align-items: center; }
  .rp-section-head h2,
  .rp-categories h2 {
    font-size: 32px;
    letter-spacing: -1.05px;
  }
  .rp-section-head p {
    margin-top: 6px;
    font-size: 13px;
  }
  .rp-section-head > a {
    padding: 10px 0;
    font-size: 12px;
    font-weight: 800;
  }

  .rp-event-rail,
  .rp-event-rail-wrap {
    height: auto;
    margin-top: 19px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .rp-event-card {
    width: 100%;
    height: 330px;
    min-width: 0;
    border-radius: 22px;
    box-shadow: 0 8px 28px rgba(0,0,0,.065);
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .rp-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0,0,0,.12);
  }
  .rp-event-visual {
    height: var(--event-image-height);
  }
  .rp-date-badge {
    top: 14px;
    left: 14px;
    width: 52px;
    padding: 8px 0;
    border-radius: 13px;
  }
  .rp-event-body { padding: 17px 18px 18px; }
  .rp-event-title { font-size: 17px; }
  .rp-event-location {
    margin-top: 8px;
    font-size: 12.5px;
  }
  .rp-stock-badge { margin-bottom: 8px; }

  .rp-categories {
    margin-top: 28px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: transparent;
    color: #090909;
    box-shadow: none;
    border-radius: 0;
  }
  .rp-category-list {
    margin-top: 0;
    justify-content: flex-end;
  }
  .rp-category-list .rp-chip {
    color: #090909;
    background: rgba(255,255,255,.8);
    border-color: #dededb;
    box-shadow: 0 3px 12px rgba(0,0,0,.025);
  }
  .rp-category-list .rp-chip:hover {
    background: #fff;
    border-color: #bdbdb8;
  }
  .rp-category-list .rp-chip.is-selected {
    background: #090909;
    color: #fff;
    border-color: #090909;
  }

  .rp-filter-results { margin-top: 64px; }

  .rp-bottom-nav { display: none; }


  .rp-desktop-footer {
    margin-top: 72px;
    min-height: 154px;
    padding: 31px 34px;
    display: grid;
    grid-template-columns: minmax(250px,1.4fr) minmax(300px,1fr) auto;
    align-items: center;
    gap: 36px;
    border-radius: 30px;
    background: #090909;
    color: #fff;
  }
  .rp-desktop-footer-brand img {
    display: block;
    width: 222px;
    height: auto;
    mix-blend-mode: screen;
  }
  .rp-desktop-footer-brand p {
    margin: 11px 0 0;
    color: #9c9c9c;
    font-size: 12px;
  }
  .rp-desktop-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .rp-desktop-footer-links a {
    color: #d8d8d8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
  }
  .rp-desktop-footer-links a:hover { color: white; }
  .rp-desktop-footer > span {
    color: #777;
    font-size: 10px;
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  .rp-event-rail,
  .rp-event-rail-wrap {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .rp-home { padding-left: 28px; padding-right: 28px; }
  .rp-topbar {
    grid-template-columns: 205px minmax(0,1fr) auto;
    gap: 14px;
  }
  .rp-brand-logo { width: 190px; }
  .rp-desktop-nav a { padding-left: 9px; padding-right: 9px; }
  .rp-producer-link { display: none; }
  .rp-featured-stage { grid-template-columns: minmax(0,1fr) 320px; }
  .rp-featured-side { padding: 20px; }
  .rp-feature-side-item { grid-template-columns: 66px minmax(0,1fr); }
  .rp-feature-side-visual { width: 66px; height: 64px; }
}


/* ===== Home com um único evento (ativação automática pelo catálogo) ===== */
.rp-explore-anchor { position: relative; top: -12px; scroll-margin-top: 18px; }
.rp-single-event-info {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e4e4e0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(12,12,12,.045);
}
.rp-single-event-label { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rp-single-event-status {
  display: inline-flex; align-items: center; gap: 7px;
  color: #656565; font-weight: 850; font-size: 10px; letter-spacing: 1.2px;
}
.rp-single-event-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #202020; }
.rp-single-event-label > strong { font-size: 18px; line-height: 1.18; letter-spacing: -.35px; }
.rp-single-event-detail { display: flex; align-items: center; min-width: 0; gap: 10px; }
.rp-single-event-icon {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px; background: #f1f1ef; color: #2a2a2a; font-size: 21px;
}
.rp-single-event-detail div { min-width: 0; }
.rp-single-event-detail small {
  display: block; margin-bottom: 4px;
  color: #777; font-size: 9px; font-weight: 850; letter-spacing: 1px;
}
.rp-single-event-detail strong { display: block; font-size: 12px; line-height: 1.36; overflow-wrap: anywhere; }
.rp-single-event-cta {
  grid-column: 1 / -1; min-height: 48px; padding: 12px 18px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 14px; background: #111; color: #fff;
  text-decoration: none; font-size: 13px; font-weight: 850;
  transition: background .2s ease, transform .2s ease;
}
.rp-single-event-cta:hover { background: #313131; transform: translateY(-1px); }
.rp-single-event-cta:focus-visible { outline: 3px solid #777; outline-offset: 3px; }
.rp-single-event-cta .material-symbols-rounded { font-size: 18px; }

@media (min-width: 1024px) {
  .rp-home.is-single-event .rp-featured-stage { grid-template-columns: minmax(0, 1fr); }
  .rp-home.is-single-event .rp-featured-side { display: none; }
  .rp-home.is-single-event .rp-featured { height: 500px; }
  .rp-home.is-single-event .rp-hero-copy { max-width: 820px; }
  .rp-home.is-single-event .rp-hero-copy h1 { font-size: clamp(46px, 4.6vw, 72px); }
  .rp-home.is-single-event .rp-desktop-footer { margin-top: 44px; }
  .rp-single-event-info {
    margin-top: 18px;
    padding: 23px 28px;
    border-radius: 24px;
    grid-template-columns: minmax(220px, 1.3fr) minmax(220px, 1fr) minmax(240px, 1.2fr) auto;
    gap: 24px;
    align-items: center;
  }
  .rp-single-event-label { grid-column: auto; }
  .rp-single-event-label > strong { font-size: 20px; max-width: 230px; }
  .rp-single-event-detail strong { font-size: 13px; }
  .rp-single-event-cta { grid-column: auto; white-space: nowrap; padding: 14px 22px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .rp-single-event-info { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .rp-single-event-label { grid-column: auto; }
  .rp-single-event-cta { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .rp-single-event-info { gap: 16px 12px; padding: 16px; }
  .rp-single-event-detail { align-items: flex-start; }
  .rp-single-event-icon { width: 32px; height: 32px; font-size: 19px; }
  .rp-single-event-detail strong { font-size: 11px; }
}

@media (max-width: 1023px) {
  .rp-home.is-single-event .rp-featured { height: clamp(280px, 84vw, 400px); }
}
@media (max-width: 640px) {
  .rp-single-event-info { grid-template-columns: 1fr; }
  .rp-single-event-label,
  .rp-single-event-cta { grid-column: auto; }
}


/* ===== V57: vitrina limpia de dos eventos — imagen del evento sin solapamientos ===== */
/* No afecta la vitrina de 1 evento ni el catálogo con 3 o más eventos. */
body.rp-duo-visible .rp-pattern { display:none; }
.rp-duo { margin:28px 0 0; }
.rp-duo-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:19px; }
.rp-duo-heading h2 { margin:0 0 5px; font-size:clamp(27px,3.4vw,41px); line-height:1.06; letter-spacing:-1.2px; font-weight:900; }
.rp-duo-heading p { margin:0; color:#6f6f6f; font-size:13px; line-height:1.4; }
.rp-duo-counter { display:flex; flex:0 0 auto; align-items:center; gap:9px; color:#777; }
.rp-duo-counter b { color:#111; font-size:37px; letter-spacing:-2px; line-height:1; }
.rp-duo-counter span { font-size:8px; line-height:1.35; font-weight:800; letter-spacing:.8px; }
.rp-duo-grid { display:grid; grid-template-columns:minmax(0,1.33fr) minmax(280px,.8fr); align-items:start; gap:17px; }
.rp-duo-grid > a { min-width:0; text-decoration:none; color:inherit; }
.rp-duo-grid > a:focus-visible { outline:3px solid #111; outline-offset:4px; }
.rp-duo-preview,.rp-duo-main { overflow:hidden; background:#fff; border:1px solid #e7e7e5; border-radius:23px; box-shadow:0 12px 32px rgba(0,0,0,.07); transition:transform .2s ease,box-shadow .2s ease; }
.rp-duo-preview { display:flex; flex-direction:column; }
.rp-duo-preview:hover,.rp-duo-main:hover { transform:translateY(-2px); box-shadow:0 16px 40px rgba(0,0,0,.11); }
.rp-duo-topline,.rp-duo-main-head { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:52px; padding:11px 19px; background:#fff; }
.rp-duo-preview-badge { display:inline-flex; align-items:center; gap:10px; font-size:10px; font-weight:900; letter-spacing:1.05px; color:#151515; }
.rp-duo-live-dot { width:8px; height:8px; flex:0 0 8px; border-radius:50%; background:#161616; box-shadow:0 0 0 4px #efefed; }
.rp-duo-number { flex:0 0 auto; color:#9a9a9a; font-size:10px; letter-spacing:1.5px; font-weight:750; }
.rp-duo-preview-image { display:flex; align-items:center; justify-content:center; overflow:hidden; width:100%; min-height:160px; background:#111; }
/* Mantiene la proporción original del flyer. No hay object-fit:cover ni capa negra sobre el arte. */
.rp-duo-preview-image > img { display:block; width:100%; height:auto; max-height:580px; object-fit:contain; }
.rp-duo-preview-image > .rp-image-fallback { position:relative; width:100%; height:280px; display:flex; align-items:center; justify-content:center; }
.rp-duo-preview-image > .rp-image-fallback img { width:45%; height:45%; object-fit:contain; }
.rp-duo-preview-image > img.is-fallback-img { width:45%; max-height:230px; margin:24px auto; object-fit:contain; }
.rp-duo-preview-content { display:flex; flex-direction:column; align-items:flex-start; padding:19px 22px 21px; background:#fff; min-width:0; }
.rp-duo-title { display:block; width:100%; margin:0 0 13px; color:#0c0c0c; font-size:clamp(25px,2.7vw,34px); font-weight:900; letter-spacing:-1px; line-height:1.07; overflow-wrap:anywhere; }
.rp-duo-preview-details { display:flex; flex-wrap:wrap; gap:7px 19px; color:#616161; font-size:12px; font-weight:650; }
.rp-duo-preview-details > span,.rp-duo-main-info { display:flex; align-items:flex-start; gap:7px; min-width:0; line-height:1.35; }
.rp-duo-preview-details .material-symbols-rounded,.rp-duo-main-info .material-symbols-rounded { flex:0 0 auto; font-size:17px; }
.rp-duo-preview-action { display:inline-flex; align-items:center; justify-content:space-between; gap:18px; min-height:44px; margin-top:18px; padding:7px 8px 7px 19px; border-radius:99px; background:#121212; color:#fff; font-size:11px; letter-spacing:.9px; font-weight:850; transition:background .2s ease; }
.rp-duo-action-icon { display:grid!important; place-items:center; width:30px; height:30px; border-radius:50%; background:#fff; color:#111; font-size:19px!important; }
.rp-duo-preview:hover .rp-duo-preview-action { background:#343434; }
.rp-duo-main { display:flex; flex-direction:column; }
.rp-duo-main-head { padding:12px 16px; }
.rp-duo-main-head > span:first-child { display:flex; align-items:center; gap:8px; color:#222; font-weight:900; font-size:10px; letter-spacing:.9px; }
.rp-duo-main-head .material-symbols-rounded { font-size:19px; }
.rp-duo-main-image { display:flex; align-items:center; justify-content:center; min-height:120px; overflow:hidden; background:#111; }
.rp-duo-main-cover { display:block; width:100%; height:auto; max-height:330px; object-fit:contain; }
.rp-duo-main-image > .rp-image-fallback { position:relative; height:200px; width:100%; display:grid; place-items:center; }
.rp-duo-main-image > .rp-image-fallback img { width:40%; height:40%; object-fit:contain; }
.rp-duo-main-image > img.is-fallback-img { width:40%; max-height:180px; margin:18px auto; }
.rp-duo-main-content { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; padding:17px 17px 18px; }
.rp-duo-main-title { display:block; width:100%; margin:0 0 3px; font-size:clamp(20px,2.4vw,28px); line-height:1.09; letter-spacing:-.65px; font-weight:900; overflow-wrap:anywhere; }
.rp-duo-main-info { max-width:100%; font-size:11px; color:#676767; font-weight:600; }
.rp-duo-main-action { display:flex; width:100%; align-items:center; justify-content:space-between; gap:10px; margin-top:11px; padding-top:13px; border-top:1px solid #eeeeec; font-size:10px; font-weight:900; letter-spacing:.8px; }
.rp-duo-main-action .material-symbols-rounded { font-size:20px; }
.rp-duo-footnote { display:flex; align-items:center; gap:8px; color:#818181; font-size:11px; margin:16px 3px 0; }
.rp-duo-footnote .material-symbols-rounded { font-size:16px; }
.rp-card-preview-badge { position:absolute; bottom:10px; right:10px; background:#fff; color:#101010; font-size:9px; letter-spacing:1px; font-weight:900; border-radius:100px; padding:7px 9px; }
@media (max-width:850px) {
  .rp-duo { margin-top:20px; }
  .rp-duo-grid { grid-template-columns:1fr; gap:14px; }
  .rp-duo-main { display:grid; grid-template-columns:minmax(150px,40%) minmax(0,1fr); grid-template-rows:auto 1fr; }
  .rp-duo-main-head { grid-column:1/-1; grid-row:1; min-height:44px; padding:10px 15px; }
  .rp-duo-main-image { grid-column:1; grid-row:2; min-height:165px; margin:0 0 12px 12px; border-radius:13px; }
  .rp-duo-main-cover { width:100%; height:100%; max-height:240px; object-fit:contain; }
  .rp-duo-main-content { grid-column:2; grid-row:2; padding:13px 14px; gap:7px; }
  .rp-duo-main-title { font-size:clamp(18px,4vw,25px); }
  .rp-duo-main-action { margin-top:auto; }
}
@media (max-width:680px) {
  .rp-duo-heading { margin-bottom:14px; gap:12px; }
  .rp-duo-heading h2 { font-size:clamp(26px,7vw,32px); letter-spacing:-.9px; }
  .rp-duo-heading p { font-size:12px; }
  .rp-duo-counter { gap:6px; }
  .rp-duo-counter b { font-size:30px; letter-spacing:-1.4px; }
  .rp-duo-counter span { font-size:7px; }
  .rp-duo-preview,.rp-duo-main { border-radius:21px; }
  .rp-duo-topline { min-height:45px; padding:10px 15px; }
  .rp-duo-preview-image > img { max-height:560px; }
  .rp-duo-preview-content { padding:16px 17px 18px; }
  .rp-duo-title { font-size:clamp(22px,6.5vw,27px); margin-bottom:10px; }
  .rp-duo-preview-details { display:grid; gap:7px; font-size:11px; }
  .rp-duo-preview-details > span { align-items:flex-start; }
  .rp-duo-preview-action { margin-top:15px; min-height:42px; }
  .rp-duo-main { grid-template-columns:minmax(117px,37%) minmax(0,1fr); }
  .rp-duo-main-head > span:first-child { font-size:9px; }
  .rp-duo-main-image { min-height:140px; margin:0 0 12px 11px; }
  .rp-duo-main-content { padding:10px 12px 12px; }
  .rp-duo-main-title { font-size:clamp(17px,5vw,22px); }
  .rp-duo-main-info { font-size:10px; }
  .rp-duo-main-info .material-symbols-rounded { font-size:14px; }
  .rp-duo-main-action { padding-top:9px; font-size:9px; }
  .rp-duo-footnote { display:none; }
}
@media (max-width:380px) {
  .rp-duo-counter { display:none; }
  .rp-duo-main { grid-template-columns:minmax(105px,36%) minmax(0,1fr); }
  .rp-duo-main-content { padding:9px 10px 12px; }
  .rp-duo-main-title { font-size:17px; }
}
@media (prefers-reduced-motion:reduce) { .rp-duo-preview,.rp-duo-main { transition:none; } }
html { overflow-x:clip; }


/* V59 — ajustes puntuales sobre el diseño LIMPIO de V57.
   1. Recupera el título original. 2. Recupera únicamente el sello PREVIA OFICIAL
   encima del flyer; título, fecha, lugar y CTA siguen DEBAJO de la imagen.
   Sin gradientes oscuros, recortes ni bloque de información sobre el arte. */
.rp-duo-heading h2 span { color:#777; }
.rp-duo-preview { position:relative; }
.rp-duo-preview .rp-duo-topline {
  position:absolute; z-index:2;
  top:14px; left:14px; right:14px;
  padding:0; min-height:0;
  background:transparent;
  pointer-events:none;
}
.rp-duo-preview .rp-duo-preview-badge {
  background:#fff; color:#101010;
  border:1px solid rgba(0,0,0,.04);
  border-radius:999px; padding:10px 14px;
  box-shadow:0 5px 20px rgba(0,0,0,.18);
  font-size:10px; letter-spacing:1.15px; font-weight:900;
}
.rp-duo-preview .rp-duo-number {
  padding:8px 10px;
  border-radius:999px;
  color:#fff; background:rgba(0,0,0,.63);
  font-size:9px;
}
@media (max-width:680px) {
  .rp-duo-heading h2 { font-size:clamp(27px,6.65vw,33px); line-height:1.12; }
  .rp-duo-preview .rp-duo-topline { top:12px; left:12px; right:12px; }
  .rp-duo-preview .rp-duo-preview-badge { padding:9px 12px; font-size:9px; }
  .rp-duo-preview .rp-duo-number { padding:7px 9px; }
}


/* V60 — somente a apresentação do título na vitrine com dois eventos.
   A segunda frase aparece sempre abaixo da primeira, como na versão inicial. */
.rp-duo-heading h2 > span {
  display: block;
  color: #777;
}
