/* Rhythm Vibes — maps the design (base.css + site.css) onto WordPress block markup.
   Conventions editors can use in any heading: <em> = heavy italic, <strong> = chrome text. */

/* ---------- Resets for block markup ---------- */
.wp-site-blocks { padding: 0; }
.site-main { overflow-x: clip; }
.wp-block-image { margin: 0; }
.wp-block-image figcaption { margin: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-group:empty { display: none; }
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }

/* Links inside text */
.site-main p a:not(.btn), .site-main li a, .wp-block-details a { color: var(--ice); }
.site-main p a:not(.btn):hover { color: #fff; }

/* Headings: <em> heavy italic, <strong> chrome */
.wp-block-heading em { font-weight: 900; }
.wp-block-heading strong {
  font-weight: inherit; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons (block styles "RV primary" / "RV outline") ---------- */
.wp-block-button .wp-block-button__link, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.8em; border-radius: 6px; border: 0;
  font-family: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wp-block-button.is-style-rv-primary .wp-block-button__link, .wp-block-button:not([class*="is-style"]) .wp-block-button__link {
  background: var(--cta); color: #fff; box-shadow: 0 10px 40px -10px rgba(37, 99, 255, .8);
}
.wp-block-button.is-style-rv-primary .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(62, 148, 234, .9); }
.wp-block-button.is-style-rv-ghost .wp-block-button__link, .btn-ghost { background: transparent; border: 1px solid rgba(168, 216, 255, .35); color: var(--text); box-shadow: none; }
.wp-block-button.is-style-rv-ghost .wp-block-button__link:hover, .btn-ghost:hover { background: rgba(168, 216, 255, .08); }

/* ---------- Header ---------- */
.hdr .wrap { height: 68px; }
.hdr .wp-block-site-logo { flex: none; }
.hdr .wp-block-site-logo img { height: 44px; width: auto; }
.hdr .brand { color: var(--muted); }
.hdr .rv-nav { margin-left: auto; gap: 22px; }
@media (min-width: 961px) { .hdr .rv-nav .wp-block-navigation__container { flex-wrap: nowrap; gap: 22px; } }
.hdr .rv-nav .wp-block-navigation-item__content { font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #b9c5df; white-space: nowrap; }
.hdr .rv-nav .wp-block-navigation-item__content::after { content: "*"; color: var(--electric); }
.hdr .rv-nav .wp-block-navigation-item__content:hover,
.hdr .rv-nav .current-menu-item > .wp-block-navigation-item__content { color: #fff; }
.hdr .rv-nav .current-menu-item > .wp-block-navigation-item__content::after { color: #39ff9c; }
.hdr .hdr-cta .wp-block-button__link { padding: .75em 1.3em; white-space: nowrap; }
/* Six links on one line: tighter on smaller laptop screens (must come after the rules above) */
@media (min-width: 961px) and (max-width: 1280px) { .hdr .rv-nav .wp-block-navigation__container { gap: 15px; } .hdr .rv-nav .wp-block-navigation-item__content { letter-spacing: .13em; } }
@media (min-width: 961px) and (max-width: 1120px) { .hdr .wrap { gap: 14px; } .hdr .rv-nav .wp-block-navigation__container { gap: 11px; } .hdr .rv-nav .wp-block-navigation-item__content { font-size: 10px; letter-spacing: .08em; } .hdr .hdr-cta .wp-block-button__link { padding: .85em 1.1em; letter-spacing: .1em; } }
@media (max-width: 1180px) { .hdr .brand { display: none; } }
@media (max-width: 960px) {
  .hdr nav.wp-block-navigation { display: flex; }
  .hdr .wrap { gap: 14px; }
  .hdr .hdr-cta { margin-left: auto; }
  .hdr .hdr-cta .wp-block-button__link { padding: .7em 1em; font-size: .72rem; letter-spacing: .12em; }
  .hdr .rv-nav { margin-left: 0; order: 3; }
}

/* Mobile menu: full-screen navy panel in brand colours */
.rv-nav .wp-block-navigation__responsive-container-open,
.rv-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.rv-nav .wp-block-navigation__responsive-container-open svg,
.rv-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.rv-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: #03061a radial-gradient(70% 50% at 100% 0%, rgba(37, 99, 255, .35), transparent 70%) !important;
  color: var(--text) !important;
  padding: 24px 24px 40px;
}
.rv-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 70px !important; align-items: flex-start !important; }
.rv-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.rv-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--line); }
.rv-nav .is-menu-open .wp-block-navigation-item__content {
  display: block; width: 100%; padding: 18px 0 !important;
  font-weight: 900 !important; font-style: italic; font-size: clamp(26px, 8vw, 38px) !important; letter-spacing: -.02em !important; text-transform: uppercase;
  color: var(--text) !important;
}
.rv-nav .is-menu-open .wp-block-navigation-item__content::after { content: " →"; font-style: normal; color: var(--electric); }
/* Mystery link: its own red marker (* on desktop, → in the phone menu) */
.rv-nav .nav-mystery > .wp-block-navigation-item__content::after, .rv-nav .is-menu-open .nav-mystery > .wp-block-navigation-item__content::after { color: #e22320; }
.rv-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
}

/* ---------- Home hero ---------- */
.hero > .wrap { position: relative; }
figure.hero-bg.duo { position: absolute; inset: 0; z-index: -2; }
.wp-block-image.duo img { width: 100%; height: 100%; object-fit: cover; }
figure.hero-bg img { object-position: 60% 35%; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ice); margin-bottom: 28px; }
.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #39ff9c; box-shadow: 0 0 12px #39ff9c; animation: pulse 1.6s infinite; }
.hero h1 em { font-weight: inherit; color: transparent; -webkit-text-stroke: 1.5px rgba(233, 239, 251, .55); }
.claims li.new { color: var(--ice); } .claims li.new::before { content: "+ "; color: #39ff9c; }
.hero .cta .wp-block-buttons { justify-content: flex-end; }
.hero .cta .wp-block-button__link { font-size: 1rem; padding: 1.25em 2.4em; }
@media (max-width: 960px) { .hero .cta .wp-block-buttons { justify-content: flex-start; } }

/* ---------- Sections ---------- */
.sec.first { border-top: 0; }
.prob .x-tag { display: inline-block; margin-top: 22px; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 9px; border: 1px dashed rgba(255, 90, 110, .5); color: #ff8b9b; border-radius: 4px; }
.rows h3 { font-size: 18px; margin-bottom: 4px; }

/* Photo strip */
.strip .wp-block-image.duo { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.strip .wp-block-image.duo img { position: absolute; inset: 0; }
.strip figcaption { position: absolute; z-index: 2; left: 12px; bottom: 10px; font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.strip-venue { margin-top: 22px; }
.pos-top img { object-position: 50% 28% !important; }
.pos-face img { object-position: 50% 15% !important; }
.pos-low img { object-position: 50% 60% !important; }

/* Day timeline */
.slot::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: #03061a; border: 2px solid var(--electric); margin: 20px 0 22px; box-shadow: 0 0 16px var(--blue); }
.slot .time { font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--ice); font-variant-numeric: tabular-nums; }

/* Numbers */
.nums .n { font-weight: 300; font-size: clamp(52px, 6vw, 92px); line-height: 1; letter-spacing: -.04em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums .k { font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.nums .delta { display: inline-block; margin-top: 14px; padding: 5px 9px; border-radius: 4px; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #9dffcf; background: rgba(57,255,156,.08); border: 1px solid rgba(57,255,156,.3); }

/* Pass cards */
.pass .pop { position: absolute; top: -12px; right: 24px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.pass .price small { font-size: 16px; color: var(--muted); font-style: normal; font-weight: 400; }
.pass.hl .price { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pass.hl .price small { -webkit-text-fill-color: var(--muted); }
.pass li strong { margin-left: 6px; padding: 2px 6px; border-radius: 4px; font-size: 11px; letter-spacing: .15em; color: #9dffcf; background: rgba(57,255,156,.12); align-self: center; }
.pass .wp-block-buttons, .pass .wp-block-button, .pass .wp-block-button__link, .pass .hotel-btn .btn { width: 100%; }
.live { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #39ff9c; box-shadow: 0 0 10px #39ff9c; }

/* Testimonials */
.voice .wp-block-quote { border: 0; padding: 0; margin: 0; font-weight: 300; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; }
.voice .wp-block-quote::before { content: "“"; display: block; font-weight: 900; font-size: 80px; line-height: .6; color: var(--electric); }
.voice .wp-block-quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }

/* Close section */
.close .close-logo { margin: -40px auto 30px; width: min(340px, 70vw); }
.close .close-logo img { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(37,99,255,.35)); }
.close h2 strong, .close h1 strong { font-weight: 900; font-style: italic; }
.close .wp-block-buttons { justify-content: center; margin-top: 34px; }
.close h1 { font-weight: 700; font-size: clamp(42px, 6.5vw, 100px); line-height: .98; letter-spacing: -.04em; margin-top: 18px; }

/* ---------- Inner pages ---------- */
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .crumbs a::after { content: ""; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero h1 strong { font-weight: inherit; }
.facts > div { padding: 26px 24px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts .dt { font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts .dd { font-size: 22px; font-weight: 700; margin-top: 6px; }
.facts.two { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.routes { margin-top: 14px; }
.route h4 { font-size: 18px; margin-bottom: 4px; }
.route .meta-r { font-weight: 700; font-size: 12px; letter-spacing: .12em; color: var(--ice); white-space: nowrap; }
.route { grid-template-columns: 70px 1fr auto; }
.route .chip { justify-self: start; }
.route:first-child { border-top: 1px solid var(--line); }
p.chip { display: inline-block; }
.card .tags { margin-top: 18px; font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.card .wp-block-buttons { margin-top: 22px; }
.card .link { margin-top: 12px; }
.card.featured { border-color: rgba(62,148,234,.6); }
.card h3.big { font-size: 28px; }
.food { align-content: start; }
figure.photo { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); min-height: 320px; }
figure.photo img { position: absolute; inset: 0; }
.photo.tallphoto { min-height: 520px; }
.split-title { font-weight: 700; font-size: clamp(32px, 3.8vw, 52px); letter-spacing: -.03em; line-height: 1.05; margin: 16px 0 30px; }
.steps + .wp-block-buttons { margin-top: 30px; }
.tl > div { position: relative; padding: 30px 24px 0 0; }
.tl > div::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #03061a; border: 2px solid var(--ice); }
.tl .when { font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--electric); }
.tl h3 { font-size: 20px; } .tl p:not(.when) { color: var(--muted); font-size: 15px; margin-top: 6px; }
.values h3 { font-size: 22px; margin: 10px 0 6px; }
.contact-cards .big { font-size: 18px; font-weight: 700; margin-top: 6px; word-break: break-word; }
.contact-cards .big a { color: var(--text) !important; }
.contact-cards p:last-child { margin-top: 8px; }
.cta-band .wp-block-heading { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; line-height: 1; }
.cta-band strong { font-style: italic; }

/* Comparison table */
.wp-block-table.cmp { margin: 0; overflow-x: auto; }
.wp-block-table.cmp table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table.cmp th, .wp-block-table.cmp td { padding: 16px 14px; border: 0; border-bottom: 1px solid var(--line); text-align: left; }
.wp-block-table.cmp thead { border: 0; }
.wp-block-table.cmp th { font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.wp-block-table.cmp td:not(:first-child), .wp-block-table.cmp th:not(:first-child) { text-align: center; width: 22%; color: var(--muted); }
.wp-block-table.cmp strong { color: #39ff9c; }

/* Plain text pages (Code of conduct, Privacy) */
.plain-hero { min-height: 380px; }
.plain-hero h1 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(40px, 6vw, 84px); line-height: .9; letter-spacing: -.03em; margin-top: 18px; }
.prose { max-width: 780px; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 22px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; color: #c5d0e8; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a:not(.wp-block-button__link) { color: var(--ice); text-decoration: underline; }

/* Footer */
.site-footer .footer-links a { display: inline-block; margin-right: 22px; padding: 7px 0; } /* 30px+ tall: easy to tap on phones */
.site-footer .footer-links a:hover { color: #fff; }

@media (max-width: 960px) {
  .facts > div:nth-child(2) { border-right: 0; } .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts.two > div { border-bottom: 0; }
  .route { grid-template-columns: 1fr; } .route .meta-r { grid-column: auto; }
  .photo.tallphoto { min-height: 360px; }
}

/* Keyboard focus in brand colours (visible for keyboard users, subtle elsewhere) */
.rv-nav .is-menu-open .wp-block-navigation-item__content:focus { outline: none; }
.rv-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--electric); outline-offset: 4px; border-radius: 4px; }

/* "Blank" template (stand-alone pages such as Mystery Dance): no site header/footer, readable column */
.blank-page { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.blank-page > .wp-block-post-title { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 6vw, 64px); line-height: .95; letter-spacing: -.03em; margin-bottom: 32px; }
.blank-page .wp-block-cover { margin: 0 0 1.5em; border-radius: 12px; overflow: hidden; }
.blank-page .wp-block-cover p { color: #fff; margin: 0; }
.blank-page .has-text-align-center { text-align: center; }

/* ---------- Newsletter (shortcode [rv_newsletter], above the footer) ---------- */
.rv-news-sec { border-top: 1px solid var(--line); padding: 72px 0; background: radial-gradient(60% 120% at 100% 0%, rgba(37, 99, 255, .16), transparent 70%); }
.rv-news { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rv-news-title { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: .95; letter-spacing: -.03em; margin: 12px 0 14px; }
.rv-news-sub { color: var(--muted); max-width: 44ch; }
.rv-news-row { display: flex; gap: 10px; }
.rv-news-row input { flex: 1; min-width: 0; padding: 1em 1.1em; border-radius: 6px; border: 1px solid rgba(168, 216, 255, .3); background: rgba(3, 6, 26, .7); color: var(--text); font: inherit; }
.rv-news-row input:focus { outline: 2px solid var(--electric); outline-offset: 1px; }
.rv-news-row .btn { margin: 0; background: var(--cta); color: #fff; cursor: pointer; white-space: nowrap; }
.rv-news-row .btn:disabled { opacity: .6; }
.rv-news-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--muted); }
.rv-news-consent input { margin-top: 3px; accent-color: var(--blue); }
.rv-news-consent a { color: var(--ice); text-decoration: underline; }
.rv-news-msg { min-height: 1.4em; margin-top: 12px; font-weight: 700; color: #39ff9c; }
.rv-news.is-error .rv-news-msg { color: #ff8a8a; }
.rv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 800px) {
  .rv-news { grid-template-columns: 1fr; gap: 24px; }
  .rv-news-row { flex-direction: column; }
}
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.rv-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; width: max-content; max-width: calc(100vw - 32px); padding: 16px 22px; border-radius: 10px; background: #03061a; border: 1px solid rgba(57, 255, 156, .5); color: var(--text); font-weight: 700; box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .8); transition: opacity .6s, transform .6s; }
.rv-toast::before { content: "✓ "; color: #39ff9c; }
.rv-toast.out { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
/* "+ Add to calendar" under the hero countdown */
.rv-cal { position: relative; margin-top: 14px; text-align: right; border-bottom: 0; }
.rv-cal summary { display: inline-block; list-style: none; cursor: pointer; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }
.rv-cal summary::-webkit-details-marker { display: none; }
.rv-cal summary::after { content: none; }
.rv-cal summary { padding: 0; gap: 0; }
.rv-cal summary:hover, .rv-cal[open] summary { color: #fff; }
.rv-cal-menu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 200px; padding: 6px; text-align: left; background: #0a1647; border: 1px solid rgba(168, 216, 255, .3); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.rv-cal-menu a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; color: #e9effb; text-decoration: none; }
.rv-cal-menu a:hover, .rv-cal-menu a:focus-visible { background: rgba(37, 99, 255, .35); color: #fff; }
@media (max-width: 960px) { .rv-cal { text-align: left; } .rv-cal-menu { right: auto; left: 0; } }
.rv-404-links { margin-top: 34px; color: var(--muted); }
.rv-404-links a { color: var(--ice); } .rv-404-links a:hover { color: #fff; }
/* EN / ES switch next to "Get tickets" */
.hdr .hdr-cta { align-items: center; gap: 18px; }
.rv-lang { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12px; letter-spacing: .14em; line-height: 1; color: #fff; padding: 7px 11px; border: 1px solid rgba(168, 216, 255, .5); border-radius: 999px; text-decoration: none; }
.rv-lang svg { width: 21px; height: 14px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.rv-lang:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 960px) { .hdr .rv-lang { margin-left: auto; } .hdr .rv-lang + .hdr-cta { margin-left: 0; } }
