@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=Space+Grotesk:wght@300..700&display=swap");

:root {
  --clr-bg:      #DBCCB5;
  --clr-primary: #A52A2A;
  --clr-yellow:  #FFFF00;
  --clr-dark:    #1a1a1a;
  --clr-border:  rgba(165, 42, 42, 0.2);
  --font-serif:  'Crimson Pro', serif;
  --font-sans:   'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--clr-bg);
  color: var(--clr-primary);
  font-family: var(--font-sans);
}

p{
  font-family:var(--font-serif);
  font-size:14px;
  line-height:1.65;
  color:black;
  /*color:rgba(165,42,42,.82) */
  margin:0;
}
.p-summary{
  font-size:15px;
  line-height:1.7;
  /* color:rgba(165,42,42,.82);  */
}

/* ── HOME PAGE ───────────────────────────────────── */

#app {
  height: 97dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#hdr {
  height: 48px;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  flex-shrink: 0;
  background: var(--clr-bg);
  position: relative;
  z-index: 100;
}

#maps {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}

.map-panel {
  position: relative;
  height: 100%;
  overflow: hidden;
  flex: 0 0 50%;
  transition: flex-basis 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.map-panel.expanded { flex-basis: 65%; }
.map-panel.shrunk   { flex-basis: 35%; }
.map-panel.full     { flex-basis: 100%; }
.map-panel.gone     { display: none; }

.map-el {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, black, transparent) !important ;
  border: 1px solid var(--clr-primary);
}

/* City label floating over each map */
.city-label {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-bg);
  padding: 5px 14px;
  border: 1px solid rgba(165, 42, 42, 0.25);
  pointer-events: none;
  white-space: nowrap;
}

#divider {
  width: 1px;
  background: var(--clr-border);
  flex-shrink: 0;
  z-index: 10;
}

/* ── SIDE PANELS ─────────────────────────────────── */

.side-panel {
  position: fixed;
  top: 48px;
  bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: hsl(36deg 35% 78% / 95%);
}

.side-panel.london-side {
  left: 0;
  border-right: 1px solid rgba(165, 42, 42, 0.25);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.14);
  animation: slideInLeft 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.side-panel.paris-side {
  right: 0;
  border-left: 1px solid rgba(165, 42, 42, 0.25);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.14);
  animation: slideInRight 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.card-width   { width: 390px; }
.detail-width { width: 560px; }

@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* ── PANEL INTERNALS ─────────────────────────────── */

.panel-body {
  flex: 1.5;
  overflow-y: auto;
}

.panel-body::-webkit-scrollbar { width: 4px; }
.panel-body::-webkit-scrollbar-track { background: transparent; }
.panel-body::-webkit-scrollbar-thumb { background: rgba(165, 42, 42, 0.25); }

.panel-footer {
  border-top: 1px solid rgba(165, 42, 42, 0.15);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  background: var(--clr-bg);
}

.panel-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(165, 42, 42, 0.15);
  padding: 0 16px;
  height: 44px;
  flex-shrink: 0;
  background: var(--clr-bg);
}

/* ── BUTTONS ─────────────────────────────────────── */

.btn-primary {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px;
  background: var(--clr-primary);
  color: var(--clr-bg);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.87; }

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: none;
  color: var(--clr-primary);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--clr-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-outline:hover {
  background: var(--clr-primary);
  color: var(--clr-bg);
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-primary);
  padding: 8px 10px;
}
.btn-ghost:hover { background: rgba(165, 42, 42, 0.07); }

.card-ghost {
  display: inherit;
  text-decoration: none;
}

.card-ghost:hover { background: rgba(165, 42, 42, 0.1); }

.btn-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-nav {
  padding: 8px 10px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-primary);
  cursor: pointer;
}

.btn-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

/* ── MISC ────────────────────────────────────────── */

.label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(165, 42, 42, 0.55);
}

.yellow-rule {
  width: 48px;
  height: 2px;
  background: var(--clr-yellow);
}
.black-rule {
  width: 48px;
  height: 2px;
  background: var(--clr-dark);
}

.artist-card {
  border: 1px solid rgba(165, 42, 42, 0.15);
  padding: 18px;
  display: block;
}
.artist-card-1 {
  background-color: rgba(165, 42, 42, 0.1);
}

.imageContainer{
  display:grid;
  width:100%;
  max-height:250px;
  overflow:hidden;
  border-bottom:1px solid rgba(165,42,42,.12);
  flex-shrink:0;
}
#mainimageContainer:hover{
  border: #A52A2A solid 2px;
}

.imgDefault{
 width:100%;
 height:100%;
 object-fit:cover;
 mix-blend-mode:multiply;
 opacity:.9;
}

.imgThumb {
  border: 1px solid rgba(165, 42, 42, 0.15);
  background-color: rgba(165, 42, 42, 0.1);
  margin: 18px;
  padding: 2px;
  display: block;
  max-width: 100px;
  max-height: 100px;
}
.imgThumb:hover, .thumbActive{
  mix-blend-mode:normal;
  transform: scale(1.2);
}

#fullpage {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size:auto;
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-color: rgba(0, 0, 0, 0.7);
}

/* ── STORY PAGE ──────────────────────────────────── */

#app.story-page {
  height: auto;
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ── LEAFLET OVERRIDES ───────────────────────────── */

.leaflet-tooltip {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--clr-bg);
  color: var(--clr-primary);
  border: 1px solid rgba(165, 42, 42, 0.3);
  border-radius: 0;
  padding: 4px 10px;
  box-shadow: none;
}

.leaflet-tooltip::before,
.leaflet-tooltip-top::before,
.leaflet-tooltip-bottom::before,
.leaflet-tooltip-left::before,
.leaflet-tooltip-right::before { display: none; }

.leaflet-tile-pane img, .leaflet-tile {
filter: brightness(60%);
}

.mapLines {
  stroke-width: 3;
  stroke: #DBCCB5;
  filter: url(#displacementFilter);
  -webkit-filter: url(#displacementFilter);
}

.leaflet-marker-icon{
  opacity: 0.4;
  
}
.leaflet-marker-icon.icparis, .leaflet-marker-icon.iclondon {
  opacity: 0.9;
  filter: brightness(2) saturate(0.5) contrast(1.5);
}

