/* Round three retains the established font/color system and hero. */
.bd-reading-study .bd-reading-layout {
  grid-template-columns: 210px minmax(0, 800px);
  gap: 40px;
}
.bd-reading-study .bd-prose {
  font-size: 17px;
  line-height: 1.8;
}
.bd-reading-study .bd-section > h2,
.bd-reading-study .bd-section-heading > h2 {
  font-size: 27px;
  line-height: 1.3;
  margin-bottom: 22px;
  font-weight: 500;
}
.bd-reading-study .bd-subsection h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.bd-reading-study .bd-faq {
  padding: 32px 0;
  border-radius: 0;
  border-inline: 0;
  background: transparent;
}
.bd-reading-study .bd-consult-clean {
  padding-block: 0 48px;
}
.bd-reading-study .bd-consult-line {
  margin-left: 250px;
  padding-top: 30px;
  border-top: 1px solid var(--bd-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.bd-reading-study .bd-consult-line h2 {
  font-size: 23px;
  margin-bottom: 8px;
  font-weight: 500;
}
.bd-reading-study .bd-consult-line p {
  font-size: 16px;
  color: var(--bd-muted);
  line-height: 1.6;
}
.bd-reading-study .bd-consult-line .bd-button {
  padding: 12px 20px;
  min-height: 46px;
  flex-shrink: 0;
}
.bd-reading-study .bd-book-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--bd-red);
  border-bottom: 1px solid currentColor;
  padding-block: 12px;
  font-size: 15px;
  white-space: nowrap;
}
.bd-doctor-clean.medical-review-section {
  background: #fff !important;
  background-image: none !important;
  padding: 12px 0 64px !important;
}
.bd-doctor-clean .container {
  width: min(1160px, calc(100% - 80px));
  max-width: none;
  padding: 0;
}
.bd-reading-study .bd-tools {
  margin-bottom: 20px;
}
.bd-reading-study .bd-back-to-blogs {
  margin-bottom: 28px;
}
/* B7: open, calm reading; spacing replaces boxes and repeated dividers. */
.bd-b7 .bd-section {
  border-top: 0;
  padding-block: 20px 34px;
}
.bd-b7 .bd-intro {
  padding-bottom: 30px;
}
.bd-b7 .bd-subsection {
  margin-top: 28px;
}
.bd-b7 .bd-subsection > div {
  max-width: 68ch;
}
.bd-b7 .bd-prose th {
  background: transparent;
  border-bottom: 2px solid var(--bd-line);
  padding-top: 10px;
}
.bd-b7 .bd-prose th,
.bd-b7 .bd-prose td {
  padding-inline: 0;
}
.bd-b7 .bd-prose td + td,
.bd-b7 .bd-prose th + th {
  padding-left: 24px;
}
.bd-b7 #common-questions {
  border-top: 1px solid var(--bd-line);
  padding-top: 32px;
}
/* B8: shorter rows, optional detail and an accessible stage switcher. */
.bd-b8 .bd-section {
  padding-block: 30px;
}
.bd-b8 .bd-factor {
  border-bottom: 1px solid var(--bd-line);
}
.bd-b8 .bd-factor:first-child {
  border-top: 1px solid var(--bd-line);
  margin-top: 22px;
}
.bd-b8 .bd-factor summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
}
.bd-b8 .bd-factor summary::-webkit-details-marker {
  display: none;
}
.bd-b8 .bd-factor h3 {
  font-size: 19px;
}
.bd-b8 .bd-factor > div {
  padding-bottom: 20px;
}
.bd-b8 .bd-factor[open] .bd-toggle::after {
  transform: rotate(0);
}
.bd-visit-tabs {
  display: none;
}
.bd-tabs-ready .bd-visit-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--bd-line);
  margin-top: 20px;
}
.bd-visit-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--bd-muted);
  font: inherit;
  font-size: 16px;
  padding: 12px 4px;
  cursor: pointer;
}
.bd-visit-tabs button[aria-selected="true"] {
  color: var(--bd-red);
  border-bottom-color: var(--bd-red);
}
.bd-b8 .bd-visit-panel {
  margin-top: 24px;
}
.bd-b8 .bd-visit-panel[hidden] {
  display: none;
}
.bd-b8 #your-session .bd-tabs-ready {
  min-height: 0;
}
/* B9: section titles and body sit alongside one another inside the reading area. */
.bd-b9 .bd-reading-layout {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 36px;
}
.bd-b9 #article-start > .bd-section {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 28px;
  padding-block: 36px;
}
.bd-b9 .bd-section-heading > h2 {
  font-size: 24px;
}
.bd-b9 .bd-section-copy {
  min-width: 0;
}
.bd-b9 .bd-section-copy > .bd-faq-intro {
  margin-top: 0;
}
.bd-b9 .bd-section-copy .bd-faq-answer:first-of-type {
  border-top: 0;
}
.bd-b9 .bd-subsection:first-child {
  margin-top: 0;
}
.bd-b9 .bd-subsection {
  padding-top: 22px;
  border-top: 1px solid var(--bd-line);
}
.bd-b9 .bd-intro,
.bd-b9 .bd-tools {
  margin-left: 213px;
}
.bd-b9 .bd-back-to-blogs {
  margin-left: 213px;
}
.bd-b9 .bd-consult-line {
  margin-left: 226px;
}
@media (max-width: 1100px) {
  .bd-reading-study .bd-reading-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 28px;
  }
  .bd-b9 #article-start > .bd-section {
    display: block;
  }
  .bd-b9 .bd-intro,
  .bd-b9 .bd-tools,
  .bd-b9 .bd-back-to-blogs {
    margin-left: 0;
  }
  .bd-reading-study .bd-consult-line {
    margin-left: 213px;
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 1000px) {
  .bd-reading-study .bd-prose {
    font-size: 16px;
  }
  .bd-doctor-clean .container {
    width: calc(100% - 48px);
  }
}
@media (max-width: 700px) {
  .bd-reading-study .bd-reading-layout {
    display: flex;
    gap: 24px;
  }
  .bd-reading-study .bd-section,
  .bd-b9 #article-start > .bd-section {
    padding-block: 26px;
  }
  .bd-reading-study .bd-section > h2,
  .bd-reading-study .bd-section-heading > h2 {
    font-size: 25px;
    margin-bottom: 18px;
  }
  .bd-reading-study .bd-subsection h3 {
    font-size: 19px;
  }
  .bd-reading-study .bd-consult-line {
    margin: 0;
    padding-top: 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .bd-reading-study .bd-consult-clean {
    padding-bottom: 32px;
  }
  .bd-reading-study .bd-consult-line h2 {
    font-size: 22px;
  }
  .bd-reading-study .bd-consult-line p {
    font-size: 15px;
  }
  .bd-doctor-clean.medical-review-section {
    padding: 8px 0 40px !important;
  }
  .bd-doctor-clean .container {
    width: calc(100% - 40px);
  }
  .bd-reading-study .bd-prose td,
  .bd-reading-study .bd-prose th {
    overflow-wrap: anywhere;
  }
  .bd-b8 #your-session .bd-tabs-ready {
    min-height: 0;
  }
  .bd-visit-tabs {
    gap: 22px;
  }
  .bd-b7 .bd-section {
    padding-block: 18px 26px;
  }
}
.bd-reading-study #consult-heading {
  scroll-margin-top: 160px;
}
