/* Seniors on Tour - clean A4 print layout for the guide pages (Lisbon, Porto, Spain, Greece, Italy).
   Linked with media="print" AFTER the other stylesheets, so it overrides css/print.css, style.css and guide-extras.css.
   Screen look is not touched. White paper, big readable type, thin brand-colour rules, no decorations. */

@page {
  size: A4;
  margin: 15mm 14mm 17mm;
  @bottom-left  { content: "Seniors on Tour"; font: 8.5pt "Avenir Next", "Helvetica Neue", Arial, sans-serif; color: #4a5578; }
  @bottom-right { content: "Page " counter(page) " of " counter(pages); font: 8.5pt "Avenir Next", "Helvetica Neue", Arial, sans-serif; color: #4a5578; }
}

:root {
  --p-blue: #1650b8; --p-deep: #0d2f73; --p-orange: #ff8a1f; --p-cream: #fff6e8; --p-ink: #1b1a2e;
  --p-head: "Avenir Next", "Century Gothic", "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --p-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html { font-size: 11.5pt !important; }
* { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
html, body, body.g2 {
  background: #fff !important; color: var(--p-ink) !important; margin: 0 !important;
  font-family: var(--p-body) !important; font-size: 11.5pt !important; line-height: 1.5 !important;
  overflow: visible !important; height: auto !important; min-height: 0 !important;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
body.g2 .wrap, body.g2 .narrow, body.g2 .hero-intro-in { max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
body.g2 main, body.g2 section, body.g2 .article {
  background: #fff !important; background-image: none !important; color: var(--p-ink) !important;
  min-height: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; overflow: visible !important; clip-path: none !important;
}
body.g2 section::before, body.g2 section::after, body.g2 main::before, body.g2 main::after,
body.g2 .article-hero::before, body.g2 .article-hero::after, body.g2 .hero-intro::before, body.g2 .hero-intro::after { display: none !important; content: none !important; }

/* ------------------------------------------------------------------ hidden in print */
body.g2 svg.doo, body.g2 .doo, body.g2 .glide, body.g2 svg[data-glide], body.g2 .sky-cut, body.g2 .sky-mask, body.g2 .sky,
body.g2 .skyline, body.g2 .cut, body.g2 .ft2-sky, body.g2 .sticker, 
body.g2 .skip-link, body.g2 .masthead .textsize, body.g2 .textsize, body.g2 .gm-btn, body.g2 .mainnav, body.g2 .crumbs,
body.g2 .to-top, body.g2 .toolbar, body.g2 .btn, body.g2 .btn-row, body.g2 button, body.g2 .hero-arrows, body.g2 .hero-nav,
body.g2 .toc, body.g2 .eyebrow, body.g2 .links, body.g2 .ft2-btn, body.g2 .ft2-col, body.g2 .ft2-brand a,
body.g2 .temp-toggle, body.g2 .js-only, body.g2 .no-print, body.g2 #more-guides, body.g2 .more-guides, body.g2 .print-only,
body.g2 .stats, body.g2 .stats-w, body.g2 .vh, body.g2 .busy .big, body.g2 #sources .doo {
  display: none !important;
}
body.g2 svg:not(.lmap-svg):not(.dmap) { display: none !important; }
/* the footer's short cookie/affiliate paragraph is not needed on paper; keep the "Please read" note (first paragraph) */
body.g2 .ft2-note p + p { display: none !important; }

/* the logo: once, small, at the top (colour version for white paper) */
body.g2 .masthead { display: block !important; position: static !important; background: #fff !important; padding: 0 0 4mm !important; margin: 0 0 4mm !important; border: 0 !important; border-bottom: 1.2pt solid var(--p-blue) !important; }
body.g2 .masthead-top { display: block !important; padding: 0 !important; }
body.g2 .masthead .brand { display: inline-block !important; padding: 0 !important; margin: 0 !important; }
body.g2 .masthead .brand-logo { content: url(../logo/seniors-on-tour-logo-outlined.png); display: block !important; width: 24mm !important; height: auto !important; max-width: none !important; }

/* ------------------------------------------------------------------ title block */
body.g2 .article-hero { display: block !important; position: relative !important; margin: 0 0 3mm !important; padding: 0 !important; }
body.g2 .article-hero figure { margin: 0 0 3mm !important; padding: 0 !important; max-width: none !important; width: 100% !important; height: auto !important; aspect-ratio: auto !important; }
body.g2 .article-hero figure img { display: block !important; width: 100% !important; height: 68mm !important; max-height: 68mm !important; object-fit: cover !important; object-position: center 40% !important; border: 0 !important; border-radius: 1.5mm !important; filter: none !important; }
body.g2 .hero-in { position: static !important; padding: 0 !important; margin: 0 !important; background: none !important; }
body.g2 h1 { font-family: var(--p-head) !important; font-weight: 800 !important; font-size: 27pt !important; line-height: 1.1 !important; color: var(--p-deep) !important; margin: 0 0 2mm !important; letter-spacing: -.01em !important; text-shadow: none !important; }
body.g2 .hero-intro { display: block !important; background: #fff !important; padding: 0 !important; margin: 0 0 4mm !important; }
body.g2 .hero-lead { font-size: 12pt !important; line-height: 1.5 !important; color: var(--p-ink) !important; margin: 0 0 2.5mm !important; max-width: none !important; }
body.g2 .hero-intro-side { display: block !important; padding: 0 !important; margin: 0 !important; }
body.g2 .meta { display: flex !important; flex-wrap: wrap !important; gap: 2mm !important; list-style: none !important; margin: 0 0 3mm !important; padding: 0 !important; }
body.g2 .meta li { display: inline-block !important; margin: 0 !important; padding: .6mm 3mm !important; font-size: 10pt !important; font-weight: 700 !important; color: var(--p-deep) !important; background: var(--p-cream) !important; border: .8pt solid var(--p-orange) !important; border-radius: 4mm !important; }

/* ------------------------------------------------------------------ sections and headings */
body.g2 section { margin: 0 0 6mm !important; }
body.g2 section[data-kicker]::before { display: none !important; }
body.g2 h2, body.g2 .ft2 h2 {
  font-family: var(--p-head) !important; font-weight: 800 !important; font-size: 17pt !important; line-height: 1.2 !important;
  color: var(--p-deep) !important; text-align: left !important; letter-spacing: 0 !important; text-transform: none !important;
  margin: 0 0 3mm !important; padding: 0 0 1.2mm !important; border: 0 !important; border-bottom: 1.5pt solid var(--p-orange) !important;
  break-after: avoid; page-break-after: avoid; background: none !important; width: auto !important;
}
body.g2 h2::before, body.g2 h2::after { display: none !important; content: none !important; }
body.g2 h3 { font-family: var(--p-head) !important; font-weight: 800 !important; font-size: 12.5pt !important; line-height: 1.25 !important; color: var(--p-blue) !important; margin: 0 0 1.5mm !important; padding: 0 !important; break-after: avoid; page-break-after: avoid; text-align: left !important; }
body.g2 h4 { break-after: avoid; }
body.g2 p, body.g2 li, body.g2 td, body.g2 th { color: var(--p-ink) !important; max-width: none !important; font-size: 11.5pt !important; line-height: 1.5 !important; orphans: 3; widows: 3; }
body.g2 p { margin: 0 0 2.5mm !important; }
body.g2 strong, body.g2 b { color: var(--p-ink) !important; }
body.g2 em { color: inherit !important; }
body.g2 ul, body.g2 ol { padding-left: 5.5mm; margin: 0 0 2.5mm; }
body.g2 ul.glance, body.g2 ul.facts, body.g2 ol.facts, body.g2 ol.attractions, body.g2 ul.season-grid, body.g2 ul.busy, body.g2 ul.unsure, body.g2 ol.map-key { padding-left: 0; }
body.g2 section > p:first-of-type { }
body.g2 .asof, body.g2 figcaption { font-size: 9.5pt !important; color: #3f3e58 !important; line-height: 1.4 !important; }
body.g2 .verify, body.g2 .legend-tag {
  display: inline !important; font-size: 9.5pt !important; font-weight: 700 !important; color: #8a3a00 !important;
  background: var(--p-cream) !important; border: .6pt solid var(--p-orange) !important; border-radius: 1.5mm !important; padding: 0 1.5mm !important; white-space: normal !important;
}
body.g2 a, body.g2 a:link, body.g2 a:visited { color: inherit !important; text-decoration: none !important; font-weight: inherit; background: none !important; }
body.g2 a[href]::after, body.g2 .article a[href^="http"]::after, body.g2 .ft2 a[href]::after { content: none !important; }

/* ------------------------------------------------------------------ boxes: callouts, cards */
body.g2 .callout, body.g2 .callout-warn {
  background: var(--p-cream) !important; border: 0 !important; border-left: 2.2mm solid var(--p-orange) !important; border-radius: 0 !important;
  padding: 3mm 4mm !important; margin: 0 0 5mm !important; break-inside: avoid; page-break-inside: avoid;
}
body.g2 .callout .label, body.g2 .callout strong.label { display: block !important; font-family: var(--p-head) !important; font-size: 12.5pt !important; font-weight: 800 !important; color: var(--p-deep) !important; margin: 0 0 1mm !important; }
body.g2 .callout p:last-child { margin-bottom: 0 !important; }

/* generic two-column grids */
body.g2 .glance, body.g2 .gcols, body.g2 .season-grid, body.g2 .busy, body.g2 ul.facts, body.g2 ol.facts, body.g2 .unsure {
  display: block !important; column-count: 2 !important; column-gap: 4mm !important; list-style: none !important; margin: 0 0 4mm !important; padding: 0 !important;
}
body.g2 .unsure { column-count: 1 !important; }
body.g2 .glance li, body.g2 .gc, body.g2 .season-grid li, body.g2 .busy li, body.g2 ul.facts li, body.g2 ol.facts li {
  display: block !important; position: relative !important; margin: 0 0 3mm !important; width: auto !important; max-width: none !important; height: auto !important; min-height: 0 !important;
  background: #fff !important; border: .8pt solid #c9d6f2 !important; border-top: 1.6mm solid var(--p-blue) !important; border-radius: 0 !important; padding: 2.5mm 3.5mm !important;
  break-inside: avoid; page-break-inside: avoid; transform: none !important; opacity: 1 !important; list-style: none !important;
}
body.g2 .glance li::before, body.g2 .glance li::after { display: none !important; content: none !important; background: none !important; }
body.g2 .glance li { padding-left: 3.5mm !important; background-image: none !important; }
body.g2 .glance strong { display: block !important; font-family: var(--p-head) !important; font-size: 11.5pt !important; font-weight: 800 !important; color: var(--p-blue) !important; margin: 0 0 .5mm !important; }
/* emergencies stay prominent */
body.g2 .glance li.ic-sos { border-top-color: #c0392b !important; background: #fff4f2 !important; }
body.g2 .glance li.ic-sos strong { color: #a52a1c !important; }
body.g2 .gc-wide, body.g2 .gc.gc-wide { column-span: all !important; }
body.g2 .gc ul, body.g2 .gc ol { padding-left: 4.5mm !important; margin: 0 0 1.5mm !important; }
body.g2 .gc li, body.g2 .gc p { font-size: 11pt !important; }
body.g2 .gc li { margin: 0 0 1mm !important; border: 0 !important; padding: 0 !important; background: none !important; }
body.g2 .gc-care, body.g2 .gc-try { }
body.g2 .season-grid li h3, body.g2 .gc h3 { margin-bottom: 1mm !important; }
body.g2 .season-grid li p { margin-bottom: 0 !important; }
body.g2 .busy li { padding-top: 2.5mm !important; }
body.g2 .busy li > strong:first-of-type { color: var(--p-deep) !important; }

/* fun facts: numbered cards, 2 columns */
body.g2 ol.facts { counter-reset: fact; }
body.g2 ol.facts li { counter-increment: fact; padding-left: 11mm !important; border-top-width: .8pt !important; border-top-color: #c9d6f2 !important; border-left: 1.6mm solid var(--p-orange) !important; }
body.g2 ol.facts li::before {
  content: counter(fact) !important; display: block !important; position: absolute !important; left: 2.5mm !important; top: 2.4mm !important; width: 6mm !important; height: 6mm !important; border-radius: 50% !important;
  background: var(--p-orange) !important; border: 0 !important; color: var(--p-ink) !important; font-weight: 800 !important; font-size: 10pt !important; line-height: 6mm !important; text-align: center !important; transform: none !important;
}
body.g2 .facts .see { font-size: 10pt !important; color: var(--p-deep) !important; }

/* ------------------------------------------------------------------ "what to see" cards (photo + address) */
body.g2 ol.attractions, body.g2 ul.attractions { display: block !important; gap: 4mm !important; list-style: none !important; margin: 0 0 4mm !important; padding: 0 !important; counter-reset: place; align-items: start !important; }
body.g2 .attractions li {
  display: grid !important; grid-template-columns: 52mm 1fr !important; grid-auto-rows: min-content !important; column-gap: 4mm !important; position: relative !important; margin: 0 0 3.5mm !important; padding: 0 0 1mm !important; min-height: 0 !important; width: auto !important; max-width: none !important;
  background: #fff !important; border: .8pt solid #c9d6f2 !important; border-radius: 0 !important; counter-increment: place;
  break-inside: avoid; page-break-inside: avoid; transform: none !important; opacity: 1 !important; margin-top: 0 !important; outline: none !important;
}
body.g2 .attractions li::before {
  content: counter(place) !important; display: block !important; position: absolute !important; left: 2mm !important; top: 2mm !important; z-index: 2;
  width: 8mm !important; height: 8mm !important; border-radius: 50% !important; background: var(--p-orange) !important; border: 1.2pt solid #fff !important; color: var(--p-ink) !important;
  font-family: var(--p-head) !important; font-weight: 800 !important; font-size: 12pt !important; line-height: 6.6mm !important; text-align: center !important; transform: none !important;
}
body.g2 .attractions li:nth-child(even) { margin-top: 0 !important; }
body.g2 .pc-photo { display: block !important; position: relative !important; width: 100% !important; height: auto !important; align-self: stretch !important; min-height: 36mm !important; grid-column: 1 !important; grid-row: 1 / span 4 !important; aspect-ratio: auto !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; background: #eef2fa !important; border-radius: 0 !important; transform: none !important; }
body.g2 .pc-photo img { display: block !important; position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; border: 0 !important; border-radius: 0 !important; transform: none !important; }
body.g2 .attractions li > :not(.pc-photo) { grid-column: 2 !important; }
body.g2 .attractions h3 { padding: 2mm 3mm 0 0 !important; margin: 0 0 1mm !important; font-size: 12.5pt !important; color: var(--p-deep) !important; }
body.g2 .attractions p { padding: 0 3mm 0 0 !important; margin: 0 0 1.5mm !important; font-size: 10.5pt !important; line-height: 1.45 !important; }
body.g2 .attractions .where { font-weight: 700 !important; color: var(--p-ink) !important; }
body.g2 .attractions .history { color: var(--p-ink) !important; }
body.g2 .attractions .hit, body.g2 .attractions .pin-note { display: none !important; }

/* ------------------------------------------------------------------ history */
body.g2 #history { background: #fff !important; color: var(--p-ink) !important; }
body.g2 #history h2, body.g2 #history p, body.g2 #history li, body.g2 #history figcaption, body.g2 #history .asof { color: var(--p-ink) !important; }
body.g2 #history h2 { color: var(--p-deep) !important; }
body.g2 .hist-fig, body.g2 figure { display: block !important; margin: 0 0 4mm !important; padding: 0 !important; max-width: none !important; width: auto !important; break-inside: avoid; page-break-inside: avoid; transform: none !important; }
body.g2 .hist-fig img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; max-height: 62mm !important; object-fit: cover !important; border: 0 !important; border-radius: 0 !important; }
body.g2 .hist-fig figcaption { margin-top: 1mm !important; }

/* ------------------------------------------------------------------ weather table */
body.g2 .table-wrap { overflow: visible !important; margin: 0 0 3mm !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
body.g2 table { width: 100% !important; min-width: 0 !important; border-collapse: collapse !important; font-size: 10.5pt !important; background: #fff !important; }
body.g2 caption { font-family: var(--p-head) !important; font-weight: 800 !important; font-size: 12pt !important; color: var(--p-deep) !important; text-align: left !important; padding: 0 0 1.5mm !important; background: none !important; caption-side: top; }
body.g2 thead th { background: var(--p-deep) !important; color: #fff !important; font-weight: 700 !important; font-size: 10pt !important; padding: 1.5mm 2mm !important; border: 0 !important; text-align: left !important; }
body.g2 th, body.g2 td { padding: 1.2mm 2mm !important; font-size: 10.5pt !important; border: 0 !important; border-bottom: .5pt solid #c9d6f2 !important; background: none !important; color: var(--p-ink) !important; }
body.g2 tbody th { font-weight: 800 !important; color: var(--p-deep) !important; text-align: left !important; }
body.g2 tbody tr:nth-child(even) td, body.g2 tbody tr:nth-child(even) th { background: var(--p-cream) !important; }
body.g2 thead th { color: #fff !important; }
body.g2 tr { break-inside: avoid; page-break-inside: avoid; }
body.g2 thead { display: table-header-group; }

/* ------------------------------------------------------------------ "not confirmed" list and short guides */
body.g2 .unsure li { background: none !important; border: 0 !important; border-left: 1.2mm solid var(--p-orange) !important; padding: 0 0 0 3mm !important; margin: 0 !important; font-size: 11pt !important; list-style: none !important; break-inside: avoid; }
body.g2 .unsure li::before { display: none !important; content: none !important; }
body.g2 .feat-strip, body.g2 .feat { display: block !important; position: static !important; background: none !important; padding: 0 !important; margin: 0 0 3mm !important; border: 0 !important; width: auto !important; min-height: 0 !important; break-inside: avoid; }
body.g2 .feat-strip { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 3mm 4mm !important; }
body.g2 .feat { border: .8pt solid #c9d6f2 !important; border-top: 1.6mm solid var(--p-blue) !important; padding: 2.5mm 3.5mm !important; }
body.g2 .feat::before, body.g2 .feat::after { display: none !important; content: none !important; }

/* ------------------------------------------------------------------ sources note (no buttons) */
body.g2 #sources { background: #fff !important; background-image: none !important; color: var(--p-ink) !important; padding: 0 !important; margin: 0 0 4mm !important; break-inside: avoid; page-break-inside: avoid; }
body.g2 #sources h2 { color: var(--p-deep) !important; }
body.g2 #sources p { color: var(--p-ink) !important; }

/* ------------------------------------------------------------------ the maps */
body.g2 #map-section p.no-print { display: none !important; }
body.g2 #map-section { break-inside: avoid; page-break-inside: avoid; }
body.g2 .map-box, body.g2 .map-box.no-print, body.g2 .lmap-card {
  display: block !important; max-width: none !important; margin: 0 0 4mm !important; padding: 0 !important; background: none !important; border: 0 !important; break-inside: avoid; page-break-inside: avoid;
}
body.g2 .lmap-frame { display: block !important; width: 128mm !important; max-width: 100% !important; margin: 0 auto 3mm !important; padding: 1.2mm !important; background: #fff !important; border: 1.2pt solid var(--p-deep) !important; border-radius: 0 !important; }
body.g2 .lmap { position: relative !important; display: block !important; width: 100% !important; aspect-ratio: var(--ratio) !important; overflow: hidden !important; background: var(--p-cream) !important; border-radius: 0 !important; --pin: 7.5mm; }
body.g2 .lmap-svg { display: block !important; position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
body.g2 .lmap-pins { position: static !important; list-style: none !important; margin: 0 !important; padding: 0 !important; display: block !important; }
body.g2 .lmap-pins li { position: absolute !important; left: var(--x) !important; top: var(--y) !important; margin: 0 !important; padding: 0 !important; width: 0 !important; height: 0 !important; display: block !important; border: 0 !important; background: none !important; }
body.g2 .lmap-pin {
  position: absolute !important; left: calc(var(--pin) / -2) !important; top: calc(var(--pin) / -2) !important; display: grid !important; place-items: center !important; width: var(--pin) !important; height: var(--pin) !important;
  border-radius: 50% !important; background: var(--p-orange) !important; border: 1.2pt solid #fff !important; box-shadow: 0 0 0 1.2pt var(--p-deep) !important; color: var(--p-ink) !important;
  font-family: var(--p-head) !important; font-weight: 800 !important; font-size: 11pt !important; line-height: 1 !important; text-decoration: none !important;
}
body.g2 .lmap-pin span { display: block !important; }
body.g2 .lm-land { fill: #fff6e8; } body.g2 .lm-park { fill: #d6ebc3; stroke: #a9cf8f; stroke-width: 2; stroke-linejoin: round; }
body.g2 .lm-shore { fill: none; stroke: #fff; stroke-width: 16; stroke-linejoin: round; opacity: .95; }
body.g2 .lm-water { fill: #cfe0fb; } body.g2 .lm-waves { fill: url(#lm-waves); opacity: .55; }
body.g2 .lm-pt { fill: #fff6e8; } body.g2 .lm-neigh { fill: #ece3d3; stroke: #c4b69c; stroke-width: 3; stroke-linejoin: round; } body.g2 .lm-t-neigh { stroke: #ece3d3; }
body.g2 .lm-coast { fill: none; stroke: #6f9bdf; stroke-width: 3; stroke-linejoin: round; }
body.g2 .lm-bridge-edge { fill: none; stroke: #0d2f73; stroke-width: 11; stroke-linecap: round; }
body.g2 .lm-bridge { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 14 9; }
body.g2 .lm-t { font-family: "Avenir Next", "Century Gothic", "Trebuchet MS", Arial, sans-serif; font-weight: 800; paint-order: stroke; stroke-linejoin: round; }
body.g2 .lm-t-water { font-size: 34px; font-style: italic; letter-spacing: .04em; fill: #0d2f73; stroke: #cfe0fb; stroke-width: 7; }
body.g2 .lm-t-bridge { font-size: 23px; letter-spacing: .03em; fill: #0d2f73; stroke: #cfe0fb; stroke-width: 6; }
body.g2 .lm-t-place { font-size: 25px; letter-spacing: .14em; text-transform: uppercase; fill: #6b3300; stroke: #fff6e8; stroke-width: 7; }
body.g2 .lm-t-park { font-size: 22px; font-style: italic; fill: #244d1c; stroke: #d6ebc3; stroke-width: 6; }
body.g2 .lm-t-n { font-size: 26px; fill: #0d2f73; stroke: #cfe0fb; stroke-width: 5; }
body.g2 .lm-leader { fill: none; stroke: #1b1a2e; stroke-width: 3; stroke-linecap: round; }
body.g2 .lm-dot { fill: #1b1a2e; stroke: #fff; stroke-width: 3.5; }
body.g2 .lm-comp-bg { fill: #fff; fill-opacity: .8; stroke: #0d2f73; stroke-width: 3; } body.g2 .lm-comp-n { fill: #0d2f73; } body.g2 .lm-comp-n2 { fill: #ff8a1f; }
body.g2 svg.lmap-svg *, body.g2 svg.dmap * { display: revert; }
body.g2 .lmap-legend { display: flex !important; flex-wrap: wrap !important; gap: 1mm 5mm !important; list-style: none !important; margin: 0 0 2mm !important; padding: 0 !important; font-size: 9.5pt !important; font-weight: 700 !important; }
body.g2 .lmap-legend li { display: flex !important; align-items: center !important; gap: 1.5mm !important; margin: 0 !important; padding: 0 !important; font-size: 9.5pt !important; }
body.g2 .lg-pin { display: grid !important; place-items: center !important; width: 5mm !important; height: 5mm !important; border-radius: 50% !important; background: var(--p-orange) !important; border: 1pt solid #fff !important; box-shadow: 0 0 0 1pt var(--p-deep) !important; font-size: 8pt !important; font-weight: 800 !important; }
body.g2 .lg-dot { display: inline-block !important; width: 2.5mm !important; height: 2.5mm !important; border-radius: 50% !important; background: #1b1a2e !important; }
body.g2 .lg-park { display: inline-block !important; width: 4.5mm !important; height: 3.2mm !important; background: #d6ebc3 !important; border: 1pt solid #a9cf8f !important; }
body.g2 .lg-land { display: inline-block !important; width: 4.5mm !important; height: 3.2mm !important; background: #fff6e8 !important; border: 1pt solid #6f9bdf !important; }
body.g2 .lg-river { display: inline-block !important; width: 4.5mm !important; height: 3.2mm !important; background: #cfe0fb !important; border: 1pt solid #6f9bdf !important; }
body.g2 .lmap-credit { font-size: 9pt !important; color: #3f3e58 !important; margin: 0 0 2mm !important; }
body.g2 .map-key { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 1mm 5mm !important; list-style: none !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
body.g2 .map-key li { margin: 0 !important; padding: 0 !important; break-inside: avoid; }
body.g2 .map-key a { display: flex !important; align-items: center !important; gap: 2.5mm !important; min-height: 0 !important; padding: 0 !important; font-size: 10.5pt !important; font-weight: 600 !important; line-height: 1.3 !important; }
body.g2 .map-key .mk-n { display: grid !important; place-items: center !important; flex: none !important; width: 6mm !important; height: 6mm !important; border-radius: 50% !important; background: var(--p-orange) !important; border: 0 !important; color: var(--p-ink) !important; font-weight: 800 !important; font-size: 9.5pt !important; }
/* older Porto/Spain/Greece/Italy maps */
body.g2 .drawn-map, body.g2 .dmap-wrap { display: block !important; margin: 0 auto 3mm !important; }
body.g2 svg.dmap { display: block !important; width: 130mm !important; max-width: 100% !important; height: auto !important; max-height: 120mm !important; margin: 0 auto 3mm !important; border-radius: 0 !important; border: 1.2pt solid var(--p-deep) !important; }
body.g2 svg.dmap text { font-family: "Avenir Next", Arial, sans-serif; }

/* ------------------------------------------------------------------ small footer at the end */
body.g2 .ft2 { display: block !important; background: #fff !important; color: var(--p-ink) !important; padding: 3mm 0 0 !important; margin: 4mm 0 0 !important; border: 0 !important; border-top: 1.2pt solid var(--p-blue) !important; break-inside: avoid; page-break-inside: avoid; }
body.g2 .ft2-in, body.g2 .ft2-grid { display: block !important; padding: 0 !important; margin: 0 !important; max-width: none !important; background: none !important; }
body.g2 .ft2-brand { display: none !important; }
body.g2 .ft2-note { display: block !important; margin: 0 0 2mm !important; padding: 0 !important; background: none !important; border: 0 !important; }
body.g2 .ft2 h2 { display: inline !important; font-size: 10pt !important; border: 0 !important; padding: 0 !important; margin: 0 1.5mm 0 0 !important; color: var(--p-deep) !important; }
body.g2 .ft2-note h2 { display: block !important; margin-bottom: .5mm !important; }
body.g2 .ft2-note p { font-size: 9pt !important; line-height: 1.4 !important; color: #3f3e58 !important; margin: 0 !important; }
body.g2 .ft2-copy { font-size: 9.5pt !important; font-weight: 700 !important; color: var(--p-deep) !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; text-align: left !important; }

/* ------------------------------------------------------------------ page breaks and reveal animations */
body.g2 [class*="rv"], body.g2 .rv-kids, body.g2 .rv-kids > * { opacity: 1 !important; transform: none !important; visibility: visible !important; clip-path: none !important; }
body.g2 img { max-width: 100%; break-inside: avoid; page-break-inside: avoid; filter: none !important; }
body.g2 li, body.g2 figure, body.g2 tr, body.g2 .gc, body.g2 .callout { break-inside: avoid; page-break-inside: avoid; }

/* long cards and the weather table may flow onto the next page (rows and list items stay whole), so pages are not left half empty */
body.g2 .gc, body.g2 .gcols > div { break-inside: auto !important; page-break-inside: auto !important; }
body.g2 .table-wrap, body.g2 table, body.g2 tbody { break-inside: auto !important; page-break-inside: auto !important; }
body.g2 .gc li, body.g2 .gc p { break-inside: avoid; }
body.g2 section { break-inside: auto !important; }
body.g2 #map-section { break-inside: avoid !important; }

/* "where to stay" area cards */
body.g2 ul.areas { display: block !important; column-count: 2 !important; column-gap: 4mm !important; list-style: none !important; padding: 0 !important; margin: 0 0 3mm !important; }
body.g2 ul.areas li { display: block !important; break-inside: avoid !important; margin: 0 0 3mm !important; padding: 0 0 2mm !important; border: .8pt solid #c9d6f2 !important; border-radius: 0 !important; background: #fff !important; list-style: none !important; opacity: 1 !important; transform: none !important; }
body.g2 ul.areas li > strong, body.g2 ul.areas li > :not(.arch) { }
body.g2 .arch { display: block !important; width: 100% !important; height: 30mm !important; margin: 0 0 2mm !important; overflow: hidden !important; border: 0 !important; border-radius: 0 !important; background: #eef2fa !important; }
body.g2 .arch img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; border: 0 !important; border-radius: 0 !important; transform: none !important; }
body.g2 .arch.arch-map { display: none !important; }
body.g2 ul.areas li { padding-left: 0 !important; padding-right: 0 !important; font-size: 11pt !important; }
body.g2 ul.areas li > strong, body.g2 ul.areas li { text-indent: 0; }
body.g2 ul.areas li > *:not(.arch) { margin-left: 3mm; }
body.g2 table { font-size: 10pt !important; } body.g2 th, body.g2 td { padding: .8mm 2mm !important; }

/* emergency number stays prominent */
body.g2 .gc-sos .num112 { font-size: 15pt !important; color: #a52a1c !important; }
body.g2 .gc-sos { border-top-color: #c0392b !important; background: #fff4f2 !important; }
/* area cards: text inset, picture edge to edge */
body.g2 ul.areas li { padding: 0 3mm 2.5mm !important; }
body.g2 ul.areas li > *:not(.arch) { margin-left: 0 !important; }
body.g2 .arch { width: calc(100% + 6mm) !important; margin: 0 -3mm 2.5mm !important; }
body.g2 .unsure li { margin-bottom: 1mm !important; }
body.g2 th, body.g2 td { padding: .45mm 2mm !important; line-height: 1.35 !important; }
body.g2 thead th { padding: 1mm 2mm !important; }
body.g2 .feat-strip { display: block !important; column-count: 2 !important; column-gap: 4mm !important; }
body.g2 .feat { break-inside: avoid !important; height: auto !important; min-height: 0 !important; margin: 0 0 3mm !important; display: block !important; }
body.g2 .feat p, body.g2 .feat li { font-size: 11pt !important; }
body.g2 .pc-photo { min-height: 30mm !important; }
body.g2 .feat-strip, body.g2 #know, body.g2 #places { break-inside: auto !important; page-break-inside: auto !important; }
body.g2 svg.dmap { width: 118mm !important; }
body.g2 .pc-photo { min-height: 27mm !important; }
body.g2 .article-hero figure img { height: 62mm !important; max-height: 62mm !important; }
body.g2 .attractions li { margin-bottom: 2.5mm !important; }
body.g2 section { margin-bottom: 5mm !important; }
body.g2 .feat-strip { column-fill: auto !important; }
body.g2 .feat-strip { column-count: 1 !important; }
body.g2 .feat { break-inside: auto !important; page-break-inside: auto !important; }

/* Emergency line on Spain, Greece and Italy: red tint and a big number, like the Lisbon and Porto emergency card */
body.g2 li.sos-line { list-style: none !important; margin: 4mm 0 !important; padding: 3mm 4mm !important; border-left: 1.2mm solid #c0392b !important; background: #fff4f2 !important; font-size: 12pt !important; break-inside: avoid; }
body.g2 li.sos-line .num112 { font-size: 15pt !important; color: #a52a1c !important; }
