/* ============================================================
   Be Bold campaign page (be-bold.php only).
   Loaded after styles.css. Borrows the campaign's black / red / pink
   palette while keeping the site's type, spacing and section classes.
   ============================================================ */

:root {
  --bb-red:     #d6202b;   /* white text on this passes AA */
  --bb-red-dk:  #b01822;
  --bb-red-lt:  #ff5a63;   /* red text on black */
  --bb-pink:    #f7d9e0;
  --bb-black:   #0b0b0b;
}

.bb-red { color: var(--bb-red); }
.bb-gallery-section .bb-red { color: var(--bb-red-lt); }

.bb-overline {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bb-red); margin-bottom: 14px;
}
.bb-overline--light { color: var(--bb-red-lt); }

.bb-btn-red { background: var(--bb-red); border-color: var(--bb-red); color: #fff; }
.bb-btn-red:hover, .bb-btn-red:focus-visible { background: var(--bb-red-dk); border-color: var(--bb-red-dk); color: #fff; }

/* ---------- Hero: copy on black, full-bleed photo ---------- */
.bb-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(88vh, 820px);
  background: var(--bb-black);
}
.bb-hero-copy {
  display: flex; align-items: center; padding: 140px 56px 96px;
  background: radial-gradient(70% 80% at 0% 100%, #2a0608 0%, var(--bb-black) 70%);
}
.bb-hero-copy-inner { max-width: 560px; margin-left: auto; width: 100%; }
.bb-hero .crumb { color: var(--on-dark-muted); margin-bottom: 28px; }
.bb-hero .crumb a { color: rgba(255,255,255,.8); }
.bb-hero-logo { margin: 0 0 26px; line-height: 0; }
.bb-hero-logo img { width: 100%; max-width: 520px; height: auto; }
.bb-tagline { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(28px, 3vw, 38px); color: #fff; margin-bottom: 16px; }
.bb-hero-sub { color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.7; margin-bottom: 34px; }
.bb-hero-photo { position: relative; overflow: hidden; }
.bb-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* soften the seam where the photo meets the black panel */
.bb-hero-photo::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 22%; z-index: 1;
  background: linear-gradient(to right, var(--bb-black), transparent);
}

/* ---------- Photo pairs ---------- */
.bb-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.bb-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 56px rgba(17,17,17,.16); }
.bb-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.bb-photo--offset { margin-top: 56px; }

/* ---------- Founder quote ---------- */
.bb-quote { margin: 30px 0 0; padding-left: 22px; border-left: 4px solid var(--bb-red); }
.bb-quote p { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px; line-height: 1.45; font-style: italic; color: var(--ink); margin-bottom: 10px; }
.bb-quote cite { font-style: normal; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bb-red); }

/* ---------- Gifts & Essentials Drive band ---------- */
.bb-drive {
  position: relative; padding: 120px 24px; text-align: center;
  background: var(--bb-pink) url('../images/bebold-pink.webp') center / cover no-repeat;
}
.bb-drive::before { content: ''; position: absolute; inset: 0; background: rgba(255,240,244,.55); }
.bb-drive-inner { position: relative; max-width: 760px; margin: 0 auto; }
.bb-pill {
  display: inline-block; background: var(--bb-red); color: #fff; border-radius: 100px;
  font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 9px 18px; margin-bottom: 30px;
}
.bb-drive-logo { margin: 0 auto 30px; line-height: 0; }
.bb-drive-logo img { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.bb-drive-lead { font-size: 19px; line-height: 1.7; color: #2a1a1e; margin-bottom: 18px; }
.bb-drive-meta { font-size: 16px; color: #3d2a2f; margin: 0; }

/* ---------- Needed items ---------- */
.bb-items { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bb-items li {
  background: var(--white); color: var(--ink); font-size: 16px; font-weight: 600;
  padding: 10px 18px; border-radius: 100px; box-shadow: 0 6px 18px rgba(17,17,17,.07);
}

/* ---------- Drop-off map ---------- */
.bb-map-wrap { margin-top: 44px; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(17,17,17,.14); }
.bb-map { height: clamp(380px, 46vw, 520px); background: var(--gray-100); z-index: 0; }
/* mute the OSM tiles so the red pins stand out */
.bb-map .leaflet-tile-pane { filter: grayscale(1) brightness(1.04) contrast(.92); }
.bb-pin { background: none; border: 0; }
.bb-pin span {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bb-red); color: #fff; font: 800 15px/1 Inter, sans-serif;
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(0,0,0,.35);
}
.bb-map .leaflet-popup-content-wrapper { border-radius: 12px; }
.bb-map .leaflet-popup-content { margin: 14px 18px; font-family: Inter, sans-serif; line-height: 1.45; }
.bb-pop-name { display: block; font-size: 16px; color: var(--ink); margin-bottom: 2px; }
.bb-pop-addr { display: block; font-size: 15px; color: var(--gray-600); margin-bottom: 8px; }
.bb-map .bb-pop-link { font-size: 15px; font-weight: 700; color: var(--bb-red); }
.bb-map .leaflet-control-attribution { font-size: 14px; }

/* ---------- Drop-off list ---------- */
.bb-locations { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 290px)); justify-content: center; gap: 16px; margin: 24px 0 0; }
.bb-locations li { display: flex; flex-direction: column; border-radius: 16px; background: var(--gray-100); transition: background .2s ease, box-shadow .2s ease; }
.bb-locations li:hover, .bb-locations li:focus-within { background: var(--white); box-shadow: 0 18px 40px rgba(17,17,17,.1); }
.bb-loc {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; align-items: start;
  width: 100%; padding: 22px 20px 8px; background: none; border: 0; text-align: left; color: var(--ink); cursor: pointer; font: inherit;
  border-radius: 16px 16px 0 0;
}
.bb-loc-num {
  grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bb-red); color: #fff; font-weight: 800; font-size: 15px;
}
.bb-loc.is-active .bb-loc-num { box-shadow: 0 0 0 4px rgba(214,32,43,.25); }
.bb-loc-name { font-size: 17px; font-weight: 800; line-height: 1.3; }
.bb-loc-addr { font-size: 15px; color: var(--gray-600); line-height: 1.5; }
.bb-loc-map {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: auto 0 0; padding: 4px 20px 14px 66px;
  font-size: 15px; font-weight: 700; color: var(--bb-red); text-decoration: none;
}
.bb-loc-map:hover { color: var(--bb-red-dk); text-decoration: underline; }
.bb-loc-map i { font-size: 14px; }

/* ---------- Gallery (dark) ---------- */
.bb-gallery-section { background: var(--bb-black); }
.bb-gallery-section h2 { color: #fff; }
.bb-gallery-section .lead-text { color: rgba(255,255,255,.82); }
.bb-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.bb-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; }
.bb-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .5s ease; }
.bb-gallery figure:hover img { transform: scale(1.04); }

/* ---------- Partners ---------- */
.bb-partners { margin-top: 80px; text-align: center; }
.bb-partners-title { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 26px; }
.bb-partner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.bb-partner-grid li { border-radius: 12px; overflow: hidden; background: #050505; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.bb-partner-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* ---------- Help resources ---------- */
.bb-help { background: var(--bb-red); padding: 96px 24px; text-align: center; color: #fff; }
.bb-help-inner { max-width: 900px; margin: 0 auto; }
.bb-help h2 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 14px; }
.bb-help-inner > p { font-size: 18px; color: #fff; margin-bottom: 36px; }
.bb-help-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 34px; }
.bb-help-link {
  display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; border-radius: 16px;
  background: rgba(0,0,0,.22); color: #fff; text-decoration: none; transition: background .2s ease;
}
.bb-help-link:hover, .bb-help-link:focus-visible { background: rgba(0,0,0,.36); color: #fff; }
.bb-help-label { font-size: 20px; font-weight: 800; }
.bb-help-url { font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.bb-help-url i { font-size: 14px; margin-left: 4px; }
.bb-insta { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; min-height: 44px; }
.bb-insta i { font-size: 22px; }
.bb-insta:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .bb-hero-copy { padding: 130px 40px 88px; }
}
@media (max-width: 991px) {
  .bb-hero { grid-template-columns: 1fr; min-height: 0; }
  .bb-hero-copy { padding: 116px 20px 56px; order: 1; }
  .bb-hero-copy-inner { margin: 0 auto; }
  .bb-hero-photo { order: 2; height: 70vh; max-height: 640px; }
  .bb-hero-photo::before { inset: 0 0 auto 0; width: auto; height: 18%; background: linear-gradient(to bottom, var(--bb-black), transparent); }
  .bb-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .bb-locations { grid-template-columns: 1fr; } .bb-help-links { grid-template-columns: 1fr; }
  .bb-photo--offset { margin-top: 32px; }
  .bb-drive { padding: 88px 20px; }
}
