/* Country map pages (assets/country-map.js): the map's own text, and the printable binder page */
.cmap-lbl { font-family: 'Public Sans', system-ui, sans-serif; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
.cmap-country { font: 600 19px 'Newsreader', Georgia, serif; letter-spacing: .16em; fill: #fff; stroke: rgba(8, 14, 26, .75); stroke-width: 3.2px; text-transform: uppercase; }
.cmap-nbr { font-weight: 600; font-size: 9.2px; letter-spacing: .18em; fill: rgba(255, 255, 255, .86); stroke: rgba(8, 14, 26, .7); stroke-width: 2.4px; text-transform: uppercase; }
.cmap-sea { font: italic 400 10px 'Newsreader', Georgia, serif; letter-spacing: .12em; fill: rgba(205, 228, 245, .9); stroke: rgba(8, 20, 40, .55); stroke-width: 2px; }
.cmap-cap { font: italic 600 11px 'Newsreader', Georgia, serif; fill: #fff; stroke: rgba(8, 14, 26, .8); stroke-width: 2.6px; }
.cmap-city { font: italic 400 9.5px 'Newsreader', Georgia, serif; fill: rgba(255, 255, 255, .92); stroke: rgba(8, 14, 26, .8); stroke-width: 2.4px; }
.cmap-scale text { font: 500 7px 'Public Sans', system-ui, sans-serif; fill: #fff; paint-order: stroke; stroke: rgba(8, 14, 26, .8); stroke-width: 2px; }
.cmap-svg { display: block; width: 100%; height: 100%; }

/* The printable page */
@page { size: letter portrait; margin: 0; }
.cmap-print { margin: 0; background: #6b6b6b; font-family: 'Public Sans', system-ui, sans-serif; }
.cmap-print .tools { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 10px 16px; background: #101e36; color: #fff; font-size: 14px; }
.cmap-print .tools a { color: #e2c27a; }
.cmap-print .tools button { font: 600 14px 'Public Sans', sans-serif; padding: 7px 14px; border: 0; border-radius: 6px; background: #e2c27a; color: #101e36; cursor: pointer; }
.cmap-print .tools button:disabled { opacity: .6; cursor: progress; }
.cmap-print .tools .tip { font-size: 12px; opacity: .75; }
.sheet { width: 8.5in; height: 11in; background: #fff; position: relative; overflow: hidden; margin: 16px auto; box-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.sheet .frame { position: absolute; inset: 0.3in; display: flex; flex-direction: column; }
.sheet header { height: 0.62in; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0.22in; color: #f4efe3; border-bottom: 2px solid #b8913f; }
.sheet header h1 { margin: 0; font: 600 22pt/1 'Newsreader', Georgia, serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet header .where { font: 500 8pt/1.2 'Public Sans', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #e2c27a; text-align: right; }
.cmap-print-map { flex: 1; position: relative; overflow: hidden; background: #0d1626; }
.cmap-print-map svg { position: absolute; inset: 0; }
.cmap-loading { color: rgba(255, 255, 255, .7); text-align: center; margin-top: 40%; font-size: 14px; }
.sheet footer { height: 0.36in; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0.22in; border-top: 1px solid rgba(184, 145, 63, .7);
  font: 400 5.6pt/1.25 'Public Sans', sans-serif; color: rgba(244, 239, 227, .72); letter-spacing: .04em; }
.sheet footer .curated { font: italic 400 7.5pt 'Newsreader', Georgia, serif; color: #e2c27a; letter-spacing: .02em; white-space: nowrap; }
.sheet footer .credit { text-align: right; max-width: 5in; }
@media print {
  .cmap-print { background: #fff; }
  .cmap-print .tools { display: none; }
  .sheet { margin: 0; box-shadow: none; }
}

/* On the country page: the zoomable map */
.cp-map { position: relative; }
.cp-map-box { position: relative; height: clamp(320px, 62vw, 640px); background: #0d1626; overflow: hidden; touch-action: none; }
.cp-map-box .cmap-loading { margin-top: 0; padding-top: 25%; }
.cp-map-zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.cp-map-zoom button { width: 32px; height: 32px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(16, 30, 54, .8); color: #fff; font-size: 17px; cursor: pointer; }
.cp-map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 8px 26px; font-size: 11px; color: var(--bd-gold, #c9a84c); }
.cp-map-foot .credit { opacity: .8; }
.cp-map-links { margin-left: auto; font-size: 13px; } .cp-map-links a:not(.staff-pill) { color: var(--bd-gold); }
.cp-jump { margin-left: 14px; white-space: nowrap; color: var(--bd-gold, #b8913f); font-size: 13px; text-decoration: none; }
.cp-jump:hover { text-decoration: underline; }
.cp-map { margin-top: 18px; scroll-margin-top: 12px; }
@media print { .cp-jump { display: none; } }

/* ---------- Eurozone map (assets/euro-map.js) ---------- */
.eu-lbl { font-family: 'Public Sans', system-ui, sans-serif; fill: #fff; stroke: rgba(8, 14, 26, .78); stroke-width: 2.6px; }
.eu-lbl .eu-name { font-weight: 700; font-size: 9.6px; letter-spacing: .06em; text-transform: uppercase; }
.eu-lbl .eu-year { font-weight: 600; font-size: 9.4px; fill: #f1d488; letter-spacing: .04em; }
.eu-leader { stroke: rgba(255, 255, 255, .8); stroke-width: 0.8; }
.eu-swatch { display: inline-block; width: 22px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: 6px; }
.eu-swatch.eu-member { border-color: #e5b13a; border-top-style: solid; }
.eu-swatch.eu-agreement { border-color: #2fb8c4; border-top-style: dashed; }
.eu-swatch.eu-unilateral { border-color: #f06b4f; border-top-style: dotted; border-top-width: 4px; }
.eu-tip { position: absolute; z-index: 5; max-width: 270px; display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; border-radius: 8px;
  background: rgba(12, 20, 34, .94); color: #f3efe6; font: 12.5px/1.35 'Public Sans', system-ui, sans-serif; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.eu-tip strong { font-size: 14px; }
.eu-tip a { color: #f1d488; }
.eu-tip-st { font-weight: 600; }
.eu-tip-note { color: #d9d2c3; }
.eu-tip-def { color: #b9c2cc; font-size: 11.5px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 4px; margin-top: 2px; }
.eu-tip[hidden] { display: none; }

.cp-euro .cp-map-box { height: clamp(440px, 74vw, 800px); }

/* Eurozone binder map page: the legend between the map and the footer */
.eu-print-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.06in 0.2in; padding: 0.1in 0.22in 0.08in; border-top: 2px solid #b8913f; color: #f4efe3; }
.eu-print-legend p { margin: 0; font: 400 7.2pt/1.32 'Public Sans', sans-serif; }
.eu-print-legend .eu-pl-head { font-weight: 700; font-size: 8pt; letter-spacing: .04em; margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.eu-print-legend .eu-pl-note { grid-column: 1 / -1; font-style: italic; color: #e2c27a; font-size: 7pt; }
.sheet.is-euro header .where { line-height: 1.5; }
