/* Jamaica guide additions (loaded after the shared style.css) */
/* flag in the header pill: a gold saltire divides the flag into green triangles (top and bottom) and black triangles (hoist and fly).
   The conic gradient draws the four triangles (its angles follow the 15 x 11 box: the corner sits at atan(15/11) = 53.7 degrees from vertical),
   and the two diagonal linear gradients draw the gold bands over the seams. */
.brand-section i.jm {
  background:
    linear-gradient(to top right, transparent calc(50% - .95px), #FED100 calc(50% - .95px) calc(50% + .95px), transparent calc(50% + .95px)),
    linear-gradient(to bottom right, transparent calc(50% - .95px), #FED100 calc(50% - .95px) calc(50% + .95px), transparent calc(50% + .95px)),
    conic-gradient(from -53.7deg at 50% 50%, #009B3A 0 107.4deg, #000000 107.4deg 180deg, #009B3A 180deg 287.4deg, #000000 287.4deg 360deg);
  box-shadow: 0 0 0 1px rgba(27, 39, 64, .35);
}

/* maps */
.jm-map { max-width: 900px; overflow: visible; }
.jm-map.dest-map { max-width: 760px; margin: 0 auto; display: block; }
.jm-map path.ctx { fill: var(--map-1); opacity: .35; stroke: var(--map-line); stroke-width: .6; }
.jm-map path.st { stroke: var(--map-line); stroke-width: .7; stroke-linejoin: round; }
.jm-map path.t1 { fill: var(--map-1); } .jm-map path.t2 { fill: var(--map-2); } .jm-map path.t3 { fill: var(--map-3); } .jm-map path.t4 { fill: var(--map-4); }
.jm-map g.pin { cursor: pointer; }
.jm-map g.pin circle { fill: var(--sun); stroke: var(--ink); stroke-width: 2; transition: r .15s; }
.jm-map g.pin:hover circle, .jm-map g.pin:focus-visible circle { fill: var(--rouge); r: 8; }
.jm-map g.pin:focus { outline: none; }
.jm-map g.pin text { font-size: 11px; }
.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; }
.jm-map g.pin path.lead { fill: none; stroke: var(--ink-3); stroke-width: 1; }
@media (max-width: 600px) {
  .map-credit { text-align: left; }
  .dest-map g.pin text, .dest-map g.pin path.lead { display: none; }
  .dest-map g.pin circle { r: 11; stroke-width: 3; }
}

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

.check-row input { flex-shrink: 0; }
.tool-card { align-content: start; }
/* the packing item about stray ammunition stands out from the rest of the list */
.pack-cat li.alert { margin: 4px 0; border-left: 4px solid var(--rouge); background: var(--sunk); }
.pack-cat li.alert label { padding: 8px 8px 8px 10px; }
.pack-cat li.alert label > span { color: var(--ink); font-weight: 600; }
.pack-cat li.alert input:checked + span { font-weight: 400; }
/* six top-nav links (Plan, Montego Bay, Destinations, All-inclusives, Getting around, Tools) */
@media (min-width: 1260px) { .head-row .main-nav { gap: 2px 10px; } .head-row .main-nav a { letter-spacing: .06em; } }
