/* marketing-map.co.uk — site styles (Bootstrap 5 on top). Created 2026-11-08, Seb & AI. */
:root {
  --mm-ink: #14213d;
  --mm-ink-2: #1f2f55;
  --mm-paper: #fbfaf7;
  --mm-accent: #f2b705;
  --mm-muted: #5c6475;
  --mm-board: #ffffff;
  --mm-line-w: 9;
}
body { background: var(--mm-paper); color: #1d2433; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3, .mm-display, .mm-brand { font-family: "Space Grotesk", Inter, system-ui, sans-serif; letter-spacing: -.01em; }
a { color: #1d5fb5; }
a:hover { color: #0d3f80; }

.mm-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 2000; }
.mm-skip:focus { left: 1rem; top: 1rem; }

.mm-nav { background: var(--mm-ink); }
.mm-nav .nav-link { font-size: .92rem; }
.mm-nav .nav-link.active { color: var(--mm-accent) !important; }
.mm-brand { font-weight: 700; color: #fff; }
.mm-brand span { color: var(--mm-accent); }
.mm-crumbs { background: #f1efe9; }

.mm-hero { padding-top: .5rem; }
.mm-display { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: var(--mm-ink); }
.mm-display span { color: #d6332a; }

/* The map */
.mm-map-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; box-shadow: 0 2px 12px rgba(20,33,61,.08); background: var(--mm-board); }
.mm-map { display: block; width: 100%; min-width: 680px; height: auto; }
.mm-board { fill: var(--mm-board); }
.mm-line { fill: none; stroke-width: var(--mm-line-w); stroke-linecap: round; stroke-linejoin: round; }
.mm-stop { fill: #fff; stroke: var(--mm-ink); stroke-width: 4; }
.mm-ring { fill: #fff; stroke: var(--mm-ink); stroke-width: 5; }
.mm-label { font: 600 17px Inter, system-ui, sans-serif; fill: var(--mm-ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.mm-label-int { font-weight: 700; }
.mm-station { cursor: pointer; text-decoration: none; }
.mm-station text { text-decoration: none; }
.mm-station:hover .mm-stop, .mm-station:hover .mm-ring, .mm-station:focus .mm-stop, .mm-station:focus .mm-ring { fill: var(--mm-accent); }
.mm-station:hover .mm-label, .mm-station:focus .mm-label { fill: #0d3f80; text-decoration: underline; }
.mm-legend-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; padding: .2rem .55rem; border-radius: 99px; background: #fff; border: 1px solid #e3e0d8; color: var(--mm-ink); text-decoration: none; }
.mm-legend-item:hover { border-color: var(--mm-ink); }
.mm-swatch { width: 22px; height: 6px; border-radius: 3px; display: inline-block; }
.mm-textline { background: #fff; border: 1px solid #e8e5dd; border-left: 6px solid; border-radius: 10px; padding: .75rem 1rem; height: 100%; }

/* Cards */
.mm-card { background: #fff; border: 1px solid #e8e5dd; border-radius: 12px; padding: 1.1rem 1.2rem; }
.mm-card-link { color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.mm-card-link:hover { color: inherit; box-shadow: 0 6px 18px rgba(20,33,61,.1); transform: translateY(-1px); }
.mm-foot-h { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; opacity: .85; }
.mm-line-badge { display: inline-block; color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .65rem; border-radius: 99px; }
@media (min-width: 992px) { .mm-sticky { position: sticky; top: 80px; } }

/* Prose */
.mm-prose { font-size: 1.04rem; line-height: 1.7; overflow-wrap: anywhere; }
.mm-prose h1 { font-weight: 700; color: var(--mm-ink); }
.mm-prose h2 { font-size: 1.45rem; margin-top: 2rem; color: var(--mm-ink); scroll-margin-top: 80px; }
.mm-prose section { scroll-margin-top: 80px; }
.mm-prose img { max-width: 100%; height: auto; border-radius: 6px; }
.mm-post-body table { width: 100%; margin-bottom: 1rem; }
.mm-post-body td, .mm-post-body th { border: 1px solid #ddd; padding: .35rem; }
.mm-cols-2 { columns: 2; column-gap: 2rem; }
@media (max-width: 576px) { .mm-cols-2 { columns: 1; } }

/* Book shelves */
.mm-shelf-card { background: #fff; border: 1px solid #e8e5dd; border-radius: 10px; padding: .75rem; color: inherit; }
.mm-shelf-card:hover { box-shadow: 0 6px 18px rgba(20,33,61,.1); color: inherit; }
.mm-shelf-img { display: block; width: 100%; height: 170px; object-fit: contain; margin-bottom: .5rem; }
.mm-shelf-noimg { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #bbb; background: #f5f3ee; border-radius: 6px; }
.mm-shelf-title { font-size: .85rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
aside .mm-shelf .col-md-3 { flex: 0 0 50%; max-width: 50%; }

.mm-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.mm-footer { background: var(--mm-ink); color: #e9ecf5; }
.mm-footer a { color: #fff; text-decoration: none; }
.mm-footer a:hover { text-decoration: underline; }

/* Print the map */
.mm-print-title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: .5rem; }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  .mm-nav, .mm-crumbs, .mm-footer, .d-print-none, .mm-skip { display: none !important; }
  body { background: #fff; }
  .mm-map-wrap { box-shadow: none; overflow: visible; }
  .mm-map { min-width: 0; }
  main { padding: 0 !important; }
}
