/* =========================================================================
   Pearl Island — Journey / Directions widgets
   Shared stylesheet for the Image Title Banner and the Directions Block.
   Classes prefixed .pij- and scoped under .pi-widget; colors reuse the
   brand tokens from pearl-island-fonts.css (with safe fallbacks).
   ========================================================================= */
.pi-widget {
  --pij-muted: var(--hx-body, #5a6372);
}

/* ========================= IMAGE TITLE BANNER ======================== */
.pij-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  min-height: 340px;
  padding: 80px 24px;
}
.pij-banner-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-color: #37506a;
}
.pij-banner--fixed .pij-banner-img { background-attachment: fixed; }
.pij-banner-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20, 26, 34, .38), rgba(20, 26, 34, .28) 45%, rgba(20, 26, 34, .5));
}
.pij-banner-in { position: relative; z-index: 2; max-width: 760px; }
.pij-banner .pij-eyebrow { color: rgba(255, 255, 255, .9); }
.pij-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  line-height: 1.14;
  text-shadow: 0 3px 26px rgba(0, 0, 0, .32);
}
.pij-banner .pij-sub { margin-top: 14px; color: rgba(255, 255, 255, .92); font-size: 1.05rem; }
.pij-banner .btn { margin-top: 26px; }

@media (max-width: 700px) {
  .pij-banner { min-height: 260px; padding: 56px 20px; }
  .pij-banner--fixed .pij-banner-img { background-attachment: scroll; }
}

/* Shared eyebrow (uppercase, letter-spaced) */
.pi-widget .pij-eyebrow {
  display: block;
  font-family: var(--hx-sans, 'Nunito', sans-serif);
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pi-script, var(--petrol, #609AAD));
  margin-bottom: 12px;
}

/* ============================ DIRECTIONS BLOCK ====================== */
.pij-dir { padding: 84px 0; text-align: center; }
@media (max-width: 700px) { .pij-dir { padding: 56px 0; } }

.pij-dir .pij-head { max-width: 760px; margin: 0 auto; }
.pij-dir h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pi-heading, var(--smaragd, #3B5F5F));
}
.pij-dir .pij-subtitle {
  margin-top: 14px;
  font-family: var(--hx-sans, 'Nunito', sans-serif);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--petrol, #609AAD);
}
.pij-dir .pij-body {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--pij-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.pij-dir .pij-body p { margin: 0 0 12px; }
.pij-dir .pij-body p:last-child { margin-bottom: 0; }
.pij-dir .pij-body b, .pij-dir .pij-body strong { color: var(--smaragd, #3B5F5F); }

/* Map */
.pij-map {
  position: relative;
  margin: 34px auto 0;
  max-width: 1100px;
  border-radius: 18px;
  overflow: hidden;
  min-height: 300px;
  box-shadow: 0 16px 44px rgba(59, 95, 95, .13);
  background: radial-gradient(70% 90% at 60% 40%, rgba(119, 195, 219, .5), transparent 70%), linear-gradient(180deg, #bfe3ea, #7fbdcf);
}
.pij-map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
.pij-map-note {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: .62rem;
  font-weight: 700;
  color: #12414d;
  background: rgba(255, 255, 255, .84);
  padding: 5px 10px;
  border-radius: 6px;
  max-width: 80%;
}

.pij-dir .pij-cta { margin-top: 30px; }


/* Two verified pickup locations */
.pij-map-grid.has-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 34px auto 0;
}
.pij-map-grid.has-two .pij-map { margin-top: 12px; }
.pij-map-card h3 {
  margin: 0;
  font-family: var(--hx-serif, 'Miller Banner', Georgia, serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--smaragd, #3B5F5F);
  text-align: center;
}
@media (max-width: 767px) {
  .pij-map-grid.has-two { grid-template-columns: 1fr; gap: 30px; }
}
