/* The place pages (/places/…, /el/places/…; written by the build, src/place-pages.js). Colours of the map's
   default theme; dark when the device asks for it. */
:root {
  --ink: #13222b; --ink-soft: #46606d; --bg: #f4f8fa; --card: #ffffff; --line: rgba(19, 34, 43, 0.12);
  --accent: #0e7490; --accent-ink: #ffffff; --chip: #e3f1f5; --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef4f6; --ink-soft: #a9c0c9; --bg: #0f1c24; --card: #142430; --line: rgba(255, 255, 255, 0.14);
    --accent: #38bdd8; --accent-ink: #062029; --chip: #1c3644; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, system-ui, sans-serif; }
a { color: var(--accent); }
.top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 16px; }
.top nav a { text-decoration: none; font-weight: 600; }
main { max-width: 860px; margin: 0 auto; padding: 16px 16px 40px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 4px 0 18px; }
.crumbs a { color: var(--ink-soft); }
.kicker { margin: 0; color: var(--ink-soft); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 6px 0 12px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
.lead { font-size: 19px; color: var(--ink-soft); }
.go { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; }
.go:hover { filter: brightness(1.08); }
.photo { margin: 22px 0; }
.photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius); display: block; }
.photo figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.meta { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--chip); border-radius: 999px; padding: 4px 12px; font-size: 15px; }
.sources { font-size: 15px; padding-left: 20px; overflow-wrap: anywhere; }
.more ul { padding-left: 20px; columns: 2 240px; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.cards a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.cards a:hover { border-color: var(--accent); }
.cards img, .cards .nophoto { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--chip); }
.cards b { padding: 12px 14px 4px; font-size: 18px; }
/* the whole text, scrolling inside the card when it is longer than the box */
.cards span:last-child { margin: 0 14px 14px; padding-right: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-soft);
  max-height: 9em; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.foot { max-width: 860px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
