/* ===== Inner Page Hero ===== */
.inner-hero {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.inner-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(35, 65, 102, 0.28) 0%, rgba(18, 31, 49, 0.34) 100%);
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 26px 40px;
  text-align: center;
  color: #ffffff;
}

.inner-hero-overlay h1 {
  margin: 0 0 14px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 36px;
  line-height: 1.3;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

.inner-hero-overlay p {
  margin: 0;
  max-width: 780px;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

/* ===== Shared Page Content ===== */
.page-content {
  padding: 36px;
  background: #ffffff;
}

.two-column-intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  background: #eef4f9;
  border-top: 1px solid #e0e6eb;
  border-bottom: 1px solid #e0e6eb;
}

.page-copy {
  padding-top: 8px;
}

.page-copy h2,
.text-panel h2 {
  margin: 0;
  color: #2b5c96;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 700;
}

.page-copy p,
.text-panel p {
  margin: 0 0 18px;
  color: #232323;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 600;
}

.page-copy p:last-child,
.text-panel p:last-child {
  margin-bottom: 0;
}

.page-image-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-image-wrap img {
  width: 100%;
  max-width: 500px;
  height: 310px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #dde2e7;
}

/* ===== Info Band ===== */
.info-band {
  padding: 34px 36px;
  background: linear-gradient(180deg, #f8fbfe 0%, #edf5fb 100%);
  border-top: 1px solid #dfe7ef;
  border-bottom: 1px solid #dfe7ef;
}

.info-band-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.info-band-inner h2 {
  margin: 0;
  color: #2a5b95;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.info-band-inner p {
  margin: 0;
  color: #2d2d2d;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 600;
}

/* ===== Page Feature Grid ===== */
.page-feature-grid {
  background: #ffffff;
  padding-top: 34px;
  padding-bottom: 24px;
}

/* ===== Stacked Text Panels ===== */
.stacked-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  background: #f8f7f4;
  border-top: 1px solid #e3e0da;
}

.text-panel {
  background: #ffffff;
  border: 1px solid #e1ddd6;
  border-radius: 4px;
  padding: 28px 28px 30px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

/* ===== Responsive additions ===== */
@media (max-width: 1100px) {
  .two-column-intro {
    grid-template-columns: 1fr;
  }

  .page-image-wrap {
    justify-content: flex-start;
  }

  .page-image-wrap img {
    max-width: none;
    height: auto;
  }
}

@media (max-width: 760px) {
  .inner-hero {
    height: 240px;
  }

  .inner-hero-overlay h1 {
    font-size: 28px;
  }

  .inner-hero-overlay p {
    font-size: 15px;
  }

  .page-content,
  .info-band {
    padding: 24px 20px;
  }

  .text-panel {
    padding: 22px 20px 24px;
  }
}
