.seo-authority-page {
  background: #f6f2ec;
  color: #171b22;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

.seo-authority-page * {
  box-sizing: border-box;
}

.seo-authority-main {
  overflow: hidden;
}

.authority-hero {
  background:
    linear-gradient(90deg, rgba(246, 242, 236, .98) 0%, rgba(246, 242, 236, .9) 48%, rgba(246, 242, 236, .34) 100%),
    var(--authority-image, url("/uploads/hero-kitchen-bifold.jpg")) center / cover;
  border-bottom: 1px solid rgba(31, 49, 66, .12);
}

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

.authority-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: end;
  min-height: 420px;
  padding: 74px 0 62px;
}

.authority-kicker {
  color: #dd291d;
  font: 700 12px/1.25 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .16em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.authority-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #111820;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .96;
  overflow-wrap: anywhere;
}

.authority-lede {
  max-width: 720px;
  margin: 22px 0 0;
  color: #465160;
  font-size: 18px;
  line-height: 1.68;
}

.authority-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.authority-btn {
  align-items: center;
  border: 1px solid rgba(31, 49, 66, .18);
  color: #17202a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  text-decoration: none;
}

.authority-btn--primary {
  background: #dd291d;
  border-color: #dd291d;
  color: #fff;
}

.authority-hero__panel {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(31, 49, 66, .12);
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(31, 49, 66, .1);
  padding: 22px;
}

.authority-hero__panel h2,
.authority-card h2,
.authority-section h2 {
  margin: 0;
  color: #17202a;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.authority-facts {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
}

.authority-fact {
  border-top: 1px solid rgba(31, 49, 66, .12);
  padding-top: 12px;
}

.authority-fact span {
  color: #66707c;
  display: block;
  font: 700 11px/1.2 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.authority-fact strong {
  color: #17202a;
  display: block;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.authority-content {
  padding: 70px 0;
}

.authority-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(300px, .38fr);
  gap: 42px;
  align-items: start;
}

.authority-copy {
  display: grid;
  gap: 38px;
}

.authority-section {
  border-bottom: 1px solid rgba(31, 49, 66, .12);
  padding-bottom: 38px;
}

.authority-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.authority-section p,
.authority-card p,
.authority-footer p {
  color: #4e5a68;
  font-size: 16px;
  line-height: 1.72;
  margin: 14px 0 0;
}

.authority-answer {
  background: #fff;
  border: 1px solid rgba(31, 49, 66, .1);
  border-left: 4px solid #dd291d;
  padding: 24px;
}

.authority-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.authority-list-grid li,
.authority-link-card,
.authority-proof li {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(31, 49, 66, .1);
  list-style: none;
  padding: 14px 15px;
}

.authority-list-grid,
.authority-proof,
.authority-links,
.authority-faq {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.authority-link-card {
  color: #17202a;
  display: block;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.authority-link-card span {
  color: #dd291d;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}

.authority-links {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.authority-faq {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.authority-faq li {
  background: #fff;
  border: 1px solid rgba(31, 49, 66, .1);
  padding: 18px;
}

.authority-faq strong {
  display: block;
  color: #17202a;
  font-size: 16px;
}

.authority-faq p {
  margin-top: 8px;
}

.authority-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 172px;
}

.authority-card {
  background: #fff;
  border: 1px solid rgba(31, 49, 66, .1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 49, 66, .08);
  padding: 22px;
}

.authority-card h2 {
  font-size: 30px;
}

.authority-card__meta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.authority-card__meta a,
.authority-proof a {
  color: #dd291d;
  font-weight: 800;
  text-decoration: none;
}

.authority-proof {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.authority-cta-band {
  background: #17202a;
  color: #fff;
  padding: 54px 0;
}

.authority-cta-band__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.authority-cta-band h2 {
  color: #fff;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.authority-cta-band p {
  color: rgba(255, 255, 255, .72);
  margin: 12px 0 0;
  max-width: 680px;
}

.authority-footer {
  background: #111820;
  color: #f6f2ec;
  padding: 56px 0 28px;
}

.authority-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 36px;
}

.authority-footer h2 {
  color: #fff;
  font: 800 13px/1.3 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.authority-footer a {
  color: #fff;
  text-decoration: none;
}

.authority-footer__links {
  display: grid;
  gap: 9px;
}

.authority-footer__bottom {
  border-top: 1px solid rgba(246, 242, 236, .12);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 22px;
}

.authority-footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .authority-hero__inner,
  .authority-grid,
  .authority-footer__grid {
    grid-template-columns: 1fr;
  }

  .authority-hero__inner {
    min-height: 0;
    padding: 52px 0;
  }

  .authority-sidebar {
    position: static;
  }

  .authority-cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .authority-wrap {
    width: min(100% - 32px, 1180px);
  }

  .authority-hero h1 {
    font-size: 44px;
  }

  .authority-lede,
  .authority-section p,
  .authority-card p {
    font-size: 15.5px;
  }

  .authority-list-grid,
  .authority-links {
    grid-template-columns: 1fr;
  }

  .authority-content {
    padding: 46px 0;
  }

  .authority-footer__bottom {
    flex-direction: column;
  }
}
