/* Shared typography, photographs, buttons, section labels and contact treatment
   come from icg.css, the homepage stylesheet. Only visit-specific layouts live here. */
.bpx-intro { background: var(--bg); }
.bpx-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  padding: 1.2rem 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: .8125rem;
}
.bpx-crumbs li + li::before { content: "/"; margin-right: .75rem; }
.bpx-crumbs li[aria-current] { color: var(--ink); font-weight: 700; }
.bpx-crumbs a:hover { text-decoration: underline; text-underline-offset: .2em; }

.bpx-intro-spread {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(2.75rem, 6vw, 5.75rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.bpx-intro-label { display: flex; align-items: center; gap: 12px; color: var(--slate); }
.bpx-intro h1 {
  margin-top: 24px;
  font-size: clamp(45px, 5.2vw, 76px);
  font-weight: 200;
  line-height: 1.075;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.bpx-intro h1 em { color: var(--navy-light); font-style: normal; font-weight: 500; }
.bpx-intro-copy > .bpx-lead {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.05vw, 1.95rem);
  font-weight: 550;
  line-height: 1.32;
  letter-spacing: -.033em;
}
.bpx-copy, .bpx-day p, .bpx-outcome-list p {
  max-width: 55ch;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.7;
}
.bpx-intro-copy > .bpx-copy, .bpx-outcome-copy > .bpx-copy { margin-top: 1rem; }
.bpx-intro-copy .button { margin-top: 1.65rem; }
.bpx .work-photo { min-height: 0; }
.bpx-visit-photo { aspect-ratio: 1.2; align-self: center; }
.bpx .work-photo figcaption { padding: 1.15rem 1.5rem; font-size: .875rem; }

.bpx-itinerary {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,3fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2rem, 3.5vw, 3.25rem);
  border-top: 1px solid var(--line);
}
.bpx-itinerary .eyebrow { color: var(--slate); }
.bpx-itinerary h2 { margin-top: .5rem; font-size: clamp(1.4rem, 2vw, 1.95rem); }
.bpx-day, .bpx-outcome-list { list-style: none; padding: 0; }
.bpx-day {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.bpx-day li { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2vw, 2rem); }
.bpx-day h3, .bpx-outcome-list h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.26; letter-spacing: -.01em; }
.bpx-day p, .bpx-outcome-list p { margin-top: .55rem; }

.bpx-regions-head > .bpx-copy { color: var(--navy-pale); }
.bpx-atlas { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: clamp(2rem, 5.2vw, 75px); align-items: start; }
.bpx-map-panel {
  border: 1px solid var(--line-white);
  background-color: var(--ink);
  background-image: linear-gradient(to right, var(--line-white) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--line-white) 1px, transparent 1px);
  background-size: 16.666% 4rem;
}
.bpx-map { position: relative; margin: clamp(2rem, 3.6vw, 3.5rem) 3% clamp(1rem, 1.6vw, 1.65rem); }
.bpx-map img { width: 100%; }
.bpx-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  z-index: 1;
}
.bpx-pin::before {
  content: "";
  width: .7rem;
  height: .7rem;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--navy-light);
  box-shadow: 0 0 0 3px var(--ink);
}
.bpx-pin[aria-expanded="true"]::before, .bpx-pin:hover::before {
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--accent);
}
.bpx-pin::after {
  content: attr(aria-label);
  position: absolute;
  bottom: calc(50% + 15px);
  padding: .25rem .55rem;
  background: var(--navy-pale);
  color: var(--ink);
  white-space: nowrap;
  font-size: .8125rem;
  line-height: 1.5;
  font-weight: 700;
  visibility: hidden;
  pointer-events: none;
}
.bpx-pin[aria-expanded="true"], .bpx-pin:is(:hover,:focus-visible) { z-index: 2; }
.bpx-pin[aria-expanded="true"]::after, .bpx-pin:is(:hover,:focus-visible)::after { visibility: visible; }
.bpx-pin[data-region="north-america"] { left: 26.11%; top: 24.46%; }
.bpx-pin[data-region="europe"] { left: 52.45%; top: 19.1%; }
.bpx-pin[data-region="south-america"] { left: 34.84%; top: 69.46%; }
.bpx-pin[data-region="asia"] { left: 73.96%; top: 25.86%; }
.bpx-pin[data-region="australia"] { left: 84.6%; top: 77.4%; }
.bpx-map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  padding: .65rem 1.25rem;
  border-top: 1px solid var(--line-white);
  background: var(--ink);
}
.bpx-directory { border-top: 1px solid var(--line-white); }
.bpx-directory details { border-bottom: 1px solid var(--line-white); }
.bpx-directory summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 3.6rem;
  padding: .85rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.125rem, 1.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.3;
}
.bpx-directory summary::-webkit-details-marker { display: none; }
.bpx-directory summary::after {
  content: "";
  width: 1.65rem;
  height: 1.65rem;
  flex: none;
  background: linear-gradient(currentColor,currentColor) center / 13px 1px no-repeat,
              linear-gradient(currentColor,currentColor) center / 1px 13px no-repeat;
}
.bpx-directory details[open] summary, .bpx-directory summary:hover { color: var(--accent); }
.bpx-directory details[open] summary::after { background-size: 13px 1px, 0 0; }
.bpx-directory p { margin: -.15rem 2rem 1.15rem 0; color: var(--navy-pale); line-height: 1.65; max-width: 43ch; font-size: 1rem; }
.bpx-pin:focus-visible, .bpx-directory summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bpx-outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.4rem 1.6rem;
  margin-top: 2rem;
}
.bpx-outcome-list li { border-top: 1px solid var(--line); padding-top: .9rem; }

@media (max-width: 980px) {
  .bpx-itinerary { grid-template-columns: 1fr; }
  .bpx-itinerary-heading br { display: none; }
  .bpx-day li:first-child { padding-left: 0; border: 0; }
}
@media (max-width: 850px) {
  .bpx-intro-spread, .bpx-atlas, .bpx-outcomes-spread { grid-template-columns: minmax(0,1fr); }
  .bpx-intro h1 { font-size: clamp(44px,6.8vw,63px); }
  .bpx-visit-photo, .bpx-notes { aspect-ratio: 16 / 9; }
  .bpx-notes { grid-row: 2; }
  .bpx-notes > img { object-position: 53% 28%; }
  .bpx-map { margin-block: 2rem 1.35rem; }
}
@media (max-width: 600px) {
  .bpx-crumbs ol { padding-block: .85rem; gap: .15rem .5rem; }
  .bpx-crumbs li + li::before { margin-right: .5rem; }
  .bpx-intro h1 { font-size: clamp(35px,8.1vw,48px); line-height: 1.15; letter-spacing: 0; }
  .bpx-day, .bpx-outcome-list { grid-template-columns: 1fr; gap: 1rem; }
  .bpx-day li, .bpx-day li:first-child { padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line); }
  .bpx-map-caption { padding: .6rem .8rem; }
  .bpx-map-caption .text-link { gap: .6rem; }
  .bpx .work-photo figcaption { padding: .8rem 1rem; }
}
