.s4-detail-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  min-height: 690px;
  background: var(--s4-forest-deep);
  color: #fff;
}

.s4-detail-hero .s4-breadcrumb {
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
}

.s4-detail-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(50px, 7vw, 104px);
}

.s4-detail-hero h1 {
  overflow-wrap: anywhere;
  margin: 0 0 24px;
  font: 500 clamp(2.7rem, 5.2vw, 5.6rem)/0.96 var(--s4-serif);
  letter-spacing: -0.05em;
}

.s4-detail-hero__summary {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.s4-detail-hero__media {
  min-height: inherit;
  background: #173d32;
}

.s4-detail-hero__media img,
.s4-detail-hero__media .s4-media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s4-detail-shell {
  width: var(--s4-shell);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.s4-snapshot {
  margin-bottom: 80px;
  padding: 34px;
  border: 1px solid var(--s4-line);
  border-radius: var(--s4-radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(9, 31, 23, 0.08);
}

.s4-snapshot .s4-section-heading {
  margin: 0 0 24px;
  text-align: left;
}

.s4-snapshot .s4-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.s4-snapshot dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.s4-snapshot dl > div {
  min-width: 0;
  padding: 20px;
  border-top: 1px solid var(--s4-line);
}

.s4-snapshot dt {
  margin-bottom: 8px;
  color: var(--s4-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.s4-snapshot dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.s4-content-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: 62px 0;
  border-top: 1px solid var(--s4-line);
}

.s4-content-section--media-left .s4-content-media {
  grid-column: 1;
  grid-row: 1;
}

.s4-content-section--media-left .s4-content-section__copy {
  grid-column: 2;
}

.s4-content-section--media-right .s4-content-media {
  grid-column: 2;
  grid-row: 1;
}

.s4-content-section--media-right .s4-content-section__copy {
  grid-column: 1;
  grid-row: 1;
}

.s4-content-section--text {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.s4-content-section h2,
.s4-resources h2,
.s4-contact-cta h2,
.s4-relationship h2,
.s4-references h2,
.s4-related h2 {
  overflow-wrap: anywhere;
  margin: 0 0 22px;
  font: 500 clamp(1.85rem, 3.4vw, 3.15rem)/1.08 var(--s4-serif);
  letter-spacing: -0.035em;
}

.s4-content-section p,
.s4-content-section li,
.s4-relationship p,
.s4-references li {
  color: var(--s4-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.s4-content-section ul,
.s4-content-section ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.s4-content-media {
  overflow: hidden;
  margin: 0;
  border-radius: var(--s4-radius);
  background: #d8d0c2;
  box-shadow: var(--s4-shadow);
}

.s4-content-media img,
.s4-content-media .s4-media-fallback {
  width: 100%;
  min-height: 360px;
  max-height: 620px;
  object-fit: cover;
}

.s4-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.s4-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.s4-table-wrap th,
.s4-table-wrap td {
  padding: 12px;
  border: 1px solid var(--s4-line);
  text-align: left;
  vertical-align: top;
}

.s4-relationship,
.s4-resources,
.s4-references,
.s4-related,
.s4-contact-cta {
  margin-top: 68px;
  padding: 36px;
  border: 1px solid var(--s4-line);
  border-radius: var(--s4-radius);
  background: rgba(255, 255, 255, 0.72);
}

.s4-relationship {
  background: var(--s4-forest-deep);
  color: #fff;
}

.s4-relationship p {
  color: rgba(255, 255, 255, 0.74);
}

.s4-boundary-note {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.s4-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.s4-resource {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--s4-line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

.s4-resource span {
  overflow-wrap: anywhere;
  color: var(--s4-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.s4-resource--unavailable {
  opacity: 0.68;
}

.s4-contact-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.s4-contact-cta p {
  max-width: 720px;
  color: var(--s4-muted);
  line-height: 1.7;
}

.s4-contact-cta .s4-button {
  flex: none;
}

.s4-references ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.s4-references a {
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.s4-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.s4-related-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--s4-line);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

.s4-related-card__type {
  color: var(--s4-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.s4-related-card strong {
  overflow-wrap: anywhere;
  font-family: var(--s4-serif);
  line-height: 1.35;
}

.s4-child-hero {
  padding: 60px max(32px, calc((100% - 1180px) / 2)) 72px;
  background: var(--s4-forest-deep);
  color: #fff;
}

.s4-child-hero .s4-breadcrumb {
  width: 100%;
  padding: 0 0 40px;
}

.s4-child-hero h1 {
  max-width: 980px;
  margin: 0 0 22px;
  font: 500 clamp(2.6rem, 5vw, 5rem)/0.98 var(--s4-serif);
  letter-spacing: -0.045em;
}

.s4-child-hero > p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}
