.page-hero {
  padding: 96px 0 48px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .page-hero {
    padding-top: 132px;
  }
}

.page-hero .kicker {
  display: block;
}

.page-hero h1 {
  margin-top: 16px;
  max-width: 820px;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.08;
  color: var(--navy-deep);
}

.page-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.page-hero p {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.8;
}

.page-hero-dark {
  background: var(--gradient-hero);
  border-bottom: none;
}

.page-hero-dark h1,
.page-hero-dark .kicker {
  color: var(--ivory);
}

.page-hero-dark .kicker {
  color: var(--gold);
}

.page-hero-dark p {
  color: rgba(250, 248, 241, 0.78);
}

.inner-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border-bottom: none;
  padding: 0;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 35, 63, 0.94), rgba(22, 35, 63, 0.62) 45%, rgba(22, 35, 63, 0.25));
}

.inner-hero .container {
  position: relative;
  z-index: 1;
  padding: 132px 0 56px;
}

.inner-hero .kicker {
  color: var(--gold);
}

.inner-hero h1 {
  color: var(--ivory);
}

.inner-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.inner-hero p {
  color: rgba(250, 248, 241, 0.8);
}

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.split-media-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media-reverse .split-media-image {
  order: 2;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 48px;
}

.about-facts {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--muted);
}

.about-facts div + div {
  margin-top: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.team-card-head {
  padding: 40px 32px;
  background: var(--gradient-hero);
  color: var(--ivory);
}

.team-avatar {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(215, 177, 94, 0.5);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  color: var(--gold);
}

.team-card-head p.eyebrow {
  margin-top: 24px;
}

.team-card-head h2 {
  margin-top: 10px;
  font-size: 28px;
}

.team-card-head .team-title {
  margin-top: 6px;
  color: rgba(250, 248, 241, 0.8);
  font-size: 14px;
}

.team-card-body {
  padding: 32px;
}

.team-card-body ul {
  margin-top: 22px;
}

.team-card-body li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: rgba(36, 48, 66, 0.85);
  line-height: 1.7;
}

.team-card-body li + li {
  margin-top: 12px;
}

.team-card-body li span {
  color: var(--gold);
}

.team-more {
  margin-top: 88px;
}

.team-more-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.team-more-head .kicker {
  justify-content: center;
}

.team-more-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.team-slider {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  min-height: 280px;
}

.team-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.team-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.team-slide-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.team-slide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-slide-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 30px;
  box-shadow: var(--shadow);
}

.team-slide-card h3 {
  margin-top: 18px;
  font-size: 18px;
  color: var(--navy-deep);
}

.team-slide-card p {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 768px) {
  .team-slide-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.team-slider .slider-dots {
  position: static;
  transform: none;
  justify-content: center;
  margin-top: 32px;
}

.team-slider .dot {
  background: var(--border);
}

.team-slider .dot.is-active {
  background: var(--gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.contact-info li + li {
  margin-top: 16px;
}

.contact-info-block + .contact-info-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 40px;
}

.contact-form-card h2 {
  font-size: 26px;
  color: var(--navy-deep);
}

.contact-form label {
  display: block;
}

.contact-form > * + * {
  margin-top: 20px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--ivory);
  padding: 12px 14px;
  outline: none;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form-row label {
  margin-top: 0;
}

.contact-form button {
  margin-top: 24px;
}

.contact-success {
  margin-top: 28px;
  padding: 28px 0;
  color: rgba(36, 48, 66, 0.8);
  line-height: 1.8;
}

.page-cta {
  padding-bottom: 96px;
  text-align: center;
}

.page-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy-deep);
}

.page-cta p {
  margin-top: 10px;
  color: var(--muted);
}

.page-cta .button {
  margin-top: 24px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.blog-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card .kicker {
  display: block;
}

.blog-card h3 {
  margin-top: 16px;
  font-size: 21px;
  color: var(--navy-deep);
  line-height: 1.3;
}

.blog-card h3 a {
  color: inherit;
}

.blog-card h3 a:hover {
  color: var(--gold);
}

.blog-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
  flex-grow: 1;
}

.blog-card .blog-meta {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card .text-link {
  margin-top: 16px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 13px;
  border: 1px solid var(--border);
  color: var(--navy-deep);
}

.pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.pagination .is-active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--ivory);
}

.pagination .is-disabled {
  color: var(--muted);
  opacity: 0.5;
}

.post-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 35, 63, 0.94), rgba(22, 35, 63, 0.55) 50%, rgba(22, 35, 63, 0.2));
}

.post-hero .container {
  position: relative;
  z-index: 1;
  padding: 132px 0 48px;
}

.post-hero .kicker {
  color: var(--gold);
}

.post-hero h1 {
  margin-top: 14px;
  max-width: 780px;
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.15;
  color: var(--ivory);
}

.post-hero .blog-meta {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 241, 0.75);
}

.post-body {
  max-width: 760px;
  margin: 0 auto;
}

.post-body p {
  color: var(--foreground);
  line-height: 1.9;
}

.post-body p + p {
  margin-top: 20px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}

.post-back:hover {
  color: var(--gold);
}

.related-heading {
  max-width: 760px;
  margin: 0 auto 28px;
}

@media (max-width: 1024px) {
  .about-detail-grid,
  .team-grid,
  .contact-grid,
  .contact-form-row,
  .split-media {
    grid-template-columns: 1fr;
  }

  .split-media-reverse .split-media-image {
    order: 0;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
