.cms-hero {
  position: relative;
  min-height: clamp(220px, 32vw, 360px);
  display: flex;
  align-items: flex-end;
  padding-top: var(--header, 88px);
  background: #2a2a2e center/cover no-repeat;
  background-image: var(--cms-hero-bg, linear-gradient(135deg, #3d3d42, #57565c));
  color: #fff;
}

.cms-hero--plain {
  min-height: auto;
  padding-top: calc(var(--header, 88px) + clamp(1.25rem, 3vw, 2rem));
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
  background: linear-gradient(135deg, #3d3d42, #57565c);
}

.cms-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.65));
}

.cms-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  max-width: 48rem;
}

.cms-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow, #f4e708);
  margin: 0 0 0.5rem;
}

.cms-hero__title {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #fff;
}

.cms-hero__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgb(255 255 255 / 0.88);
}

.cms-hero--plain .cms-hero__lede {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
}

@media (min-width: 768px) {
  .cms-hero--plain .cms-hero__lede--single-line {
    white-space: nowrap;
  }
}

.cms-page {
  padding: clamp(2rem, 4vw, 3rem) 0 4rem;
}

.cms-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.cms-breadcrumb a {
  color: #174f6d;
  text-decoration: none;
}

.cms-breadcrumb a:hover {
  text-decoration: underline;
}

.cms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #57565c;
  margin: 0 0 1.5rem;
}

.cms-prose {
  max-width: 46rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #1f2937;
}

.cms-prose h2,
.cms-prose h3 {
  font-family: Fraunces, Georgia, serif;
  color: #111827;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}

.cms-prose h2 { font-size: 1.55rem; }
.cms-prose h3 { font-size: 1.25rem; }

.cms-prose p {
  margin: 0 0 1rem;
}

.cms-prose ul,
.cms-prose ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.cms-prose li {
  margin-bottom: 0.35rem;
}

.cms-prose a {
  color: #174f6d;
  text-decoration: underline;
}

.cms-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.25rem 0;
}

.cms-prose blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--brand-yellow, #f4e708);
  background: #f9fafb;
  color: #374151;
}

.cms-articles-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.cms-article-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.cms-article-card__media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f3f4f6;
}

.cms-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-article-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cms-article-card__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #57565c;
  margin: 0 0 0.35rem;
}

.cms-article-card__title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.cms-article-card__title a {
  color: inherit;
  text-decoration: none;
}

.cms-article-card__title a:hover {
  color: #174f6d;
}

.cms-article-card__excerpt {
  font-size: 0.92rem;
  color: #4b5563;
  margin: 0 0 0.75rem;
  flex: 1;
}

.cms-article-card__date {
  font-size: 0.8rem;
  color: #9ca3af;
}

.cms-pagination {
  margin-top: 2rem;
}

.cms-prose--intro {
  margin-bottom: 2rem;
}

.cms-section-head h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
}

.cms-section-head .section-lead {
  margin: 0 0 1.5rem;
  color: #4b5563;
}

.cms-empty-note {
  grid-column: 1 / -1;
  color: #4b5563;
}

.cms-job-card__deadline {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.cms-job-closed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.cms-job-closed-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e5e7eb;
  color: #6b7280;
}

.cms-job-closed-list__loc {
  font-size: 0.9rem;
}

.cms-layout--split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .cms-layout--split {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  }
}

.cms-layout__main {
  min-width: 0;
}

.cms-layout__main .cms-prose {
  max-width: 42rem;
}

@media (min-width: 960px) {
  .cms-layout__main .cms-prose {
    max-width: none;
  }
}

.cms-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header, 88px) + 1rem);
}

.cms-sidebar-card {
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid rgb(23 79 109 / 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 32px rgb(16 45 40 / 0.06);
}

.cms-sidebar-card--help {
  padding: 1.25rem 1.15rem 1.35rem;
  border: none;
  background: linear-gradient(145deg, #123f37 0%, #174f6d 100%);
  color: #fff;
  box-shadow: 0 14px 40px rgb(16 45 40 / 0.12);
}

.cms-sidebar-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.75);
}

.cms-sidebar-text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgb(255 255 255 / 0.92);
}

.cms-sidebar-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.cms-sidebar-line {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.cms-sidebar-line a {
  color: #f4e708;
  text-decoration: none;
}

.cms-sidebar-line a:hover {
  text-decoration: underline;
}

.cms-sidebar-heading {
  margin: 0 0 0.85rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #102d28;
}

.cms-sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.cms-sidebar-links li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.cms-sidebar-links li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cms-sidebar-links a {
  color: #174f6d;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  text-decoration: none;
}

.cms-sidebar-links a:hover {
  text-decoration: underline;
}

.cms-sidebar-links time {
  font-size: 0.78rem;
  color: #6b7280;
}

.cms-sidebar-links--plain li {
  padding-bottom: 0.45rem;
  border-bottom: 0;
}

.cms-sidebar-more {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.cms-sidebar-more a {
  color: #174f6d;
  text-decoration: none;
}

.cms-sidebar-more a:hover {
  text-decoration: underline;
}

@media (max-width: 959px) {
  .cms-sidebar {
    position: static;
  }
}

.careers-apply-card {
  position: sticky;
  top: calc(var(--header, 88px) + 1rem);
}

.careers-apply-card .form-live form {
  position: relative;
}

.careers-apply-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.2;
}

.careers-apply-card--closed h3 {
  margin-top: 0;
}
