@import url("https://fonts.googleapis.com/css2?family=Allura&family=Lora:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap");

/* Purged superseded homepage layout layers. The active homepage shell now lives in the layout-request block below. */

.archive-hero {
  margin-top: 1rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.archive-hero--visual {
  display: grid;
  gap: 0;
  background: #fffdfc;
  border: 1px solid rgba(179, 162, 151, 0.28);
}

.archive-hero-media {
  min-height: 220px;
  overflow: hidden;
}

.archive-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.82) brightness(0.95);
}

.archive-hero-copy {
  max-width: 46rem;
}

.archive-layout {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.archive-sidebar-card {
  padding: 1rem;
  border-radius: 0;
  border: 1px solid rgba(179, 162, 151, 0.4);
  background: rgba(255, 253, 252, 0.92);
}

.archive-sidebar-card h3,
.archive-sidebar-card p {
  padding-left: 0;
  padding-right: 0;
}

.home-library-categories {
  display: grid;
  gap: 1rem;
}

.library-shelf {
  border-top: 1px solid rgba(179, 162, 151, 0.42);
  padding-top: 1rem;
}

.library-shelf-row {
  gap: 0.8rem;
}

.library-book-card {
  border-radius: 0;
  border: 1px solid rgba(179, 162, 151, 0.34);
  background: rgba(255, 253, 252, 0.92);
  box-shadow: none;
}

.library-book-card img {
  border-radius: 0;
}

@media (min-width: 900px) {
  .archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1rem;
    align-items: start;
  }

  .sidebar-stack {
    display: grid;
    gap: 1rem;
  }
}

/* Layout request 1: uploaded desktop screenshot authority */
.hero-editorial {
  display: grid;
  gap: 0;
  background: #241f1d;
}

.hero-editorial .overline {
  display: none;
}

.hero-editorial .hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.9rem;
  background:
    linear-gradient(180deg, rgba(36, 31, 29, 0.96) 0%, rgba(47, 42, 40, 0.98) 100%);
  color: #f7f1ed;
}

.hero-editorial h1 {
  max-width: 10ch;
  color: #f7f1ed;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.04;
}

.hero-lead.hero-lead-caps {
  max-width: 28ch;
  margin: 0;
  color: rgba(247, 241, 237, 0.8);
  font-size: 0.82rem;
  line-height: 1.55;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-editorial .btn-primary {
  background: #b97f87;
  border-color: #b97f87;
  color: #fffdfc;
}

.hero-visual {
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.9);
}

.category-hub {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.topic-lane-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.topic-lane-card {
  background: rgba(255, 253, 252, 0.92);
  border: 1px solid rgba(179, 162, 151, 0.36);
}

.topic-lane-card > span {
  color: #3a312d;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topic-lane-card p {
  min-height: 4.2em;
  color: #756c68;
  font-size: 0.77rem;
}

.topic-card-link::after {
  content: " \2192";
}

.printable-feature-section {
  display: grid;
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(36, 31, 29, 0.98) 0%, rgba(47, 42, 40, 0.98) 100%);
  color: #f7f1ed;
}

.printable-feature-section .overline,
.printable-feature-section h2,
.printable-feature-section .offer-copy {
  color: #f7f1ed;
}

.printable-feature-section .btn-primary {
  background: transparent;
  border-color: rgba(255, 253, 252, 0.3);
  color: #fffdfc;
}

.printable-feature-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 253, 252, 0.16);
}

.printable-feature-list a {
  color: rgba(247, 241, 237, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-reads-section .section-heading-row {
  justify-content: center;
  text-align: center;
}

.featured-reads-section .section-heading-row .text-link {
  display: none;
}

.featured-stories-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.newsletter-section {
  background:
    linear-gradient(180deg, rgba(36, 31, 29, 0.98) 0%, rgba(47, 42, 40, 0.98) 100%);
  color: #f7f1ed;
}

.newsletter-layout {
  align-items: center;
}

.newsletter-copy h2,
.newsletter-copy .overline,
.newsletter-social-links a,
.newsletter-section .offer-copy {
  color: #f7f1ed;
}

.newsletter-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.newsletter-form-wrap .overline {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(247, 241, 237, 0.84);
}

.newsletter-form-wrap .lead-capture-form {
  background: transparent;
}

.newsletter-form-wrap .lead-capture-form input {
  background: rgba(255, 253, 252, 0.96);
  border-color: rgba(255, 253, 252, 0.18);
}

.newsletter-form-wrap .btn-primary {
  background: #b97f87;
  border-color: #b97f87;
}

.footer-lifestyle {
  padding-top: 0.7rem;
  background: #241f1d;
}

@media (min-width: 900px) {
  .hero-editorial {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  }

  .hero-editorial .hero-visual-wrap {
    order: 1;
  }

  .hero-editorial .hero-copy {
    order: 2;
    min-height: 420px;
    padding: 2.2rem 2.4rem;
  }

  .printable-feature-section {
    grid-template-columns: 220px minmax(0, 1fr) 260px;
  }

  .newsletter-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(300px, 1.1fr);
  }
}

@media (max-width: 899px) {
  .topic-lane-grid,
  .featured-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .printable-feature-list {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 253, 252, 0.16);
    padding-top: 1rem;
  }

  .newsletter-social-links {
    justify-content: flex-start;
  }
}

/* Shop coming soon */
.shop-coming-soon-page {
  min-height: 100vh;
}

.shop-coming-soon-main {
  display: grid;
  gap: 1rem;
}

.shop-coming-soon-hero {
  display: grid;
  gap: 0;
  min-height: clamp(560px, 78vh, 760px);
  align-items: stretch;
  background: #241f1d;
  color: #fffdfc;
  overflow: hidden;
}

.shop-coming-soon-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.9rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(36, 31, 29, 0.97) 0%, rgba(47, 42, 40, 0.98) 100%),
    url("/assets/brand/logo-primary.png") right clamp(1rem, 4vw, 3rem) center / min(42vw, 360px) auto no-repeat;
}

.shop-coming-soon-copy .overline,
.shop-coming-soon-panel .overline {
  color: rgba(255, 253, 252, 0.72);
}

.shop-coming-soon-copy h1 {
  margin: 0;
  max-width: 12ch;
  color: #fffdfc;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.shop-script-line {
  margin: -0.45rem 0 0;
  color: #d9b7bd;
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
}

.shop-coming-soon-copy .hero-lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 253, 252, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.shop-coming-soon-panel {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: #fffdfc;
  color: #2f2a28;
}

.shop-coming-soon-panel .overline {
  color: #a97880;
}

.shop-coming-soon-panel h2 {
  margin: 0;
  color: #2f2a28;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.shop-coming-soon-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.shop-coming-soon-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(179, 162, 151, 0.5);
  background: #f8f4f1;
  color: #2f2a28;
}

.shop-coming-soon-form .btn {
  width: 100%;
  justify-content: center;
}

.shop-coming-soon-panel .lead-message {
  min-height: 1.4rem;
  margin: 0;
  color: #6f625d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.shop-coming-soon-notes {
  display: grid;
  gap: 1px;
  padding-top: 0;
  background: rgba(179, 162, 151, 0.38);
}

.shop-coming-soon-notes article {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fffdfc;
}

.shop-coming-soon-notes h2 {
  margin: 0;
  color: #2f2a28;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

@media (min-width: 900px) {
  .shop-coming-soon-hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  }

  .shop-coming-soon-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .shop-coming-soon-hero {
    min-height: auto;
  }

  .shop-coming-soon-copy {
    min-height: 430px;
    background:
      linear-gradient(180deg, rgba(36, 31, 29, 0.97) 0%, rgba(47, 42, 40, 0.98) 100%),
      url("/assets/brand/logo-primary.png") right 1rem bottom 1rem / 170px auto no-repeat;
  }
}

/* Homepage rebuild fix: compact editorial shell */
body[data-site-key="madeforthisblog"] {
  background: #f7f1ed;
  color: #2f2a28;
}

.page-shell {
  position: relative;
  width: min(1240px, calc(100vw - 24px));
  margin: 10px auto 24px;
  background: #fffdfc;
  border: 1px solid rgba(179, 162, 151, 0.35);
  box-shadow: 0 18px 44px rgba(47, 42, 40, 0.08);
  overflow: clip;
}

.site-header,
.homepage-main,
.site-footer {
  width: 100%;
}

.header-wrap {
  display: grid;
  gap: 0;
}

.header-topbar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: #241f1d;
  color: #fffdfc;
}

.menu-toggle {
  position: relative;
  min-width: 44px;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 253, 252, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 252, 0.06);
  color: #fffdfc;
  font-size: 0;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 253, 252, 0.96);
  box-shadow: 0 7px 0 rgba(255, 253, 252, 0.96), 0 14px 0 rgba(255, 253, 252, 0.96);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.main-nav a {
  padding: 0.08rem 0.28rem;
  color: rgba(255, 253, 252, 0.9);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fffdfc;
}

.main-nav a:visited,
.footer-link-list a:visited,
.homepage-footer-socials a:visited,
.homepage-footer-meta a:visited,
.text-link:visited {
  color: inherit;
}

.header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 253, 252, 0.18);
  border-radius: 999px;
  color: rgba(255, 253, 252, 0.84);
}

.header-search::before {
  content: "\2315";
  font-size: 0.92rem;
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: center;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 1rem 1rem;
  background: #fffdfc;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(179, 162, 151, 0.55);
  border-radius: 999px;
  background: #fffdfc;
}

.brand-logo {
  width: auto;
  height: 60px !important;
  max-height: 60px !important;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  align-content: center;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f2a28;
}

.header-logo-quote {
  margin: 0;
  color: #a97880;
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.08;
}

.homepage-main {
  display: grid;
  gap: 0.7rem;
  padding: 0 0 1rem;
}

.hero-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #241f1d;
  color: #fffdfc;
  min-height: 300px;
  max-height: 340px;
  overflow: hidden;
}

.hero-banner__media {
  min-height: 220px;
  height: 100%;
  overflow: hidden;
}

.hero-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.72) brightness(0.88);
}

.hero-banner__content {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.7rem;
  padding: 1.6rem 1.5rem;
  background: #241f1d;
}

.hero-banner__content h1 {
  margin: 0;
  color: #fffdfc;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
  max-width: 480px;
}

.hero-banner__content p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 253, 252, 0.82);
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-banner__content::after {
  content: "";
  position: absolute;
  right: 1.6rem;
  bottom: 1rem;
  width: 150px;
  height: 150px;
  opacity: 0.16;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23b3a297' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M118 28c-9 13-15 27-18 41-3 16-1 30 6 42 7 12 17 21 30 27'/%3E%3Cpath d='M98 64c11-5 21-7 31-5'/%3E%3Cpath d='M92 94c12-2 23 0 33 5'/%3E%3Cpath d='M92 124c11 2 20 7 28 14'/%3E%3Cpath d='M144 110c8 10 13 20 14 32 1 11-2 21-8 31'/%3E%3C/g%3E%3C/svg%3E");
}

.btn.btn-primary {
  background: #c9959d;
  border-color: #c9959d;
  color: #fffdfc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  width: fit-content;
}

.btn.btn-primary:hover {
  background: #a97880;
  border-color: #a97880;
}

.category-section,
.featured-section {
  padding: 0 0.8rem;
}

.category-section {
  position: relative;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 149, 157, 0.08), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(179, 162, 151, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(36, 31, 29, 0.98) 0%, rgba(47, 42, 40, 0.98) 100%);
  overflow: hidden;
}

.category-section::before,
.category-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  opacity: 0.16;
}

.category-section::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23d8ccc3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M198 46c-10 14-17 28-20 43-4 18-2 33 5 47 8 14 19 24 34 31'/%3E%3Cpath d='M176 84c11-6 22-8 33-5'/%3E%3Cpath d='M169 112c12-2 24 0 35 5'/%3E%3Cpath d='M170 142c12 1 22 6 31 13'/%3E%3Cpath d='M120 70c8 10 13 21 14 33 1 13-1 24-8 35-6 11-15 18-27 23'/%3E%3Cpath d='M133 95c-10-4-19-5-28-3'/%3E%3Cpath d='M136 118c-10-1-20 1-29 6'/%3E%3Cpath d='M136 141c-8 3-15 8-22 14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  background-position: right 20px top 12px;
}

.category-section::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23c9959d' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M78 72c9 11 14 23 16 37 1 13-2 25-8 36-7 11-17 19-31 23'/%3E%3Cpath d='M91 98c-10-4-19-5-28-3'/%3E%3Cpath d='M94 121c-11 0-20 3-29 8'/%3E%3Cpath d='M96 145c-8 3-15 8-22 14'/%3E%3Cpath d='M200 162c-7 9-12 18-14 29-2 10 0 20 6 28 6 9 14 15 26 18'/%3E%3Cpath d='M190 179c8-4 16-5 24-3'/%3E%3Cpath d='M188 197c8-1 16 1 24 5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-position: left 12px bottom 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  overflow: hidden;
}

.category-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.category-image-wrap {
  position: relative;
  height: 168px;
  background: linear-gradient(180deg, rgba(247, 241, 237, 0.95) 0%, rgba(216, 204, 195, 0.78) 100%);
  overflow: hidden;
}

.category-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) brightness(0.92);
}

.category-card .category-icon-badge,
.category-card .category-icon,
.category-card .category-icon-badge img,
.category-card .category-icon-badge svg {
  display: none !important;
}

.category-image-wrap--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(168, 176, 162, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 252, 0.98) 0%, rgba(247, 241, 237, 0.98) 100%);
}

.category-image-wrap--editorial {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 253, 252, 0.62), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 252, 0.98) 0%, rgba(247, 241, 237, 0.98) 100%);
}

.category-image-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 42px;
  padding: 0.4rem 0.75rem;
  color: #756c68;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(179, 162, 151, 0.45);
  background: rgba(255, 253, 252, 0.88);
}

.category-image-placeholder--editorial {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #2f2a28;
}

.category-image-placeholder--garden {
  color: #6f7c6a;
  border-color: rgba(168, 176, 162, 0.52);
}

.category-image-placeholder--coloring {
  color: #a97880;
  border-color: rgba(201, 149, 157, 0.48);
}

.category-icon-badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, rgba(255, 253, 252, 0.2), transparent 32%), linear-gradient(180deg, #c9959d 0%, #b9858d 100%);
  border: 1px solid rgba(255, 253, 252, 0.85);
  box-shadow: 0 8px 18px rgba(36, 31, 29, 0.16);
  z-index: 2;
}

.category-card:nth-child(1) .category-icon-badge {
  background: radial-gradient(circle at 32% 28%, rgba(255, 253, 252, 0.2), transparent 32%), linear-gradient(180deg, #b3a297 0%, #a59389 100%);
}

.category-card:nth-child(2) .category-icon-badge {
  background: radial-gradient(circle at 32% 28%, rgba(255, 253, 252, 0.2), transparent 32%), linear-gradient(180deg, #c9959d 0%, #b9858d 100%);
}

.category-card:nth-child(3) .category-icon-badge {
  background: radial-gradient(circle at 32% 28%, rgba(255, 253, 252, 0.2), transparent 32%), linear-gradient(180deg, #a8b0a2 0%, #98a190 100%);
}

.category-card:nth-child(4) .category-icon-badge {
  background: radial-gradient(circle at 32% 28%, rgba(255, 253, 252, 0.2), transparent 32%), linear-gradient(180deg, #a97880 0%, #956870 100%);
}

.category-card:nth-child(5) .category-icon-badge {
  background: radial-gradient(circle at 32% 28%, rgba(255, 253, 252, 0.2), transparent 32%), linear-gradient(180deg, #b3a297 0%, #a59389 100%);
}

.category-icon,
.category-icon-badge img,
.category-icon-badge svg {
  display: block;
  width: 19px;
  height: 19px;
  max-width: 19px;
  max-height: 19px;
  object-fit: contain;
  flex: 0 0 auto;
}

.category-icon-badge svg,
.category-icon-badge svg * {
  stroke: #fffdfc;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-icon-badge::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 252, 0.18);
  pointer-events: none;
}

.category-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem 1.1rem 1.05rem;
}

.category-card-body h3 {
  margin: 0 0 0.8rem;
  color: #2f2a28;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.category-card-body p {
  margin: 0;
  color: #756c68;
  font-size: 0.8rem;
  line-height: 1.45;
  min-height: 4.6em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.category-card-cta {
  margin-top: auto;
  padding-top: 1rem;
  color: #a97880;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.category-card-cta::after {
  content: " \2192";
}

.library-banner {
  position: relative;
  display: grid;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #241f1d;
  color: #fffdfc;
  overflow: hidden;
}

.library-banner::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: -0.15rem;
  width: 132px;
  height: 132px;
  opacity: 0.13;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23c9959d' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M118 28c-9 13-15 27-18 41-3 16-1 30 6 42 7 12 17 21 30 27'/%3E%3Cpath d='M98 64c11-5 21-7 31-5'/%3E%3Cpath d='M92 94c12-2 23 0 33 5'/%3E%3Cpath d='M92 124c11 2 20 7 28 14'/%3E%3Cpath d='M144 110c8 10 13 20 14 32 1 11-2 21-8 31'/%3E%3C/g%3E%3C/svg%3E");
}

.library-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 118px;
  max-height: 122px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 253, 252, 0.08);
}

.library-banner__media--link {
  display: block;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.library-banner__media--link:hover,
.library-banner__media--link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.96;
}

.library-banner__content {
  display: grid;
  gap: 0.45rem;
  align-content: center;
  position: relative;
  z-index: 1;
}

.library-banner__content .overline,
.library-banner__content h2,
.library-banner__content p {
  margin: 0;
  color: #fffdfc;
}

.library-banner__content .overline {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.library-banner__content h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.library-banner__content p {
  max-width: 29ch;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 253, 252, 0.84);
}

.library-banner__text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: #c9959d;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-banner__text-link::after {
  content: " \2192";
}

.library-banner__aside {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 1px solid rgba(255, 253, 252, 0.18);
  align-content: center;
  list-style: none;
  position: relative;
  z-index: 1;
}

.library-banner__aside li {
  color: rgba(255, 253, 252, 0.9);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.library-banner__aside li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 1px solid rgba(255, 253, 252, 0.3);
  border-radius: 999px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
  background-image: radial-gradient(circle, rgba(201, 149, 157, 0.95) 0 1.5px, transparent 2px);
}

.library-banner__aside li:nth-child(2)::before {
  background-image:
    linear-gradient(rgba(201, 149, 157, 0.95), rgba(201, 149, 157, 0.95)),
    linear-gradient(rgba(201, 149, 157, 0.95), rgba(201, 149, 157, 0.95));
  background-size: 9px 1.5px, 1.5px 9px;
}

.library-banner__aside li:nth-child(3)::before {
  background-image:
    linear-gradient(rgba(201, 149, 157, 0.95), rgba(201, 149, 157, 0.95)),
    linear-gradient(rgba(201, 149, 157, 0.95), rgba(201, 149, 157, 0.95));
  background-size: 9px 1.5px, 9px 1.5px;
  background-position: center 6px, center 10px;
}

.library-banner__aside li:nth-child(4)::before {
  background-image:
    linear-gradient(rgba(201, 149, 157, 0.95), rgba(201, 149, 157, 0.95)),
    radial-gradient(circle, rgba(201, 149, 157, 0.95) 0 1.5px, transparent 2px);
  background-size: 1.5px 9px, 9px 9px;
  background-position: center, center;
}

.featured-section {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.2rem;
  padding-bottom: 0.1rem;
}

.featured-section__heading {
  text-align: center;
  display: grid;
  gap: 0.2rem;
  justify-items: center;
}

.featured-section__heading .overline,
.featured-section__heading h2 {
  margin: 0;
}

.featured-section__heading .overline::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 0.42rem auto 0;
  background: rgba(169, 120, 128, 0.45);
}

.featured-section__heading h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-section-intro {
  max-width: 42rem;
  margin: 0.1rem auto 0;
  color: #756c68;
  font-size: 0.83rem;
  line-height: 1.48;
}

.featured-stories-grid {
  display: grid;
  gap: 0.8rem;
}

.feature-story-card {
  display: grid;
  grid-template-rows: 126px auto 1fr auto;
  gap: 0.22rem;
  padding: 0;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  box-shadow: none;
  height: 100%;
}

.feature-story-card img {
  display: block;
  width: 100%;
  height: 126px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.feature-story-card .library-book-meta,
.feature-story-card h3,
.feature-story-card p,
.feature-story-card .small-copy,
.feature-story-card .text-link {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.feature-story-card .library-book-meta {
  padding-top: 0.55rem;
}

.library-badge {
  display: inline-flex;
  color: #a97880;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-story-card h3 {
  margin: 0;
  color: #2f2a28;
  font-size: 0.92rem;
  line-height: 1.18;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-story-card p {
  display: none;
}

.feature-story-card .text-link,
.feature-story-card .small-copy {
  padding-bottom: 0.75rem;
}

.feature-story-card .small-copy {
  color: #756c68;
}

.feature-story-card .text-link {
  color: #a97880;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.feature-story-card .text-link::after {
  content: " \2192";
}

.site-footer {
  position: relative;
  background: #241f1d;
  color: #fffdfc;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 0.65rem;
  width: 124px;
  height: 124px;
  opacity: 0.12;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23b3a297' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M118 28c-9 13-15 27-18 41-3 16-1 30 6 42 7 12 17 21 30 27'/%3E%3Cpath d='M98 64c11-5 21-7 31-5'/%3E%3Cpath d='M92 94c12-2 23 0 33 5'/%3E%3Cpath d='M92 124c11 2 20 7 28 14'/%3E%3Cpath d='M144 110c8 10 13 20 14 32 1 11-2 21-8 31'/%3E%3C/g%3E%3C/svg%3E");
}

.homepage-footer-top {
  display: grid;
  gap: 0.85rem;
  padding: 0.82rem 1rem;
  border-top: 1px solid rgba(255, 253, 252, 0.1);
  border-bottom: 1px solid rgba(255, 253, 252, 0.1);
  position: relative;
  z-index: 1;
}

.homepage-footer-block {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.homepage-footer-block--quote {
  justify-items: start;
}

.footer-script {
  margin: 0;
  color: #c9959d;
  font-family: "Allura", "Brush Script MT", cursive;
  font-size: 1.15rem;
  line-height: 1;
}

.homepage-footer-socials,
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  align-items: center;
}

.homepage-footer-socials a,
.footer-social-icons a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 252, 0.28);
  background: rgba(255, 253, 252, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 253, 252, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.homepage-footer-socials .social-label,
.footer-social-icons .social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.homepage-footer-socials a::before,
.footer-social-icons a::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.homepage-footer-socials a:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.25' y='4.25' width='15.5' height='15.5' rx='4.2' fill='none' stroke='%23FFFDFC' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3.4' fill='none' stroke='%23FFFDFC' stroke-width='1.7'/%3E%3Ccircle cx='17.2' cy='6.9' r='1' fill='%23FFFDFC'/%3E%3C/svg%3E");
}

.homepage-footer-socials a:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4.7c1.8 1.8 4.1 3.1 6.7 3.7-1.8 1.1-3.2 2.6-4.3 4.5-.8 1.4-1.4 2.9-1.9 4.4-1.6-2.6-3.1-5.1-4.5-7.7 1.2-1.7 2.6-3.3 4-4.9Z' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14.8 10.2c1.6-.3 3-.2 4.2.5-1.1 1.2-2.4 2.3-3.9 3.1' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.homepage-footer-socials a:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.8 5.1v9.1a3.5 3.5 0 1 1-2.4-3.3V7.4c1.5 0 3-.4 4.4-1.2 1-.5 1.7-1.1 2.2-1.7v2.6c-.9.8-2.4 1.6-4.2 2' fill='none' stroke='%23FFFDFC' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.homepage-footer-socials a:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 7.5h15v9h-15z' fill='none' stroke='%23FFFDFC' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5.3 8.1 12 13l6.7-4.9' fill='none' stroke='%23FFFDFC' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-link-list a:hover,
.homepage-footer-socials a:hover,
.homepage-footer-meta a:hover {
  color: #c9959d;
}

.homepage-footer-socials a:hover,
.homepage-footer-socials a:focus-visible,
.footer-social-icons a:hover,
.footer-social-icons a:focus-visible {
  border-color: #b3a297;
  color: #b3a297;
  background: rgba(179, 162, 151, 0.08);
  box-shadow: 0 0 0 4px rgba(179, 162, 151, 0.08);
  transform: translateY(-1px);
}

.homepage-footer-block .footer-brand,
.homepage-footer-block .footer-heading,
.homepage-footer-block .small-copy {
  margin: 0;
}

.homepage-footer-block .footer-heading {
  color: #fffdfc;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.homepage-footer-block .small-copy,
.footer-bottom,
.footer-legal {
  color: #d8ccc3;
}

.homepage-footer-block--signup .lead-capture-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.homepage-footer-block--signup .lead-capture-form input {
  min-height: 38px;
  padding: 0.64rem 0.82rem;
  border: 1px solid rgba(255, 253, 252, 0.16);
  background: #fffdfc;
  color: #2f2a28;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.75rem;
}

.homepage-footer-block--signup .lead-message {
  color: rgba(255, 253, 252, 0.82);
  font-size: 0.68rem;
}

.homepage-footer-block--signup .lead-capture-form .btn {
  min-height: 38px;
  justify-content: center;
  padding-inline: 1rem;
  background: #b3a297;
  border-color: #b3a297;
  color: #fffdfc;
}

.footer-grid {
  padding: 0.9rem 1rem 1.2rem;
}

.homepage-footer-meta {
  display: grid;
  gap: 0.35rem;
  padding: 0.78rem 1rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom,
.footer-legal {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
}

.homepage-footer-meta a {
  color: #d8ccc3;
  text-decoration: none;
}

.lead-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1250;
  width: min(380px, calc(100vw - 24px));
  display: none;
  gap: 0.75rem;
  padding: 1rem;
  background: #fffdfc;
  color: #2f2a28;
  border: 1px solid #d8ccc3;
  box-shadow: 0 22px 44px rgba(47, 42, 40, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.lead-popup.show {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lead-popup .overline,
.lead-popup h2,
.lead-popup .small-copy {
  margin: 0;
}

.lead-popup h2 {
  font-size: 1.4rem;
  line-height: 1.15;
  color: #2f2a28;
}

.lead-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8ccc3;
  background: #fffdfc;
  color: #756c68;
  cursor: pointer;
}

.lead-popup .lead-capture-form {
  display: grid;
  gap: 0.55rem;
}

.lead-popup .lead-capture-form input {
  min-height: 44px;
  padding: 0.78rem 0.95rem;
  border: 1px solid #d8ccc3;
  background: #fffdfc;
  color: #2f2a28;
  box-shadow: none;
}

.lead-popup .lead-capture-form .btn {
  width: 100%;
  justify-content: center;
}

.footer-brand,
.footer-heading,
.footer-bottom,
.footer-legal,
.footer-grid .small-copy,
.homepage-footer-meta a,
.footer-grid a {
  color: #fffdfc;
}

.archive-main {
  gap: 1rem;
}

body[data-active-category="ortho-life"] .archive-main > .section {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.archive-hero {
  margin-top: 0;
  padding: 0 0.8rem;
}

.archive-hero-copy {
  max-width: 42rem;
  padding: 1.25rem 1rem 1.35rem;
}

.archive-hero-copy .offer-copy {
  margin-bottom: 1.4rem;
  color: #756c68;
  max-width: 35rem;
}

.category-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.category-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}

.category-hero-actions .btn-primary {
  background: #c9959d;
  color: #fffdfc;
  border: 1px solid #c9959d;
}

.category-hero-actions .btn-secondary {
  background: transparent;
  color: #a97880;
  border: 1px solid #a97880;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a88f83;
  margin-bottom: 0.65rem;
}

.eyebrow::before,
.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #b3a297;
  display: inline-block;
}

.luxe-soft-bg {
  background:
    radial-gradient(circle at 10% 20%, rgba(179, 162, 151, 0.12), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(168, 176, 162, 0.10), transparent 32%),
    #f7f1ed;
}

.luxe-image-frame {
  background: #f7f1ed;
  border: 1px solid #d8ccc3;
  padding: 0.65rem;
  box-shadow: 0 18px 45px rgba(36, 31, 29, 0.06);
}

.luxe-card {
  background: rgba(255, 253, 252, 0.96);
  border: 1px solid #d8ccc3;
  box-shadow: 0 16px 36px rgba(36, 31, 29, 0.055);
  position: relative;
  overflow: hidden;
}

.luxe-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(179, 162, 151, 0.10);
  pointer-events: none;
}

.luxe-corner {
  position: relative;
}

.luxe-corner::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-top: 1px solid rgba(179, 162, 151, 0.55);
  border-right: 1px solid rgba(179, 162, 151, 0.55);
  pointer-events: none;
}

.luxe-section {
  position: relative;
}

.luxe-section::after {
  content: "";
  display: block;
  width: min(100%, 1080px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 204, 195, 0.8), transparent);
  margin: 3rem auto 0;
}

.editorial-note-card {
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(36, 31, 29, 0.05);
  position: relative;
}

.editorial-note-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: #b3a297;
  margin-bottom: 1rem;
}

.dark-feature-band {
  background:
    radial-gradient(circle at 85% 50%, rgba(179, 162, 151, 0.10), transparent 24%),
    #241f1d;
  color: #fffdfc;
  border: 1px solid rgba(255, 253, 252, 0.08);
  position: relative;
  overflow: hidden;
}

body[data-active-category="ortho-life"] .archive-hero {
  padding: 2rem 1.5rem 1.5rem;
}

body[data-active-category="ortho-life"] .archive-hero--visual {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-active-category="ortho-life"] .archive-hero-media {
  min-height: 0;
  padding: 0.65rem;
  background: #f7f1ed;
  border: 1px solid #d8ccc3;
  box-shadow: 0 18px 45px rgba(36, 31, 29, 0.06);
}

body[data-active-category="ortho-life"] .archive-hero-media img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f7f1ed;
  border: 0;
  filter: none;
}

body[data-active-category="ortho-life"] .archive-hero-copy {
  display: none;
}

body[data-active-category="ortho-life"] .category-hero-actions {
  max-width: 1120px;
  margin: 1.25rem auto 1.75rem;
  padding: 0 1.5rem;
  justify-content: center;
  gap: 0.85rem;
}

body[data-active-category="ortho-life"] .category-hero-actions .btn {
  min-height: 42px;
  padding: 0.75rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}

body[data-active-category="ortho-life"] .category-hero-actions .btn-primary {
  background: #2f2a28;
  color: #fffdfc;
  border: 1px solid #2f2a28;
}

body[data-active-category="ortho-life"] .category-hero-actions .btn-secondary {
  background: transparent;
  color: #2f2a28;
  border: 1px solid #b3a297;
}

body[data-active-category="mom-life"] .archive-main {
  background: #fffdfc;
}

body[data-active-category="mom-life"] .archive-main > .section {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

body[data-active-category="mom-life"] .archive-hero {
  padding: 2rem 1.5rem 1.25rem;
}

body[data-active-category="mom-life"] .archive-hero--visual {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  align-items: stretch;
  gap: 0;
  max-width: 1120px;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  box-shadow: 0 20px 52px rgba(36, 31, 29, 0.055);
}

body[data-active-category="mom-life"] .archive-hero-media {
  min-height: 380px;
  padding: 0;
  overflow: hidden;
  background: #f7f1ed;
}

body[data-active-category="mom-life"] .archive-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) brightness(0.98);
}

body[data-active-category="mom-life"] .archive-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.6rem;
}

body[data-active-category="mom-life"] .archive-hero-copy .overline {
  color: #a88f83;
}

body[data-active-category="mom-life"] .archive-hero-copy h1 {
  color: #2f2a28;
  font-family: var(--serif-font);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin: 0 0 1rem;
}

body[data-active-category="mom-life"] .archive-hero-copy .offer-copy {
  color: #5f5550;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38ch;
  margin: 0;
}

body[data-active-category="mom-life"] .category-hero-actions {
  max-width: 1120px;
  margin: 1.25rem auto 1.9rem;
  padding: 0 1.5rem;
  justify-content: center;
}

body[data-active-category="mom-life"] .category-hero-actions .btn-primary {
  background: #c9959d;
  border-color: #c9959d;
  color: #fffdfc;
}

body[data-active-category="mom-life"] .category-hero-actions .btn-secondary {
  background: transparent;
  border-color: #b3a297;
  color: #2f2a28;
}

.archive-layout,
.archive-main > .section {
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}

.archive-layout .featured-stories-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.what-you-find-section {
  position: relative;
  padding: 3rem 0;
  background: #f7f1ed;
  border-top: 1px solid #d8ccc3;
  border-bottom: 1px solid #d8ccc3;
  overflow: hidden;
}

.what-you-find-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(179, 162, 151, 0.16), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(168, 176, 162, 0.13), transparent 30%);
  pointer-events: none;
}

.what-you-find-header,
.what-you-find-grid {
  position: relative;
  z-index: 1;
}

.what-you-find-header {
  margin-bottom: 2rem;
}

.section-eyebrow {
  color: #a88f83;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.what-you-find-section h2 {
  font-family: var(--serif-font);
  color: #2f2a28;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.what-you-find-intro {
  max-width: 640px;
  color: #756c68;
  line-height: 1.6;
  margin: 0;
}

.category-values-grid,
.what-you-find-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.category-value-card {
  display: flex;
  flex-direction: column;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  overflow: hidden;
  height: 100%;
}

.category-value-card--icon-only,
.what-you-find-card {
  padding: 1.4rem;
  min-height: 185px;
  gap: 0.75rem;
  position: relative;
  justify-content: flex-start;
  background: rgba(255, 253, 252, 0.98);
  box-shadow: 0 14px 32px rgba(36, 31, 29, 0.045);
}

.what-you-find-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #b3a297;
}

.what-you-find-card:nth-child(2)::before {
  background: #a8b0a2;
}

.what-you-find-card:nth-child(3)::before {
  background: #a88f83;
}

.category-value-card--icon-only::after,
.what-you-find-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(179, 162, 151, 0.1);
  pointer-events: none;
}

.category-value-card__media {
  position: relative;
  min-height: 156px;
  background: linear-gradient(180deg, #f7f1ed 0%, #efe3da 100%);
  overflow: hidden;
}

.category-value-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.category-value-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.1rem 1.05rem;
}

.category-value-card--icon-only .category-value-card__body,
.what-you-find-card .category-value-card__body {
  padding: 0;
}

.category-value-kicker,
.what-you-find-number {
  color: #a88f83;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.category-value-icon,
.what-you-find-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8ccc3 0%, #c8b7ad 100%);
  box-shadow: inset 0 1px 0 rgba(255, 253, 252, 0.4);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

.category-value-card--icon-only .category-value-icon,
.what-you-find-card .what-you-find-icon {
  position: static;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-bottom: 0;
}

.category-value-card:nth-child(1) .category-value-icon,
.what-you-find-card:nth-child(1) .what-you-find-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 16.2c1.1-1.8 2.8-3.2 5-3.9 2.2-.7 4.2-.7 6 0' fill='none' stroke='%23FFFDFC' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M5.5 9.8c1.1-2 3-3 5.8-3 2.5 0 4.2.7 5.4 2.1.9 1.1 1.3 2.4 1.3 4 0 1.8-.5 3.2-1.6 4.3-1 1-2.3 1.5-4 1.5-1.6 0-2.9-.5-4-1.5-1-1-1.5-2.4-1.5-4.1 0-1.3.3-2.4 1-3.3l-2.2-.3Z' fill='none' stroke='%23FFFDFC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.category-value-card:nth-child(2) .category-value-icon,
.what-you-find-card:nth-child(2) .what-you-find-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 7.2c0-.7.6-1.2 1.2-1.2h9.6c.7 0 1.2.5 1.2 1.2v10.6c0 .7-.5 1.2-1.2 1.2H7.2c-.6 0-1.2-.5-1.2-1.2V7.2Z' fill='none' stroke='%23FFFDFC' stroke-width='1.6'/%3E%3Cpath d='M9 9.5h6M9 12h6M9 14.5h4.2' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M8.2 6V4.8c0-.4.3-.8.8-.8h6c.4 0 .8.4.8.8V6' fill='none' stroke='%23FFFDFC' stroke-width='1.4'/%3E%3C/svg%3E");
}

.category-value-card:nth-child(3) .category-value-icon,
.what-you-find-card:nth-child(3) .what-you-find-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5.5' width='12' height='14' rx='1.5' fill='none' stroke='%23FFFDFC' stroke-width='1.6'/%3E%3Cpath d='M9 9.3h6M9 12.2h6M9 15.1h4.2' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M9.2 5V4c0-.6.5-1 1-1h3.6c.6 0 1 .4 1 1v1' fill='none' stroke='%23FFFDFC' stroke-width='1.4'/%3E%3C/svg%3E");
}

.category-value-card h3,
.category-value-card p {
  margin: 0;
}

.category-value-card h3 {
  font-family: var(--serif-font);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  text-transform: none;
  line-height: 1.2;
  color: #2f2a28;
}

.category-value-card p {
  color: #756c68;
  font-size: 0.93rem;
  line-height: 1.6;
}

body[data-active-category="ortho-life"] .category-value-card--icon-only {
  min-height: 185px;
}

body[data-active-category="ortho-life"] .what-you-find-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
}

body[data-active-category="ortho-life"] .what-you-find-card p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.9rem;
}

body[data-active-category="ortho-life"] .what-you-find-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(179, 162, 151, 0.14), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(168, 176, 162, 0.12), transparent 30%),
    #f7f1ed;
}

body[data-active-category="ortho-life"] .what-you-find-card:nth-child(1) .what-you-find-icon,
body[data-active-category="ortho-life"] .category-value-card:nth-child(1) .category-value-icon {
  background-color: #b3a297;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 16.2c1.1-1.8 2.8-3.2 5-3.9 2.2-.7 4.2-.7 6 0' fill='none' stroke='%23FFFDFC' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M5.5 9.8c1.1-2 3-3 5.8-3 2.5 0 4.2.7 5.4 2.1.9 1.1 1.3 2.4 1.3 4 0 1.8-.5 3.2-1.6 4.3-1 1-2.3 1.5-4 1.5-1.6 0-2.9-.5-4-1.5-1-1-1.5-2.4-1.5-4.1 0-1.3.3-2.4 1-3.3l-2.2-.3Z' fill='none' stroke='%23FFFDFC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body[data-active-category="ortho-life"] .what-you-find-card:nth-child(2) .what-you-find-icon,
body[data-active-category="ortho-life"] .category-value-card:nth-child(2) .category-value-icon {
  background-color: #a8b0a2;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 7.2c0-.7.6-1.2 1.2-1.2h9.6c.7 0 1.2.5 1.2 1.2v10.6c0 .7-.5 1.2-1.2 1.2H7.2c-.6 0-1.2-.5-1.2-1.2V7.2Z' fill='none' stroke='%23FFFDFC' stroke-width='1.6'/%3E%3Cpath d='M9 9.5h6M9 12h6M9 14.5h4.2' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M8.2 6V4.8c0-.4.3-.8.8-.8h6c.4 0 .8.4.8.8V6' fill='none' stroke='%23FFFDFC' stroke-width='1.4'/%3E%3C/svg%3E");
}

body[data-active-category="ortho-life"] .what-you-find-card:nth-child(3) .what-you-find-icon,
body[data-active-category="ortho-life"] .category-value-card:nth-child(3) .category-value-icon {
  background-color: #a88f83;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5.5' width='12' height='14' rx='1.5' fill='none' stroke='%23FFFDFC' stroke-width='1.6'/%3E%3Cpath d='M9 9.3h6M9 12.2h6M9 15.1h4.2' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M9.2 5V4c0-.6.5-1 1-1h3.6c.6 0 1 .4 1 1v1' fill='none' stroke='%23FFFDFC' stroke-width='1.4'/%3E%3C/svg%3E");
}

.archive-layout--category {
  align-items: start;
}

body[data-active-category="ortho-life"] .archive-layout--category {
  display: block;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: #fffdfc;
}

body[data-active-category="ortho-life"] .archive-layout--category .section-heading-row h2,
body[data-active-category="ortho-life"] #category-posts-section .section-heading-row h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.05;
}

body[data-active-category="ortho-life"] #category-posts-section .small-copy {
  max-width: 42ch;
  color: #756c68;
  line-height: 1.55;
}

.archive-layout--category .section-heading-row,
.category-posts-section .section-heading-row {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.featured-stories-grid--category {
  grid-template-columns: minmax(0, 1fr);
}

body[data-active-category="ortho-life"] .featured-stories-grid--category {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.archive-category-card {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.archive-category-card__media {
  min-height: 100%;
  background: linear-gradient(180deg, #f7f1ed 0%, #f2e9e2 100%);
}

.archive-category-card img,
.archive-category-card__media img,
.featured-stories-grid--category > .feature-story-card > img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.archive-category-card__media--placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.55rem;
  min-height: 260px;
  padding: 1.3rem;
  text-align: center;
  border-right: 1px solid rgba(216, 204, 195, 0.7);
}

.archive-placeholder-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #cab8ae 0%, #bda59b 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.4 5.6c1.1-1 2.8-1.2 4.1-.4.5-.6 1.4-1 2.3-1 .9 0 1.7.4 2.2 1 .8-.2 1.7-.1 2.3.3 1 .6 1.5 1.8 1.2 2.9.7.7.9 1.7.6 2.7-.3 1-.9 1.8-1.7 2.4l-3.6 4.5c-.9 1.2-2.4 1.8-3.9 1.7-1.5 0-2.9-.7-3.8-1.9L5 13.4c-.8-.7-1.2-1.7-1.1-2.7.1-1 .6-1.9 1.4-2.5-.2-1 .1-2.1 1.1-2.6Z' fill='none' stroke='%23FFFDFC' stroke-width='1.45' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px 18px no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 253, 252, 0.42);
}

.archive-placeholder-kicker,
.archive-placeholder-note {
  margin: 0;
}

.archive-placeholder-kicker {
  color: #2f2a28;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-placeholder-note {
  color: #756c68;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-category-card__body {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.5rem 1.5rem 1.45rem 0;
}

.archive-category-card .library-book-meta,
.featured-stories-grid--category > .feature-story-card .library-book-meta {
  padding: 0;
}

.archive-category-card h3,
.archive-category-card p,
.archive-category-card .text-link,
.archive-category-card .small-copy,
.archive-category-card .btn,
.featured-stories-grid--category > .feature-story-card h3,
.featured-stories-grid--category > .feature-story-card p,
.featured-stories-grid--category > .feature-story-card .small-copy,
.featured-stories-grid--category > .feature-story-card .text-link {
  margin-left: 0;
  margin-right: 0;
}

.archive-category-card h3,
.featured-stories-grid--category > .feature-story-card h3 {
  margin-top: 0.15rem;
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.08;
}

.archive-category-card p,
.featured-stories-grid--category > .feature-story-card p {
  margin: 0;
  color: #756c68;
}

.archive-category-card .text-link,
.featured-stories-grid--category > .feature-story-card .text-link {
  margin-bottom: 0;
  color: #a97880;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-category-card--featured {
  border: 1px solid #d8ccc3;
  background: #fffdfc;
}

.archive-category-card--featured,
.archive-category-card--featured.archive-category-card {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
}

.archive-category-card--featured img,
.archive-category-card--featured .archive-category-card__media--placeholder {
  min-height: 320px;
}

.archive-category-card--featured h3 {
  font-size: 1.95rem;
  line-height: 1.04;
  min-height: 0;
}

.archive-category-card--featured p {
  display: block;
  font-size: 0.98rem;
  line-height: 1.68;
  margin-bottom: 0;
}

.archive-category-card__body .btn,
.archive-category-card--featured .btn {
  margin-top: 0.8rem;
  width: fit-content;
}

body[data-active-category="ortho-life"] .archive-category-card--featured .btn {
  background: #2f2a28;
  border-color: #2f2a28;
  color: #fffdfc;
}

body[data-active-category="ortho-life"] .archive-category-card--featured,
body[data-active-category="ortho-life"] .archive-category-card--featured.archive-category-card {
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: 48% 52%;
  align-items: stretch;
  box-shadow: 0 22px 55px rgba(36, 31, 29, 0.07);
}

body[data-active-category="ortho-life"] .archive-category-card--featured img,
body[data-active-category="ortho-life"] .archive-category-card--featured .archive-category-card__media,
body[data-active-category="ortho-life"] .archive-category-card--featured .archive-category-card__media--placeholder {
  min-height: 380px;
}

body[data-active-category="ortho-life"] .archive-category-card--featured .archive-category-card__body {
  padding: 3rem;
  align-content: center;
}

body[data-active-category="ortho-life"] .archive-category-card--featured h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.1;
}

body[data-active-category="ortho-life"] .archive-category-card--featured p {
  font-size: 0.98rem;
  line-height: 1.68;
}

.category-resource-band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: #241f1d;
  color: #fffdfc;
  position: relative;
  overflow: hidden;
}

.category-resource-band::after {
  content: "";
  position: absolute;
  right: 0.8rem;
  bottom: -0.2rem;
  width: 124px;
  height: 124px;
  opacity: 0.11;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23c9959d' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M118 28c-9 13-15 27-18 41-3 16-1 30 6 42 7 12 17 21 30 27'/%3E%3Cpath d='M98 64c11-5 21-7 31-5'/%3E%3Cpath d='M92 94c12-2 23 0 33 5'/%3E%3Cpath d='M92 124c11 2 20 7 28 14'/%3E%3Cpath d='M144 110c8 10 13 20 14 32 1 11-2 21-8 31'/%3E%3C/g%3E%3C/svg%3E");
}

.category-resource-band__media img {
  width: 100%;
  display: block;
  object-fit: contain;
  max-width: 220px;
  margin: 0 auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

.category-resource-band__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-resource-band__copy {
  display: grid;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.category-resource-band__copy .overline,
.category-resource-band__copy h2,
.category-resource-band__copy p {
  color: #fffdfc;
  margin: 0;
}

.category-resource-band__copy p {
  color: rgba(255, 253, 252, 0.84);
  max-width: 42ch;
}

.category-resource-band__actions {
  position: relative;
  z-index: 1;
}

.category-resource-band__actions .btn {
  text-decoration: none;
}

body[data-active-category="ortho-life"] .category-resource-band {
  grid-template-columns: 300px minmax(0, 1fr) auto;
  gap: 2.5rem;
  padding: 2.75rem 2rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

body[data-active-category="ortho-life"] .category-resource-band__actions .btn {
  background: #a88f83;
  border-color: #a88f83;
  color: #fffdfc;
}

body[data-active-category="ortho-life"] .category-resource-band__media img {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.38));
}

body[data-active-category="ortho-life"] .category-resource-band__copy p {
  max-width: 50ch;
}

.featured-stories-grid--category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-stories-grid--category-grid .feature-story-card {
  height: 100%;
}

.featured-stories-grid--category-grid > .archive-empty-state {
  grid-column: 1 / -1;
  justify-items: center;
  text-align: center;
  padding: 1.8rem 1.5rem;
}

body[data-active-category="ortho-life"] #category-posts-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
  background: #fffdfc;
}

body[data-active-category="ortho-life"] #blog-hub-categories > .archive-empty-state,
body[data-active-category="ortho-life"] .featured-stories-grid--category-grid > .archive-empty-state {
  padding: 2rem 1.5rem;
  min-height: auto;
  margin: 1.25rem auto 0;
}

body[data-active-category="ortho-life"] #blog-hub-categories > .archive-empty-state h3,
body[data-active-category="ortho-life"] .featured-stories-grid--category-grid > .archive-empty-state h3 {
  margin: 0 0 0.6rem;
}

body[data-active-category="ortho-life"] #blog-hub-categories > .archive-empty-state p,
body[data-active-category="ortho-life"] .featured-stories-grid--category-grid > .archive-empty-state p {
  max-width: 480px;
  margin: 0.5rem auto 1.25rem;
  line-height: 1.5;
}

.category-newsletter {
  padding-top: 0;
}

body[data-active-category="ortho-life"] .category-newsletter {
  background:
    radial-gradient(circle at 10% 20%, rgba(179, 162, 151, 0.10), transparent 30%),
    #f7f1ed;
  color: #2f2a28;
  padding: 3rem 1.5rem;
  clear: both;
  position: relative;
  z-index: 1;
  margin-top: 0;
  border-top: 1px solid #d8ccc3;
}

body[data-active-category="ortho-life"] .category-newsletter .newsletter-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  box-shadow: 0 18px 42px rgba(36, 31, 29, 0.055);
}

body[data-active-category="ortho-life"] .category-newsletter .newsletter-copy h2,
body[data-active-category="ortho-life"] .category-newsletter .newsletter-copy .overline,
body[data-active-category="ortho-life"] .category-newsletter .offer-copy,
body[data-active-category="ortho-life"] .category-newsletter .newsletter-form-wrap .overline {
  color: inherit;
}

body[data-active-category="ortho-life"] .category-newsletter .lead-capture-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 540px;
}

body[data-active-category="ortho-life"] .category-newsletter .lead-capture-form input {
  flex: 1;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid #d8ccc3;
  background: #fffdfc;
  color: #2f2a28;
}

body[data-active-category="ortho-life"] .category-newsletter .lead-capture-form .btn {
  min-height: 44px;
  background: #241f1d;
  border-color: #241f1d;
  color: #fffdfc;
  padding: 0 1.25rem;
}

body[data-active-category="ortho-life"] .category-newsletter .newsletter-form-wrap .overline {
  color: #a88f83;
}

body[data-active-category="mom-life"] .what-you-find-section {
  max-width: none;
  width: 100%;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 149, 157, 0.12), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(179, 162, 151, 0.12), transparent 30%),
    #f7f1ed;
  padding: 3.25rem 0;
  border-top: 1px solid #d8ccc3;
  border-bottom: 1px solid #d8ccc3;
}

body[data-active-category="mom-life"] .what-you-find-header {
  max-width: 1080px;
  margin: 0 auto 1.75rem;
  padding: 0 1.5rem;
}

body[data-active-category="mom-life"] .what-you-find-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

body[data-active-category="mom-life"] .category-value-card {
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  box-shadow: 0 14px 34px rgba(36, 31, 29, 0.045);
  overflow: hidden;
  min-height: 100%;
}

body[data-active-category="mom-life"] .category-value-card__media {
  min-height: 0;
  height: 210px;
}

body[data-active-category="mom-life"] .category-value-card__media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
}

body[data-active-category="mom-life"] .category-value-icon {
  display: none;
}

body[data-active-category="mom-life"] .category-value-card__body {
  padding: 1.25rem;
}

body[data-active-category="mom-life"] .category-value-card h3 {
  color: #2f2a28;
  font-size: 1.2rem;
}

body[data-active-category="mom-life"] .category-value-card p {
  color: #5f5550;
}

body[data-active-category="mom-life"] .archive-layout--category {
  display: block;
  max-width: 1080px;
  padding: 3.5rem 1.5rem;
  background: #fffdfc;
}

body[data-active-category="mom-life"] .archive-layout--category .section-heading-row {
  max-width: 1080px;
  padding: 0;
  margin: 0 0 1.4rem;
}

body[data-active-category="mom-life"] .archive-layout--category .section-heading-row h2 {
  color: #2f2a28;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.05;
}

body[data-active-category="mom-life"] .featured-stories-grid--category {
  display: block;
  padding: 0;
}

.featured-mom-card {
  display: grid;
  grid-template-columns: 48% 52%;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  box-shadow: 0 22px 55px rgba(36, 31, 29, 0.07);
  overflow: hidden;
}

.featured-mom-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.featured-mom-copy {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-mom-copy h3 {
  font-family: var(--serif-font);
  color: #2f2a28;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.featured-mom-copy p {
  color: #5f5550;
  line-height: 1.68;
  margin: 0 0 1.2rem;
}

.featured-mom-copy .btn {
  width: fit-content;
  background: #241f1d;
  border-color: #241f1d;
  color: #fffdfc;
}

body[data-active-category="mom-life"] .category-resource-band {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  background: #241f1d;
  color: #fffdfc;
  padding: 2.75rem 2rem;
}

body[data-active-category="mom-life"] .category-resource-band__media img {
  max-width: 300px;
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.38));
}

body[data-active-category="mom-life"] .category-resource-band__copy p {
  max-width: 50ch;
}

body[data-active-category="mom-life"] .category-resource-band__actions .btn {
  background: #c9959d;
  border-color: #c9959d;
  color: #fffdfc;
}

body[data-active-category="mom-life"] #category-posts-section {
  max-width: none;
  background: #fffdfc;
  padding: 4rem 0;
}

body[data-active-category="mom-life"] #category-posts-section .section-heading-row {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

body[data-active-category="mom-life"] #category-posts-section .section-heading-row h2 {
  color: #2f2a28;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.05;
}

body[data-active-category="mom-life"] #blog-archive-shelves-note {
  max-width: 56ch;
  color: #756c68;
  line-height: 1.55;
}

.mom-pathways-grid {
  max-width: 1080px;
  margin: 1.75rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.mom-pathway-card {
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  padding: 1.25rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(36, 31, 29, 0.05);
}

.mom-pathway-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #e6ddd7;
  margin-bottom: 1rem;
}

.mom-pathway-card h3 {
  margin: 0 0 0.65rem;
  color: #2f2a28;
  font-family: var(--serif-font);
  font-size: 1.08rem;
  line-height: 1.16;
}

.mom-pathway-card p {
  color: #5f5550;
  line-height: 1.48;
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.mom-pathway-card .btn {
  margin-top: auto;
  background: #241f1d;
  border-color: #241f1d;
  color: #fffdfc;
  text-decoration: none;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

body[data-active-category="mom-life"] .category-newsletter {
  max-width: none;
  background: #f7f1ed;
  padding: 3rem 1.5rem;
  border-top: 1px solid #d8ccc3;
}

body[data-active-category="mom-life"] .category-newsletter .newsletter-layout {
  max-width: 1080px;
  margin: 0 auto;
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  box-shadow: 0 18px 42px rgba(36, 31, 29, 0.055);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

body[data-active-category="mom-life"] .category-newsletter .newsletter-copy h2,
body[data-active-category="mom-life"] .category-newsletter .newsletter-copy p,
body[data-active-category="mom-life"] .category-newsletter .newsletter-form-wrap .overline,
body[data-active-category="mom-life"] .category-newsletter label {
  color: #2f2a28;
}

body[data-active-category="mom-life"] .category-newsletter .newsletter-form-wrap .overline {
  color: #a88f83;
}

body[data-active-category="mom-life"] .category-newsletter .lead-capture-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

body[data-active-category="mom-life"] .category-newsletter .lead-capture-form input {
  flex: 1;
  min-height: 44px;
  min-width: 190px;
  padding: 0 1rem;
  border: 1px solid #d8ccc3;
  background: #fffdfc;
  color: #2f2a28;
}

body[data-active-category="mom-life"] .category-newsletter .lead-capture-form .btn {
  min-height: 44px;
  background: #241f1d;
  border-color: #241f1d;
  color: #fffdfc;
  padding: 0 1.25rem;
}

body[data-active-category="mom-life"] .site-footer .homepage-footer-block--signup {
  display: none;
}

body[data-active-category="mom-life"] .site-footer {
  padding-top: 1.5rem;
}

body[data-active-category="mom-life"] .site-footer .homepage-footer-top {
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
}

body[data-active-category="mom-life"] .site-footer .homepage-footer-block--social {
  padding-inline: 0;
  border-inline: 0;
  justify-items: center;
}

.more-ortho-grid {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.more-ortho-card {
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  box-shadow: 0 18px 40px rgba(36, 31, 29, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.more-ortho-card__media {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  height: 140px;
  border: 1px solid rgba(216, 204, 195, 0.75);
  background: linear-gradient(180deg, #f7f1ed 0%, #fffdfc 100%);
  overflow: hidden;
}

.more-ortho-card__media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.more-ortho-card__media--stack img,
.more-ortho-card__media--merch img {
  object-fit: contain;
  background: #fffdfc;
}

.more-ortho-card h3 {
  margin: 0 0 0.65rem;
  color: #2f2a28;
  font-family: var(--serif-font);
  font-size: 1.1rem;
  line-height: 1.15;
}

.more-ortho-card p {
  color: #756c68;
  line-height: 1.48;
  margin: 0 0 0.95rem;
  font-size: 0.88rem;
}

.ortho-pathway-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(36, 31, 29, 0.075);
}

.ortho-pathway-card:hover .btn {
  background: #2f2a28;
  border-color: #2f2a28;
}

body[data-active-category="ortho-life"] .site-footer .homepage-footer-block--signup {
  display: none;
}

body[data-active-category="ortho-life"] .site-footer {
  padding-top: 1.5rem;
}

body[data-active-category="ortho-life"] .site-footer .homepage-footer-top {
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
}

body[data-active-category="ortho-life"] .site-footer .homepage-footer-block--social {
  padding-inline: 0;
  border-inline: 0;
  justify-items: center;
}

.meet-nina-placeholder {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
  color: #756c68;
}

.meet-nina-placeholder span {
  color: #a88f83;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}

.meet-nina-placeholder strong {
  color: #2f2a28;
  font-family: var(--serif-font);
  font-size: 1.8rem;
  line-height: 1;
}

.meet-nina-placeholder p {
  margin: 0;
  font-size: 0.88rem;
}

.more-ortho-card .btn {
  margin-top: auto;
  display: inline-flex;
  width: fit-content;
  background: #2f2a28;
  border: 1px solid #2f2a28;
  color: #fffdfc;
  text-decoration: none;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

body[data-active-category="ortho-life"] .category-posts-section {
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

body[data-active-category="ortho-life"] #blog-archive-shelves-note {
  max-width: 52ch;
}

.archive-main .button-row .btn,
.archive-main .btn,
.archive-main .text-link,
.archive-main a {
  text-decoration: none;
}

.archive-main a:not(.btn) {
  color: #a97880;
}

.archive-main a:not(.btn):hover,
.archive-main a:not(.btn):focus-visible {
  color: #c9959d;
}

.archive-main .button-row .btn:not(.btn-primary) {
  border-color: #a97880;
  color: #a97880;
  background: transparent;
}

.archive-main .button-row .btn:not(.btn-primary):hover,
.archive-main .button-row .btn:not(.btn-primary):focus-visible {
  background: rgba(169, 120, 128, 0.08);
}

.btn-secondary--soft {
  border-color: #a97880;
  color: #a97880;
  background: transparent;
}

.btn-secondary--soft:hover,
.btn-secondary--soft:focus-visible {
  background: rgba(169, 120, 128, 0.08);
}

.archive-empty-state {
  display: grid;
  justify-items: start;
  gap: 0.35rem;
  padding: 2rem 1.5rem;
  border: 1px solid #d8ccc3;
  background: #fffdfc;
}

.featured-stories-grid--category-grid > .archive-empty-state,
#blog-hub-categories > .archive-empty-state {
  justify-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

body[data-active-category] #blog-archive-default-layout,
body[data-active-category] #blog-archive-default-categories-section {
  display: none !important;
}

.archive-empty-state::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8ccc3 0%, #c8b7ad 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5.5' width='12' height='14' rx='1.5' fill='none' stroke='%23FFFDFC' stroke-width='1.6'/%3E%3Cpath d='M9 9.3h6M9 12.2h6M9 15.1h4.2' fill='none' stroke='%23FFFDFC' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  box-shadow: inset 0 1px 0 rgba(255,253,252,0.4);
}

.archive-empty-state p {
  display: block;
  margin: 0;
}

.archive-main .section-heading-row h2,
.archive-main .section-heading-row p {
  color: #2f2a28;
}

.archive-main .section-heading-row .btn,
.archive-main .section-heading-row .text-link {
  text-decoration: none;
}

.archive-main .newsletter-form-wrap .lead-capture-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

.archive-main .newsletter-form-wrap .lead-capture-form input {
  min-height: 42px;
  padding: 0.72rem 0.88rem;
  border: 1px solid rgba(255, 253, 252, 0.18);
  background: #fffdfc;
  color: #2f2a28;
  box-shadow: none;
}

@media (min-width: 900px) {
  .page-shell {
    width: min(1200px, calc(100vw - 36px));
  }

  .archive-hero--visual {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    align-items: stretch;
  }

  .archive-hero-media,
  .archive-hero-media img {
    min-height: 280px;
  }

  .archive-hero-copy {
    align-self: center;
    padding: 1.65rem 1.6rem 1.55rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    min-height: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
  }

  .hero-banner {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    min-height: 300px;
    max-height: 340px;
  }

  .hero-banner__media {
    order: 1;
    min-height: 300px;
  }

  .hero-banner__content {
    order: 2;
    min-height: 300px;
    padding: 1.8rem 2.6rem;
  }

  .library-banner {
    grid-template-columns: 165px minmax(0, 1fr) 245px;
  }

  .featured-stories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .homepage-footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr) minmax(290px, 1fr);
    align-items: center;
  }

  .homepage-footer-block--social {
    padding-inline: 0.9rem;
    border-inline: 1px solid rgba(255, 253, 252, 0.12);
  }

  .homepage-footer-block--signup .lead-capture-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .lead-popup .lead-capture-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
  }

  .archive-layout .featured-stories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .hero-banner {
    min-height: 0;
    max-height: none;
  }

  .hero-banner__media,
  .hero-banner__image {
    min-height: 230px;
    max-height: 230px;
  }

  .hero-banner__image {
    object-position: center 50%;
  }

  .category-values-grid,
  .what-you-find-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-hero-actions .btn {
    width: auto;
  }

  .header-topbar {
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    z-index: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.4rem;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    color: rgba(255, 253, 252, 0.92);
    font-size: 0.67rem;
    letter-spacing: 0.14em;
    padding: 0.06rem 0.2rem;
  }

  .brand-lockup {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .archive-hero--visual {
    grid-template-columns: 1fr;
  }

  .category-values-grid,
  .featured-stories-grid--category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .archive-category-card,
  .archive-category-card--featured {
    grid-template-columns: 1fr;
  }

  .archive-category-card__body {
    padding: 1rem 1rem 1.05rem;
  }

  .category-resource-band {
    grid-template-columns: 1fr;
  }

  body[data-active-category="ortho-life"] .category-newsletter .newsletter-layout {
    grid-template-columns: 1fr;
  }

  body[data-active-category="ortho-life"] .category-newsletter .lead-capture-form {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-active-category="ortho-life"] .category-newsletter .lead-capture-form .btn {
    width: 100%;
  }

  body[data-active-category="mom-life"] .archive-hero--visual {
    grid-template-columns: 1fr;
  }

  body[data-active-category="mom-life"] .archive-hero-media,
  body[data-active-category="mom-life"] .archive-hero-media img {
    min-height: 280px;
  }

  body[data-active-category="mom-life"] .archive-hero-copy {
    padding: 1.75rem;
  }

  body[data-active-category="mom-life"] .what-you-find-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-mom-card {
    grid-template-columns: 1fr;
  }

  .featured-mom-image img {
    min-height: 260px;
    height: 260px;
  }

  .featured-mom-copy {
    padding: 1.75rem;
  }

  body[data-active-category="mom-life"] .category-resource-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body[data-active-category="mom-life"] .category-resource-band__media img {
    max-width: 240px;
    margin: 0 auto;
  }

  body[data-active-category="mom-life"] .category-resource-band__actions {
    justify-self: center;
  }

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

  body[data-active-category="mom-life"] .category-newsletter .newsletter-layout {
    grid-template-columns: 1fr;
  }

  body[data-active-category="mom-life"] .category-newsletter .lead-capture-form {
    flex-direction: column;
    align-items: stretch;
  }

  body[data-active-category="mom-life"] .category-newsletter .lead-capture-form .btn {
    width: 100%;
  }

  body[data-active-category="ortho-life"] .archive-category-card--featured .archive-category-card__body {
      padding: 1.3rem 1.2rem 1.35rem;
  }

  .category-resource-band__actions {
    justify-self: start;
  }

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

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

  .library-banner__aside {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 253, 252, 0.18);
    padding-top: 0.85rem;
  }

  .library-banner::after,
  .site-footer::after {
    width: 96px;
    height: 96px;
    opacity: 0.08;
  }

  .archive-layout {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
}

@media (max-width: 640px) {
  .what-you-find-section {
    padding: 2.5rem 1.25rem;
  }

  .category-values-grid,
  .what-you-find-grid {
    grid-template-columns: 1fr;
  }

  .category-value-card__media {
    min-height: 184px;
  }

  .category-value-card--icon-only,
  .what-you-find-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .category-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .category-hero-actions .btn {
    width: 100%;
  }

  .more-ortho-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  body[data-active-category="ortho-life"] .category-resource-band__media img {
    max-width: 240px;
    max-height: 240px;
  }

  body[data-active-category="ortho-life"] .category-newsletter {
    padding: 2.25rem 1.25rem;
  }

  body[data-active-category="ortho-life"] .category-newsletter .newsletter-layout {
    padding: 1.5rem;
  }

  body[data-active-category="ortho-life"] .archive-main > .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  body[data-active-category="ortho-life"] .archive-hero--visual {
    grid-template-columns: 1fr;
  }

  body[data-active-category="ortho-life"] .archive-hero-copy {
    padding: 1.35rem;
  }

  body[data-active-category="ortho-life"] .category-hero-actions {
    margin: 0.95rem auto 1.5rem;
    justify-content: stretch;
  }

  body[data-active-category="mom-life"] .archive-hero {
    padding: 1.25rem 1rem 0.9rem;
  }

  body[data-active-category="mom-life"] .archive-hero-media,
  body[data-active-category="mom-life"] .archive-hero-media img {
    min-height: 240px;
  }

  body[data-active-category="mom-life"] .archive-hero-copy {
    padding: 1.35rem;
  }

  body[data-active-category="mom-life"] .category-hero-actions {
    margin: 0.95rem auto 1.5rem;
    justify-content: stretch;
  }

  body[data-active-category="mom-life"] .what-you-find-section {
    padding: 2.5rem 0;
  }

  body[data-active-category="mom-life"] .what-you-find-grid,
  .mom-pathways-grid {
    grid-template-columns: 1fr;
  }

  body[data-active-category="mom-life"] .category-value-card__media,
  body[data-active-category="mom-life"] .category-value-card__media img {
    height: 190px;
  }

  body[data-active-category="mom-life"] .archive-layout--category {
    padding: 2.75rem 1.25rem;
  }

  .featured-mom-image img {
    min-height: 240px;
    height: 240px;
  }

  .featured-mom-copy {
    padding: 1.45rem;
  }

  .featured-mom-copy .btn {
    width: 100%;
  }

  body[data-active-category="mom-life"] .category-resource-band {
    padding: 2.15rem 1.25rem;
  }

  body[data-active-category="mom-life"] .category-newsletter {
    padding: 2.25rem 1.25rem;
  }

  body[data-active-category="mom-life"] .category-newsletter .newsletter-layout {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 12px, 100%);
    margin: 6px auto 14px;
  }

  .header-topbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 0.5rem;
    padding-inline: 0.7rem;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .main-nav a {
    font-size: 0.63rem;
    letter-spacing: 0.12em;
  }

  .header-search {
    display: none;
  }

  .brand {
    width: 78px;
    height: 78px;
  }

  .brand-logo {
    height: 52px !important;
    max-height: 52px !important;
  }

  .brand-name {
    font-size: 1.7rem;
  }

  .header-logo-quote {
    font-size: 1.08rem;
  }

  .hero-banner__content {
    padding: 1.55rem 1.25rem 1.7rem;
  }

  .hero-banner__content h1 {
    font-size: 2.2rem;
    line-height: 1;
  }

  .hero-banner__content p {
    font-size: 0.74rem;
    max-width: none;
  }

  .hero-banner__media,
  .hero-banner__image {
    min-height: 220px;
    max-height: 220px;
  }

  .hero-banner__content::after {
    right: 1rem;
    bottom: 0.8rem;
    width: 110px;
    height: 110px;
  }

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

  .featured-stories-grid {
    grid-template-columns: 1fr;
  }

  .category-icon-badge {
    width: 42px;
    height: 42px;
    top: 16px;
    box-shadow: 0 7px 16px rgba(36, 31, 29, 0.13);
  }

  .category-icon,
  .category-icon-badge img,
  .category-icon-badge svg {
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
  }

  .homepage-footer-socials {
    justify-content: flex-start;
  }

  .homepage-footer-block--social {
    padding-inline: 0;
    border-inline: 0;
  }

  .lead-popup {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .lead-popup .lead-capture-form {
    grid-template-columns: 1fr;
  }

  .archive-hero,
  .archive-layout,
  .archive-main > .section {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .archive-main .newsletter-form-wrap .lead-capture-form {
    grid-template-columns: 1fr;
  }

  .archive-category-card img,
  .archive-category-card__media img,
  .archive-category-card__media--placeholder,
  .archive-category-card--featured img,
  .archive-category-card--featured .archive-category-card__media--placeholder {
    min-height: 220px;
  }

  .archive-hero-copy {
    padding: 1.05rem 0.9rem 1.15rem;
  }
}

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

  .category-values-grid,
  .featured-stories-grid--category-grid {
    grid-template-columns: 1fr;
  }

  .archive-category-card {
    grid-template-columns: 1fr;
  }

  .archive-category-card img,
  .featured-stories-grid--category > .feature-story-card > img {
    min-height: 220px;
  }
}



/* 2026-05 cleanup pass: shared post pages, free library, fallbacks */
body[data-post-slug] .site-header .header-wrap:not(:has(.header-topbar)) {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: #241f1d;
  color: #fffdfc;
}
body[data-post-slug] .site-header .brand {
  width: 70px;
  height: 70px;
}
body[data-post-slug] .site-header .brand-logo {
  max-height: 48px !important;
}
body[data-post-slug] .site-header .main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.8rem;
  padding: 0;
  background: transparent;
}
body[data-post-slug] .site-header .main-nav a {
  color: #fffdfc;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body[data-post-slug] main {
  background: #fffdfc;
}
.post-shell {
  max-width: 1060px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
}
.post-shell > .overline,
.post-shell > h1,
.post-shell > .post-meta {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.post-shell > h1 {
  margin-top: 0.45rem;
  margin-bottom: 0.5rem;
  color: #2f2a28;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.98;
}
.post-meta {
  color: #756c68;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.editorial-cover,
.editorial-cover-hero {
  max-width: 980px;
  margin: 1.6rem auto 2.4rem;
  border: 1px solid #d8ccc3;
  overflow: hidden;
  background: #f7f1ed;
}
.editorial-cover img,
.post-hero-image,
.post-hero-image-full {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
.post-hero-overlay-title {
  display: none !important;
}
.post-content {
  max-width: 760px;
  margin: 0 auto;
  color: #2f2a28;
  font-size: 1rem;
  line-height: 1.75;
}
.post-content h2 {
  margin: 2.2rem 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: #2f2a28;
}
.post-content p {
  margin: 0 0 1.15rem;
}
.post-content ul,
.post-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
}
.post-content .clean-list li {
  margin-bottom: 0.45rem;
}
body[data-post-slug] main > .section.reveal:not(.post-shell) {
  max-width: 1060px;
  margin-inline: auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 3rem;
}
body[data-post-slug] .card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
body[data-post-slug] .feature-story-card {
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  padding: 1.2rem;
}
body[data-post-slug] .feature-story-card h3 {
  margin-top: 0.35rem;
}
.free-library-page-hero {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  background: #241f1d;
  color: #fffdfc;
  margin: 0;
}
.free-library-page-hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.free-library-page-hero__image img {
  display: block;
  width: min(360px, 86%);
  height: auto;
  object-fit: contain;
}
.free-library-page-hero__copy h1,
.free-library-page-hero__copy p,
.free-library-page-hero__copy .overline {
  color: #fffdfc;
}
.printable-resource-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.printable-resource-card {
  background: #fffdfc;
  border: 1px solid #d8ccc3;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.printable-resource-card h3,
.printable-resource-card p {
  margin: 0;
}
.printable-resource-card .btn {
  margin-top: auto;
}
.printable-resource-card--coming-soon {
  position: relative;
}
.printable-resource-card--coming-soon::after {
  content: "PDF coming soon";
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(169, 120, 128, 0.12);
  color: #a97880;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.printable-resource-card .btn-muted {
  margin-top: auto;
  background: #d8ccc3;
  color: #2f2a28;
  border: 1px solid rgba(47, 42, 40, 0.08);
  cursor: default;
  pointer-events: none;
}
.library-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.library-banner__media img {
  width: min(240px, 100%);
  height: auto;
  min-height: 0;
  max-height: 180px;
  object-fit: contain;
}
img[src*='madeforthis-printables-cover.PNG'] {
  display: none !important;
}

@media (min-width: 900px) {
  .free-library-page-hero {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    padding: 2.4rem 2.8rem;
  }
}
@media (max-width: 899px) {
  body[data-post-slug] .site-header .header-wrap:not(:has(.header-topbar)) {
    grid-template-columns: auto 1fr;
  }
  body[data-post-slug] .site-header .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  body[data-post-slug] .card-grid,
  .printable-resource-grid {
    grid-template-columns: 1fr;
  }
  .free-library-page-hero {
    padding: 1.5rem 1rem 2rem;
  }
}
