/* ==========================================================================
   AIRDROP · Genre page (November 2026)

   pages/genre.php wears the city page (event-v2.css + immersive hero +
   country.css under body.ctry + city.css under body.cty) and adds only what
   makes it a music style:

   - the medallion is a spinning record - the genre photo is the label;
   - "answer" lines under the Tel Aviv / Israel / abroad headings - one
     factual sentence each, written for Google and AI engines to quote;
   - one sticky filter bar with two groups: when (date chips) and where
     (city chips, or countries on FESTS IO) - assets/js/genre.js;
   - the genre's WhatsApp community as a hero key and a card.

   Scope: body.gnr (set together with body.ctry.cty in pages/genre.php).
   ========================================================================== */

/* ── Hero: a record instead of a passport stamp ── */
body.gnr .gnr-disc { cursor: default; }
body.gnr .gnr-disc .gnr-vinyl {
  position: relative; display: grid; place-items: center;
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(circle, transparent 0 28.5%, rgba(0, 0, 0, .55) 29% 30%, transparent 30.5%),
    repeating-radial-gradient(circle, #121216 0 1.3px, #1c1c22 1.3px 2.8px);
  animation: gnr-spin 16s linear infinite;
}
/* the label: the genre photo, with a small spindle hole */
body.gnr .gnr-disc .gnr-vinyl img {
  width: 56%; height: 56%; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .6);
}
body.gnr .gnr-disc .gnr-vinyl::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: #0b0b0e; box-shadow: 0 0 0 2px rgba(255, 255, 255, .28);
}
body.gnr .gnr-vinyl__note { display: grid; place-items: center; width: 56%; height: 56%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8e3ef4, #3a1670 75%); color: #fff; font-style: normal; }
body.gnr .gnr-vinyl__note svg { width: 44%; height: 44%; }
/* the light on the grooves stays still while the record turns */
body.gnr .gnr-disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, .13) 13%, transparent 19% 58%, rgba(255, 255, 255, .08) 63%, transparent 69%);
  -webkit-mask: radial-gradient(circle, transparent 0 28.5%, #000 29%); mask: radial-gradient(circle, transparent 0 28.5%, #000 29%);
}
@keyframes gnr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body.gnr .gnr-disc .gnr-vinyl { animation: none; } }

/* ── Hero: the genre's WhatsApp community key ── */
body.gnr .ev2-hero__actions .gnr-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none;
  background: rgba(37, 211, 102, .2); color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  transition: background .15s ease;
}
body.gnr .ev2-hero__actions .gnr-wa:hover { background: rgba(37, 211, 102, .32); }
body.gnr .ev2-hero__actions .gnr-wa svg { width: 18px; height: 18px; color: #25d366; }
body.gnr .ev2-hero__actions .gnr-wa span { font-size: 15px; font-weight: 700; margin: 0; white-space: nowrap; }
@media (min-width: 901px) {
  body.gnr .ev2-hero__actions .gnr-wa { height: 56px; padding: 0 22px; }
}
@media (max-width: 900px) {
  /* phones hide .ev2-save; the community key stays, full width under the orb */
  body.gnr .ev2-hero__actions { flex-wrap: wrap; }
  body.gnr .ev2-hero__actions .gnr-wa { display: flex; width: 100%; height: 50px; }
}

/* ── "In short" sits right above the FAQ (both are what AI engines quote) ── */
body.gnr .ev2-section.gnr-facts { padding-bottom: 0; }
body.gnr .gnr-facts .ai-facts { margin: 0; border: 0; }

/* ── Answer lines: one quotable sentence under each zone's heading ── */
body.gnr .gnr-answer {
  margin: -4px 0 16px; max-width: 76ch;
  color: #bdbdbd; font-size: 15px; line-height: 1.6; text-wrap: pretty;
}
body.gnr .gnr-answer--list { margin: -6px 0 14px; }
body.gnr .ev2-content > .sp-shelf .gnr-answer { padding-inline: 0; }
@media (max-width: 900px) { body.gnr .gnr-answer { font-size: 14px; } }

/* Tel Aviv + abroad shelves get the same rhythm as the city page's shelves */
body.gnr .gnr-zone .sp-shelf__head { margin-bottom: 10px; }
body.gnr .gnr-zone .sp-shelf__more { flex: none; white-space: nowrap; }

/* ── One filter bar, two groups: when | where ── */
body.gnr .gnr-filters { align-items: center; }
body.gnr .gnr-filters__sep { flex: none; width: 1px; height: 24px; margin: 0 4px; background: rgba(255, 255, 255, .16); }
body.gnr .gnr-where svg { width: 15px; height: 15px; margin-inline-end: -2px; }

/* ── Community card ── */
body.gnr .gnr-community__card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px;
  background: #1a1a1d; color: #fff; text-decoration: none; transition: background .2s ease;
}
body.gnr .gnr-community__card:hover { background: #222226; }
body.gnr .gnr-community__ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(37, 211, 102, .14); color: #25d366; }
body.gnr .gnr-community__ic svg { width: 26px; height: 26px; }
body.gnr .gnr-community__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
body.gnr .gnr-community__txt b { font-size: 16.5px; }
body.gnr .gnr-community__txt small { color: #a9a9a9; font-size: 13.5px; line-height: 1.45; }
body.gnr .gnr-community__btn { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #25d366; color: #0b2414; font-size: 14px; font-weight: 800; white-space: nowrap; }
@media (max-width: 600px) {
  body.gnr .gnr-community__card { flex-wrap: wrap; gap: 12px 14px; padding: 16px; }
  body.gnr .gnr-community__ic { width: 44px; height: 44px; }
  body.gnr .gnr-community__txt { flex-basis: calc(100% - 60px); }
  body.gnr .gnr-community__btn { width: 100%; justify-content: center; }
}

/* ── More styles: the city tile wears a pin instead of a photo ── */
body.gnr .gnr-dest-city .ctry-dest__art { display: grid; place-items: center; color: #e2c6ff; }
body.gnr .gnr-dest-city .ctry-dest__art i svg { width: 24px; height: 24px; }
body.gnr .gnr-more .ctry-dest__txt b { white-space: normal; line-height: 1.25; }
