@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,600&display=swap');

/* =============================================================
   Royalty4Real Radio — Plugin Styles
   Scoped under .r4r-wrap to avoid conflicts with theme CSS
   ============================================================= */

/* ── Variables ─────────────────────────────────────────────── */
.r4r-wrap {
  --navy:       #2b3560;
  --navy-dark:  #1e2540;
  --navy-darker:#1a2040;
  --gold:       #b8973a;
  --gold-dk:    #7a6018;
  --gold-on-navy:#c4a44a;
  --gold-light: #dcc47a;
  --gold-pale:  #f0e4c0;
  --cream:      #faf8f4;
  --ink:        #1e2540;
  --mist:       #f2efe8;
  --border:     rgba(184,151,58,0.22);
  --rose:       #8a7040;
  --muted-on-light: #6d6d6d;
  --muted-on-mist:  #666;

  --font-display: 'Raleway', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body:    'Raleway', ui-sans-serif, system-ui, -apple-system, sans-serif;

  font-family: var(--font-body);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  background: var(--cream);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.r4r-wrap *, .r4r-wrap *::before, .r4r-wrap *::after {
  box-sizing: border-box;
  font-family: inherit;
  margin: 0;
  padding: 0;
}

/* Force Raleway everywhere inside plugin — beats WPBakery monospace inheritance */
.r4r-wrap, .r4r-wrap p, .r4r-wrap h1, .r4r-wrap h2, .r4r-wrap h3, .r4r-wrap h4,
.r4r-wrap span, .r4r-wrap div, .r4r-wrap a, .r4r-wrap li, .r4r-wrap blockquote,
.r4r-wrap button, .r4r-wrap input {
  font-family: 'Raleway', ui-sans-serif, system-ui, -apple-system, sans-serif !important;
}

/* ── Hero Player ────────────────────────────────────────────── */
.r4r-wrap .r4r-hero {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 52px 24px 48px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.r4r-wrap .r4r-hero::before { display: none; }
.r4r-wrap .r4r-hero::after  { display: none; }

.r4r-wrap .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 680px) {
  .r4r-wrap .hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* On Air Badge */
.r4r-wrap .on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,151,58,0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 600;
}

.r4r-wrap .on-air-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: r4r-pulse 2s ease-in-out infinite;
}

.r4r-wrap .on-air-dot.offline { background: #666; animation: none; }

@keyframes r4r-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Hero logo */
.r4r-wrap .hero-logo { margin-bottom: 16px; }
.r4r-wrap .hero-logo img { max-width: 280px; width: 100%; height: auto; display: block; }

.r4r-wrap .hero-tagline {
  color: var(--muted-on-light);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 400;
  margin-bottom: 28px;
  text-transform: uppercase;
}

/* Now Playing Card */
.r4r-wrap .now-playing-card {
  background: var(--navy-dark);
  border: none;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
}

.r4r-wrap .np-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.r4r-wrap .np-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.r4r-wrap .np-artwork-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.r4r-wrap .np-artwork {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(184,151,58,0.12);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.r4r-wrap .np-artwork img { width: 100%; height: 100%; object-fit: cover; display: none; }
.r4r-wrap .np-artwork img.loaded { display: block; }
.r4r-wrap .np-artwork-icon { color: var(--gold); opacity: 0.6; font-size: 20px; }

.r4r-wrap .np-info { flex: 1; min-width: 0; }

.r4r-wrap .np-track-title {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.r4r-wrap .np-track-artist {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.r4r-wrap .np-progress-bar {
  margin-top: 12px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.r4r-wrap .np-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  width: 0%;
  transition: width 1s linear;
}

/* Player Controls */
.r4r-wrap .player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.r4r-wrap .play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8a6e20);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(184,151,58,0.35);
}

.r4r-wrap .play-btn:hover { transform: scale(1.07); box-shadow: 0 6px 28px rgba(184,151,58,0.5); }
.r4r-wrap .play-btn:active { transform: scale(0.97); }
.r4r-wrap .play-btn svg { fill: #fff; }
.r4r-wrap .play-btn-icon {
  color: #fff;
  font-size: 0; /* hide any text/emoji rendering */
  line-height: 1;
  display: inline-block;
  width: 0; height: 0;
}
/* Pure CSS play triangle */
#r4r-playIcon {
  border-style: solid;
  border-width: 9px 0 9px 18px;
  border-color: transparent transparent transparent #fff;
  font-size: 0 !important;
  width: 0 !important; height: 0 !important;
}
/* Pure CSS pause bars */
#r4r-pauseIcon {
  font-size: 0 !important;
  width: 18px !important;
  height: 18px !important;
  position: relative;
}
#r4r-pauseIcon::before,
#r4r-pauseIcon::after {
  content: '';
  position: absolute;
  top: 0;
  width: 5px;
  height: 18px;
  background: #fff;
  border-radius: 1px;
}
#r4r-pauseIcon::before { left: 2px; }
#r4r-pauseIcon::after  { right: 2px; }

.r4r-wrap .volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.r4r-wrap #r4r-volume-container { flex: 1; display: flex; align-items: center; min-width: 0; }

.r4r-wrap .volume-icon { color: var(--muted-on-light); flex-shrink: 0; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

.r4r-wrap .volume-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.r4r-wrap .volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

.r4r-wrap .listener-count {
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: right;
  white-space: nowrap;
}

.r4r-wrap .listener-count strong { color: var(--gold); font-weight: 600; }

/* Hero Right */
.r4r-wrap .hero-listen-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.r4r-wrap .listen-apps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.r4r-wrap .app-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px 8px 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  font-family: var(--font-body);
}
.r4r-wrap .app-chip::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #aaa;
}
.r4r-wrap .app-chip-apple::before  { background: #555555; }
.r4r-wrap .app-chip-google::before { background: #34a853; }
.r4r-wrap .app-chip-web::before    { background: #b8973a; }
.r4r-wrap .app-chip-alexa::before  { background: #00caff; }
.r4r-wrap .app-chip-programming::before { background: #2b3560; border-radius: 3px; }
.r4r-wrap .app-chip-programming { background: rgba(43,53,96,0.07); border-color: rgba(43,53,96,0.2); font-weight: 600; }

.r4r-wrap .app-chip:hover {
  background: rgba(184,151,58,0.1);
  border-color: rgba(184,151,58,0.4);
  color: var(--gold);
  text-decoration: none;
}

/* Recently Played */
.r4r-wrap .recently-played {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

.r4r-wrap .rp-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-weight: 500;
  margin-bottom: 12px;
}

.r4r-wrap .rp-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.r4r-wrap .rp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: r4r-fadeIn 0.4s ease forwards;
}

@keyframes r4r-fadeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.r4r-wrap .rp-num { font-size: 11px; color: var(--muted-on-mist); width: 14px; flex-shrink: 0; text-align: right; }

.r4r-wrap .rp-art {
  width: 32px; height: 32px; border-radius: 5px;
  background: rgba(184,151,58,0.1); flex-shrink: 0; overflow: hidden;
}

.r4r-wrap .rp-art img { width: 100%; height: 100%; object-fit: cover; }
.r4r-wrap .rp-info { flex: 1; min-width: 0; }
.r4r-wrap .rp-title { color: var(--ink); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r4r-wrap .rp-time { font-size: 10px; color: var(--muted-on-mist); }

/* ── Section Shared ─────────────────────────────────────────── */
.r4r-wrap .r4r-section-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 48px 20px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.r4r-wrap .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.r4r-wrap .section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.r4r-wrap .section-title em { font-style: italic; color: var(--gold-dk); font-weight: 300; }
.r4r-wrap .section-title.light { color: #ffffff !important; }
.r4r-wrap .section-title.light em { color: var(--gold-light); font-weight: 300; font-style: italic; }

.r4r-wrap .section-sub { font-size: 12px; color: var(--muted-on-light); letter-spacing: 0.04em; font-weight: 400; }
.r4r-wrap .section-sub.light { color: rgba(255,255,255,0.55); }

.r4r-wrap .r4r-schedule-bg .section-header { border-color: rgba(184,151,58,0.2); }

/* ── Schedule ───────────────────────────────────────────────── */
.r4r-wrap .r4r-schedule-bg {
  background: var(--navy);
  position: relative;
}

.r4r-wrap .schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.r4r-wrap .schedule-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(184,151,58,0.18);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.r4r-wrap .schedule-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.5;
  transition: opacity 0.2s;
}

.r4r-wrap .schedule-card:hover { border-color: rgba(184,151,58,0.4); background: rgba(255,255,255,0.09); transform: translateY(-2px); }
.r4r-wrap .schedule-card:hover::before { opacity: 1; }
.r4r-wrap .schedule-card.is-live::before { background: var(--gold); opacity: 1; }
.r4r-wrap .schedule-card.is-live { border-color: rgba(184,151,58,0.35); background: rgba(255,255,255,0.08); }

.r4r-wrap .sc-live-badge { display: none; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: #d4b050; font-weight: 700; margin-bottom: 6px; }
.r4r-wrap .schedule-card.is-live .sc-live-badge { display: block; }

.r4r-wrap .sc-time { font-size: 11px; color: #d4b050; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 5px; }
.r4r-wrap .sc-show-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; line-height: 1.25; margin-bottom: 4px; }
.r4r-wrap .sc-playlist { font-size: 11px; color: rgba(255,255,255,0.65); }

/* ── Request Section ────────────────────────────────────────── */
.r4r-wrap .r4r-request-bg {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.r4r-wrap .r4r-request-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(184,151,58,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.r4r-wrap .request-search { position: relative; margin-bottom: 16px; }

.r4r-wrap .request-search input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 48px 14px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.r4r-wrap .request-search input::placeholder { color: rgba(255,255,255,0.45); }
.r4r-wrap .request-search input:focus { border-color: rgba(184,151,58,0.5); background: rgba(255,255,255,0.09); }

.r4r-wrap .search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.55); pointer-events: none; }

.r4r-wrap .track-results { display: none; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; max-height: 280px; overflow-y: auto; }
.r4r-wrap .track-results.visible { display: block; }

.r4r-wrap .track-result-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; transition: background 0.15s; border-bottom: 1px solid rgba(255,255,255,0.04); }
.r4r-wrap .track-result-item:last-child { border-bottom: none; }
.r4r-wrap .track-result-item:hover { background: rgba(184,151,58,0.08); }

.r4r-wrap .tr-art { width: 38px; height: 38px; border-radius: 6px; background: rgba(184,151,58,0.1); flex-shrink: 0; overflow: hidden; }
.r4r-wrap .tr-art img { width: 100%; height: 100%; object-fit: cover; }
.r4r-wrap .tr-info { flex: 1; min-width: 0; }
.r4r-wrap .tr-title { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r4r-wrap .tr-artist { color: rgba(255,255,255,0.55); font-size: 11px; }

.r4r-wrap .tr-request-btn { font-size: 11px; color: var(--gold); border: 1px solid var(--border); background: transparent; border-radius: 6px; padding: 5px 10px; cursor: pointer; font-family: var(--font-body); transition: background 0.15s; white-space: nowrap; flex-shrink: 0; }
.r4r-wrap .tr-request-btn:hover { background: rgba(184,151,58,0.12); }

.r4r-wrap .request-status { margin-top: 12px; font-size: 13px; color: var(--gold-light); min-height: 20px; }
.r4r-wrap .request-status.error { color: #e8a0a0; }

/* ── World Map ──────────────────────────────────────────────── */
.r4r-wrap .r4r-map-bg { background: var(--mist); }

.r4r-wrap .map-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.r4r-wrap .stat-box { background: var(--mist); padding: 20px 24px; text-align: center; }
.r4r-wrap .stat-number { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.r4r-wrap .stat-number span { font-size: 1.1rem; color: var(--gold-dk); }
.r4r-wrap .stat-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-on-light); }

/* SVG World Map */
.r4r-wrap #r4r-map-container { width: 100%; min-height: 250px; display: block; }
.r4r-wrap .r4r-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #e8f0f8 0%, #dde6f0 100%);
  padding: 12px;
  position: relative;
}

.r4r-wrap .r4r-world-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Continent shapes — broad selectors to catch JS-built SVG */
.r4r-wrap .r4r-continents path,
.r4r-wrap .r4r-continents circle,
.r4r-world-map .r4r-continents path,
.r4r-world-map .r4r-continents circle,
.r4r-continents path,
.r4r-continents circle {
  fill: #b8c8d8 !important;
  stroke: #a0b4c6 !important;
  stroke-width: 0.8 !important;
}

/* Listener dot rings — animated pulse */
.r4r-wrap .r4r-dot-ring {
  fill: rgba(184, 151, 58, 0.18);
  stroke: rgba(184, 151, 58, 0.5);
  stroke-width: 1.2;
  animation: r4r-dot-pulse 2.8s ease-out infinite;
  animation-delay: var(--r4r-delay, 0s);
  transform-origin: inherit;
}

@keyframes r4r-dot-pulse {
  0%   { r: 6px;  opacity: 0.9; }
  60%  { r: 16px; opacity: 0.2; }
  100% { r: 6px;  opacity: 0; }
}

/* Solid gold dot core */
.r4r-wrap .r4r-dot-core,
.r4r-dot-core {
  fill: #b8973a !important;
  stroke: #fff !important;
  stroke-width: 1.5 !important;
  filter: drop-shadow(0 0 3px rgba(184,151,58,0.6));
}

/* City labels */
.r4r-wrap .r4r-dot-label,
.r4r-dot-label {
  font-family: 'Raleway', sans-serif;
  font-size: 9px;
  font-weight: 500;
  fill: #2b3560 !important;
  text-anchor: middle;
  pointer-events: none;
  opacity: 0.85;
}

/* Legend */
.r4r-wrap .r4r-map-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted-on-light);
  margin-top: 10px;
}

.r4r-wrap .r4r-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.r4r-wrap .map-note { margin-top: 12px; font-size: 11px; color: #bbb; text-align: center; letter-spacing: 0.03em; }

/* ── About ──────────────────────────────────────────────────── */
.r4r-wrap .r4r-about-bg { background: var(--cream); overflow: hidden; width: 100%; box-sizing: border-box; }

/* About section — single column stacked layout */
.r4r-wrap .about-intro { color: #666; font-size: 15px; line-height: 1.75; margin-bottom: 16px; max-width: 100%; overflow-wrap: break-word; word-break: break-word; white-space: normal; }
.r4r-wrap .about-body  { color: #555; font-size: 15px; line-height: 1.8; font-weight: 300; margin-bottom: 16px; max-width: 100%; overflow-wrap: break-word; word-break: break-word; white-space: normal; }
.r4r-wrap .about-body:last-of-type { margin-bottom: 0; }
.r4r-wrap .r4r-about-bg p { max-width: 100%; overflow-wrap: break-word; word-break: break-word; white-space: normal; }

.r4r-wrap .pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 20px;
}

.r4r-wrap .genre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.r4r-wrap .genre-tag { background: var(--mist); border: 1px solid var(--border); border-radius: 100px; padding: 5px 14px; font-size: 11px; color: var(--muted-on-mist); letter-spacing: 0.06em; text-transform: uppercase; }



.r4r-wrap .submit-cta {
  background: linear-gradient(135deg, #f9f3eb, var(--mist));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.r4r-wrap .submit-cta-text h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.r4r-wrap .submit-cta-text p { font-size: 12px; color: var(--muted-on-light); margin: 0; }

.r4r-wrap .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #8a6e20);
  color: var(--navy-darker) !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.r4r-wrap .btn-gold:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Women Section ──────────────────────────────────────────── */
.r4r-wrap .r4r-women-bg {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.r4r-wrap .r4r-women-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 100%, rgba(184,151,58,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.r4r-wrap .women-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.r4r-wrap .women-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }

.r4r-wrap .woman-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(184,151,58,0.2);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}

.r4r-wrap .woman-chip:hover { background: rgba(184,151,58,0.1); border-color: rgba(184,151,58,0.4); }

.r4r-wrap .women-scripture {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.r4r-wrap .women-scripture strong { color: var(--gold-on-navy); font-style: normal; }

/* ── Skeletons ──────────────────────────────────────────────── */
.r4r-wrap .skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.06) 25%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.06) 75%);
  background-size: 200% 100%;
  animation: r4r-shimmer 1.5s infinite;
  border-radius: 4px;
  display: inline-block;
}

.r4r-wrap .skeleton-light {
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.10) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: r4r-shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes r4r-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .r4r-wrap .map-stats-row { grid-template-columns: 1fr; }
  .r4r-wrap .schedule-grid { grid-template-columns: 1fr; }
  .r4r-wrap .submit-cta { flex-direction: column; align-items: flex-start; }
  .r4r-wrap .hero-logo img { max-width: 200px; }
}

/* ── MapPress Integration ───────────────────────────────────── */
.r4r-wrap .r4r-map-bg { background: var(--mist); }

.r4r-wrap .r4r-mappress-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 28px rgba(43,53,96,0.10);
}

.r4r-wrap .r4r-map-note {
  font-size: 11px;
  color: var(--muted-on-light);
  font-style: italic;
  margin: 10px 0 0;
  text-align: center;
}

.r4r-wrap .r4r-mappress-wrap .mapp-layout,
.r4r-wrap .r4r-mappress-wrap mappress-map.mapp-layout {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
}

/* ── MapPress Mobile ─────────────────────────────────────────── */

/* Footer button bar */
.r4r-mappress-wrap .mapp-footer,
mappress-map .mapp-footer {
  background-color: var(--navy-dark) !important;
  border-top: 1px solid rgba(184,151,58,0.3) !important;
  padding: 8px 16px !important;
  display: flex !important;
  justify-content: center !important;
}

/* Gold List/Map toggle buttons */
.r4r-mappress-wrap .mapp-button.mapp-view-list,
.r4r-mappress-wrap .mapp-button.mapp-view-map,
mappress-map .mapp-button.mapp-view-list,
mappress-map .mapp-button.mapp-view-map {
  background-color: var(--gold) !important;
  color: var(--navy-dark) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 8px 24px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  cursor: pointer !important;
}

/* Hide the stretched PNG icons */
.r4r-mappress-wrap .mapp-view-list img,
.r4r-mappress-wrap .mapp-view-map img,
mappress-map .mapp-view-list img,
mappress-map .mapp-view-map img {
  display: none !important;
}

/* ── Screen Reader Only ─────────────────────────────────────── */
.r4r-wrap .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
