/*
 * Reva Partner — single page (/partner/{slug}/)  v2
 * Loaded only on is_singular( 'partner' ), after partner.css.
 * Everything is scoped under .rps so nothing leaks into the theme.
 */

.rps {
  /* Crayon-box tones: soft background + readable foreground. */
  --t-sky-bg:   #E4F5F9; --t-sky:   #1C8298;
  --t-sun-bg:   #FFF1C9; --t-sun:   #A46F00;
  --t-coral-bg: #FFE4DA; --t-coral: #C9542F;
  --t-mint-bg:  #DFF3E7; --t-mint:  #2B8255;
  --t-lilac-bg: #F3E6FA; --t-lilac: #9447BF;

  --rps-sticky: 0px; /* raise if the site header is sticky */
  max-width: 1200px;
  padding: 20px 24px 72px;
}

.rps-t--sky   { background: var(--t-sky-bg);   color: var(--t-sky); }
.rps-t--sun   { background: var(--t-sun-bg);   color: var(--t-sun); }
.rps-t--coral { background: var(--t-coral-bg); color: var(--t-coral); }
.rps-t--mint  { background: var(--t-mint-bg);  color: var(--t-mint); }
.rps-t--lilac { background: var(--t-lilac-bg); color: var(--t-lilac); }

.rps a:focus-visible,
.rps button:focus-visible,
.rps summary:focus-visible {
  outline: 3px solid var(--rp-primary);
  outline-offset: 2px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.rps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .1s;
}
.rps-btn:active { transform: scale(.98); }
.rps-btn--primary { background: var(--rp-primary); color: #fff; box-shadow: 0 6px 18px rgba(57,183,206,.32); }
.rps-btn--primary:hover { background: var(--rp-primary-dark); color: #fff; }
.rps-btn--ghost { background: #fff; border-color: var(--rp-line); color: var(--rp-ink); }
.rps-btn--ghost:hover { border-color: var(--rp-primary); color: var(--rp-primary-dark); }
.rps-btn--block { width: 100%; }

.rps-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 50%; background: var(--rp-bg); color: var(--rp-ink);
  cursor: pointer;
}
.rps-iconbtn:hover { background: var(--rp-line); }

/* Vouch button variants (base styles in partner.css) */
.rps .reva-pv--hero { height: 48px; padding: 0 18px 0 16px; font-size: 15px; border-width: 1.5px; }
.rps .reva-pv--block { height: 50px; font-size: 15px; border-width: 1.5px; }
.rps .reva-pv--bar { height: 48px; padding: 0 14px; }

/* ── Crumbs ──────────────────────────────────────────────────────── */
.rps-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--rp-muted); font-size: 13px; }
.rps-crumbs a { color: var(--rp-ink-soft); text-decoration: none; }
.rps-crumbs a:hover { color: var(--rp-primary-dark); }

/* ── Hero ────────────────────────────────────────────────────────── */
.rps-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 64px;
  align-items: center;
  padding: 28px 0 40px;
}
.rps-hero--solo { grid-template-columns: minmax(0, 720px); }

.rps-hero__logo {
  display: block; width: 84px; height: 84px; margin-bottom: 18px;
  border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 4px 16px rgba(32,45,44,.14);
}
.rps-hero__logo--initial { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }

.rps-hero__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em;
  color: var(--rp-ink);
}
.rps-verified { display: inline-flex; margin-left: 6px; vertical-align: -.05em; color: var(--rp-primary); }

.rps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.rps-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px; border-radius: 999px;
  background: var(--rp-bg); color: var(--rp-ink-soft);
  font-size: 13px; font-weight: 600; text-decoration: none;
}
.rps-chip svg { color: var(--rp-muted); }
.rps-chip--cat { background: var(--t-sky-bg); color: var(--t-sky); }
.rps-chip--cat:hover { background: #D2EEF4; color: var(--t-sky); }
.rps-chip--featured { background: var(--t-sun-bg); color: var(--t-sun); }
.rps-chip--featured svg { color: var(--t-sun); }
.rps-chip--status i { width: 8px; height: 8px; border-radius: 50%; background: #3DAA6D; box-shadow: 0 0 0 3px rgba(61,170,109,.18); }
.rps-chip--status.is-ok   { background: var(--t-mint-bg); color: var(--t-mint); }
.rps-chip--status.is-warn { background: var(--t-sun-bg); color: var(--t-sun); }
.rps-chip--status.is-warn i { background: #E7A500; box-shadow: 0 0 0 3px rgba(231,165,0,.2); }
.rps-chip--status.is-off i { background: #A7AEAC; box-shadow: none; }

.rps-hero__summary { max-width: 560px; margin: 0 0 22px; color: var(--rp-ink-soft); font-size: 16px; line-height: 1.65; }

.rps-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.rps-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--rp-line); background: #fff; color: var(--rp-ink-soft);
  transition: border-color .15s, color .15s, background-color .15s;
}
.rps-icon svg { width: 18px; height: 18px; }
.rps-icon:hover { border-color: var(--rp-primary); color: var(--rp-primary-dark); background: var(--rp-primary-soft); }

.rps-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rps-hero__note { margin: 12px 0 0; color: var(--rp-muted); font-size: 13px; }

/* The one loud moment: cover on a tilted sunshine card, perk sticker, vouch tag. */
.rps-hero__media { position: relative; isolation: isolate; }
.rps-hero__media::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: -1;
  border-radius: 28px; background: #FFD66B; transform: rotate(3deg);
}
.rps-hero__media img {
  display: block; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
  border-radius: 24px; box-shadow: 0 18px 40px rgba(32,45,44,.16);
}
.rps-sticker {
  position: absolute; left: -22px; bottom: 28px;
  display: flex; align-items: center; gap: 10px; max-width: 78%;
  padding: 10px 16px 10px 12px; border-radius: 16px;
  background: #fff; color: var(--rp-ink); text-decoration: none;
  box-shadow: 0 10px 28px rgba(32,45,44,.18); transform: rotate(-3deg);
  font-size: 14px; font-weight: 700; line-height: 1.3;
  transition: transform .2s;
}
.rps-sticker:hover { transform: rotate(0) translateY(-2px); color: var(--rp-ink); }
.rps-sticker > svg { flex: none; padding: 8px; box-sizing: content-box; border-radius: 10px; background: var(--t-coral-bg); color: var(--t-coral); }
.rps-sticker small { display: block; color: var(--t-coral); font-size: 11px; font-weight: 700; }
.rps-vouchtag {
  position: absolute; top: 16px; right: 16px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--rp-ink);
  font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.rps-vouchtag strong { color: var(--rp-primary-dark); }

/* ── At a glance ─────────────────────────────────────────────────── */
.rps-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 28px; }
.rps-glance__item { display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: 20px; min-width: 0; }
.rps-glance__icon { display: inline-flex; margin-bottom: 8px; }
.rps-glance__label { font-size: 13px; font-weight: 600; opacity: .85; }
.rps-glance__value { color: var(--rp-ink); font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.rps-glance__sub { color: var(--rp-ink-soft); font-size: 13px; }

/* ── Section nav ─────────────────────────────────────────────────── */
.rps-nav {
  position: sticky; top: var(--rps-sticky); z-index: 20;
  margin: 0 -24px 32px; padding: 10px 24px;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rp-line);
}
.admin-bar .rps-nav { top: calc(var(--rps-sticky) + 32px); }
.rps-nav__track { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rps-nav__track::-webkit-scrollbar { display: none; }
.rps-nav a {
  flex: none; padding: 9px 16px; border-radius: 999px;
  color: var(--rp-ink-soft); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.rps-nav a:hover { background: var(--rp-bg); color: var(--rp-ink); }
.rps-nav a.is-active { background: var(--rp-ink); color: #fff; }

/* ── Layout ──────────────────────────────────────────────────────── */
.rps-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.rps-main { min-width: 0; }
.rps-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--rps-sticky) + 84px); }

.rps-sec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--rp-line); scroll-margin-top: calc(var(--rps-sticky) + 90px); }
.rps-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.rps-sec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.rps-sec__head .rps-h2 { margin: 0; }
.rps-h2 { margin: 0 0 18px; font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; color: var(--rp-ink); }
.rps-h3 { margin: 28px 0 14px; font-size: 17px; font-weight: 700; color: var(--rp-ink); }
.rps-link { color: var(--rp-primary-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.rps-link:hover { text-decoration: underline; }

.rps-prose { max-width: 68ch; color: var(--rp-ink-soft); font-size: 16px; line-height: 1.75; }
.rps-prose > :first-child { margin-top: 0; }
.rps-prose > :last-child { margin-bottom: 0; }

/* Good to know */
.rps-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.rps-fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--rp-line); border-radius: 16px; min-width: 0; }
.rps-fact__icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 12px; }
.rps-fact dt { margin: 0 0 2px; color: var(--rp-muted); font-size: 13px; font-weight: 600; }
.rps-fact dd { margin: 0; color: var(--rp-ink); font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }

/* Perks — tickets */
.rps-perks { display: flex; flex-direction: column; gap: 12px; }
.rps-perk {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 18px;
}
.rps-perk__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(255,255,255,.75); }
.rps-perk__body { flex: 1; min-width: 0; }
.rps-perk h3 { margin: 0; color: var(--rp-ink); font-size: 16px; font-weight: 700; line-height: 1.35; }
.rps-perk p { margin: 3px 0 0; color: var(--rp-ink-soft); font-size: 14px; line-height: 1.5; }
.rps-perk__exp { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; opacity: .9; }
.rps-perk__code { flex: none; padding-left: 18px; border-left: 2px dashed currentColor; align-self: stretch; display: flex; align-items: center; }
.rps-code {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px; border: 1.5px dashed currentColor; border-radius: 10px;
  background: #fff; color: inherit; font: inherit; font-size: 13px; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.rps-code code { font-family: inherit; font-size: 14px; letter-spacing: .04em; color: var(--rp-ink); background: none; padding: 0; }
.rps-code.is-copied { border-style: solid; }

/* Hours */
.rps-open { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.rps-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rps-open.is-open { background: var(--t-mint-bg); color: var(--t-mint); }
.rps-open.is-closed { background: var(--t-coral-bg); color: var(--t-coral); }
.rps-week { list-style: none; margin: 0; padding: 0; max-width: 520px; }
.rps-week li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: 12px; font-size: 15px; color: var(--rp-ink-soft); }
.rps-week li > span:last-child { color: var(--rp-ink); font-weight: 600; text-align: right; }
.rps-week li.is-today { background: var(--t-mint-bg); color: var(--t-mint); font-weight: 700; }
.rps-week li.is-today > span:last-child { color: var(--t-mint); }
.rps-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--rp-ink-soft); font-size: 14px; }
.rps-note svg { flex: none; color: var(--rp-muted); }

/* Photos */
.rps-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 8px; }
.rps-gallery__item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--rp-bg); cursor: zoom-in; }
.rps-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.rps-gallery__item:hover img { transform: scale(1.04); }
.rps-gallery__item.is-extra { display: none; }
.rps-gallery--n1 { grid-template-columns: 1fr; grid-auto-rows: 340px; }
.rps-gallery--n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
.rps-gallery--n3 .rps-gallery__item:first-child,
.rps-gallery--n4 .rps-gallery__item:first-child,
.rps-gallery--n5 .rps-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.rps-gallery--n3 .rps-gallery__item:nth-child(2),
.rps-gallery--n3 .rps-gallery__item:nth-child(3) { grid-column: span 2; }
.rps-gallery--n3 { grid-template-columns: repeat(4, 1fr); }
.rps-gallery--n4 .rps-gallery__item:nth-child(4) { grid-column: span 2; }
.rps-gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(32,45,44,.55); color: #fff; font-size: 24px; font-weight: 800; }

/* Events */
.rps-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rps-events a { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border: 1px solid var(--rp-line); border-radius: 16px; color: inherit; text-decoration: none; transition: border-color .15s, background-color .15s; }
.rps-events a:hover { border-color: var(--rp-primary); background: var(--rp-primary-soft); }
.rps-events a > svg { margin-left: auto; flex: none; color: var(--rp-muted); }
.rps-events__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 54px; height: 58px; flex: none; border-radius: 12px; background: var(--t-coral-bg); color: var(--t-coral); line-height: 1.1; }
.rps-events__date span { font-size: 12px; font-weight: 700; }
.rps-events__date strong { font-size: 22px; }
.rps-events__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 15px; color: var(--rp-ink); }
.rps-events__text span { color: var(--rp-muted); font-size: 13px; }

/* FAQ */
.rps-faq { display: flex; flex-direction: column; gap: 10px; }
.rps-faq details { border: 1px solid var(--rp-line); border-radius: 16px; background: #fff; transition: background-color .2s, border-color .2s; }
.rps-faq details[open] { background: var(--rp-bg); border-color: transparent; }
.rps-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-size: 16px; font-weight: 700; color: var(--rp-ink); cursor: pointer; list-style: none; }
.rps-faq summary::-webkit-details-marker { display: none; }
.rps-faq__toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--t-sky-bg); color: var(--t-sky); transition: transform .2s; }
.rps-faq details[open] .rps-faq__toggle { transform: rotate(45deg); }
.rps-faq details > div { padding: 0 18px 18px; color: var(--rp-ink-soft); font-size: 15px; line-height: 1.7; }

/* Comments (markup from comments.php) */
.rps .reva-pcomments { padding-top: 0; border-top: 0; }
.rps .reva-pcomment { padding: 16px; border-radius: 16px; background: var(--rp-bg); }
.rps .reva-pcomment:nth-child(5n+2) .reva-pcomment__avatar { background: #F08A63; }
.rps .reva-pcomment:nth-child(5n+3) .reva-pcomment__avatar { background: #43A873; }
.rps .reva-pcomment:nth-child(5n+4) .reva-pcomment__avatar { background: #A964D1; }
.rps .reva-pcomment:nth-child(5n+5) .reva-pcomment__avatar { background: #E0A800; }
.rps .reva-pcomments__form { padding: 16px; border: 1px dashed var(--rp-line); border-radius: 16px; }
.rps .reva-pcomments__field .reva-pbtn { height: 44px; }

/* ── Sidebar ─────────────────────────────────────────────────────── */
.rps-box { padding: 22px; border: 1px solid var(--rp-line); border-radius: 22px; background: #fff; scroll-margin-top: calc(var(--rps-sticky) + 90px); }
.rps-box--flush { padding: 0; overflow: hidden; }
.rps-box__pad { padding: 20px 22px 22px; }
.rps-box__title { margin: 0 0 14px; font-size: 17px; font-weight: 800; color: var(--rp-ink); }
.rps-box__hint { margin: 14px 0 0; color: var(--rp-muted); font-size: 13px; line-height: 1.5; }

.rps-vouch { text-align: center; border: 0; background: linear-gradient(160deg, #E4F5F9 0%, #F3E6FA 100%); }
.rps-vouch__num { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--rp-primary-dark); }
.rps-vouch__text { margin: 8px 0 16px; color: var(--rp-ink); font-size: 15px; font-weight: 600; line-height: 1.45; }
.rps-vouch__hint { margin: 12px 0 0; color: var(--rp-ink-soft); font-size: 13px; line-height: 1.5; }
.rps-vouch .reva-pv:not(.is-vouched) { background: #fff; }

.rps-channels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.rps-channels a { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 14px; color: var(--rp-ink); text-decoration: none; transition: background-color .15s; }
.rps-channels a:hover { background: var(--rp-bg); }
.rps-channels__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 12px; }
.rps-channels__icon svg { width: 17px; height: 17px; }
.rps-channels__text { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.rps-channels__text span { color: var(--rp-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rps-map { height: 180px; background: var(--rp-bg); }
.rps-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.rps-addr { margin: 0 0 14px; color: var(--rp-ink-soft); font-size: 14px; line-height: 1.6; }
.rps-addr strong { color: var(--rp-ink); }

/* ── Contact sheet ───────────────────────────────────────────────── */
.rps-sheet {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 24px);
  padding: 24px; border: 0; border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25); color: var(--rp-ink);
}
.rps-sheet::backdrop { background: rgba(20,30,29,.5); }
.rps-sheet[open] { animation: rps-rise .22s ease-out; }
.rps-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.rps-sheet__head h2 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.25; }
.rps-sheet__head p { margin: 4px 0 0; color: var(--rp-ink-soft); font-size: 14px; }
.rps-sheet__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rps-tile { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 18px; text-decoration: none; min-width: 0; transition: transform .15s; }
.rps-tile:hover { transform: translateY(-2px); }
.rps-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 12px; background: rgba(255,255,255,.8); }
.rps-tile__icon svg { width: 20px; height: 20px; }
.rps-tile strong { color: var(--rp-ink); font-size: 15px; }
.rps-tile > span:last-child { color: var(--rp-ink-soft); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rps-sheet__foot { margin: 16px 0 0; color: var(--rp-muted); font-size: 13px; text-align: center; }

@keyframes rps-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── Lightbox ────────────────────────────────────────────────────── */
.rps-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.rps-lightbox::backdrop { background: rgba(10,14,14,.92); }
.rps-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.rps-lightbox img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); border-radius: 12px; object-fit: contain; }
.rps-lightbox .rps-iconbtn { position: fixed; width: 48px; height: 48px; background: rgba(255,255,255,.14); color: #fff; }
.rps-lightbox .rps-iconbtn:hover { background: rgba(255,255,255,.26); }
.rps-lightbox__close { top: 18px; right: 18px; }
.rps-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.rps-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.rps-lightbox__count { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 600; }

/* ── Mobile bar + toast ──────────────────────────────────────────── */
.rps-bar { display: none; }
.rps-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100000; transform: translateX(-50%);
  padding: 12px 18px; border-radius: 999px; background: var(--rp-ink); color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rps-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; }
  .rps-grid { grid-template-columns: 1fr; gap: 8px; }
  .rps-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 900px) {
  .rps { padding-bottom: 110px; }
  .rps-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--rp-line);
    box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  }
  .rps-bar .rps-btn { flex: 1; }
  .rps-toast { bottom: 96px; }
}

@media (max-width: 767px) {
  .rps { padding: 12px 16px 110px; }
  .rps-hero { grid-template-columns: 1fr; gap: 28px; padding: 16px 0 28px; }
  .rps-hero__media { order: -1; margin: 0 10px 0 4px; }
  .rps-hero__media img { aspect-ratio: 16 / 11; border-radius: 20px; }
  .rps-sticker { left: auto; right: -6px; bottom: -16px; max-width: 72%; font-size: 13px; }
  .rps-hero__logo { width: 68px; height: 68px; margin-top: -58px; position: relative; }
  .rps-hero--solo .rps-hero__logo { margin-top: 0; }
  .rps-actions .rps-btn--primary { flex: 1 1 100%; }
  .rps-actions > * { flex: 1; }
  .rps-glance { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rps-glance__item { padding: 14px; border-radius: 16px; }
  .rps-nav { margin: 0 -16px 24px; padding: 8px 16px; }
  .rps-h2 { font-size: 21px; }
  .rps-facts { grid-template-columns: 1fr; }
  .rps-perk { flex-wrap: wrap; }
  .rps-perk__code { flex-basis: 100%; padding: 14px 0 0; border-left: 0; border-top: 2px dashed currentColor; }
  .rps-gallery,
  .rps-gallery--n3,
  .rps-gallery--n4,
  .rps-gallery--n5 { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .rps-gallery--n1 { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .rps-gallery .rps-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .rps-gallery--n2 .rps-gallery__item:first-child { grid-column: auto; grid-row: auto; }
  .rps-gallery--n3 .rps-gallery__item:nth-child(n+2),
  .rps-gallery--n4 .rps-gallery__item:nth-child(4) { grid-column: auto; }
  .rps-side { grid-template-columns: 1fr; }
  .rps-sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 26px 26px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .rps-lightbox img { max-width: 100vw; border-radius: 0; }
  .rps-lightbox__prev, .rps-lightbox__next { top: auto; bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rps *, .rps *::before { transition: none !important; animation: none !important; }
  .rps-hero__media::before, .rps-sticker { transform: none; }
}
.rps-tile:last-child:nth-child(odd) { grid-column: span 2; }
