.guide-hero,
.treatment-library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  gap: 60px;
  align-items: center;
  padding: 25px 0 48px;
}
.directory-site .guide-hero h1,
.directory-site .treatment-library-hero h1 {
  font:
    500 clamp(42px, 5vw, 70px)/1.05 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 20px 0;
}
.guide-lede,
.treatment-library-hero p {
  font-size: 19px;
  line-height: 1.7;
  color: #6f655f;
  max-width: 740px;
}
.guide-byline,
.guide-editorial {
  font-size: 12px;
  line-height: 1.7;
  color: #70665d;
}
.guide-editorial {
  max-width: 560px;
}
.guide-hero .button {
  margin-top: 18px;
}
.guide-glance {
  background: var(--surface);
  border: 1px solid #dfd2c3;
  padding: 30px;
  border-radius: 6px;
}
.guide-glance dl {
  margin: 18px 0;
}
.guide-glance dl > div {
  padding: 18px 0;
  border-bottom: 1px solid #d9cbbd;
}
.guide-glance dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #796452;
}
.guide-glance dd {
  margin: 9px 0 0;
  font-size: 18px;
  line-height: 1.5;
}
.guide-glance dd small {
  display: block;
  font-size: 12px;
  color: #706357;
  margin-top: 5px;
}
.guide-glance > a {
  font-size: 13px;
}
.guide-jumps {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #faf8f5f5;
  backdrop-filter: blur(8px);
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 16px 0;
  border-top: 1px solid #dfd5c9;
  border-bottom: 1px solid #dfd5c9;
}
.guide-jumps a,
.guide-group-nav a {
  white-space: nowrap;
  padding: 10px 15px;
  border: 1px solid #e0d1bf;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  background: white;
}
.guide-jumps a:hover,
.guide-group-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 65px;
  align-items: start;
}
.guide-reading {
  min-width: 0;
  max-width: 850px;
}
.guide-reading > section {
  padding: 45px 0;
  border-bottom: 1px solid #e2d8cd;
  scroll-margin-top: 90px;
}
.guide-reading h2,
.guide-practices h2 {
  font:
    500 32px/1.25 Georgia,
    serif;
  letter-spacing: -0.6px;
  margin: 10px 0 22px;
}
.guide-reading h3 {
  font-size: 19px;
  line-height: 1.45;
  margin: 18px 0 10px;
}
.guide-reading p,
.guide-reading li {
  font-size: 16px;
  line-height: 1.85;
  color: #5f5750;
}
.guide-reading ul {
  padding-left: 22px;
}
.guide-reading li {
  margin: 10px 0;
}
.guide-citations {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
  color: #806c5b;
}
.guide-citations a {
  margin-right: 12px;
  text-underline-offset: 3px;
}
.guide-balance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 30px;
}
.guide-balance > div {
  border-top: 2px solid #bda38b;
  padding-top: 7px;
}
.guide-balance p {
  font-size: 15px;
}
.guide-cost {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--surface);
  padding: 28px;
  margin: 24px 0;
  border-radius: 4px;
}
.guide-cost strong {
  font:
    500 32px/1.3 Georgia,
    serif;
}
.guide-cost span {
  font-size: 13px;
  color: #766452;
}
.guide-reading .guide-note {
  font-size: 13px;
  line-height: 1.75;
  color: #796f66;
}
.guide-timeline {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  border-left: 2px solid #d9c7b2;
}
.guide-timeline li {
  padding: 0 0 12px 25px;
  position: relative;
}
.guide-timeline li:before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  left: -6px;
  top: 9px;
}
.guide-timeline h3 {
  font-size: 17px;
  margin-top: 0;
}
.guide-timeline p {
  margin-top: 6px;
}
.guide-alert {
  border-left: 3px solid #a67a50;
  background: #f2e8db;
  padding: 18px 24px;
  margin: 20px 0;
}
.guide-alert h3 {
  margin-top: 0;
}
.guide-sidebar {
  position: sticky;
  top: 100px;
  padding-top: 45px;
}
.guide-sidebar > div {
  padding: 24px;
  background: white;
  border: 1px solid #e5dbce;
  border-radius: 5px;
}
.guide-sidebar h2 {
  font:
    500 25px Georgia,
    serif;
}
.guide-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #e8dfd4;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}
.guide-photo {
  margin: 28px 0;
  background: #fff;
  border: 1px solid #e0d6c9;
  border-radius: 5px;
  overflow: hidden;
}
.guide-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
}
.guide-photo figcaption {
  padding: 18px;
}
.guide-photo figcaption p {
  font-size: 14px;
  margin: 0 0 12px;
}
.guide-photo small {
  font-size: 11px;
  line-height: 1.6;
  color: #7b6c5e;
  display: block;
}
.guide-galleries {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.guide-galleries > a {
  display: block;
  padding: 24px;
  background: #efe6da;
  border: 1px solid #e0d0bf;
  border-radius: 5px;
  text-decoration: none;
}
.guide-galleries h3 {
  margin: 10px 0;
}
.guide-galleries p {
  font-size: 14px;
  margin-bottom: 0;
}
.guide-galleries .eyebrow {
  font-size: 10px;
  line-height: 1.7;
}
.guide-galleries > a:hover {
  border-color: var(--accent);
}
.guide-video > button {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(140deg, #5b4636, #2e2924);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  color: white;
  cursor: pointer;
}
.guide-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.guide-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #ffffffab;
  border-radius: 50%;
  font-size: 23px;
  background: #2c231a70;
}
.guide-video-publisher {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.guide-video p {
  font-size: 13px;
}
.guide-video h3 {
  margin-bottom: 3px;
}
.guide-video-active > button {
  display: block;
  margin: 0 0 10px auto;
}
.guide-video-active iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.guide-video > button[hidden],
.guide-video img[hidden],
.guide-photo img[hidden] {
  display: none;
}
.guide-faq {
  padding: 22px 0;
  border-bottom: 1px solid #e2d7c9;
}
.guide-faq summary {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 600;
  cursor: pointer;
}
.guide-sources > p {
  font-size: 14px;
}
.guide-sources ol {
  padding-left: 20px;
}
.guide-sources li {
  font-size: 13px;
  line-height: 1.7;
  scroll-margin-top: 100px;
  margin: 16px 0;
}
.guide-sources li span {
  display: block;
  font-size: 11px;
  color: #7f7064;
}
.guide-practices {
  padding-top: 55px;
  scroll-margin-top: 90px;
}
.guide-practices > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 820px;
  color: #71665c;
}
.guide-location {
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 25px;
  background: var(--surface);
  border-radius: 5px;
  margin: 28px 0;
}
.guide-location label {
  display: grid;
  gap: 9px;
  font-size: 14px;
  flex: 1;
}
.guide-location input {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #cdbba8;
  border-radius: 3px;
  background: white;
  font: inherit;
}
.guide-location > a {
  font-size: 14px;
  padding-bottom: 15px;
}
.guide-location .button {
  min-height: 48px;
}
.treatment-library-hero {
  padding: 50px 0;
}
.treatment-library-hero img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.guide-search {
  padding: 28px;
  background: var(--surface);
  border-radius: 5px;
}
.guide-search > label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.guide-search > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.guide-search input {
  flex: 1;
  min-width: 0;
  padding: 15px;
  border: 1px solid #cbb9a5;
  border-radius: 4px;
  font: inherit;
  background: white;
}
.guide-group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.guide-library-count {
  font-size: 13px;
  color: #807365;
}
.guide-group {
  margin: 40px 0;
  scroll-margin-top: 25px;
}
.guide-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.guide-library-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: white;
  border: 1px solid #e1d5c7;
  border-radius: 5px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.guide-library-card:hover {
  border-color: var(--accent);
}
.guide-library-card > .eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
}
.guide-library-card h3 {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font:
    500 26px/1.2 Georgia,
    serif;
  margin: 20px 0 12px;
  letter-spacing: -0.4px;
}
.guide-library-card h3 span {
  font:
    400 20px Arial,
    sans-serif;
}
.guide-library-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #716458;
  margin: 0 0 22px;
}
.guide-card-link {
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}
@media (max-width: 1000px) {
  .guide-hero,
  .treatment-library-hero {
    gap: 30px;
  }
  .guide-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 230px;
  }
  .guide-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 750px) {
  .guide-hero,
  .treatment-library-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 0 30px;
  }
  .treatment-library-hero img {
    max-height: 220px;
    object-fit: cover;
  }
  .guide-layout {
    display: block;
  }
  .guide-sidebar {
    position: static;
    padding-top: 25px;
  }
  .guide-jumps {
    margin: 0 -22px;
    padding: 12px 22px;
  }
  .guide-glance {
    padding: 22px;
  }
  .guide-glance dl > div {
    padding: 13px 0;
  }
  .guide-hero .button {
    display: block;
    text-align: center;
  }
  .guide-reading > section {
    padding: 32px 0;
  }
  .guide-reading h2,
  .guide-practices h2 {
    font-size: 29px;
  }
  .guide-balance {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .guide-search > div {
    flex-wrap: wrap;
  }
  .guide-search input {
    flex-basis: 100%;
  }
  .guide-location {
    flex-wrap: wrap;
    padding: 20px;
  }
  .guide-location label {
    flex-basis: 100%;
  }
  .guide-location > a {
    padding-bottom: 14px;
  }
  .guide-practices .section-heading {
    align-items: start;
    gap: 15px;
    flex-direction: column;
  }
  .guide-hero h1,
  .treatment-library-hero h1 {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 480px) {
  .guide-library-grid {
    grid-template-columns: 1fr;
  }
  .guide-lede,
  .treatment-library-hero p {
    font-size: 17px;
  }
  .guide-glance dd {
    font-size: 16px;
  }
  .guide-library-card {
    padding: 23px;
  }
  .guide-cost strong {
    font-size: 28px;
  }
}
/* With a hero video, the guide hero matches the homepage: one rounded card, copy left, video right. */
.guide-hero.guide-hero--with-media { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; padding: 0; margin: 25px 0 22px; background: var(--soft); border-radius: 20px; }
.guide-hero--with-media .guide-hero-copy { padding: 48px 46px 56px; align-self: center; }
.directory-site .guide-hero--with-media h1 { font-size: clamp(38px, 4.2vw, 60px); }
.guide-glance.guide-glance--strip { margin: 0 0 40px; padding: 22px 30px; }
.guide-glance--strip dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; margin: 12px 0; }
.guide-glance--strip dl > div { border-bottom: 0; padding: 8px 0; }
.guide-glance--strip dd { font-size: 16px; }
@media (max-width: 800px) {
  .guide-hero.guide-hero--with-media { grid-template-columns: 1fr; }
  .guide-hero--with-media .guide-hero-copy { padding: 30px 24px 26px; }
  .guide-hero--with-media .hero-media { grid-row: auto; min-height: 230px; border-radius: 0 0 20px 20px; }
  .guide-glance--strip dl { grid-template-columns: 1fr; }
  .guide-glance--strip dl > div { border-bottom: 1px solid #d9cbbd; padding: 14px 0; }
}
