/* Japan guide additions (loaded after the shared style.css) */
/* header pill flag: a white rectangle with a red disc (#BC002D) */
.brand-section i.jp { background: radial-gradient(circle at 50% 50%, #BC002D 0 3.4px, #FFFFFF 3.9px); box-shadow: 0 0 0 1px rgba(27, 39, 64, .35); }

/* maps */
.jp-map { max-width: 900px; overflow: visible; }
.jp-map.dest-map { max-width: 600px; margin: 0 auto; display: block; }
.jp-map path.ctx { fill: var(--map-1); opacity: .35; stroke: var(--map-line); stroke-width: .6; }
.jp-map path.st { stroke: var(--map-line); stroke-width: .7; stroke-linejoin: round; }
.jp-map path.t1 { fill: var(--map-1); } .jp-map path.t2 { fill: var(--map-2); } .jp-map path.t3 { fill: var(--map-3); } .jp-map path.t4 { fill: var(--map-4); }
.jp-map g.pin { cursor: pointer; }
.jp-map g.pin circle { fill: var(--sun); stroke: var(--ink); stroke-width: 2; transition: r .15s; }
.jp-map g.pin:hover circle, .jp-map g.pin:focus-visible circle { fill: var(--rouge); r: 8; }
.jp-map g.pin:focus { outline: none; }
.jp-map g.pin text { font-size: 13px; }
/* Okinawa and the Amami Islands sit in an inset box at the lower right */
.jp-map rect.inset { fill: var(--paper); stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 3; }
.jp-map text.inset-lbl { font-size: 10px; fill: var(--ink-3); stroke-width: 3px; }
.dest-map path.st:hover { filter: brightness(1.06); }
.map-credit { margin: 10px auto 0; max-width: 900px; font-size: .78rem; color: var(--ink-3); text-align: right; }
@media (max-width: 600px) { .map-credit { text-align: left; } }
.dest-map { max-width: 1020px; }
.jp-map g.pin path.lead { fill: none; stroke: var(--ink-3); stroke-width: 1; }
@media (max-width: 600px) {
  .dest-map g.pin text, .dest-map g.pin path.lead { display: none; }
  .dest-map g.pin circle { r: 8; stroke-width: 2.5; }
}

/* the shared style says "US vs FR" on "Different from home" callouts */
.callout.us .callout-title::after { content: " \00B7  US \2260  JP"; }

.check-row input { flex-shrink: 0; }
.tool-card { align-content: start; }
/* six top-nav links (Plan, Tokyo, Kyoto, Destinations, Food, Tools) */
@media (min-width: 1260px) { .head-row .main-nav { gap: 2px 10px; } .head-row .main-nav a { letter-spacing: .06em; } }
