body.page-id-5309 main .am-section,body.page-id-5311 main .am-section { padding-block:80px!important; }
body.page-id-5309 main .am-wrap,body.page-id-5311 main .am-wrap { max-width:1380px;gap:28px;padding-inline:32px!important; }
body.page-id-5309 main .elementor-widget-text-editor,body.page-id-5311 main .elementor-widget-text-editor { line-height:1.5;color:#657285; }
body.page-id-5309 main h1,body.page-id-5311 main h1 { font:750 clamp(38px,4vw,58px)/1.1 var(--font-display);max-width:none;letter-spacing:-.025em; }
body.page-id-5309 main h2,body.page-id-5311 main h2 { font:700 clamp(30px,3vw,42px)/1.2 var(--font-display);max-width:none; }
.am-contact-hero,.am-doctors-hero { background:#f1f4f8; }
.am-contact-hero-grid.e-con { display:grid!important;grid-template-columns:1.5fr 1fr;gap:80px;align-items:center; }
.am-contact-intro.e-con,.am-doctors-intro.e-con { gap:24px; }
.am-contact-intro .elementor-widget-text-editor { max-width:760px; }
.am-contact-hero-actions.e-con { gap:16px;align-items:flex-start;justify-self:end; }
body.wp-theme-airmed .am-directory-outline .elementor-button { background:transparent!important;color:#24364e!important;border:1px solid #ccd5e1!important; }
body.wp-theme-airmed .am-directory-outline .elementor-button:hover { background:#24364e!important;color:#fff!important;border-color:#24364e!important; }
body.wp-theme-airmed .am-directory-outline .elementor-button:hover svg { fill:#fff!important; }
.am-contact-cards.e-con { display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:20px; }
.am-contact-card.e-con { background:#fff;border:1px solid #e0e5ed;padding:26px!important;gap:18px; }
.am-contact-icon { width:62px!important; }
body.wp-theme-airmed .am-contact-icon .elementor-icon { display:flex;align-items:center;justify-content:center;width:62px;height:62px;background:#fcece9;border-radius:50%;color:#c63229!important;font-size:28px; }
.am-contact-icon svg { width:28px;height:28px;fill:#c63229!important; }
body.page-id-5311 .am-contact-card h2 { font-size:22px;line-height:1.3; }
.am-contact-card .elementor-widget-text-editor { font-size:14px;overflow-wrap:anywhere; }
.am-contact-card a { font-weight:700;color:#263850; }
.am-contact-location-grid.e-con { display:grid!important;grid-template-columns:.8fr 1.5fr;gap:54px;align-items:start; }
.am-contact-address.e-con { gap:24px; }
.am-contact-map { display:block;width:100%;height:520px;border:1px solid #dfe5ed; }
body.wp-theme-airmed .am-directory-link .elementor-button { background:none!important;color:#c63229!important;padding:0!important;font-size:15px!important; }
.am-contact-form-section { background:#f1f4f8; }
.am-contact-form-grid.e-con { display:grid!important;grid-template-columns:1fr 1fr;gap:70px;align-items:center;scroll-margin-top:190px; }
.am-contact-form-copy.e-con { gap:24px; }
.am-contact-company .elementor-widget-text-editor { max-width:1000px; }
body.page-id-5311 .am-contact-company h2 { font-size:30px; }
.am-doctors-hero-grid.e-con { display:grid!important;grid-template-columns:1.5fr 1fr;gap:64px;align-items:center; }
.am-doctors-hero-note.e-con { padding:32px!important;background:#fff;border-left:3px solid #c63229;gap:22px; }
body.page-id-5309 .am-doctors-hero-note h3 { font-size:26px;line-height:1.25; }
.am-doctors-hero-note .elementor-widget-text-editor { font-size:15px; }
body.page-id-5309 .am-doctors-directory { width:100%; }
body.page-id-5309 .am-doctor-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px; }
body.page-id-5309 .am-doctor { background:#f3f5f8;border:1px solid #e0e5ed;overflow:hidden; }
body.page-id-5309 .am-doctor > img { display:block;width:100%;height:310px!important;object-fit:cover;object-position:center top;aspect-ratio:auto!important; }
body.page-id-5309 .am-doctor-info { padding:24px; }
body.page-id-5309 .am-doctor-info h3 { font:700 22px/1.3 var(--font-display);color:#1b2b42;margin:0 0 14px;max-width:none; }
body.page-id-5309 .am-doctor-info > p { color:#8c2f2a;font-size:14px;line-height:1.5;margin:0; }
body.page-id-5309 .am-doctor-bio { margin-top:16px;font-size:14px;line-height:1.5;color:#657285; }
.am-directory-note { font-size:13px!important;color:#7b8797!important; }
.am-doctors-help { background:#142136; }
.am-doctors-help-grid.e-con { display:grid!important;grid-template-columns:1fr auto;gap:60px;align-items:center; }
.am-doctors-help-copy.e-con { gap:24px; }
body.page-id-5309 .am-doctors-help h2 { color:#fff; }
body.page-id-5309 .am-doctors-help .elementor-widget-text-editor { color:#d1dbe8;max-width:800px; }
.am-doctors-help-actions.e-con { gap:16px; }
.am-doctors-help-actions .elementor-button { width:100%; }
body.page-id-5309 .am-doctors-help .am-directory-outline .elementor-button { color:#fff!important;border-color:#ffffff50!important; }
@media(max-width:1100px) { .am-contact-cards.e-con,.am-doctor-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; } .am-contact-hero-grid.e-con,.am-doctors-hero-grid.e-con,.am-contact-form-grid.e-con,.am-contact-location-grid.e-con { gap:36px; } }
@media(max-width:767px) {
 body.page-id-5309 main .am-section,body.page-id-5311 main .am-section { padding-block:54px!important; }
 body.page-id-5309 main .am-wrap,body.page-id-5311 main .am-wrap { padding-inline:20px!important; }
 .am-contact-hero-grid.e-con,.am-doctors-hero-grid.e-con,.am-contact-form-grid.e-con,.am-contact-location-grid.e-con,.am-contact-cards.e-con,.am-doctors-help-grid.e-con { grid-template-columns:1fr!important;gap:24px; }
 .am-contact-hero-actions.e-con { justify-self:start; }
 body.page-id-5309 .am-doctor-grid { grid-template-columns:1fr!important; }
 body.page-id-5309 .am-doctor > img { height:340px!important; }
 .am-contact-map { height:380px; }
 .am-contact-form-grid.e-con { scroll-margin-top:140px; }
}

body.page-id-5309 .am-doctors-help h2.elementor-heading-title { color:#fff!important; }
body.page-id-5311 .am-contact-address .elementor-widget-text-editor p+p { margin-top:16px; }

/* Match the homepage team carousel. */
body.page-id-5309 .am-doctors-reference { background:url('team-cta-bg.jpg') center/cover no-repeat; }
body.page-id-5309 .am-doctors-reference h2.elementor-heading-title { color:#fff!important; }
body.page-id-5309 .am-doctors-reference .am-kicker .elementor-heading-title { color:#e0e4e9!important; }
body.page-id-5309 .am-doctors-reference .am-directory-note { color:#d1dbe8!important; }
body.page-id-5309 .am-doctors-reference .am-doctor { background:#f3f5f8;border:0; }
body.page-id-5309 .am-doctors-reference .am-reference-doctor > img { height:360px!important;object-fit:cover;object-position:center top; }
body.page-id-5309 .am-doctors-reference .am-doctor-info { padding:0 40px; }
body.page-id-5309 .am-doctors-reference .am-doctor-info h3 { color:#fff!important;font:700 24px/1.3 var(--font-display);margin:0 0 20px; }
body.page-id-5309 .am-doctors-reference .am-doctor-info p { color:#fff!important;font:400 16px/28px var(--font-body); }
@media(max-width:767px) { body.page-id-5309 .am-doctors-reference .am-reference-doctor > img { height:340px!important; } }
