@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Sorts+Mill+Goudy&display=swap');
:root {
  --ink: #212121;
  --primary: #003462;
  --green: #7cba3d;
  --paper: #fff;
  --soft: #f5f7fa;
  --line: #dce3ea;
  --width: 1140px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 400 16px/1.5 Montserrat, Arial, sans-serif; letter-spacing: .5px; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a76c25; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--primary); margin: 0 0 .65em; }
h1 { font-family: 'Sorts Mill Goudy', Georgia, serif; font-size: 48px; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h1 > p, h2 > p, h3 > p, h4 > p { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; }
li { margin: .25em 0; }
iframe { border: 0; max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: white; padding: 10px; z-index: 10; }
/* Shared header */
.contact-bar { background: var(--primary); color: white; text-align: center; padding: 10px 16px 20px; font-size: 13px; font-weight: 500; line-height: 1.45; text-transform: uppercase; display: flex; flex-direction: column; }
.contact-bar a { color: white; text-decoration: none; }
.contact-bar a::after { content: ' [PHONE]'; }
.brand { display: block; background: white; padding: 30px 20px; }
.brand img { width: 700px; margin: auto; }
.navigation { display: flex; justify-content: center; flex-wrap: wrap; background: white; border-block: 1px dotted #8e8e8e; }
.navigation a { text-decoration: none; text-transform: uppercase; font-size: 13px; letter-spacing: 0; padding: 16px 18px; color: #303030; }
.navigation a:hover { color: var(--primary); background: var(--soft); }
.menu-toggle { display: none; }
/* Responsive reusable sections */
main { width: 100%; min-height: 45vh; }
.section { width: 100%; margin: 0 auto; }
.section-inner { display: flex; max-width: var(--width); margin: auto; align-items: stretch; }
.column { flex: 1 1 0; min-width: 0; padding: 10px; }
.column > * + * { margin-top: 20px; }
.column > .section { margin-left: 0; margin-right: 0; }
.column > .richtext + .richtext { margin-top: 0; }
.column > .section > .section-inner { max-width: none; }
.richtext { overflow-wrap: anywhere; }
.richtext > :last-child { margin-bottom: 0; }
.richtext img { margin: 12px auto; }
.richtext table { display: block; max-width: 100%; overflow-x: auto; }
.standalone-image img { margin: auto; }
.button { display: inline-block; background: var(--primary); color: white; text-decoration: none; padding: 12px 24px; border: 1px solid var(--primary); border-radius: 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.button:hover { background: white; color: var(--primary); }
.image-box img { width: 100%; object-fit: cover; margin-bottom: 15px; }
.image-box h2 { margin-bottom: .4em; }
.home .column > .button { margin-top: 15px; }
/* Provider directory: fixed 150px portraits; remaining cards flow automatically. */
.directory > h1 { background: url('/assets/media/2022/01/bucks-blue-to-green-gradient-e1643676951451.jpg') center center / cover no-repeat; color: white; text-align: center; margin: 0; padding: 75px 16px; line-height: 1.5; }
.provider-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; max-width: 1040px; padding: 0 15px; margin: 65px auto 75px; }
.provider-card { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: center; gap: 17px; background: white; border: 1px solid var(--primary); min-width: 0; }
.provider-card:hover { box-shadow: 0 4px 8px #0000001a; }
.provider-card img, .author img { width: 150px; height: 150px; max-width: none; object-fit: cover; }
.provider-photo { display: block; }
.provider-info { min-width: 0; padding: 8px 12px 8px 0; }
.provider-info h2 { font: 600 17px/1.35 Montserrat, Arial, sans-serif; letter-spacing: .3px; margin: 0; }
.provider-info h2 a { text-decoration: none; }
.provider-info h2 a:hover { text-decoration: underline; }
.provider-info p { font-size: 14px; line-height: 1.4; margin: 0; }
.provider-info .pronouns { color: #444; }
.provider-divider { grid-column: 1 / -1; width: 100%; border: 0; border-top: 1px solid #d7dce1; margin: 20px 0; }
/* Provider biographies */
.bio { max-width: 700px; margin: 50px auto; padding: 0 10px; }
.bio > .section > .section-inner > .column { padding: 10px 0; }
.bio .profile-panel { background: #eee; text-align: center; }
.bio .profile-panel .column { padding: 20px 12px; }
.bio .profile-panel > .section-inner { align-items: center; }
.author { text-align: center; }
.author img { border-radius: 50%; margin: 0 auto 20px; }
.author h1 { font: 800 24px/1.35 Montserrat, Arial, sans-serif; letter-spacing: .5px; text-transform: none; margin: 0 0 6px; }
.author p { font-size: 18px; line-height: 1.5; margin: 0; }
.bio .profile-panel .button { margin-top: 30px; }
.bio .column > .section + .section { margin-top: 10px; }
.bio h2, .bio h3, .bio h4 { font: 600 18px/1.5 Montserrat, Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; margin: 30px 0 14px; }
.bio .richtext p { margin: 0 0 1em; }
.bio .richtext p:last-child { margin-bottom: 0; }
.bio-back { padding: 0 10px; }
.bio-back .button { font-size: 12px; padding: 8px 14px; }
.embed { width: 100%; height: clamp(250px,40vw,450px); }
.calendly-inline-widget { width: 100%; min-width: 0; height: 700px; }
.accordion details { border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 8px; }
.accordion summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.accordion details > div { padding-top: 10px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
blockquote { border-left: 3px solid var(--primary); margin: 15px 0; padding: 8px 20px; }
/* Shared footer */
footer { background: var(--primary); color: white; text-align: center; padding: 28px 20px; font-size: 14px; }
footer a { color: white; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 14px 0 4px; }
.footer-links a + a::before { content: ' | '; color: white; white-space: pre; }
.back-top { font-size: 12px; }
@media (max-width: 1024px) {
  .navigation a { padding: 11px 12px; }
  .provider-grid { max-width: 850px; gap: 24px; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  h1 { font-size: 24px; }
  h2 { font-size: 24px; }
  .brand { padding: 20px; }
  .menu-toggle { display: block; width: 100%; padding: 12px; border: 0; border-block: 1px dotted #8e8e8e; background: white; font: 600 15px Montserrat,Arial,sans-serif; color: var(--primary); cursor: pointer; }
  .navigation { display: none; flex-direction: column; text-align: center; }
  .navigation.open { display: flex; }
  .section-inner { flex-direction: column; }
  .column { width: 100%; flex-basis: auto !important; }
  .provider-grid { grid-template-columns: 1fr; max-width: 560px; gap: 20px; margin: 40px auto; }
  .provider-info h2 { font-size: 15px; }
  .provider-info p { font-size: 13px; }
  .directory > h1 { padding: 75px 12px; }
  .bio { margin: 30px auto; }
  .bio .profile-panel .column { padding: 20px 12px; }
}
@media (max-width: 390px) {
  .provider-card { grid-template-columns: 1fr; text-align: center; gap: 0; padding-top: 12px; }
  .provider-card img { margin: auto; }
  .provider-info { padding: 10px; }
}
