/* ================================================================
   VOYAGE NEPAL — REGIONS DETAIL PANEL
================================================================ */

.rg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 51, 0.55);
  backdrop-filter: blur(3px);
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.rg-backdrop.rg-open { opacity: 1; pointer-events: auto; }

.rg-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(500px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 8001;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.rg-panel.rg-open { transform: translateX(0); }

/* ── Hero image ── */
.rg-hero {
  position: relative;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
}
.rg-hero-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-color: #d1d5db;
}
.rg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.08) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.rg-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}
.rg-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.87rem;
  margin: 0;
  line-height: 1.5;
}

/* ── Close button ── */
.rg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 1;
}
.rg-close:hover { background: rgba(0, 0, 0, 0.72); }

/* ── Body ── */
.rg-body { padding: 28px 28px 44px; flex: 1; }

.rg-desc {
  font-size: 0.93rem;
  color: var(--dark-grey);
  line-height: 1.75;
  margin: 0 0 22px;
}

/* ── Best time meta strip ── */
.rg-meta {
  background: #f4f6fb;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rg-meta-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mid-grey);
  white-space: nowrap;
}
.rg-meta-sep { color: var(--light-grey); font-size: 1.1rem; line-height: 1; }
.rg-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-blue);
}

/* ── Section heading ── */
.rg-section { margin-bottom: 24px; }
.rg-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-grey);
  margin: 0 0 12px;
}

/* ── Highlights list ── */
.rg-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.rg-highlights li {
  font-size: 0.88rem;
  color: var(--dark-grey);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.rg-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.78rem;
  top: 2px;
}

/* ── Activity tags ── */
.rg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-tag {
  background: #eef2ff;
  color: var(--dark-blue);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.79rem;
  font-weight: 600;
}

/* ── CTA button ── */
.rg-cta {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: 0.01em;
}
.rg-cta:hover { background: var(--red-dark); }

/* ── Region card click affordance ── */
.region-card { cursor: pointer; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .rg-hero { height: 220px; }
  .rg-title { font-size: 1.35rem; }
  .rg-body { padding: 22px 20px 36px; }
}
