/* Extend the approved Goldenbook / Montserrat system without repainting the homepage. */
html.content-page { background: #fff; }
.content-page main { padding-top: clamp(132px, 12vw, 176px); }
.content-hero { padding-bottom: clamp(48px, 7vw, 104px); }
.breadcrumbs { font-size: 12px; margin-bottom: 36px; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.breadcrumbs li + li::before { content: '/'; padding-right: 16px; color: #82785a; }
.breadcrumbs a { text-underline-offset: 4px; }
.content-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 84px); align-items: center; }
.content-hero h1 { font-size: clamp(42px, 4.7vw, 72px); line-height: 1.08; max-width: 13ch; margin: 0 0 28px; font-weight: 400; }
.content-hero-copy p { max-width: 48ch; margin-bottom: 30px; }
.content-hero-image { aspect-ratio: 1 / 1.02; border-radius: 4px 80px 4px 4px; overflow: hidden; background: #e9e6de; }
.content-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.doctor-hero-image { aspect-ratio: .95; }
.landscape-hero-image { aspect-ratio: 16 / 9; }
.doctor-hero-image img { object-position: center top; }
.content-intro { max-width: 880px; margin-bottom: 64px; }
.content-supporting-photo { margin-top: 48px; margin-bottom: 0; }
.content-supporting-photo img { width: 100%; height: auto; border-radius: 4px; }
.content-section { padding: 64px 0; border-top: 1px solid var(--line); }
.content-section:nth-of-type(3n) { background: linear-gradient(115deg, #efede4, #f8f8f8 72%); }
.content-section-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 104px); }
.content-section h2 { font-size: clamp(31px, 3vw, 44px); line-height: 1.16; font-weight: 400; margin: 0; max-width: 16ch; }
.content-prose { min-width: 0; max-width: 70ch; }
.content-prose p { margin: 0 0 22px; }
.content-prose p:last-child { margin-bottom: 0; }
.content-prose h3 { font: 500 18px/1.5 var(--sans); margin: 30px 0 12px; }
.content-prose h3:first-child { margin-top: 0; }
.content-prose ul, .content-prose ol { margin: 18px 0 26px; padding-left: 22px; }
.content-prose li { padding-left: 5px; margin: 10px 0; }
.content-prose a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.content-inline-cta { margin-top: 32px; }
.content-inline-cta .button { text-decoration: none; }
.content-faq details { border-top: 1px solid var(--line); }
.content-faq details:last-child { border-bottom: 1px solid var(--line); }
.content-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 500; }
.content-faq summary::-webkit-details-marker { display: none; }
.content-faq summary .icon { flex: 0 0 24px; }
.content-faq summary h3, .content-faq summary h3:first-child { margin: 0; font: inherit; }
.content-faq details[open] summary .icon { transform: rotate(45deg); }
.page-link-list, .service-directory-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 36px; }
.page-link-list a, .service-directory-grid a { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 74px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.page-link-list .icon, .service-directory-grid .icon { flex-shrink: 0; }
.service-directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.category-service-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 28px; }
.category-service-grid-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.category-service-card { min-width: 0; }
.category-service-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: var(--ink); background: linear-gradient(135deg,#f1eee4,#faf9f6); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.category-service-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.category-service-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.category-service-copy { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.category-service-copy h3 { margin: 0 0 18px; font: 400 clamp(27px,2.5vw,36px)/1.15 var(--serif); text-wrap: balance; }
.category-service-copy p { margin: 0 0 24px; font-size: 16px; line-height: 1.65; }
.category-service-arrow { display: grid; place-items: center; align-self: flex-end; width: 44px; height: 44px; margin-top: auto; background: var(--gold); border-radius: 50%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .category-service-link { transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
  .category-service-link:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgb(41 41 41 / .08); }
}
.content-team .doctor-card { min-width: 0; }
.content-team .doctor-card img { height: 440px; width: 100%; object-fit: cover; object-position: center top; }
.content-team .doctor-card h3 { font-size: 30px; margin: 20px 0 12px; }
.content-team .doctor-card a { text-decoration: none; }
.content-team .doctor-card .text-link { margin-top: 4px; }
.written-reviews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.written-reviews .review-card { width: auto; min-width: 0; height: auto; margin: 0; background: #fff; border: 1px solid var(--line); }
.written-reviews blockquote { margin: 20px 0; }
.written-reviews .text-link { grid-column: 1 / -1; }
.content-insurance .button { margin-top: 28px; }
.content-related h2, .service-directory h2, .content-team h2 { font-size: clamp(32px,4vw,48px); font-weight: 400; }
.content-page .final-cta .wrap > p { margin-top: 26px; max-width: 60ch; }
.content-page .final-cta a:not(.button) { color: inherit; text-underline-offset: 5px; }
.footer-services { margin: 28px 0; border-block: 1px solid var(--line); }
.footer-services summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.footer-services .page-link-list { margin: 0 0 24px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.footer-services a { min-height: 50px; font-size: 13px; }
.content-page .site-footer a { overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .content-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .content-hero h1 { max-width: 22ch; }
  .doctor-hero-image { width: min(100%, 480px); }
  .content-section-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .service-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
}
@media (max-width: 760px) {
  .content-page main { padding-top: 142px; }
  .breadcrumbs { margin-bottom: 28px; font-size: 11px; }
  .breadcrumbs li:last-child { flex-basis: 100%; }
  .breadcrumbs li:last-child::before { content: none; }
  .content-hero-grid, .content-section-grid { grid-template-columns: 1fr; gap: 28px; }
  .content-hero h1 { max-width: 17ch; font-size: clamp(36px,9.5vw,54px); }
  .content-hero-image { aspect-ratio: 1.2; border-radius: 4px 48px 4px 4px; }
  .doctor-hero-image { aspect-ratio: .95; }
  .landscape-hero-image { aspect-ratio: 16 / 9; }
  .content-section { padding: 42px 0; }
  .content-section h2 { max-width: 23ch; }
  .content-intro { margin-bottom: 42px; }
  .page-link-list, .service-directory-grid, .footer-services .page-link-list, .written-reviews { grid-template-columns: 1fr; }
  .category-service-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .category-service-copy { padding: 24px; }
  .written-reviews { gap: 20px; }
  .content-team .team-grid { display: grid; grid-template-columns: 1fr; }
  .content-team .doctor-card img { height: auto; max-height: 520px; }
  .content-page .button { max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: no-preference) {
  .content-hero-copy { animation: content-enter .6s var(--ease) both; }
  .content-hero-image { animation: content-enter .75s var(--ease) .08s both; }
  @keyframes content-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
