/* ═══════════════════════════════════════════════════════════════════════════
   Location Headers — 300px, unique artwork per location
   ═══════════════════════════════════════════════════════════════════════════ */

.loc-header {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 24px;
  background: rgba(8,13,27,0.68);
  box-shadow: 0 18px 40px rgba(0,0,0,0.42), 0 0 28px rgba(216,181,106,0.08);
}
.loc-header img {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.loc-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,8,16,0.05) 0%, rgba(5,8,16,0.18) 45%, rgba(5,8,16,0.90) 100%);
  pointer-events: none;
}
.loc-overlay {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 2;
}
.loc-title {
  font-family: "Cinzel", serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f2d58b;
  text-shadow: 0 3px 14px rgba(0,0,0,0.95), 0 0 18px rgba(216,181,106,0.22);
}
.loc-subtitle {
  margin-top: 7px;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  color: #e5e7eb;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Page Content Panel — background card below location headers
   ═══════════════════════════════════════════════════════════════════════════ */

.page-panel {
  background: rgba(15,15,35,0.80);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  color: #d1d5db;
  line-height: 1.7;
  font-family: 'Cormorant Garamond', 'Inter', serif;
  font-size: 13pt;
}
.page-panel b {
  color: #e5d5a0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 13pt;
}
.page-panel u { color: #c4b5fd; }
.page-panel a { color: #a78bfa; }
.page-panel a:hover { color: #c4b5fd; }
.page-panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
.page-panel table td {
  padding: 10px 12px;
  vertical-align: top;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13pt;
  line-height: 1.7;
}
.page-panel center b u {
  font-family: "Cinzel", serif;
  font-size: 13pt;
  color: #c4b5fd;
  letter-spacing: 0.8px;
}
.page-panel select {
  font-family: 'Cormorant Garamond', serif;
}

/* Per-location crop adjustment */
.loc-header-hogsmeade img { object-position: center 38%; }
.loc-header-diagon img { object-position: center 48%; }
.loc-header-labyrinth img { object-position: center 55%; }
.loc-header-castle img { object-position: center 40%; }
.loc-header-library img { object-position: center 45%; }
.loc-header-dungeon img { object-position: center 50%; }
.loc-header-arena img { object-position: center 42%; }
.loc-header-forest img { object-position: center 50%; }
.loc-header-market img { object-position: center 35%; }
.loc-header-hospital img { object-position: center 45%; }
.loc-header-temple img { object-position: center 40%; }

/* Map location headers — smaller variant */
.loc-header-sm {
  position: relative; width: 100%; height: 180px; overflow: hidden;
  border-radius: 12px; margin-bottom: 16px;
}
.loc-header-sm img { width: 100%; height: 180px; object-fit: cover; }
.loc-header-sm::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,8,16,0.05) 0%, rgba(5,8,16,0.85) 100%);
}
.loc-header-sm .overlay {
  position: absolute; bottom: 16px; left: 24px; z-index: 2;
}
.loc-header-sm .loc-title { font-family: "Cinzel", serif; font-size: 18pt; color: #f2d58b; }
.loc-header-sm .loc-subtitle { font-size: 9pt; color: #e5e7eb; }
