/* Patient directory, published timetable and clinic contact details. */
.clinical-page, .clinical-sidebar, .clinic-footer { color: #183b49; line-height: 1.55; font-size: 16px; }
.clinical-page *, .clinical-sidebar *, .clinic-footer * { box-sizing: border-box; }
.clinical-page { padding-block: 30px 42px; }
.clinical-page h1, .clinical-page h2, .clinical-page h3, .clinical-sidebar h2 { color: #173a48; line-height: 1.25; margin: 0 0 .6em; }
.clinical-page h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.clinical-page h2, .clinical-sidebar h2 { font-size: 1.4rem; }
.clinical-page h3 { font-size: 1.1rem; }
.clinical-page p, .clinical-sidebar p { padding: 0; font-size: 1rem; line-height: 1.6; margin: 0 0 .85em; }
.clinical-page a, .clinical-sidebar a { color: #075c66; text-decoration: underline; text-underline-offset: .15em; }
.clinical-page .clinical-lead { max-width: 75ch; margin: 12px 0 26px; }
.clinical-page .clinical-meta { color: #496270; font-size: .94rem; }
.clinical-page a:focus-visible, .clinical-sidebar :focus-visible, .clinic-footer :focus-visible, .clinical-page :is(select,input,textarea,button,summary,[tabindex]):focus-visible { outline: 3px solid #0e7078; outline-offset: 3px; }
.clinical-page .clinical-button, .clinical-sidebar .clinical-button { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 8px 16px; border: 1px solid #075e65; border-radius: 6px; background: #07666b; color: white; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.clinical-button:disabled { opacity: .65; }
.clinical-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: clamp(18px,4vw,56px); align-items: start; }
.clinical-service h2 { margin-top: 24px; }
.clinical-service { max-width: 76ch; }
.clinical-actions, .clinical-heading-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 12px 0; }
.clinical-heading-row { justify-content: space-between; }
.clinical-heading-row h2 { margin: 0; }
.clinic-locations, .clinic-footer-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.clinic-location, .clinical-sidebar section { padding: 20px; border: 1px solid #cbdedf; background: #f6faf9; border-radius: 10px; }
.clinic-location { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.clinic-location p, .clinic-location h2 { margin: 0; }
.clinic-location .clinical-button { margin: 3px 0; }
.clinic-inquiry, .clinic-maps, .directory-group { margin-top: 32px; }
.clinic-inquiry { max-width: 780px; scroll-margin-top: 16px; }
.patient-form label, .patient-form legend, .schedule-filter label { font-weight: 600; font-size: 1rem; }
.patient-form { display: grid; gap: 14px; margin-top: 18px; }
.patient-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.patient-fields > label, .patient-form > label { display: block; }
.patient-form input:not([type=radio]):not([type=hidden]), .patient-form select, .patient-form textarea, .schedule-filter select { display: block; width: 100%; padding: 9px 11px; min-height: 44px; margin: 4px 0 0; border: 1px solid #899fa6; border-radius: 5px; background: white; color: #173946; font: inherit; font-size: 1rem; font-weight: 400; }
.patient-form textarea { resize: vertical; }
.patient-form .contact-validation { display: block; color: #852b1d; font-size: .95rem; }
.patient-form [aria-invalid=true] { border-color: #9d3322; }
.patient-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.patient-form fieldset label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 3px 14px 3px 0; }
.patient-form input[type=radio] { width: 18px; height: 18px; }
.patient-form [hidden], .clinic-footer [hidden] { display: none !important; }
.clinic-inquiry #contact-success:not(:empty), .clinic-inquiry #contact-error:not(:empty), .schedule-alert { padding: 12px 15px; border-left: 3px solid #087076; background: #e9f5f1; }
.clinic-inquiry #contact-error:not(:empty) { border-color: #a4412f; background: #fff2ed; }
.clinic-maps details, .clinical-sidebar details { border-bottom: 1px solid #cededd; padding: 6px 0; }
.clinic-maps summary, .clinical-sidebar summary { padding: 8px 0; min-height: 42px; cursor: pointer; font-weight: 600; }
.clinic-maps iframe { display: block; width: 100%; height: 260px; border: 0; margin-block: 10px; }
.clinical-sidebar section + section { margin-top: 20px; }
.clinical-sidebar details a, .clinical-sidebar .sidebar-phone { display: inline-block; margin: 0 10px 8px 0; }
.clinical-sidebar .sidebar-phone { display: block; }
.schedule-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 16px; }
.schedule-filter label { flex: 1 1 145px; }
.schedule-city { margin: 26px 0; }
.schedule-week { overflow-x: auto; }
.schedule-week table { width: 100%; table-layout: fixed; border-collapse: collapse; background: white; }
.schedule-week th, .schedule-week td { border: 1px solid #cfdede; padding: 9px; text-align: left; vertical-align: top; line-height: 1.35; overflow-wrap: anywhere; }
.schedule-week thead th { background: #eaf3f3; }
.schedule-week td, .schedule-week th { font-size: .92rem; }
.schedule-week .schedule-entry + .schedule-entry { margin-top: 8px; }
.schedule-entry strong, .schedule-entry a, .schedule-entry span { display: block; }
.schedule-days { display: none; }
.clinic-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.doctor-grid, .doctor-slots, .insurers { list-style: none; margin: 0; padding: 0; }
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(140px,100%),1fr)); gap: 18px; }
.doctor-grid .doctor-tile { display: grid; gap: 8px; font-weight: 600; text-decoration: none; }
.doctor-grid .doctor-tile:hover span { text-decoration: underline; }
.doctor-portrait, .doctor-initials { display: grid; width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; object-fit: cover; }
.doctor-initials { place-items: center; background: #e0efed; color: #245963; font-size: 2.2rem; }
.doctor-profile { display: flex; gap: 20px; align-items: center; margin: 20px 0 26px; }
.doctor-profile :is(.doctor-portrait,.doctor-initials) { width: min(30vw,155px); }
.doctor-slots li { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 11px; border-top: 1px solid #cbdedf; }
.doctor-slots { margin-bottom: 20px; }
.clinic-news-list article { display: flex; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid #ccdede; }
.clinic-news-list img { width: clamp(68px,14vw,135px); height: auto; border-radius: 5px; display: block; }
.clinic-news-list p, .clinic-news-list h2 { margin: 0 0 3px; }
.insurers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); column-gap: 24px; }
.insurers li { display: flex; align-items: center; min-height: 62px; border-top: 1px solid #ccdcd9; font-weight: 600; overflow-wrap: anywhere; }
.insurers a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 60px; text-underline-offset: .2em; }
.insurers img { flex: none; width: 74px; height: 42px; object-fit: contain; }
.clinic-footer { background: #153a48; color: white; padding: 35px 22px 20px; }
.clinic-footer-inner { max-width: 1080px; margin: auto; }
.clinic-footer h2, .clinic-footer h3, .clinic-footer p, .clinic-footer a, .clinic-footer button { color: white; }
.clinic-footer h2 { margin: 0 0 18px; font-size: 1.4rem; }
.clinic-footer h3 { margin: 0 0 7px; font-size: 1.08rem; }
.clinic-footer p, .clinic-footer-locations a { display: block; padding: 0; margin: 3px 0; font-size: 1rem; }
.clinic-footer a, .clinic-footer button { text-decoration: underline; text-underline-offset: .18em; }
.clinic-footer-links, .clinic-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; padding-top: 15px; border-top: 1px solid #54727d; }
.clinic-footer button { font: inherit; background: none; border: none; padding: 0; cursor: pointer; }
.clinic-footer :focus-visible { outline-color: #e8eb91; }
@media (max-width: 780px) {
    .clinic-locations, .clinical-columns, .clinic-footer-locations { grid-template-columns: 1fr; }
    .clinic-location-focus { order: -1; }
    .schedule-week { display: none; }
    .schedule-days { display: block; }
    .schedule-days h3 { margin-top: 16px; }
    .schedule-days ul { list-style: none; padding: 0; margin: 0; }
    .schedule-days li { margin: 5px 0; padding: 10px 12px; border-left: 3px solid #137276; background: #f2f8f7; }
    .clinic-footer-locations { gap: 20px; }
}
@media (max-width: 500px) {
    .patient-fields { grid-template-columns: 1fr; }
    .schedule-filter { align-items: stretch; }
    .schedule-filter label { flex-basis: 100%; }
    .doctor-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
