/*
 * Orthopaedic Associates (OAS): site styles. Loaded by oas-site.php.
 * Colours/fonts mirror the Elementor kit globals (var(--e-global-...)) so a kit change follows through.
 */

/* ---------- Content migrated from Drupal (body HTML keeps a few Bootstrap classes) ---------- */
.elementor-widget-theme-post-content img,
.elementor-widget-text-editor img { max-width: 100%; height: auto; }
.elementor-widget-theme-post-content a:not(.btn):not(.elementor-button),
.elementor-widget-text-editor a:not(.btn):not(.elementor-button),
.oas-acf-content a:not(.btn) { font-weight: 700; text-decoration: none; }
.elementor-widget-theme-post-content a:not(.btn):hover,
.elementor-widget-text-editor a:not(.btn):hover,
.oas-acf-content a:not(.btn):hover { text-decoration: underline; }

.btn {
	display: inline-block;
	font-family: var(--e-global-typography-822d1e5-font-family), sans-serif;
	font-weight: 700;
	font-size: var(--ows-btn-font-size, var(--e-global-typography-822d1e5-font-size));
	line-height: 1.2;
	padding: var(--ows-btn-padding-y, .6em) var(--ows-btn-padding-x, 1.5em);
	border: 0;
	border-radius: var(--ows-btn-radius, 50px);
	color: var(--oas-white) !important;
	text-align: center;
	text-decoration: none !important;
	background: linear-gradient(0deg, var(--e-global-color-5bcb715) 0%, var(--e-global-color-secondary) 100%);
	transition: background .2s, color .2s;
}
.btn:hover, .btn:focus { background: var(--e-global-color-5bcb715); color: var(--oas-white); }
.btn-primary { background: linear-gradient(0deg, var(--e-global-color-accent) 0%, var(--e-global-color-f739cf9) 100%); }
.btn-primary:hover, .btn-primary:focus { background: var(--e-global-color-accent); }
.btn-outline-secondary {
	background: rgba(255, 255, 255, .55);
	border: 2px solid var(--e-global-color-secondary);
	color: var(--e-global-color-secondary) !important;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus { background: var(--e-global-color-secondary); color: var(--oas-white) !important; }
.btn-block { display: block; width: 100%; }

.section-heading {
	border-top: 2px solid var(--e-global-color-secondary);
	border-bottom: 2px solid var(--e-global-color-secondary);
	padding: .6rem 0;
	margin-bottom: 1.25rem;
}
.text-white { color: var(--oas-white) !important; }
.text-secondary { color: var(--e-global-color-secondary) !important; }
.text-dark { color: var(--e-global-color-text) !important; }
.text-uppercase { text-transform: uppercase; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-bold { font-weight: 700 !important; }
.text-align-center { text-align: center; }
.rteindent1 { margin-left: 40px; }
.rounded { border-radius: 8px; }
.w-100 { width: 100%; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: .5rem; } .my-2 { margin-top: .5rem; margin-bottom: .5rem; } .my-3 { margin-top: 1rem; margin-bottom: 1rem; }

/* Minimal Bootstrap grid for migrated content */
.elementor-widget-theme-post-content .row,
.oas-acf-content .row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.elementor-widget-theme-post-content .row > [class*="col"],
.oas-acf-content .row > [class*="col"] { padding-left: 15px; padding-right: 15px; width: 100%; }
.elementor-widget-theme-post-content .row > .col,
.oas-acf-content .row > .col { flex: 1 0 0%; }
@media (min-width: 768px) {
	.row > .col-md-6 { width: 50% !important; }
	.row > .col-md-12, .row > .col-med-12 { width: 100% !important; }
}
@media (min-width: 992px) {
	.row > .col-lg-4 { width: 33.333% !important; } .row > .col-lg-5 { width: 41.667% !important; }
	.row > .col-lg-6 { width: 50% !important; } .row > .col-lg-7 { width: 58.333% !important; }
	.row > .col-lg-8 { width: 66.667% !important; }
}
@media (min-width: 1200px) {
	.row > .col-xl-3 { width: 25% !important; } .row > .col-xl-4 { width: 33.333% !important; }
	.row > .col-xl-6 { width: 50% !important; } .row > .col-xl-7 { width: 58.333% !important; }
	.row > .col-xl-9 { width: 75% !important; }
}

/* Headings: two-tone (light words + <strong> bold words), as on the Drupal site. The light weight comes from the heading's global. */
.elementor-heading-title strong { font-weight: 700; }

/* Rule lines above/below headings are Elementor border controls now (QA 2026-11-04). */

/* "Where does it hurt" pills: outline style instead of the kit's gradient button */
.oas-pill .elementor-button { background-image: none !important; }


/* Header: full desktop header from 1200px (the Drupal site's breakpoint), hamburger below. */
.e-con.oas-hdr-mobile { display: none; }
@media (max-width: 1199px) {
	.e-con.oas-hdr-desktop { display: none; }
	.e-con.oas-hdr-mobile { display: flex; }
}
/* 1200-1366 compaction: Laptop values on the nav widgets, buttons and the Menus / Top Bar Links globals (QA 2026-11-04). */
.oas-hdr-desktop .elementor-button-text { white-space: nowrap; }

/* ---------- Locations (shortcodes) ---------- */


.oas-map { width: 100%; border-radius: 8px; overflow: hidden; z-index: 1; }

/* ---------- Footer: Google Translate picker ---------- */
.oas-google-translate { text-align: center; color: var(--oas-white); }
.oas-google-translate .goog-te-gadget { color: var(--oas-white); font-size: 11px; }
.oas-google-translate .goog-te-gadget a { color: var(--oas-white) !important; }
.oas-google-translate .goog-te-combo { border-radius: 5px; height: 50px; padding: 0 45px 0 25px; border: 0; color: var(--e-global-color-text); max-width: 100%; }

/* ---------- Physician profile (single template + shortcodes) ---------- */
/* Hero: the photo card overlaps the green band below it on desktop, as on the Drupal site */
.oas-phys-photo { position: relative; } /* z-index: the widget's own control */
.oas-phys-photo img { display: block; }
.oas-hero-band p { margin: 0; }
.oas-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
.oas-badges img.oas-badge { width: 150px; height: auto; }
@media (max-width: 991px) { .oas-badges { justify-content: flex-start; } }

/* Care Team cards */

/* Tabs */
.oas-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-bottom: 2.5rem; }
.oas-tabs button.oas-tabs__tab { background: transparent !important; background-image: none !important; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 5px 10px; box-shadow: none;
	color: var(--e-global-color-primary) !important; font-family: var(--e-global-typography-secondary-font-family), sans-serif; font-size: var(--e-global-typography-dfe52bc-font-size); font-weight: 700; line-height: 1.6; cursor: pointer; }
.oas-tabs button.oas-tabs__tab[aria-selected="true"] { color: var(--e-global-color-secondary) !important; border-bottom-color: var(--e-global-color-secondary); }
.oas-tabs button.oas-tabs__tab:hover { color: var(--e-global-color-secondary) !important; }
.oas-tabs__tab:focus-visible { outline: 2px solid var(--e-global-color-primary); outline-offset: 2px; }
.oas-tabs__panel h3 { color: var(--e-global-color-primary); }
.oas-tabs__panel ul { margin-bottom: 1.5rem; }
.oas-news-list { list-style: none; margin: 0; padding: 0; }
.oas-news-item { margin-bottom: 2rem; }
.oas-news-list .oas-news-item__title { font-family: var(--e-global-typography-dfe52bc-font-family), sans-serif; font-weight: 700; line-height: 1.3; font-size: var(--e-global-typography-dfe52bc-font-size); margin: 0 0 .5rem; }
.oas-news-item__title a { color: var(--e-global-color-primary); text-decoration: none; }
.oas-news-item p { margin-bottom: .75rem; }
@media (max-width: 767px) { .oas-tabs button.oas-tabs__tab { font-size: 1.25rem; } }

/* Procedures band (hidden when the physician has none) */
.e-con.oas-care-team:not(:has(.e-loop-item)) { display: none; } /* no care team: hide the heading too */

/* Patient reviews embed (hidden when there's no NPI) */
.oas-reviews-embed { display: block; border: 0; width: 100%; max-width: 100%; }

/* ---------- Interior banner (all single templates except physician/staff) ---------- */
/* Photo banners (pages, specialties, services with a header image): blue watermark panel top right, title right.
   Plain banners: blue watermark across, title left. Body class oas-has-header-image comes from oas-site.php. */
.e-con.oas-banner { --oas-gutter: max(1rem, calc((100vw - 1350px) / 2 + 1rem)); position: relative; overflow: hidden; }
.e-con.oas-banner-panel { justify-content: center; }
/* full-width panel image: solid blue on the right, faded to the photo on the left (Drupal: 20vw tall) */
body.oas-has-header-image .e-con.oas-banner-panel { width: 100%; min-height: 20vw; align-self: flex-start; padding: 2rem var(--oas-gutter) 2rem 40%; }
body.oas-has-header-image .oas-banner-panel .elementor-heading-title { text-align: right; }
body:not(.oas-has-header-image) .e-con.oas-banner-panel { background-image: none !important; width: 100%; padding: 2rem var(--oas-gutter); }
/* Green stripe: the container's own Position / Width / Min Height / Background controls (QA 2026-11-04). */
@media (max-width: 991px) {
	body.oas-has-header-image .e-con.oas-banner-panel { width: 100%; min-height: 0; padding: 1.5rem 1rem 3rem; background-size: cover !important; }
	body.oas-has-header-image .oas-banner-panel .elementor-heading-title { text-align: left; }
}

/* Breadcrumbs (Yoast) */
.oas-breadcrumbs p { margin: 0; } /* typography + colours: the Breadcrumbs global and the widget's colour controls */
.oas-breadcrumbs a { text-decoration: underline; text-underline-offset: .15em; } /* links not told apart by colour alone */
.oas-breadcrumbs a:hover, .oas-breadcrumbs a:focus { text-decoration-thickness: 2px; }

/* Sidebar column that rides up over the banner on desktop */
.e-con.oas-sidebar { position: relative; } /* z-index: the container's own control */

/* Bands that hide themselves when their content is empty */
.e-con.oas-needs-doctors:not(:has(.oas-doc-card)) { display: none; }

/* Physician cards + horizontal scroller (specialty doctor bands, Our Team) */
.oas-doc-card { flex: 0 0 auto; width: 240px; border-radius: 9px; overflow: hidden; background: var(--e-global-color-primary); scroll-snap-align: start; }
.oas-doc-card__photo { position: relative; background-size: cover; background-position: 21% center; aspect-ratio: 6 / 5; }
.oas-doc-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.oas-doc-card__btn { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); white-space: nowrap; max-width: calc(100% - 1rem); box-sizing: border-box; text-align: center; padding: .4em 1.1em; border-radius: var(--ows-btn-radius, 50px);
	font-size: .8rem; font-weight: 700; line-height: 1.2; color: var(--oas-white) !important; text-decoration: none !important;
	background: linear-gradient(0deg, var(--e-global-color-5bcb715) 0%, var(--e-global-color-secondary) 100%); }
.oas-doc-card__btn:hover, .oas-doc-card__btn:focus { background: var(--e-global-color-5bcb715); }
.oas-doc-card__body { padding: .9rem .75rem; text-align: center; }
.oas-doc-card .oas-doc-card__name { margin: 0; font-size: 1.1rem; line-height: 1.3; font-weight: 700; }
.oas-doc-card .oas-doc-card__name a { color: var(--oas-white) !important; text-decoration: none; }
.oas-doc-card__specialties { margin: .25rem 0 0; font-size: .95rem; line-height: 1.4; color: var(--e-global-color-oas0001); }
/* [oas_specialty_doctors layout="grid"]: every card at once (Outpatient Joint Replacement guide). */
.oas-doc-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.oas-doc-grid .oas-doc-card { width: auto; }
@media (max-width: 991px) { .oas-doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .oas-doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
@media (max-width: 479px) { .oas-doc-grid { grid-template-columns: minmax(0, 300px); justify-content: center; } }
.oas-scroller { position: relative; display: flex; align-items: center; gap: .75rem; }
.oas-scroller__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.oas-scroller__track::-webkit-scrollbar { display: none; }
.oas-scroller button.oas-scroller__btn { flex: 0 0 auto; display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; font-size: var(--e-global-typography-secondary-font-size); line-height: 1;
	color: var(--oas-white) !important; background: transparent !important; background-image: none !important; cursor: pointer; }
.oas-scroller.is-scrollable button.oas-scroller__btn { display: block; }
.oas-scroller button.oas-scroller__btn:focus-visible { outline: 2px solid var(--oas-white); }

/* Staff hero: "Assists" */

/* Location pages */
.oas-location-list { list-style: none; margin: 0; padding: 0; }
.oas-location-list li { border-bottom: 2px solid var(--e-global-color-secondary); }
.oas-location-list a { display: block; padding: .5rem 0; font-weight: 700; color: var(--e-global-color-secondary); text-decoration: none; }
.oas-location-list a[aria-current] { color: var(--e-global-color-primary); }
.oas-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.oas-pills a { display: inline-block; padding: .3em 1em; border-radius: 50px; background: var(--e-global-color-primary); color: var(--oas-white) !important; font-size: .85rem; font-weight: 700; text-decoration: none !important; }
.oas-pills a:hover, .oas-pills a:focus { background: var(--e-global-color-accent); }
.oas-location-address { margin-bottom: 1rem; }
/* No Ortho Express card on the Ortho Express page itself */

/* ---------- Listing pages ---------- */
/* Our Team */
.oas-team-grid { display: grid; gap: 2rem 1.5rem; }
.oas-team-grid--doctors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.oas-team-grid--staff { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.oas-doc-card.oas-doc-card--team { width: auto; background: transparent; border-radius: 0; }
.oas-doc-card--team .oas-doc-card__photo { border-radius: 9px 9px 0 0; overflow: hidden; }
.oas-doc-card--team .oas-doc-card__body { padding: .75rem 0 0; }
.oas-doc-card--team .oas-doc-card__name a { color: var(--e-global-color-primary) !important; }
.oas-staff-tile__photo { display: block; background-size: cover; background-position: 21% center; border-radius: 9px; overflow: hidden; aspect-ratio: 1; }
.oas-staff-tile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.oas-staff-tile .oas-staff-tile__name { margin: .6rem 0 .2rem; font-size: 1rem; line-height: 1.3; text-align: center; font-weight: 700; }
.oas-staff-tile__name a { color: var(--e-global-color-primary); text-decoration: none; }
.oas-staff-tile__assists { margin: 0; font-size: .9rem; line-height: 1.4; text-align: center; color: var(--e-global-color-text); }
.oas-staff-tile__assists a { color: var(--e-global-color-primary); font-weight: 400; }
/* Card layout (Our Team): the card's background, radius and padding are the Elementor container's own controls. */
.oas-team-filter { display: grid; gap: .4rem; }
.oas-team-filter .oas-team-filter__title { margin: 0 0 .5rem; text-align: center; color: var(--e-global-color-primary); }
.oas-team-filter label { font-weight: 700; font-size: .95rem; color: var(--e-global-color-primary); margin-top: .5rem; }
/* form.… input:not(…): outranks the kit's Form Fields style (Body text size), which suits Gravity Forms but not this compact filter */
form.oas-team-filter input:not([type="button"]):not([type="submit"]), form.oas-team-filter select { width: 100%; padding: .55rem .75rem; border: 1px solid var(--e-global-color-oas0003); border-radius: 5px; font: inherit; font-size: 1rem; line-height: 1.5; color: var(--e-global-color-text); background-color: var(--oas-white); }
.oas-team-filter--card label { font-size: var(--e-global-typography-oas0106-font-size); margin-top: .75rem; }
.oas-team-filter--card label:first-of-type { margin-top: 0; }
form.oas-team-filter--card input:not([type="button"]):not([type="submit"]), form.oas-team-filter--card select { padding: 1rem; border-radius: 10px; }
.oas-team-filter button.btn { justify-self: start; margin-top: 1rem; }
.oas-team-filter__note { margin: .25rem 0 0; font-size: 1rem; line-height: 1.5; }
.oas-filterable[hidden], .oas-team-section[hidden] { display: none !important; }
@media (max-width: 991px) { .oas-team-grid--doctors { grid-template-columns: repeat(3, minmax(0, 1fr)); } .oas-team-grid--staff { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .oas-team-grid--doctors, .oas-team-grid--staff { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; } }

/* Orthopaedic Services grids */

/* Locations cards */

/* Comeback stories */

/* News & Events list */
.oas-news__filters { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.oas-news__filters select { min-width: 260px; padding: .55rem .75rem; border: 1px solid var(--e-global-color-oas0003); border-radius: 5px; font: inherit; font-size: 1rem; }
.oas-news-rows { list-style: none; margin: 0; padding: 0; }
.oas-news-row { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1.5rem; padding: 0 0 1.5rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--e-global-color-oas0003); }
.oas-news-row .oas-news-row__title { grid-column: 1 / -1; margin: 0; font-size: var(--e-global-typography-dfe52bc-font-size); }
.oas-news-row__title a { color: var(--e-global-color-primary); text-decoration: none; }
.oas-news-row p { margin: 0; }
.oas-news-row .btn { align-self: end; }
.oas-news-row[hidden] { display: none; }
@media (max-width: 767px) { .oas-news-row { grid-template-columns: 1fr; } .oas-news-row .btn { justify-self: start; } }

/* About Us: sidebar menu card + location pins; photo banner with the title on the left */
body.oas-has-header-image .e-con.oas-banner-panel.oas-banner-panel--left { padding: 2rem 40% 2rem var(--oas-gutter); }
body.oas-has-header-image .oas-banner-panel--left .elementor-heading-title { text-align: left; }
/* Headings promoted one level in migrated bodies (php/heading_levels.php) keep their original size */
.e-con h2.oas-h3, .e-con h3.oas-h4 { font-size: var(--e-global-typography-secondary-font-size); line-height: 1.3; }
.e-con h2.oas-h4, .e-con h3.oas-h4, .e-con h4.oas-h5 { font-size: var(--e-global-typography-dfe52bc-font-size); line-height: 1.3; }

/* ---------- Gravity Forms ---------- */
.gform_wrapper .gsection_title { font-size: var(--e-global-typography-secondary-font-size); color: var(--e-global-color-primary); }
.gform_wrapper .gfield_label, .gform_wrapper legend.gfield_label { font-size: var(--e-global-typography-oas0106-font-size); }
.gform_wrapper .gfield_description, .gform_wrapper .gform-field-label--type-sub, .gform_wrapper .ginput_complex label, .gform_wrapper .gfield_consent_label { font-size: 1rem; line-height: 1.5; }
.gform_wrapper .gfield_consent_description { border: 0; padding: .25rem 0 0; max-height: none; overflow: visible; font-size: 1rem; }
.oas-location-numbers a { text-decoration: underline; }

/* =====================================================================================================
   QA round 1 (2026-11-04). Kit variables throughout, so a kit colour/font change follows through.
   ===================================================================================================== */
:root { --oas-white: var(--e-global-color-098e7b4, #fff); }

/* Migrated content: Bootstrap column widths win over .col's flex-basis; lone block buttons don't stretch 1350px */
@media (min-width: 768px) {
	.row > .col[class*="col-md-"] { flex: 0 0 auto; }
}
@media (min-width: 992px) {
	.row > .col[class*="col-lg-"] { flex: 0 0 auto; }
}
.elementor-widget-theme-post-content .btn-block,
.oas-acf-content .btn-block { max-width: 22rem; }
.elementor-widget-theme-post-content .row .btn-block,
.oas-acf-content .row .btn-block { max-width: none; }
.elementor-widget-theme-post-content a,
.elementor-widget-text-editor a,
.oas-acf-content a { overflow-wrap: anywhere; }
/* Readable line length for long text (news posts, comeback stories) */
.e-con.oas-readable .elementor-widget-theme-post-content { max-width: 56rem; }

/* Alert bar (Site Settings) */
.e-con.oas-alert-wrap:not(:has(.oas-alert-bar)) { display: none; }
.oas-alert-bar { background: var(--e-global-color-secondary); color: var(--oas-white); text-align: center; padding: .6rem 1rem; }
.oas-alert-bar p { margin: 0; font-size: var(--e-global-typography-oas0106-font-size); font-weight: 700; line-height: 1.4; }

/* Section menu card (general pages) */
.e-con.oas-needs-section-menu:not(:has(.oas-section-menu)) { display: none; }
.oas-section-menu { background: var(--e-global-color-44a143f); border-radius: 9px; padding: 1.5rem; }
.oas-section-menu .oas-section-menu__title { margin: 0 0 .75rem; text-align: center; color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-secondary-font-family), sans-serif; font-size: var(--e-global-typography-secondary-font-size); font-weight: 700; line-height: 1.3; }
.oas-section-menu ul { list-style: none; margin: 0; padding: 0; }
.oas-section-menu li { border-bottom: 1px solid var(--e-global-color-oas0003); }
.oas-section-menu li:last-child { border-bottom: 0; }
.oas-section-menu a { display: block; padding: .55rem 0; font-size: var(--e-global-typography-oas0106-font-size); font-weight: 700; line-height: 1.35; color: var(--e-global-color-primary); text-decoration: none; }
.oas-section-menu a:hover, .oas-section-menu a:focus { color: var(--e-global-color-secondary); text-decoration: underline; }
.oas-section-menu a[aria-current] { color: var(--e-global-color-secondary); }
/* No section menu: the content column takes the full width, with a readable measure */
.e-con.oas-page-main:not(:has(.oas-section-menu)) > .e-con.oas-page-content { width: 100%; }
.e-con.oas-page-main:not(:has(.oas-section-menu)) .elementor-widget-theme-post-content { max-width: 56rem; }

/* Find a Specialist (Schedule an Appointment) */
.oas-find-specialist { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.oas-find-specialist > *, .oas-find-specialist .oas-scroller__track { min-width: 0; }
.oas-team-filter.oas-team-filter--inline { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: .4rem 1rem; padding: 1.5rem; border-radius: 9px; background: var(--e-global-color-44a143f); }
.oas-team-filter--inline label { margin-top: 0; }
.oas-team-filter--inline > label[for="oas-filter-name"] { grid-column: 1; grid-row: 1; }
.oas-team-filter--inline > #oas-filter-name { grid-column: 1; grid-row: 2; }
.oas-team-filter--inline > label[for="oas-filter-specialty"] { grid-column: 2; grid-row: 1; }
.oas-team-filter--inline > #oas-filter-specialty { grid-column: 2; grid-row: 2; }
.oas-team-filter--inline > button.btn { grid-column: 3; grid-row: 2; margin-top: 0; }
/* Inline filter with the zip field (Schedule page): Zip | Name | Specialty | button; the "no office" note on its own row. */
@media (min-width: 768px) { .oas-team-filter.oas-team-filter--inline:has(> #oas-filter-zip) { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } }
.oas-team-filter--inline > label[for="oas-filter-zip"] { grid-column: 1; grid-row: 1; }
.oas-team-filter--inline > #oas-filter-zip { grid-column: 1; grid-row: 2; }
.oas-team-filter--inline:has(> #oas-filter-zip) > label[for="oas-filter-name"], .oas-team-filter--inline:has(> #oas-filter-zip) > #oas-filter-name { grid-column: 2; }
.oas-team-filter--inline:has(> #oas-filter-zip) > label[for="oas-filter-specialty"], .oas-team-filter--inline:has(> #oas-filter-zip) > #oas-filter-specialty { grid-column: 3; }
.oas-team-filter--inline:has(> #oas-filter-zip) > button.btn { grid-column: 4; }
.oas-team-filter--inline > .oas-team-filter__note { grid-column: 1 / -1; grid-row: 3; margin: .25rem 0 0; }
@media (max-width: 767px) {
	.oas-team-filter.oas-team-filter--inline { grid-template-columns: 1fr; }
	.oas-team-filter--inline > * { grid-column: 1 !important; grid-row: auto !important; }
}
.oas-find-specialist .oas-scroller button.oas-scroller__btn { color: var(--e-global-color-primary) !important; }
.oas-find-specialist .oas-scroller button.oas-scroller__btn:focus-visible { outline-color: var(--e-global-color-primary); }

/* Comeback story: treating doctor */

/* Callout cards (specialty / service sidebar): same look as the Ortho Express card */
.oas-callout-cards { display: grid; gap: 1.5rem; }
.oas-callout-card { background: var(--e-global-color-44a143f); border-radius: 9px; overflow: hidden; }
.oas-callout-card__img { display: block; width: 100%; height: auto; }
.oas-callout-card__body { padding: 1.5rem; display: grid; gap: .5rem; justify-items: start; }
.oas-callout-card .oas-callout-card__title { margin: 0; color: var(--e-global-color-primary); font-family: var(--e-global-typography-dfe52bc-font-family), sans-serif;
	font-size: var(--e-global-typography-dfe52bc-font-size); font-weight: 700; line-height: 1.3; }
.oas-callout-card p { margin: 0; font-size: var(--e-global-typography-oas0106-font-size); line-height: 1.5; }

/* Location page: the office hours heading prints with the hours */
.oas-location-hours__title { margin: 0 0 .5rem; color: var(--e-global-color-primary); font-family: var(--e-global-typography-secondary-font-family), sans-serif;
	font-size: var(--e-global-typography-secondary-font-size); font-weight: 700; line-height: 1.3; }

/* HTML sitemap */

/* Card text sizes (closer to live's 20px) */
.oas-doc-card--team .oas-doc-card__name { font-size: 1.25rem; }
.oas-doc-card--team .oas-doc-card__specialties { font-size: 1.05rem; color: var(--e-global-color-text); }
.oas-staff-tile .oas-staff-tile__name { font-size: 1.15rem; }
.oas-staff-tile__assists { font-size: 1rem; }

/* Photo banners at tablet/mobile: photo on top, title on a solid blue band below (as on live) */
@media (max-width: 991px) {
	body.oas-has-header-image .e-con.oas-banner { flex-direction: column; justify-content: flex-end; min-height: 0; padding-top: 180px; }
	body.oas-has-header-image .e-con.oas-banner-panel { background-image: none !important; background-color: var(--e-global-color-primary); padding: 1.5rem 1rem 2.5rem; }
}
@media (max-width: 767px) {
	body.oas-has-header-image .e-con.oas-banner { padding-top: 140px; }
}

/* Gravity Forms: comfortable measure on wide screens */
.gform_wrapper.gravity-theme { max-width: 56rem; }
.gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.gform_wrapper.gravity-theme .gform_footer button { font-size: var(--e-global-typography-oas0106-font-size); padding: .75em 2em; }

/* Footer: Google Translate picker, lighter */
.oas-google-translate .goog-te-combo { height: 40px; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, .6); background: transparent; color: var(--oas-white); font: inherit; font-size: 1rem; }
.oas-google-translate .goog-te-combo option { color: var(--e-global-color-text); }

/* ---------- Accessibility (QA round 1) ---------- */
/* Visible focus on every control: a 3px blue ring with a white halo works on white, photos and coloured bands alike.
   (The shared foundation's 1px currentColor outline disappears on white-text buttons.) */
:focus-visible,
.elementor-button:focus-visible,
.elementor-menu-toggle:focus-visible,
.elementor-search-form__toggle:focus-visible,
.btn:focus-visible { outline: 3px solid var(--e-global-color-primary) !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px var(--oas-white) !important; }
.whiteText :focus-visible { outline-color: var(--oas-white) !important; box-shadow: 0 0 0 5px var(--e-global-color-accent) !important; }
/* Closed full-screen search: not focusable while invisible */
.elementor-search-form--skin-full_screen .elementor-search-form__container:not(.elementor-search-form--full-screen) { visibility: hidden; }
/* Carousel pause / play */
.elementor-widget-n-carousel, .elementor-widget-slides { position: relative; }
/* button.…: the kit's button style (.elementor-kit-239 button: 24px side padding, no border) would otherwise stretch it into an oval */
button.oas-carousel-pause { position: absolute; z-index: 5; right: 1rem; bottom: 1rem; width: 40px; height: 40px; padding: 0; border: 2px solid var(--oas-white); border-radius: 50%;
	background: var(--e-global-color-accent) !important; background-image: none !important; color: var(--oas-white); cursor: pointer; display: grid; place-items: center; }
.oas-carousel-pause__icon { display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.oas-carousel-pause.is-paused .oas-carousel-pause__icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
/* Ortho Express comparison table: scrolls inside its box on small screens */
.oas-table-scroll { overflow-x: auto; }
.oas-table-scroll th[scope="row"] { text-align: left; }
.oas-yes { color: var(--e-global-color-secondary); font-weight: 700; font-size: var(--e-global-typography-dfe52bc-font-size); }

/* ---------- QA round 1: design follow-ups ---------- */
/* Migrated Drupal list style: green check bullets (MRI and other service pages) */
ul.list-custom-bullets-secondary { list-style: none; padding-left: 0; }
ul.list-custom-bullets-secondary > li { position: relative; padding-left: 1.75em; margin-bottom: .4em; }
ul.list-custom-bullets-secondary > li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--e-global-color-secondary); font-weight: 700; }

/* Mobile menu panel (header hamburger): utility links in green, call/schedule as pill buttons at the bottom */
.elementor-nav-menu--dropdown li.oas-menu-utility > a { color: var(--e-global-color-secondary) !important; }
.elementor-nav-menu--dropdown li.oas-menu-cta { padding: .6rem 1.25rem; border: 0 !important; }
.elementor-nav-menu--dropdown li.oas-menu-cta > a { justify-content: center; border-radius: var(--ows-btn-radius, 50px) !important; border: 0 !important; color: var(--oas-white) !important;
	background: linear-gradient(0deg, var(--e-global-color-5bcb715) 0%, var(--e-global-color-secondary) 100%) !important; }
.elementor-nav-menu--dropdown li.oas-menu-cta:first-of-type > a,
.elementor-nav-menu--dropdown li.oas-menu-cta > a[href^="tel:"] { background: linear-gradient(0deg, var(--e-global-color-accent) 0%, var(--e-global-color-f739cf9) 100%) !important; }

/* Desktop dropdowns: a little wider so names don't wrap */
.oas-main-nav .elementor-nav-menu--main .sub-menu { min-width: 260px; }

/* Ortho Express page: no sidebar column (its card would link to the page itself) */

/* Homepage carousel dots: the Carousel widget's own Pagination controls (QA 2026-11-04). */
button.oas-carousel-pause { bottom: .75rem; }
/* Desktop/tablet: line up with the dots, which sit 64px up to clear the green band in the slide photos (Figma #9) */
@media (min-width: 768px) { .elementor-widget-n-carousel button.oas-carousel-pause { bottom: 51px; } }

/* ---------- QA round 3 ---------- */
/* Migrated button grids: one column on phones (Bootstrap col-sm-12 behaviour) */
@media (max-width: 767px) {
	.elementor-widget-theme-post-content .row > [class*="col"],
	.oas-acf-content .row > [class*="col"] { flex: 0 0 100%; max-width: 100%; width: 100% !important; }
}
/* Bands that only show when their field has content (service Section 2 / 3) */
/* Footer connect bar labels on one line */
.oas-connect-bar .elementor-widget-text-editor { white-space: nowrap; }
/* Carousel dots: active dot green, inactive white at 60% (the widget has colour controls for normal/hover only) */
.elementor-widget-n-carousel .swiper-pagination-bullet { opacity: .6; }
.elementor-widget-n-carousel .swiper-pagination-bullet-active { opacity: 1; background: var(--e-global-color-secondary); }



/* ---------- Dark bands: ows-foundation's whiteText + underlineLinks classes on the containers do the colours and
   the hover underline (links in text widgets are always underlined by the foundation). Only what it doesn't cover: */
.whiteText .elementor-widget-shortcode { color: var(--oas-white); }
/* links take the weight of the text around them (footer location names, the big phone), text-widget links stay regular */
.elementor-location-footer .whiteText a:not(.elementor-button):not(.elementor-item), .whiteText.oas-hero-band a:not(.elementor-button) { font-weight: inherit; }
.elementor-location-footer .whiteText .elementor-widget-text-editor a, .whiteText.oas-hero-band .elementor-widget-text-editor a { font-weight: 400; }
/* Desktop header: the main menu stays on one line, so a font swap can't change the header height (CLS) */
@media (min-width: 1200px) { .oas-hdr-desktop .elementor-nav-menu--main > .elementor-nav-menu { flex-wrap: nowrap; } }

/* Screen-reader-only text added by oas-site.js ("(PDF)", "(opens in a new tab)") */
.oas-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
/* Physician News tab: titles like live (green, H3 size) */
.oas-news-list .oas-news-item__title { font-size: var(--e-global-typography-secondary-font-size); }
.oas-news-item__title a { color: var(--e-global-color-secondary); }
.oas-news-item__title a:hover, .oas-news-item__title a:focus { text-decoration: underline; }
/* Mobile menu utility links: green at rest, white on the blue hover/focus/press background like the other items */
.elementor-nav-menu--dropdown li.oas-menu-utility > a:hover,
.elementor-nav-menu--dropdown li.oas-menu-utility > a:focus,
.elementor-nav-menu--dropdown li.oas-menu-utility > a:active,
.elementor-nav-menu--dropdown li.oas-menu-utility > a.highlighted { color: var(--oas-white) !important; }
/* Classic search forms clip their contents: draw the focus ring inside the field and button */
.elementor-search-form--skin-classic .elementor-search-form__input:focus-visible,
.elementor-search-form--skin-classic .elementor-search-form__submit:focus-visible { outline-offset: -4px !important; box-shadow: inset 0 0 0 6px var(--oas-white) !important; }

/* ---------- Hover states (design QA round 4) ---------- */
/* .btn: a solid base colour under the gradient, so hover can't fade from transparent (pale flash) */
.btn { background-color: var(--e-global-color-5bcb715); }
.btn-primary { background-color: var(--e-global-color-accent); }
/* Controls that had no hover feedback */
button.oas-carousel-pause:hover { background: var(--e-global-color-44a143f) !important; color: var(--e-global-color-primary); border-color: var(--e-global-color-primary); }
.oas-scroller button.oas-scroller__btn:hover { opacity: .7; }
.oas-doc-card--team .oas-doc-card__name a:hover, .oas-staff-tile__name a:hover,
.elementor-post__title a:hover, .elementor-post__read-more:hover,
.elementor-heading-title a:hover { text-decoration: underline; }
/* Mouse clicks don't leave a focus ring (keyboard focus still shows it) */
:focus:not(:focus-visible) { outline: none; }
/* Google Translate credit: solid navy behind the small vendor text (contrast over the gradient), no bold jump on hover */
.oas-google-translate .goog-te-gadget { display: inline-block; padding: .2rem .5rem; border-radius: 4px; background: var(--e-global-color-accent); }
.oas-google-translate .goog-te-gadget a, .oas-google-translate .goog-te-gadget a:hover { font-weight: inherit !important; }
/* Homepage quick links: the whole tile (icon + label) is the link, and hovering it underlines the label */
.e-con.oas-quicklink { position: relative; }
.oas-quicklink .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; }
.oas-quicklink:hover .elementor-heading-title a, .oas-quicklink .elementor-heading-title a:focus-visible { color: var(--e-global-color-secondary); text-decoration: underline; }

/* Footer bottom menu: one link per line on phones (Figma #16). The Nav Menu widget's layout control isn't per-device. */
@media (max-width: 767px) {
	.oas-stack-mobile .elementor-nav-menu--main > .elementor-nav-menu { flex-direction: column; align-items: flex-start; }
}

/* Interior banner titles: lead-in words regular, last word bold, as on live (Figma #17; markup from [oas_banner_title]) */
.oas-title-light { font-weight: var(--e-global-typography-oas0103-font-weight, 400); }
/* Narrow doctor cards (phones): the button text wraps instead of being clipped by the card. */
@media (max-width: 767px) { .oas-doc-card__btn { white-space: normal; width: calc(100% - 1rem); line-height: 1.25; } }
/* Comebacks banner (live): the title band sits across the middle of the photo, starting a quarter in. */
@media (min-width: 992px) {
	body.oas-has-header-image .e-con.oas-banner-panel.oas-banner-panel--middle { align-self: center; min-height: 0; padding: 2.5rem var(--oas-gutter) 2.5rem 25%; }
}
/* Reduced motion: no smooth scrolling (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
/* Team cards: specialty links read as the card text; underline shows they're links on hover and focus. */
.oas-doc-card__specialties a { color: inherit; font-weight: inherit; text-decoration: none; }
.oas-doc-card__specialties a:hover, .oas-doc-card__specialties a:focus-visible { text-decoration: underline; }
/* ows-foundation's alwaysUnderline wins over the text-widget link rule above (dark bands: links can't rely on bold alone). */
.alwaysUnderline .elementor-widget-text-editor a:not(.btn):not(.elementor-button), .alwaysUnderline .elementor-widget-theme-post-content a:not(.btn):not(.elementor-button) { text-decoration: underline; }
