:root {
  --sacrament-navy: #14212d;
  --sacrament-burgundy: #5a1720;
  --sacrament-gold: #c7a45b;
  --sacrament-cream: #f4efe4;
  --sacrament-ink: #18212a;
  --sacrament-muted: #766b5c;
  --sacrament-line: rgba(90, 23, 32, 0.18);
}

.sacraments-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sacraments-hero {
  background: var(--sacrament-burgundy);
  color: #fff;
  padding: 92px 0;
}

.sacraments-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 82px;
  align-items: center;
}


.sacraments-page .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: #651822;
}

.sacraments-page .masthead {
    position: relative;
}

.sacraments-kicker {
  margin: 0 0 18px;
  color: var(--sacrament-gold);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.sacraments-hero h1,
.sacraments-overview h2,
.sacraments-contact-band h2,
.sacrament-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}

.sacraments-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 5.2vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.sacraments-intro {
  max-width: 650px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.65;
}

.sacraments-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  background: var(--sacrament-gold);
  color: #18120b;
  border: 1px solid var(--sacrament-gold);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.sacraments-button:hover {
  transform: translateY(-2px);
  background: #d3b36f;
}

.sacraments-hero-image {
  position: relative;
  margin: 0;
  height: 470px;
  padding: 9px;
  border: 1px solid rgba(199, 164, 91, 0.55);
}


.sacraments-hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.sacraments-overview {
  padding: 105px 0 115px;
  background: var(--sacrament-cream);
  color: var(--sacrament-ink);
}

.sacraments-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.sacraments-heading h2 {
  margin: 0 0 17px;
  color: var(--sacrament-navy);
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.sacraments-heading > p:last-child {
  max-width: 670px;
  margin: 0;
  color: var(--sacrament-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.sacrament-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--sacrament-line);
  border-left: 1px solid var(--sacrament-line);
}

.sacrament-card {
  position: relative;
  min-height: 340px;
  padding: 42px 42px 38px 158px;
  border-right: 1px solid var(--sacrament-line);
  border-bottom: 1px solid var(--sacrament-line);
}

.sacrament-number {
  margin: 0 0 12px;
  color: var(--sacrament-gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.sacrament-card h3 {
  margin: 0 0 14px;
  color: var(--sacrament-navy);
  font-size: 2rem;
  line-height: 1.08;
}

.sacrament-card > p:not(.sacrament-number) {
  max-width: 470px;
  margin: 0;
  color: var(--sacrament-muted);
  line-height: 1.68;
}

.sacrament-card > a {
  display: inline-block;
  margin-top: 24px;
  color: var(--sacrament-burgundy);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sacrament-card > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sacrament-icon {
  position: absolute;
  top: 43px;
  left: 38px;
  width: 88px;
  height: 88px;
}

.sacrament-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.sacrament-icon-ordination {
  width: 88px;
  height: 110px;
  top: 38px;
}

.sacrament-card-featured {
  background: rgba(90, 23, 32, 0.035);
}

.sacraments-contact-band {
  padding: 72px 0;
  background: var(--sacrament-navy);
  color: #fff;
}

.sacraments-contact-inner {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.sacraments-contact-inner > div {
  max-width: 720px;
}

.sacraments-contact-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 3.5vw, 3.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.sacraments-contact-band p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.sacraments-button-light {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .sacraments-hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .sacraments-hero-image {
    height: 430px;
  }

  .sacrament-grid {
    grid-template-columns: 1fr;
  }

  .sacraments-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .sacraments-shell {
    width: min(100% - 30px, 1180px);
  }

  .sacraments-hero {
    padding: 68px 0;
  }

  .sacraments-overview {
    padding: 75px 0 80px;
  }

  .sacraments-hero-image {
    height: 340px;
  }

  .sacraments-hero-image::before {
    display: none;
  }

  .sacrament-card {
    min-height: 0;
    padding: 32px 28px 36px;
  }

  .sacrament-icon,
  .sacrament-icon-ordination {
    position: static;
    width: 82px;
    height: 82px;
    margin-bottom: 22px;
  }

  .sacrament-icon-ordination {
    height: 105px;
  }
}
