/* ==========================================================
   SECTIONS — shared page-level design (subtheme-wide)
   Tokens plus reusable pieces for banded, spacious pages:
     .bc-hero   light full-width band with a big headline and intro
     .bc-card   bordered card; modifiers --navy, --soft, --accent
   New pages should use these instead of page-specific CSS.
   ========================================================== */

:root {
  --bc-navy: #102e43;
  --bc-blue: #243e88;
  --bc-blue-dark: #1b2f68;
  --bc-orange: #e88a24;
  --bc-gold: #df970c;
  --bc-soft: #f1f6f9;
  --bc-soft-card: #edf6fa;
  --bc-soft-card-line: #d2e5ee;
  --bc-line: #d8e3e9;
  --bc-muted: #526675;
  --bc-page-gutter: 40px;
}

/* Pages that use bands give the content box side gutters; bands then
   break out to its edges with negative margins. */
.content_layout .region-content:has(.bc-hero),
body.path-benefits .region-content {
  padding: 0 var(--bc-page-gutter) 60px;
}

.bc-hero,
body.path-benefits .region-content .views-element-container > div > header {
  background: var(--bc-soft);
  margin: 0 calc(-1 * var(--bc-page-gutter)) 50px;
  padding: 50px var(--bc-page-gutter);
}

.content_layout .bc-hero h1,
.content_layout .bc-hero h2,
body.path-benefits .region-content header h2:not(.visually-hidden) {
  font-size: 40px;
  margin: 0 0 15px;
}

.bc-hero p,
body.path-benefits .region-content header p {
  max-width: 720px;
  margin: 0;
  color: var(--bc-muted);
  font-size: 18px;
}

.bc-card,
body.path-benefits .views-row {
  background: #fff;
  border: 1px solid var(--bc-line);
  border-radius: 10px;
  padding: 40px 48px;
  margin-bottom: 22px;
}

.bc-card--navy,
body.path-benefits .views-row:nth-of-type(2) {
  background: var(--bc-navy);
  border-color: var(--bc-navy);
  color: #d5e3eb;
}

.bc-card--soft,
body.path-benefits .views-row:nth-of-type(4) {
  background: var(--bc-soft-card);
  border-color: var(--bc-soft-card-line);
}

.bc-card--accent,
body.path-benefits .views-row:nth-of-type(5) {
  border-left: 4px solid var(--bc-orange);
}

/* Hero with a photo banner flush along its bottom edge */
.bc-hero--photo {
  padding-bottom: 0;
}

.bc-hero__photo {
  position: relative;
  margin: 35px 0 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.bc-hero__photo img {
  display: block;
  float: none;
  width: 100% !important;
  max-width: none;
  height: 260px;
  margin: 0;
  object-fit: cover;
}

/* Small uppercase label with a short orange rule, as in the breadcrumb */
.bc-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bc-blue);
}

.bc-eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  margin-right: 11px;
  background: var(--bc-orange);
}

.bc-hero__photo figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  background: rgba(16, 46, 67, .91);
  color: #fff;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 12px 18px;
  border-radius: 4px;
}

/* Full-width band: numbered title on the left, copy on the right.
   Variants: (none) white, --navy, --soft. */
.bc-section {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 90px;
  margin: 0 calc(-1 * var(--bc-page-gutter));
  padding: 75px var(--bc-page-gutter);
}

.bc-section--navy {
  background: var(--bc-navy);
  color: #d5e3eb;
}

.bc-section--soft {
  background: var(--bc-soft);
}

.bc-index {
  display: block;
  margin-bottom: 28px;
  font-size: 58px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
  color: #bfd3df;
}

.bc-section--navy .bc-index {
  color: #5e899f;
}

.bc-section--soft .bc-index {
  color: #b78421;
}

.content_layout .bc-section__title h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
  color: var(--bc-navy);
}

.content_layout .bc-section--navy h2 {
  color: #fff;
}

.bc-section__copy {
  font-size: 17px;
  line-height: 1.9;
  color: var(--bc-muted);
}

.bc-section--navy .bc-section__copy {
  color: #d5e3eb;
}

.bc-section__copy p {
  margin: 0 0 20px;
}

.bc-section__copy p:last-child {
  margin-bottom: 0;
}

.bc-section__copy a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .bc-section {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .bc-hero__photo img {
    height: 180px;
  }

  .bc-hero__photo figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    text-align: center;
  }

  :root {
    --bc-page-gutter: 20px;
  }

  .bc-hero,
  body.path-benefits .region-content .views-element-container > div > header {
    margin-bottom: 30px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .bc-card,
  body.path-benefits .views-row {
    padding: 25px;
  }
}
