/*
Theme Name: Elite Dental
Theme URI: https://elitedental.com.au/
Author: Elite Dental
Description: A lightweight, block-based theme for the Elite Dental website.
Version: 1.1.6
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: elite-dental
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

:root {
	--elite-green: #519435;
	--elite-lime: #8cf086;
	--elite-blue: #009bd0;
	--elite-dark-blue: #0b426a;
	--elite-text: #58595b;
	--elite-heading: #519435;
}

html { scroll-behavior: smooth; }
body { color: var(--elite-text); font-family: 'Raleway', Arial, sans-serif; font-size: 15px; line-height: 1.67; }
a { color: var(--elite-green); text-underline-offset: .14em; }
a:hover { color: #34721e; }
a:focus-visible, button:focus-visible { outline: 3px solid #1766a0; outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Raleway', Arial, sans-serif; }
h1, h2 { color: var(--elite-heading); font-weight: 400; line-height: 1.2; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.ed-header { min-height: 118px; padding: 12px 2.8%; background: #fff; box-sizing: border-box; }
.ed-header-inner { width: 100%; max-width: 1440px; margin: auto; gap: 20px; }
.ed-brand { flex: 0 0 196px; }
.ed-brand img { display: block; width: 196px; height: 76px; object-fit: contain; }
.elite-primary-nav { flex: 1 1 auto; justify-content: center; }
.elite-primary-nav .wp-block-navigation__container { gap: clamp(12px, 2vw, 35px); }
.elite-primary-nav .wp-block-navigation-item__content { color: #5e6569; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: -.2px; text-transform: uppercase; text-decoration: none; }
.elite-primary-nav .wp-block-navigation-item__content:hover { color: var(--elite-green); }
.ed-header-actions { flex: 0 0 auto; gap: 8px; align-items: flex-end; }
.ed-phone-top { color: var(--elite-green); font-family: 'Montserrat', Arial, sans-serif; font-size: 18px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ed-book-top .wp-block-button__link { display: inline-block; padding: 9px 18px; background: var(--elite-lime); border-radius: 0; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 800; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.ed-hero { min-height: 396px; background-color: var(--elite-blue); background-position: center center; background-size: cover; }
.ed-hero .wp-block-cover__inner-container { width: 100%; max-width: 1200px; margin: 0 auto; }
.ed-hero-content { width: min(100%, 560px); margin-left: auto; padding: 28px 22px 28px 0; text-align: right; }
.ed-hero-content p { margin: 0 0 16px; color: #fff; font-size: clamp(25px, 3vw, 38px); font-weight: 300; line-height: 1.2; }
.ed-hero-content .ed-hero-call { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; }
.ed-hero-content .ed-hero-call a { color: #fff; text-decoration: none; }
.ed-intro { padding: 72px 24px 46px; }
.ed-intro-inner { max-width: 1200px; margin: auto; }
.ed-intro h1 { margin: 0 0 2px; font-size: 36px; text-align: center; }
.ed-intro .ed-subtitle { margin: 0 0 16px; color: var(--elite-green); font-size: 19px; line-height: 1.3; text-align: center; }
.ed-intro-copy { max-width: 1120px; margin: 0 auto 26px; text-align: center; }
.ed-intro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 55px; row-gap: 23px; }
.ed-intro-grid h2 { margin: 0 0 3px; font-size: 26px; }
.ed-intro-grid p { margin: 0; }
.ed-years { margin: 6px 0 0; text-align: center; }
.ed-services { padding: 40px 24px 54px; background: #078fc0; }
.ed-services-inner { max-width: 1200px; margin: auto; }
.ed-service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.ed-service-card { display: flex; min-height: 135px; flex-direction: column; align-items: center; justify-content: center; padding: 17px 9px 12px; color: #fff; text-align: center; text-decoration: none; }
.ed-service-card { position: relative; isolation: isolate; }
.ed-service-card::before { position: absolute; z-index: -1; inset: 0; background: transparent; content: ""; pointer-events: none; }
.ed-service-card img { width: 60px; height: 56px; object-fit: contain; }
.ed-service-card p { display: block; margin: 20px 0 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.25; }
.ed-service-card p a { color: #fff; text-decoration: none; }
.ed-service-card p a::after { position: absolute; inset: 0; content: ""; }
.ed-service-card:hover p a { text-decoration: underline; }
.ed-team { min-height: 410px; padding: 60px 24px; background-color: #fff; background-image: url('assets/images/homepage-team-background.jpg'); background-position: right bottom; background-repeat: no-repeat; background-size: auto 100%; }
.ed-team-inner { max-width: 1200px; margin: auto; }
.ed-team-copy { max-width: 770px; }
.ed-team h2 { margin: 0 0 13px; color: var(--elite-green); font-family: 'Montserrat', Arial, sans-serif; font-size: 32px; font-weight: 600; text-transform: uppercase; }
.ed-caring-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 0 0 24px; padding: 0; list-style: none; }
.ed-caring-list li { padding: 2px 0 2px 22px; background: url('assets/images/bullet.png') no-repeat left 10px; color: #4d4d4f; font-size: 16px; }
.ed-button-row { gap: 12px; }
.ed-green-button .wp-block-button__link { padding: 10px 19px; background: var(--elite-lime); border-radius: 0; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.ed-map { position: relative; min-height: 500px; padding: 42px 5%; background: url('assets/images/homepage-map-background.jpg') center center / cover no-repeat; }
.ed-map-inner { display: flex; max-width: 1250px; height: 100%; margin: auto; justify-content: flex-end; align-items: flex-start; }
.ed-address-card { width: min(390px, 100%); padding: 20px 28px 24px; background: rgba(11, 66, 106, .93); color: #fff; }
.ed-address-card h2 { margin: 0 0 12px; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 18px; font-weight: 600; text-transform: uppercase; }
.ed-address-card h2:not(:first-child) { margin-top: 23px; }
.ed-address-card ul { margin: 0; padding: 0; list-style: none; }
.ed-address-card li { min-height: 27px; margin: 0 0 8px; padding-left: 27px; color: #fff; }
.ed-address-card a { color: #fff; text-decoration: none; }
.ed-address-card .ed-location { background: url('assets/images/location.png') no-repeat left 5px; }
.ed-address-card .ed-phone { background: url('assets/images/phone-icon.png') no-repeat left center; }
.ed-address-card .ed-email { background: url('assets/images/email-icon.png') no-repeat left center; }
.ed-hours { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; row-gap: 3px; }
.ed-hours li { min-height: auto; margin: 0; padding: 0; }
.ed-footer { padding: 38px 24px; background: #10486b; color: #fff; }
.ed-footer-inner { max-width: 1200px; margin: auto; }
.ed-footer-grid { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr .6fr; gap: 30px; align-items: start; }
.ed-footer h2 { margin: 0 0 10px; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.ed-footer p, .ed-footer li, .ed-footer a { color: #fff; font-size: 14px; }
.ed-footer p { margin: 0; }
.ed-footer ul { margin: 0; padding: 0; list-style: none; }
.ed-footer ul li { margin: 0 0 6px; }
.ed-footer a { text-decoration: none; }
.ed-footer a:hover { text-decoration: underline; }
.ed-footer-logo img { width: 175px; max-width: 100%; height: auto; }
.ed-footer-button .wp-block-button__link { padding: 10px 14px; background: var(--elite-lime); border-radius: 0; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; }

/* Homepage refinements matched to the live Elite Dental reference. */
.ed-services { position: relative; left: 50%; width: calc(100vw - 15px); max-width: none; margin-inline: 0; transform: translateX(-50%); background: #32bfea; }
.ed-services-inner { max-width: 1225px; }
.ed-service-grid { gap: 0; }
.ed-service-card { min-height: 169px; margin: 20px 0; padding: 40px 15px 0; transition: none; }
.ed-service-card:hover, .ed-service-card:focus-visible { background: transparent; }
.ed-service-card:hover p a, .ed-service-card:focus-visible p a { text-decoration: none; }
.ed-map { position: relative; left: 50%; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto; width: calc(100vw - 15px); max-width: none; min-height: 502px; margin-inline: 0; padding: 0; transform: translateX(-50%); background: none; }
.ed-map::before { content: ""; grid-column: 1; grid-row: 1; min-height: 502px; background: url('assets/images/homepage-map-background.jpg') center center / cover no-repeat; }
.ed-map-inner { display: contents; }
.ed-address-card { grid-column: 2; grid-row: 1; width: 100%; max-width: none; height: auto; min-height: 0; align-self: stretch; box-sizing: border-box; padding: 20px 50px 24px; background: #37bbe7; color: #fff; }
.ed-address-card h2 { font-family: 'Raleway', Arial, sans-serif; font-size: 18px; font-weight: 500; text-transform: none; }
.ed-footer { position: relative; left: 50%; width: calc(100vw - 15px); max-width: none; margin-inline: 0; transform: translateX(-50%); background: #4d4d4f; }

@media (hover: hover) and (pointer: fine) {
	.ed-service-card:hover { background: #8df087; }
}
@media (hover: none) {
	.ed-service-card:active::before,
	.ed-service-card:has(a:active)::before { background: #8df087; }
}

@media (max-width: 1100px) {
	.ed-header { padding-inline: 20px; }
	.ed-header-inner { flex-wrap: wrap; justify-content: space-between; }
	.ed-header-actions { align-items: center; }
	.elite-primary-nav { order: 3; flex-basis: 100%; justify-content: center; }
	.ed-header { min-height: auto; }
	.elite-primary-nav .wp-block-navigation__container { gap: 22px; }
}
@media (max-width: 760px) {
	.ed-header { position: relative; min-height: 238px; padding: 12px 20px 44px; }
	.ed-header-inner { position: relative; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 0; }
	.ed-brand, .ed-brand img { flex: 0 0 auto; width: 200px; height: auto; margin: 0; }
	.ed-header .ed-header-actions { width: 100%; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; margin-top: 18px !important; }
	.ed-header .ed-phone-top { margin: 0 0 8px !important; font-size: 18px; line-height: 25px; }
	.ed-phone-top a { color: inherit; text-decoration: none; }
	.ed-book-top .wp-block-button__link { min-height: 45px; padding: 10px 14px; background: var(--elite-lime); border-radius: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: normal; line-height: 25px; }
	.elite-primary-nav { position: absolute; top: 6px; right: 2%; z-index: 5; width: 45px; flex: 0 0 45px; justify-content: center; }
	.elite-primary-nav .wp-block-navigation__responsive-container-open { width: 45px; height: 35px; padding: 0; color: #5e6569; }
	.ed-hero { height: 153px !important; min-height: 153px !important; max-height: 153px; padding-block: 0; align-items: flex-start !important; background-position: center center; }
	.ed-hero .wp-block-cover__image-background { width: 100%; height: 100%; object-fit: cover !important; object-position: center center; }
	.ed-hero-content { width: min(100%, 210px); margin: 0 20px 0 auto; padding: 20px 0 0 20px; text-align: right; }
	.ed-hero-content > p:first-child { margin: 0 0 17px; font-size: 13px; font-weight: 300; line-height: 18px; }
	.ed-hero-content .ed-hero-call { margin: 0; font-size: 13px; font-weight: 800; line-height: 18px; }
	.ed-intro { padding: 44px 20px 32px; }
	.ed-intro h1 { font-size: 30px; }
	.ed-intro-grid { grid-template-columns: 1fr; row-gap: 20px; }
	.ed-intro-grid h2 { font-size: 23px; }
	.ed-services { padding: 28px 20px 35px; }
	.ed-services-inner { width: 100%; }
	.ed-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 4px; }
	.ed-service-card { min-height: 132px; margin: 0; padding: 12px 2px 8px; }
	.ed-service-card img { width: 50px; height: 47px; }
	.ed-service-card p { margin-top: 8px; font-size: 12px; line-height: 1.2; }
	.ed-team { position: relative; left: 50%; width: calc(100vw - 15px); max-width: none; min-height: 0; margin-inline: 0; padding: 42px 15px 80px; transform: translateX(-50%); background-image: none; }
	.ed-team-inner { width: 100%; }
	.ed-team h2 { font-size: 25px; }
	.ed-caring-list { display: grid; width: calc(100% + 15px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; margin: 20px 0; }
	.ed-caring-list li { padding: 5px 0 0 20px; line-height: 25px; }
	.ed-caring-list li:first-child { grid-column: 1 / -1; }
	.ed-map { grid-template-columns: 1fr; grid-template-rows: auto 165px; min-height: 0; padding: 0; }
	.ed-map::before { grid-column: 1; grid-row: 2; min-height: 165px; background-position: center top; background-size: 767px auto; }
	.ed-address-card { grid-column: 1; grid-row: 1; width: 100%; height: fit-content; min-height: 0; padding: 20px 10px 24px; }
	.ed-hours { grid-template-columns: 1fr; }
	.ed-hours { grid-template-columns: 1fr 1fr; column-gap: 12px; }
	.ed-footer { padding: 34px 22px; }
	.ed-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
	.ed-footer-logo { align-self: center; }
}
@media (max-width: 420px) {
	.ed-footer-grid { grid-template-columns: 1fr; }
}

/* Elite service banner mobile framing: preserve the complete subject area in narrow covers. */
@media (max-width: 767px) {
	body.page-id-25 .ed-family-banner .wp-block-cover__image-background,
	body.page-id-43 .ed-svc-banner-cosmeticdentistry .wp-block-cover__image-background,
	body.page-id-45 .ed-svc-banner-crownsandbridges .wp-block-cover__image-background,
	body.page-id-47 .ed-di-hero .wp-block-cover__image-background,
	body.page-id-49 .ed-svc-banner-dentures .wp-block-cover__image-background,
	body.page-id-51 .ed-svc-banner-endodonticsrootcanaltreatment .wp-block-cover__image-background,
	body.page-id-53 .ed-svc-banner-orthodontics .wp-block-cover__image-background,
	body.page-id-55 .ed-svc-banner-specialiseddentalservices .wp-block-cover__image-background,
	body.page-id-57 .ed-svc-banner-anxiouspatients .wp-block-cover__image-background,
	body.page-id-59 .ed-svc-banner-toothwhitening .wp-block-cover__image-background {
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		min-width: 0 !important;
		min-height: 0 !important;
		max-width: none !important;
		object-fit: cover !important;
		object-position: center center !important;
		transform: none !important;
	}
}

.ed-service-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.ed-service-card { display: flex; min-height: 135px; flex-direction: column; align-items: center; justify-content: center; padding: 17px 9px 12px; color: #fff; text-align: center; text-decoration: none; }
.ed-service-card { position: relative; isolation: isolate; }
.ed-service-card::before { position: absolute; z-index: -1; inset: 0; background: transparent; content: ""; pointer-events: none; }
.ed-service-card img { width: 60px; height: 56px; object-fit: contain; }
.ed-service-card p { display: block; margin: 20px 0 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.25; }
.ed-service-card p a { color: #fff; text-decoration: none; }
.ed-service-card p a::after { position: absolute; inset: 0; content: ""; }
.ed-service-card:hover p a { text-decoration: underline; }
.ed-team { min-height: 410px; padding: 60px 24px; background-color: #fff; background-image: url('assets/images/homepage-team-background.jpg'); background-position: right bottom; background-repeat: no-repeat; background-size: auto 100%; }
.ed-team-inner { max-width: 1200px; margin: auto; }
.ed-team-copy { max-width: 770px; }
.ed-team h2 { margin: 0 0 13px; color: var(--elite-green); font-family: 'Montserrat', Arial, sans-serif; font-size: 32px; font-weight: 600; text-transform: uppercase; }
.ed-caring-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 0 0 24px; padding: 0; list-style: none; }
.ed-caring-list li { padding: 2px 0 2px 22px; background: url('assets/images/bullet.png') no-repeat left 10px; color: #4d4d4f; font-size: 16px; }
.ed-button-row { gap: 12px; }
.ed-green-button .wp-block-button__link { padding: 10px 19px; background: var(--elite-lime); border-radius: 0; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.ed-map { position: relative; min-height: 500px; padding: 42px 5%; background: url('assets/images/homepage-map-background.jpg') center center / cover no-repeat; }
.ed-map-inner { display: flex; max-width: 1250px; height: 100%; margin: auto; justify-content: flex-end; align-items: flex-start; }
.ed-address-card { width: min(390px, 100%); padding: 20px 28px 24px; background: rgba(11, 66, 106, .93); color: #fff; }
.ed-address-card h2 { margin: 0 0 12px; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 18px; font-weight: 600; text-transform: uppercase; }
.ed-address-card h2:not(:first-child) { margin-top: 23px; }
.ed-address-card ul { margin: 0; padding: 0; list-style: none; }
.ed-address-card li { min-height: 27px; margin: 0 0 8px; padding-left: 27px; color: #fff; }
.ed-address-card a { color: #fff; text-decoration: none; }
.ed-address-card .ed-location { background: url('assets/images/location.png') no-repeat left 5px; }
.ed-address-card .ed-phone { background: url('assets/images/phone-icon.png') no-repeat left center; }
.ed-address-card .ed-email { background: url('assets/images/email-icon.png') no-repeat left center; }
.ed-hours { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; row-gap: 3px; }
.ed-hours li { min-height: auto; margin: 0; padding: 0; }
.ed-footer { padding: 38px 24px; background: #10486b; color: #fff; }
.ed-footer-inner { max-width: 1200px; margin: auto; }
.ed-footer-grid { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr .6fr; gap: 30px; align-items: start; }
.ed-footer h2 { margin: 0 0 10px; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.ed-footer p, .ed-footer li, .ed-footer a { color: #fff; font-size: 14px; }
.ed-footer p { margin: 0; }
.ed-footer ul { margin: 0; padding: 0; list-style: none; }
.ed-footer ul li { margin: 0 0 6px; }
.ed-footer a { text-decoration: none; }
.ed-footer a:hover { text-decoration: underline; }
.ed-footer-logo img { width: 175px; max-width: 100%; height: auto; }
.ed-footer-button .wp-block-button__link { padding: 10px 14px; background: var(--elite-lime); border-radius: 0; color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; }

/* Homepage refinements matched to the live Elite Dental reference. */
.ed-services { position: relative; left: 50%; width: calc(100vw - 15px); max-width: none; margin-inline: 0; transform: translateX(-50%); background: #32bfea; }
.ed-services-inner { max-width: 1225px; }
.ed-service-grid { gap: 0; }
.ed-service-card { min-height: 169px; margin: 20px 0; padding: 40px 15px 0; transition: none; }
.ed-service-card:hover, .ed-service-card:focus-visible { background: transparent; }
.ed-service-card:hover p a, .ed-service-card:focus-visible p a { text-decoration: none; }
.ed-map { position: relative; left: 50%; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto; width: calc(100vw - 15px); max-width: none; min-height: 502px; margin-inline: 0; padding: 0; transform: translateX(-50%); background: none; }
.ed-map::before { content: ""; grid-column: 1; grid-row: 1; min-height: 502px; background: url('assets/images/homepage-map-background.jpg') center center / cover no-repeat; }
.ed-map-inner { display: contents; }
.ed-address-card { grid-column: 2; grid-row: 1; width: 100%; max-width: none; height: auto; min-height: 0; align-self: stretch; box-sizing: border-box; padding: 20px 50px 24px; background: #37bbe7; color: #fff; }
.ed-address-card h2 { font-family: 'Raleway', Arial, sans-serif; font-size: 18px; font-weight: 500; text-transform: none; }
.ed-footer { position: relative; left: 50%; width: calc(100vw - 15px); max-width: none; margin-inline: 0; transform: translateX(-50%); background: #4d4d4f; }

@media (hover: hover) and (pointer: fine) {
	.ed-service-card:hover { background: #8df087; }
}
@media (hover: none) {
	.ed-service-card:active::before,
	.ed-service-card:has(a:active)::before { background: #8df087; }
}

@media (max-width: 1100px) {
	.ed-header { padding-inline: 20px; }
	.ed-header-inner { flex-wrap: wrap; justify-content: space-between; }
	.ed-header-actions { align-items: center; }
	.elite-primary-nav { order: 3; flex-basis: 100%; justify-content: center; }
	.ed-header { min-height: auto; }
	.elite-primary-nav .wp-block-navigation__container { gap: 22px; }
}
@media (max-width: 760px) {
	.ed-header { position: relative; min-height: 238px; padding: 12px 20px 44px; }
	.ed-header-inner { position: relative; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 0; }
	.ed-brand, .ed-brand img { flex: 0 0 auto; width: 200px; height: auto; margin: 0; }
	.ed-header .ed-header-actions { width: 100%; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; margin-top: 18px !important; }
	.ed-header .ed-phone-top { margin: 0 0 8px !important; font-size: 18px; line-height: 25px; }
	.ed-phone-top a { color: inherit; text-decoration: none; }
	.ed-book-top .wp-block-button__link { min-height: 45px; padding: 10px 14px; background: var(--elite-lime); border-radius: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: normal; line-height: 25px; }
	.elite-primary-nav { position: absolute; top: 6px; right: 2%; z-index: 5; width: 45px; flex: 0 0 45px; justify-content: center; }
	.elite-primary-nav .wp-block-navigation__responsive-container-open { width: 45px; height: 35px; padding: 0; color: #5e6569; }
	.ed-hero { height: 153px !important; min-height: 153px !important; max-height: 153px; padding-block: 0; align-items: flex-start !important; background-position: center center; }
	.ed-hero .wp-block-cover__image-background { width: 100%; height: 100%; object-fit: cover !important; object-position: center center; }
	.ed-hero-content { width: min(100%, 210px); margin: 0 20px 0 auto; padding: 20px 0 0 20px; text-align: right; }
	.ed-hero-content > p:first-child { margin: 0 0 17px; font-size: 13px; font-weight: 300; line-height: 18px; }
	.ed-hero-content .ed-hero-call { margin: 0; font-size: 13px; font-weight: 800; line-height: 18px; }
	.ed-intro { padding: 44px 20px 32px; }
	.ed-intro h1 { font-size: 30px; }
	.ed-intro-grid { grid-template-columns: 1fr; row-gap: 20px; }
	.ed-intro-grid h2 { font-size: 23px; }
	.ed-services { padding: 28px 20px 35px; }
	.ed-services-inner { width: 100%; }
	.ed-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 4px; }
	.ed-service-card { min-height: 132px; margin: 0; padding: 12px 2px 8px; }
	.ed-service-card img { width: 50px; height: 47px; }
	.ed-service-card p { margin-top: 8px; font-size: 12px; line-height: 1.2; }
	.ed-team { position: relative; left: 50%; width: calc(100vw - 15px); max-width: none; min-height: 0; margin-inline: 0; padding: 42px 15px 80px; transform: translateX(-50%); background-image: none; }
	.ed-team-inner { width: 100%; }
	.ed-team h2 { font-size: 25px; }
	.ed-caring-list { display: grid; width: calc(100% + 15px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; margin: 20px 0; }
	.ed-caring-list li { padding: 5px 0 0 20px; line-height: 25px; }
	.ed-caring-list li:first-child { grid-column: 1 / -1; }
	.ed-map { grid-template-columns: 1fr; grid-template-rows: auto 165px; min-height: 0; padding: 0; }
	.ed-map::before { grid-column: 1; grid-row: 2; min-height: 165px; background-position: center top; background-size: 767px auto; }
	.ed-address-card { grid-column: 1; grid-row: 1; width: 100%; height: fit-content; min-height: 0; padding: 20px 10px 24px; }
	.ed-hours { grid-template-columns: 1fr; }
	.ed-hours { grid-template-columns: 1fr 1fr; column-gap: 12px; }
	.ed-footer { padding: 34px 22px; }
	.ed-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
	.ed-footer-logo { align-self: center; }
}
@media (max-width: 420px) {
	.ed-footer-grid { grid-template-columns: 1fr; }
}
