.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.districts a {
  border: 1px solid #ffffff26;
  border-radius: 99px;
  padding: 8px 13px;
  color: #ded0c7;
  font-size: 10px;
  transition: .2s ease;
}

.districts a:hover {
  color: #2c170c;
  border-color: var(--gold);
  background: var(--gold);
}

.subpage-social {
  display: flex;
  align-items: center;
  gap: 7px;
}

.subpage-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #ddcfc1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brown);
  font-size: 11px;
  font-weight: 800;
  transition: .2s ease;
}

.subpage-social a:hover {
  color: #fff;
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
}

.footer-column .subpage-social {
  margin-top: 4px;
}

.footer-column .subpage-social a {
  color: #fff;
  background: transparent;
  border-color: #ffffff2e;
}

.breadcrumb {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: #bca48d;
}

.breadcrumb a:hover {
  color: var(--brown);
}

.seo-hero {
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, #78411f55, transparent 36%),
    linear-gradient(120deg, var(--brown-2), var(--brown));
  overflow: hidden;
}

.seo-hero-grid {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 70px;
  padding-block: 72px;
}

.seo-hero-copy h1,
.blog-hero h1,
.article-header h1 {
  font: 700 clamp(48px, 5.6vw, 78px)/1.02 var(--display);
  letter-spacing: -2px;
  text-wrap: balance;
  margin: 0 0 24px;
}

.seo-hero-copy > p:not(.kicker) {
  max-width: 650px;
  color: #eadfd8;
  font-size: 17px;
  line-height: 1.8;
  margin: 0;
}

.seo-hero-image {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 80px #14060166;
}

.seo-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff30;
  border-radius: inherit;
  pointer-events: none;
}

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

.district-hero .seo-hero-image img {
  object-position: center;
}

.seo-content-section {
  padding: 110px 0;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: 95px;
  align-items: start;
}

.seo-prose section + section {
  margin-top: 58px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.seo-prose h2,
.seo-highlights h2,
.seo-price-card h2,
.faq-layout h2,
.related-section h2,
.article-body h2 {
  font: 700 clamp(32px, 3.6vw, 48px)/1.13 var(--display);
  letter-spacing: -.9px;
  margin: 0 0 18px;
}

.seo-prose p,
.seo-price-card p,
.article-body > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
  margin: 0;
}

.seo-highlights {
  position: sticky;
  top: 105px;
  padding: 34px;
  border: 1px solid #e2d4c4;
  border-radius: 16px;
  background: var(--sand);
}

.seo-highlights h2 {
  font-size: 32px;
}

.seo-highlights ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 26px 0 8px;
  padding: 0;
}

.seo-highlights li {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #554a44;
  font-size: 13px;
  font-weight: 650;
}

.seo-highlights li span {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brown);
  background: #fff;
}

.seo-price-section {
  padding: 35px 0 105px;
  background: #fff;
}

.home-price-section {
  padding-top: 70px;
}

.seo-price-card {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: 75px;
  padding: 60px 66px;
  border: 1px solid #e3d4c2;
  border-radius: 20px;
  background:
    radial-gradient(circle at 95% 5%, #ce9b5945, transparent 33%),
    var(--sand);
}

.seo-price-card h2 {
  font-size: clamp(36px, 4vw, 52px);
}

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

.quote-counts a {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d7c5b2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
}

.quote-counts a:hover {
  color: #fff;
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
}

.quote-counts .custom-count {
  grid-column: 1 / -1;
  background: var(--gold);
  border-color: var(--gold);
  color: #29160b;
}

.related-section {
  padding: 105px 0;
  background: var(--sand);
}

.section-head.compact {
  display: block;
  margin-bottom: 34px;
}

.section-head.compact h2 {
  max-width: 760px;
}

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

.related-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #e1d3c2;
  border-radius: 14px;
  background: #fff;
  transition: .25s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  border-color: #c8a578;
  box-shadow: 0 20px 50px #4b280e12;
}

.related-card > span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.related-card h3 {
  font: 700 26px/1.16 var(--display);
  margin: 35px 0 12px;
}

.related-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
}

.related-card b {
  margin-top: auto;
  color: var(--brown);
  font-size: 11px;
}

.faq-section {
  padding: 110px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 90px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 44px 23px 0;
  list-style: none;
  cursor: pointer;
  color: var(--brown);
  font-weight: 750;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 18px;
  font: 500 24px var(--display);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.blog-hero {
  padding: 100px 0 105px;
  color: #fff;
  background: linear-gradient(125deg, var(--brown-2), var(--brown));
}

.blog-hero h1 {
  max-width: 820px;
}

.blog-hero > .shell > p:not(.kicker) {
  max-width: 720px;
  margin: 0;
  color: #decfc6;
  font-size: 17px;
  line-height: 1.8;
}

.blog-list-section {
  padding: 100px 0 115px;
}

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

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.blog-card-image {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--sand);
}

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

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

.blog-card > div {
  padding: 28px 30px 32px;
}

.blog-date {
  color: #987254;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.blog-card h2 {
  font: 700 29px/1.18 var(--display);
  margin: 10px 0 13px;
}

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

.blog-card > div > p:not(.blog-date) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.article-page {
  padding: 75px 0 120px;
}

.article-header {
  max-width: 920px;
  text-align: center;
}

.article-header .kicker {
  justify-content: center;
}

.article-header h1 {
  font-size: clamp(44px, 6vw, 74px);
  color: var(--brown);
}

.article-summary {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 25px;
  color: #987b66;
  font-size: 11px;
  font-weight: 700;
}

.article-cover {
  margin-top: 55px;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 8.5;
  background: var(--sand);
}

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

.article-body {
  width: min(760px, calc(100% - 48px));
  margin-top: 60px;
}

.article-body > p + p,
.article-body h2 {
  margin-top: 30px;
}

.article-body h2 {
  font-size: 36px;
}

.article-cta {
  margin-top: 50px;
  padding: 34px;
  border: 1px solid #e3d4c2;
  border-radius: 15px;
  background: var(--sand);
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  color: var(--muted);
  line-height: 1.8;
}

.not-found-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 70px 24px;
  text-align: center;
}

.not-found-card {
  max-width: 660px;
}

.not-found-card img {
  margin: 0 auto;
}

.not-found-card strong {
  color: var(--gold);
  font: 700 90px var(--display);
}

.not-found-card h1 {
  font: 700 48px var(--display);
  margin: -12px 0 15px;
}

.not-found-card p {
  color: var(--muted);
  margin-bottom: 28px;
}

@media (max-width: 980px) {
  .subpage-social {
    display: none;
  }

  .seo-hero-grid {
    gap: 40px;
  }

  .seo-content-grid {
    gap: 55px;
  }
}

@media (max-width: 780px) {
  .breadcrumb {
    width: min(100% - 30px, 1200px);
  }

  .seo-hero-grid,
  .seo-content-grid,
  .seo-price-card,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .seo-hero-grid {
    min-height: auto;
    padding-block: 60px;
  }

  .seo-hero-copy h1,
  .blog-hero h1,
  .article-header h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .seo-hero-image {
    order: -1;
    max-height: 430px;
  }

  .seo-content-section,
  .related-section,
  .faq-section,
  .blog-list-section {
    padding: 78px 0;
  }

  .seo-highlights {
    position: static;
  }

  .seo-price-section {
    padding-bottom: 78px;
  }

  .seo-price-card {
    gap: 35px;
    padding: 42px 28px;
  }

  .related-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 30px;
  }

  .blog-hero {
    padding: 75px 0 80px;
  }

  .article-page {
    padding-top: 45px;
  }
}

@media (max-width: 520px) {
  .announcement-inner {
    justify-content: flex-end;
  }

  .announcement-inner > p {
    display: none;
  }

  .announcement-inner > div a:last-child {
    white-space: nowrap;
  }

  .seo-hero-grid {
    padding-block: 45px 60px;
  }

  .seo-hero-copy > p:not(.kicker),
  .blog-hero > .shell > p:not(.kicker),
  .article-summary {
    font-size: 15px;
  }

  .seo-hero-image {
    border-radius: 12px;
  }

  .seo-content-grid {
    gap: 42px;
  }

  .seo-highlights {
    padding: 27px 23px;
  }

  .quote-counts {
    grid-template-columns: 1fr;
  }

  .quote-counts .custom-count {
    grid-column: auto;
  }

  .related-card {
    min-height: 250px;
  }

  .article-meta {
    flex-direction: column;
    gap: 5px;
  }

  .article-cover {
    margin-top: 38px;
    border-radius: 9px;
    aspect-ratio: 4 / 3;
  }

  .article-body {
    width: min(100% - 30px, 760px);
    margin-top: 40px;
  }

  .article-cta {
    padding: 25px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-card,
  .blog-card-image img,
  .quote-counts a,
  .subpage-social a {
    transition: none;
  }
}
