/* Custom Styles: Homepage Desktop */

/* Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
/* End */

/* Main Navigation */
#global-nav {
	position: fixed;
	display: block;
	width: -webkit-fill-available;
	margin: 1rem;
	border-radius: 16px;
	background: #FFF;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
	z-index: 999; }

#global-nav.scrolled-nav {
	box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(6px);
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out; }

#global-nav.scrolled-nav .navigation-container {
	padding: 1.375rem 3rem;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out; }

#global-nav.scrolled-nav img.header-logo {
	width: 280px;
	height: 40px;
	margin-top: 4px;
	margin-right: 4.25rem;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out; }

#global-nav img.header-logo {
	width: 320px;
	height: 45px;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out; }

.navigation-container {
	position: relative;
	display: flex;
	width: 100%;
	padding: 2rem 3rem;
	justify-content: space-between;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out; }

.nav-con-left,
.nav-con-center,
.nav-con-right {
	position: relative;
	display: inline-flex; }

.nav-con-left {
	justify-content: left;
	width: 25%; }

.nav-con-center {
	justify-content: center;
	width: 50%; }

.nav-con-right {
	justify-content: right;
	width: 25%; }

.nav-logo {
	position: relative;
	display: inline-block;
	width: fit-content;
	margin-right: 1rem; }

.nav-logo a {
	display: flex; }

.primary-links {
	display: flex;
	width: fit-content;
	height: 100%;
	margin-left: auto;
	margin-right: auto; }

.menu-left {
	display: flex;
	align-items: center; }

.secondary-links {
	position: relative;
	height: 100%; }

ul.menu-left,
ul.menu-right {
	list-style: none;
	margin: 0; }

ul.menu-right {
	display: flex;
	align-items: center;
	justify-content: right;
	height: 100%; }

ul.menu-left li {
	list-style: none;
	display: inline-block;
	padding: 0 0.75rem; }

ul.menu-right li {
	list-style: none;
	display: inline-block;
	padding: 0 0.5rem; }

ul.menu-right li.first {
	padding-right: 1rem; }

li a,
li a {
	color: #000;
	font-weight: 600;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.28px;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

li a:hover{
	cursor: pointer;
	color: #8944B7;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

nav#mobile-nav {
	display: none; }


.menu .current-menu-item > a,
.menu .current-menu-parent > a,
.menu .current-menu-ancestor > a {
  color: #fff;              /* text color */
  border-radius: 60px;
  background: #8944B7;
  font-weight: bold;
}

/* Header Panel */
.header-intro {
	position: relative;
	display: block;
	width: 100%;
	height: 80vh;
	background: #CCC;
	z-index: 0; }

.header-container {
	width: 100%;
	height: 100%; }

.intro-bkgnd-image {
	position: relative;
	width: 100%;
	height: 100vh;
	background-image: url('../assets/images/widget-mobile.png');
	background-size: cover;
	background-position: top right;
	background-repeat: no-repeat;
	z-index: -1; }
/* End */


/* Appointment Widget */
.widget-container {
	position: absolute;
	display: block;
	width: 100%;
	max-width: 592px;
	top: 55%;
	left: 20%;
	transform: translate(-20%, -55%); }

.bsd-tab-area {
	display: inline-block;
	width: 100%;
	background: #FFF;
	border-radius: 10px; }

.bsdmultitab-gadget {
	height: 130px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #CCC; }

.bsdmultitab-gadget-content {
	padding: 2.125rem 1.875rem 1rem 1.875rem;
	max-height: 480px;
	overflow-y: auto; }

.bsdmultitab-gadget li {
	height: 100%;
	list-style: none;
	padding: 1rem;
	margin: 0;
	float: left; }

.bsdmultitab-gadget li a {
	position: relative;
	display: block;
	height: 100%;
	background: #FFF;
	color: #000;
	text-align: center;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: -0.28px; }

.widget-content {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	max-width: 86px;
	margin: 0 auto; }

.widget-content.thin {
	max-width: 50px; }

.widget-content svg {
	margin-bottom: 12px; }

.multitabs-bsd {
	width: 33.3%;
	text-align: center; }

.multitabs-bsd.middle {
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC; }

.multitabs-bsd a:hover > .widget-content svg.appointment,
.multitabs-bsd a:hover > .widget-content svg.stethoscope,
.multitabs-bsd a:hover > .widget-content svg.service,
.multitabs-bsd a:hover > .widget-content span {
	fill: #B45CF9;
	color: #B45CF9;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.multitabs-bsd a.bsdmultitab-gadget-current:hover > .widget-content svg.appointment,
.multitabs-bsd a.bsdmultitab-gadget-current:hover > .widget-content svg.stethoscope,
.multitabs-bsd a.bsdmultitab-gadget-current:hover > .widget-content svg.service,
.multitabs-bsd a.bsdmultitab-gadget-current:hover > .widget-content span {
	fill: #8944B7;
	color: #8944B7;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.bsdmultitab-gadget li a.bsdmultitab-gadget-current {
	background: #FFF;
	color: #8944B7;
	text-decoration: none; }

.bsdmultitab-gadget li a.bsdmultitab-gadget-current svg.appointment,
.bsdmultitab-gadget li a.bsdmultitab-gadget-current svg.stethoscope,
.bsdmultitab-gadget li a.bsdmultitab-gadget-current svg.service {
	fill: #8944B7; }

svg.appointment,
svg.stethoscope,
svg.service {
	display: flex;
	fill: #000;
	margin: 0 auto;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.widget-content span {
	display: flex;
	justify-content: center;
	margin-top: 12px;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.emergency-panel {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 0.875rem 1rem 2rem 1rem; }

.message-container {
	display: inline-flex;
	height: 52px;
	padding: 16px 26px 16px 16px;
	align-items: center;
	flex-shrink: 0;
	border-radius: 6px;
	background: linear-gradient(45deg, #4C2177, #8944B7); }

img.alert-icon {
	margin-right: 0.75rem; }

.message-container p {
	color: #FFF;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 14px;
	margin: 0; }

.message-container p b a {
	color: #FFF;
	text-decoration: underline; }

.widget-image-mobile {
	display: none; }

.widget-mobile {
	display: none; }

.widget-fullscreen {
	display: block; }

/* Anchor Panel: Home */
.anchor-panel {
	position: relative;
	display: flex;
	width: 100%;
	height: 10vh;
	background: #FFF; }

.anchor-container {
	position: relative;
	display: flex;
	width: 100%;
	height: auto;
	justify-content: center; }
/* End */


/* Text - Image Panel */
.text-image.container-large {
	position: relative;
	display: block;
	background: #fff;
	width: 100%;
	height: 100%;
	padding: 2rem 0; }

.text-image.container {
	position: relative;
	display: block;
	width: 100%;
	max-width: 730px;
	top: 40%;
	padding-right: 0.313rem;
	float: right;
	transform: translateY(-40%); }

.text-image.container h3 {
	margin-bottom: 1.25rem; }

.text-image.container .last {
	margin-bottom: 2.5rem; }

.img-container-body {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	padding-left: 0.313rem;
	border-radius: 10px; }

.img-container-body.medium {
	max-width: 730px;
	max-height: 410px; }

img.display-5-4 {
	position: absolute;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 10px; }
/* End */


/* Services Carousel */
.services-carousel.complete {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 6.25rem 0; }

.services-inner {
	background-image: url('../assets/images/services-bkgnd@2x.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat; }

.services-text.container {
	margin: auto;
	max-width: 800px;
	padding-top: 5rem; }

.services-text.container.doctors {
	max-width: 100%; }

.panel-title.innner.centered {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	max-width: 800px;
	margin: 0 auto;
	text-align: center; }

.panel-title.innner.centered h2 {
	margin-bottom: 1.375rem; }

.ag-format-container {
	width: 1142px;
	margin: 0 auto; }

.services-slider-container {
	padding: 2.5rem 0 8.75rem 0;
	overflow: hidden; }

.flickity-viewport {
	cursor: pointer; }

.ag-card-bg {
	height: 100%;
	width: 200%;
	background-position: 50%;
	background-size: cover;
	position: absolute;
	top: 0;
	left: -50%;
	-webkit-transition: height .6s;
	-moz-transition: height .6s;
	-o-transition: height .6s;
	transition: height .6s; }

.ag-shop-card_box-wrap {
	padding: 15px; }

.ag-shop-card_box {
	background-color: #FFF;
	overflow: hidden;
	-webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 35, .25);
	-moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 35, .25);
	-o-box-shadow: 0 5px 10px 0 rgba(0, 0, 35, .25);
	box-shadow: 0 5px 10px 0 rgba(0, 0, 35, .25);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-transition: .4s;
	-moz-transition: .4s;
	-o-transition: .4s;
	transition: .4s; }

.ag-shop-card_body {
	display: block;
	height: 215px;
	width: 384px;
	background-position: 50%;
	background-size: cover;
	overflow: hidden;
	-webkit-transition: .4s;
	-moz-transition: .4s;
	-o-transition: .4s;
	transition: .4s;
	position: relative; }

.ag-shop-card-body_link {
	height: 100px;
	width: 100px;
	margin: 0 auto;
	overflow: hidden;
	z-index: 9;
 	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	-webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .35);
	-moz-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .35);
	-o-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .35);
	box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .35);
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: top .4s;
	-moz-transition: top .4s;
	-o-transition: top .4s;
	transition: top .4s; }

.ag-shop-card-body_img {
	max-width: 100%; }

.ag-shop-card_footer {
	padding: 18px 20px 23px 20px;
	border: 0;
	background-color: #FFF;
	position: relative; }

.ag-shop-card-footer_title {
	display: block;
	line-height: 1.3;
	font-weight: 700;
	font-size: 14px;
	color: #690911; }

.ag-shop-card-footer_products {
	display: inline-block;
	width: 80%;
	color: #000;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: -0.36px; }

.ag-shop-card-footer_link {
	position: relative;
	display: flex;
	float: right;
	bottom: 4px; }

img.service-icon {
	margin-bottom: 12px; }

img.ag-shop-card-footer_arrow {
	transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out; }

img.ag-shop-card-footer_arrow:hover {
	transform: scale(1.15); }

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;}
}

@media (min-width: 768px) and (max-width: 979px) {
  .ag-format-container {
    width: 750px; }
}

@media (min-width: 980px) and (max-width: 1161px) {
  .ag-format-container {
    width: 960px; }
}
/* End */


/* Accordion Styles */
.faq-text.container {
	padding-top: 1.25rem; }

.accordion-container {
	position: relative;
	display: block;
	width: 100%;
	max-width: 800px;
	margin: 0 auto; }

.accordion {
	padding-top: 3.125rem; }

.accordion .accordion-item {
	margin-bottom: 1rem; }

 .accordion button {
	position: relative;
	display: inline-flex;
	text-align: left;
	width: 100%;
	padding: 0.75rem 1rem;
	border: none;
	background: none;
	outline: none; }

 .accordion button:hover, .accordion button:focus {
	cursor: pointer;
	color: #03b5d2; }

 .accordion button:hover::after, .accordion button:focus::after {
	cursor: pointer;
	color: #03b5d2;
	border: 1px solid #03b5d2; }

 .accordion button .icon {
	position: relative;
	display: inline-block;
	margin-top: 1px;
	margin-right: 1rem;
	width: 22px;
	height: 22px;
	border-radius: 22px;
	background: #8944B7; }

 .accordion button .icon::before {
	position: relative;
	display: flex;
	content: '';
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 1px;
	background: #FFF; }

 .accordion button .icon::after {
	position: relative;
	display: flex;
	content: '';
	top: 45%;
	left: 50%;
	transform: translate(-50%, -45%);
	width: 1px;
	height: 12px;
	background: #FFF; }

 .accordion button[aria-expanded='true'] .icon::after {
	width: 0; }

 .accordion button[aria-expanded='true'] + .accordion-content {
 	padding: 0 3.5rem;
	opacity: 1;
	max-height: 70em;
	transition: all 200ms linear;
	will-change: opacity, max-height; }

 .accordion .accordion-content {
 	padding: 0 3.5rem;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 200ms linear, max-height 200ms linear;
	will-change: opacity, max-height; }

.accordion-title {
	color: #000;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px; }

 .accordion .accordion-content p {
	font-size: 1rem;
	font-weight: 400;
	margin: 1em 0; }

.outro-text.container {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 3.75rem 0 4.375rem 0; }

.text-container.inner {
	position: relative;
	display: block;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	text-align: center; }

.text-container.inner p {
	margin-bottom: 1.625rem; }

@media screen and (max-width: 880px) {
.faq-section.complete {
	padding: 0 1.25rem; }

.accordion {
	padding-top: 1.5rem; }

.accordion button {
	padding: 0.75rem 0; }

.accordion-title {
	font-size: 18px;
	line-height: 22px; }

.accordion button .icon {
	width: 20px;
	min-width: 20px;
	height: 20px; }

.accordion button[aria-expanded='true'] + .accordion-content {
	padding: 0 0px 0 2.25rem; }

.outro-text.container {
	padding: 1.875rem 0 2.188rem 0; }
}

@media screen and (max-width: 580px) {
.faq-section.complete {
	padding: 0 2rem; }
}
/* End */


/* Testimonial Styles */
.testimonial-slide.outer {
	padding: 4.375rem 1rem; }

.orbit.testimonial-slider-container {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	max-width: 940px;
	margin: 0 auto; }

.star-rating-panel {
	position: relative;
	display: flex;
	width: 100%;
	height: auto;
	margin-bottom: 1.625rem; }

.quotation-icon.container,
.star-rating.container {
	position: relative;
	display: inline-block;
	width: 50%; }

.quotation-icon.container {
	float: left; }

.star-rating.container ,
img.rating-icon{
	float: right; }

.slider-toggles.container {
	position: absolute;
	display: flex;
	width: 13%;
	height: auto;
	right: 2.5rem;
	bottom: 3.125rem;
	gap: 36px;
	z-index: 1; }

.testimonial-slider-container {
	background: #4C2177;
	background-image: url('../assets/images/testimonial-background.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	padding: 2.75rem 2.5rem 3.125rem 2.5rem;
	border-radius: 10px; }

.testimonial-slider-container .orbit-previous,
.testimonial-slider-container .orbit-next {
	color: #000;
	background: #FFF;
	border-radius: 48px; }

.testimonial-slider-container .orbit-previous {
	left: 0; }

.testimonial-slider-container .orbit-next {
	right: 0; }

.testimonial-slider-container .testimonial-slide {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center; }

.testimonial-slider-container .profile-pic {
	max-width: 225px; }

.testimonial-slider-container .testimonial-slide-quotation {
	position: relative;
	color: #FFF;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: -0.12px; }

.testimonial-slide-quotation {
	margin-bottom: 5rem; }

.testimonial-slide-author-info {
	color: #FFF;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px; }

.testimonial-slider-container .testimonial-slide-quotation::before {
	content: "“";
	font-size: 6rem;
	color: #d6d6d6;
	position: absolute;
	top: -3rem;
	left: -3rem; }

.testimonial-slider-container .testimonial-slide-author-container {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex; }

img.previous-arrow,
img.next-arrow {
	margin-bottom: 2px; }

@media screen and (max-width: 880px) {
.testimonial-slide.outer {
	padding: 1.875rem 1.25rem; }

.testimonial-slider-container {
	padding: 3.125rem 1.25rem 1.875rem 1.25rem; }

.testimonial-slider-container .testimonial-slide-quotation {
	font-size: 20px;
	line-height: 26px;
	letter-spacing: -0.2px; }

.testimonial-slide-author-info {
	font-size: 18px;
	line-height: 22px; }

.testimonial-slide-quotation {
	margin-bottom: 2rem; }

.slider-toggles.container {
	position: relative;
  display: flex;
  width: 100%;
  height: auto;
  left: 0;
  bottom: 0;
  gap: 36px;
  z-index: 1;
  justify-content: center;
  padding-top: 2rem; }
}
/* End */


/* Doctor / Staff Profile Styles */
.profile-layout.container-large {
	position: relative;
	display: block;
	background: #fff;
	width: 100%;
	height: 100%;
	padding: 0; }

.grid-x.grid-padding-x.staff-container {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 1628px;
	margin: 0 auto;
	padding-top: 4rem;
	justify-content: center;
	z-index: 1; }

.grid-x.grid-padding-x.staff-container .staff-box {
	padding-bottom: 4rem; }

.staff-box .page-subheader {
	padding: 2rem 1rem 1rem 2rem; }

.page-subheader {
	display: block;
	width: 100%;
	padding: 2rem 1rem; }

.staff-box{
	width: 100%; }

.staff-box-inside{
	display: inline-grid;
	padding: 1.5rem 1rem;
	max-width: 33%; }

.staff-box-inside.four-col {
	max-width: 12.5%; }

.staff-image-container {
	display: block;
	height: fit-content;
	overflow: hidden;
	border-radius: 10px;
	margin: 0 1rem; }

.staff-image-container img {
	transition: all .6s ease-in-out;
	-webkit-transition: all .6s ease-in-out; }

.staff-image-container:hover > img {
	transform: scale(1.05);
	transition: all .6s ease-in-out;
	-webkit-transition: all .6s ease-in-out; }

.staffinfo {
	display: flex;
	width: 100%;
	margin-top: 1.4rem;
	justify-content: space-between;
	gap: 1rem; 
	padding: 0 1rem; }

.staff-text-container {
	display: block;
  float: left;
  width: auto;
  max-width: 50%; }

.staff-icon-container {
	display: block;
  float: right;
  width: auto;
  max-width: 50%; }

.staffinfo h3 {
	font-size: 1rem;
	color: #2D2926;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: normal;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.staffinfo h3:hover {
	color: #8944B7; }

img.social-icon {
	transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;  }

img.social-icon:hover {
	transform: scale(1.1);
	cursor: pointer; }

.text-image.container .widget-fullscreen h3 {
	margin-bottom: .5rem; }

.text-image.container .widget-fullscreen h4.small {
	margin-bottom: 1.5rem; }

/* End */

/* Links /  Styles */
.link_card-layout.container-large {
	position: relative;
	display: block;
	background: #fff;
	width: 100%;
	height: 100%;
	padding: 0 0 6.25rem 0; }

.grid-x.grid-padding-x.link-container {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 1628px;
	margin: 0 auto;
	justify-content: center;
	z-index: 1; }


.link-box{
	width: 100%; }

.link-box-inside{
	display: inline-grid;
	padding: 1.5rem 1rem;
	max-width: 19%; }

.link-box-inside.four-col {
	max-width: 10.5%; }

.link-image-container {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 10px; }

.link-image-container img {
	transition: all .6s ease-in-out;
	-webkit-transition: all .6s ease-in-out;
	border: .5px solid #8944B7; /* Black border with a thickness of 5px */
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3); /* Shadow effect */
  border-radius: 10px; /* Optional: Adds rounded corners */
 }

.link-image-container:hover > img {
	border: .5px solid #8944B7; /* Black border with a thickness of 5px */
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3); /* Shadow effect */
  border-radius: 10px; /* Optional: Adds rounded corners */
	transform: scale(1.05);
	transition: all .6s ease-in-out;
	-webkit-transition: all .6s ease-in-out; }

.linkinfo {
	width: 100%;
	margin-top: 1.4rem;
	justify-content: space-between;
	text-align: center;
	gap: 1rem; }

.link-text-container {
	display: block;
    width: auto; }


.linkinfo h3 {
	font-size: 1rem;
	color: #2D2926;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: normal;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.linkinfo h3:hover {
	color: #8944B7; }


/* End */

/* Footer Styles */
.footer-complete {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	margin-top: 6rem;
	background: #2D2926;
	z-index: 1; }

.footer-complete-mob {
	display: none; }

.footer-inner {
	display: flex;
	width: 100%; }

.footer-left-column {
	width: 50%;
	border-right: 0.5px solid #FFF; }

.logo-container-full {
	display: flex;
	width: 100%;
	height: 80%;
	padding: 7.5rem;
	justify-content: center; }

.footer-right-column {
	width: 50%; }

.link-container-full {
	display: flex;
	width: 100%;
	padding: 4.6rem 3.55rem 2.5rem 3.55rem;
	justify-content: center;
	align-items: center; }

.link-column-left {
	padding-right: 18%; }

.address-footer,
.phone-footer {
	position: relative;
	display: block; }

.address-footer {
	margin-bottom: 1rem; }

.phone-footer {
	margin-bottom: 2rem; }

.address-footer img.address,
.address-footer p,
.phone-footer img.telephone,
.phone-footer p {
	display: inline-block; }

.address-footer img.address,
.phone-footer img.telephone {
	padding-right: 0.625rem; }

.hours-container p {
	margin-bottom: 1rem; }

#menu-footer-links.menu {
	display: block; }

.footer-link-text p a {
	color: #fff;
	letter-spacing: -.2px;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.footer-link-text p a:hover {
	color: #B45CF9; }

.smallprint-container,
.credits-container {
	padding: 1rem 2rem; }

.smallprint-container {
	display: flex;
	height: 20%;
	align-items: end; }

.copyright-text {
	width: 100%;
  height: fit-content;
  align-items: flex-end;
  display: flex;
  justify-content: space-between; }

img.footer-logo {
	float: right;
	margin-left: 1rem; }

.credits-container {
	text-align: right; }

.copyright-text p,
.credit-text a {
	font-size: 0.75rem;
	color: #fff;
	opacity: 0.8;
	line-height: 1.4;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.copyright-text p {
	display: flex;
	float: left;
	width: fit-content;
	margin-bottom: 0;
	margin-left: 1rem; }

img.support-logo {
	margin-left: 3rem; }

img.support-logo.first {
	margin-left: 0rem; }

.credit-text a:hover {
	color: #B45CF9;
	opacity: 1; }

/* Form Styles */
.wpforms-page-next {
	float: inline-end !important; }

.feedback .wpforms-submit-container {
	width: 150px;
  margin-top: -74px !important;
  float: inline-end; }
 /* End */

/* End Main Styles */

@media screen and (max-width: 1920px) {
/* Header Panel */
.header-intro {
	height: 100vh; }

.intro-bkgnd-image {
	height: 120vh; }
/* End */

/* Appointment Widget */
.widget-container {
	top: 70%;
	left: 20%;
	transform: translate(-20%, -60%); }
/* End */

/* Footer Styles */
.copyright-text p {
	width: 30%; }
/* End */
}


@media screen and (max-width: 1728px) {
/* Main Navigation */
.navigation-container {
	padding: 2rem; }

#global-nav.scrolled-nav .navigation-container {
	padding: 1.375rem 2rem; }
/* End */
}


@media screen and (max-width: 1512px) {
/* Main Navigation */
.nav-con-left {
	width: 20%; }

.nav-con-right {
	width: 30%; }
/* End */

/* Text - Image Panel */
.text-image.container-large {
	padding: 1rem 2rem 1rem 2rem; }
/* End */

/* Footer Styles */
.copyright-text {
	display: table; }

.copyright-text p {
	position: relative;
	display: table-footer-group;
	width: 100%;
	margin-top: 1.5rem; }

.partner-logo-container {
	position: relative;
	display: table-header-group;
	width: 100%; }

img.support-logo.first {
	margin-left: 1rem; }
/* End */
}

@media screen and (max-width: 1400px) {
/* Navigation Styles */
#global-nav.scrolled-nav .navigation-container {
	padding: 1.5rem 2rem; }

.navigation-container {
	padding: 1.875rem 2rem; }
/* End */
}

@media screen and (max-width: 1300px) {
/* Navigation Styles */
#global-nav img.header-logo {
	width: 180px;
	height: 46px; }

.navigation-container {
	padding: 1.8rem; }

.nav-con-left {
	width: 18%; }

.nav-con-center {
	width: 44%; }

.nav-con-right {
	width: 36%; }
/* End */
}

@media screen and (max-width: 1200px) {
.nav-logo {
	margin-right: 1.875rem; }
}

@media screen and (max-width: 1180px) {
/* Main Navigation Styles */
nav#global-nav {
	display: none; }

nav#mobile-nav {
	position: fixed;
	display: block;
	width: 100%;
	height: auto;
	z-index: 10; }

img.header-logo {
	width: 130px;
	height: 33px; }

.navigation-container-mobile {
	position: relative;
	display: flex;
	width: 100%;
	height: 80px;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(6px); }

.nav-container-left {
	position: relative;
	display: inline-block;
	width: 40%;
	float: left; }

.nav-container-right {
	position: relative;
	display: inline-flex;
	width: 60%;
	gap: .5rem;
	justify-content: right;
	align-items: center; }

.nav-logo {
	margin-right: 0;
	top: 50%;
	transform: translateY(-50%); }

.appointment-button-container {
	width: fit-content; }

#menuToggle {
    display: block;
    position: relative;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none; }

#menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease; }

#menuToggle a:hover {
    color: #B45CF9; }

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none; }

#menuToggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin-bottom: 4px;
    position: relative;
    background: #8944B7;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), background 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.55s ease; }

#menuToggle span.last {
	margin-bottom: 0px; }

#menuToggle span:first-child {
    transform-origin: 0% 0%; }

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%; }

#menuToggle input:checked ~ span {
	opacity: 1;
	transform: rotate(45deg) translate(-4px, -10px);
	background: #4C2177; }

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2); }

#menuToggle input:checked ~ span:nth-last-child(2) {
	transform: rotate(-45deg) translate(0px, 7px); }

#menu {
  position: fixed;
  display: block;
  width: 100vw;
  padding: 3rem 2rem;
  right: -100%;
  top: 80px;
  background: #FFF;
  list-style-type: none;
  margin: 0;
  opacity: 0;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
  z-index: 1;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

#menu li {
  padding: 10px 0;
  font-size: 22px; }

#menuToggle input:checked ~ ul {
  right: 0px;
  opacity: 1;
  transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.mobile-menu-container {
	display: flex;
	align-items: center;
	padding: .5rem 0 .5rem 1rem; }

.mob-menu-frame {
	position: fixed;
	display: flex;
	top: 80px;
	left: -100%;
	width: 100%;
	height: 100vh;
	background: #FFF;
	opacity: 0;
	z-index: -1;
	border-top: 1px solid #ccc;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.mob-menu-frame.toggled {
	left: 0;
	opacity: 1;
	overflow: scroll;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out; }

.menu-container {
  position: absolute;
  display: flex;
  width: 100%;
  padding: 2rem 2rem 6rem 2rem;
  height: fit-content; }

ul.mobile-menu-list {
  margin-left: 0;
  list-style-type: none;
  display: block;
  width: 100%;
  position: relative; }

ul.mobile-menu-list li a {
	font-size: 1rem;
	line-height: 20px; }

li.menu-item {
	margin-bottom: 2rem; }

#menu-item-1870 > a::after {
	position: relative;
	content: url('https://northendmedical.com.au/wp-content/themes/nem/assets/icons/submenu-arrow.svg');
	display: inline-flex;
	top: 2px;
	width: 16px;
	height: auto;
	margin-left: .5rem;
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotate(180deg);
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;  }

#menu-item-1870.clicked > a::after {
	transform: rotate(0deg);
	top: 0px;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;  }

ul.menu.vertical.nested li.menu-item {
	margin-bottom: .5rem; }
/* End */

.link-container-full {
	padding: 4.6rem 3rem 2.5rem 3rem; }
}

@media screen and (max-width: 1024px) {
/* Footer Styles */
.footer-left-column {
	width: 40%; }

.footer-right-column {
	width: 60%; }
/* End */

.text-image.container-large {
	padding: 1rem 2rem 1rem 2rem; }

.services-carousel.complete {
	padding: 4rem 0; }
}

@media screen and (max-width: 1000px) {
img.widget-display-mob {
	width: 100%;
	height: auto; }

.message-container {
	width: 100%;
	height: auto; }

.message-container p {
	line-height: 1.25rem; }
}

@media screen and (max-width: 880px) {
.header-intro {
	position: relative;
    display: block;
    width: 100%;
    height: 100% !important;
    background: #FFF;
    z-index: 1;
    padding-top: 80px; }

.header-container {
	width: 100%;
    height: 100%;
    background-image: unset;
    background-size: unset;
    background-position: unset;
    background-repeat: unset;
    overflow: auto; }

.widget-container {
	display: contents;
	top: 65px;
	left: 0;
	transform: none; }

.bsd-tab-area {
	border-radius: 0; }

.bsdmultitab-gadget-content {
	padding: 2.125rem 1.25rem 1rem 1.25rem;
	max-height: none;
	overflow-y: visible; }

.emergency-panel {
	padding: 1rem 1rem 2rem 1rem; }

.widget-image-mobile {
	position: relative;
	display: block;
	width: 100%;
	height: 100%; }

.widget-mobile {
	display: block; }

.widget-fullscreen {
	display: none; }

.intro-bkgnd-image {
	width: 0;
	height: 0vh !important;
	visibility: hidden;
	display: none; }

.anchor-panel {
	display: none; }

.text-image.container-large {
	padding: 1rem 1rem 1rem 1rem; }

.text-image.container {
	padding-right: 0; }

.text-image.container p.last {
	margin-bottom: 1.875rem; }

.img-container-body.medium {
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0; }

.services-slider-container {
	padding: 2.5rem 0 4rem 0; }

.footer-complete {
	display: none;
	width: 0;
	height: 0;
	visibility: hidden; }

.footer-complete-mob {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background: #2D2926;
	z-index: 1; }

.footer-inner-mob {
	padding: 2rem 1.25rem; }

.logo-container-footer {
	position: relative;
	display: flex;
	justify-content: space-between;
	width: 100%;
	height: auto;
	padding-bottom: 2rem; }

.logo-bottom,
.btt-panel {
	display: flex;
	width: 50%;
	align-items: center; }

.logo-bottom {
	justify-content: left; }

.btt-panel {
	justify-content: right; }

.contact-row-mob,
.lnks-row-mob,
.hours-row-mob {
	position: relative;
	display: flex;
	width: 100%;
	padding: 1rem 0; }

.contact-row-mob{
	display: block; }

.location-mob,
.phone-mob {
	display: flex;
	width: 50%;
	justify-content: left;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	 }

.location-mob p,
.phone-mob p {
	margin-bottom: 0; }

.links-row-left,
.links-row-right {
	display: flex;
	width: 50%;
	justify-content: left;
	gap: 20px; }

.menu-footer-links-container .menu {
	display: block; }

.footer-link-text a {
	padding: 0.7rem 0;
	font-size: 14px;
	font-weight: 600; }

.small-print-row-mob,
.credits-row-mob {
	position: relative;
	display: flex;
	width: 100%;
	padding: 1rem 0; }

.small-print-row-mob {
	border-bottom: 0.5px solid #ccc;
	gap: 24px;
	align-items: center; }

.small-print-row-mob p,
.credits-row-mob a {
	font-size: 12px;
	color: #fff;
	opacity: 0.8; }

img.footer-logo {
	margin-left: 0; }

img.footer-logo.first {
	height: 29px; }

}

@media screen and (max-width: 580px) {
.navigation-container-mobile {
	padding: 1rem; }

.nav-container-right {
	gap: .2rem; }

#menuToggle input {
	width: 30px;
	height: 30px;
	margin: 0; }

.text-image.container-large {
	padding: 0.5rem 1rem 0rem 1rem; }

.text-image.container {
	padding-bottom: 1rem; }

.services-carousel.complete {
	padding: 2rem 0; }

.ag-shop-card_body {
	width: 100%;
	height: 198px; }

.services-carousel.complete {
	padding: 3.125rem 0; }

.services-text.container {
	padding-top: 3.375rem;
	padding-left: 1.25rem;
	padding-right: 1.25rem; }

.services-slider-container {
	padding: 2.5rem 0 4rem 0; }

.js-carousel-cell {
	width: 97.95%; }

.page-subheader {
	padding: 0 1rem 1rem 1rem; }

.staff-box {
	text-align: center; }

.staff-box-inside {
	padding: 1.5rem 0;
	width: 100%;
	max-width: 100%; }

.staff-box-inside.four-col {
	max-width: 45%; }

.link-box-inside {
	padding: 1.5rem 0;
	width: 100%;
	max-width: 100%; }

.link-box-inside.four-col {
	max-width: 45%; }

.staffinfo {
	text-align: left; }
}

.bsd-tab-area li{
	margin-bottom: 10px; }

.bsd-tab-area li button {
	margin: .5rem 0; }

.text-image.container-large .img-container-body{
	margin-bottom: 1.25rem; }

.single-doctors .staff-image-container{
	margin: 2rem; }

.single-doctors .text-image.container{
	max-width: 100%;
	padding: 2rem; }

.pum-theme-cutting-edge .pum-title {
	padding: 25px !important;
  background-image: url('../assets/images/header_panel.png') !important;
  background-size: 100% auto !important; /* Adjusts the image to cover the entire div */
  background-repeat: no-repeat !important;  /* Prevents the image from repeating */
  background-position: top !important;  /* Centers the image within the div */
  padding-top: 32vh !important; }

@media screen and (max-width: 1024px) {
	.pum-title {
   padding-top: 12vh !important;
	}
}

@media screen and (max-width: 900px) {
	.pum-title {
   padding-top: 17vh !important;
	}
}

@media screen and (max-width: 500px) {
	.pum-title {
   padding-top: 12vh !important;

	}
}

.pum-container{
	padding: 0 !important;
}

.pum-content {
	padding: 25px !important;
}

//*! Flickity v2.3.0
https://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: #333; }

.flickity-button:hover {
  background: white;
  cursor: pointer; }

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F; }

.flickity-button:active {
  opacity: 0.6; }

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none; }

.flickity-button-icon {
  fill: currentColor; }

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%); }

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px; }

.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px; }

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%; }

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1; }

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer; }

.flickity-page-dots .dot.is-selected {
  opacity: 1; }

@media screen and (max-width: 580px) {
.flickity-prev-next-button{
	top: 59%; }
}

.accordion-menu .has-submenu > a::after {
  content: "▼";
  float: right; }

div.wpforms-container-full button {
	background: #8944B7 !important;
  padding: 14px 42px 15px 42px !important;
  border-radius: 30px !important; }

div.wpforms-container-full button[type=submit]:hover{
	background: #8944B7 !important;
	padding: 14px 42px 15px 42px !important;
  border-radius: 30px !important; }

 .nemc-icon::before {
 	padding-left: 30px;
  content: " ";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("https://northendmedical.com.au/wp-content/themes/nem/assets/images/footer/footer-logomark.svg") no-repeat center center;
  background-size: contain;
  filter: brightness(0) invert(1);
}
.nemc-icon{
		font-size: 14px;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    padding: 0px;
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    font-family: Lato-Bold, sans-serif;
    font-style: normal;
    font-weight: 400;
  }

.page-template-template-app article.page{
		position: relative;
    background: transparent !important;;
    z-index: 1;
} 

.page-template-template-app img.header-logo{
        display: block;
    margin: 0 auto;
    max-width: 500px;
    height: auto;
    width: 410px;
} 

.page-template-template-app .nav-logo {
     position: static;          /* override any absolute positioning */
    margin: 0 auto;
    top: auto;
    transform: none;           /* remove the translateY issue */
    max-width: 500px;          /* make logo bigger */
    height: auto;
} 

.page-template-template-app .navigation-container-mobile{
	height: 125px;
	display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
    padding: 12px 16px;
}

.page-template-template-app .navigation-container-mobile img {
    max-width: 400px;   /* bigger logo */
    height: auto;
  }

.page-template-template-app .nav-container-left {  
	width: 95%;
}

.page-template-template-app .wpforms-icon-choices-item.wpforms-selected{
	--wpforms-icon-choices-color: #FFCD00 !important;
}

.staff-box-inside img {
    width: 100%;
    aspect-ratio: 4 / 5;   /* tweak to 3/4 or 1/1 if you prefer */
    object-fit: cover;      /* crops edges so all look uniform */
    display: block;
}

/* =====================================================
   Flexible Content: Card Grid (fc-card_grid.php)
   ===================================================== */
.card-grid {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f6fb 0%, #f0f7f7 100%);
}

.card-grid .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.card-grid__header {
    text-align: center;
    margin-bottom: 36px;
}

.card-grid__title {
    font-size: 30px;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.card-grid__intro {
    font-size: 16px;
    line-height: 1.65;
    color: #555;
    max-width: 640px;
    margin: 0 auto;
}

.card-grid__row {
    justify-content: center;
    align-items: stretch;
}

.card-grid__cell {
    display: flex;
    padding: 12px;
}

.card-grid__card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 36px 26px 30px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 3px solid #74C5C1;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-grid__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(137, 68, 183, 0.12);
}

.card-grid__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #8944B7;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card-grid__icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* force white icon over colored circle */
}

.card-grid__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.card-grid__heading {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #2d2d2d;
    margin: 0 0 14px;
    min-height: 48px;
}

.card-grid__price-row {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}

.card-grid__price-label {
    font-weight: 400;
    color: #777;
}

.card-grid__price-value {
    font-weight: 700;
    font-size: 20px;
    color: #8944B7;
}

.card-grid__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #8944B7;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 13px 32px;
    border-radius: 50px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    width: 100%;
    max-width: 220px;
}

/* Override HotDoc widget injected styles on card-grid buttons */
.card-grid .card-grid__button[data-hotdoc-button],
.card-grid .card-grid__button.icon-hotdoc,
.card-grid .card-grid__button,
section.card-grid [data-hotdoc-button],
section.card-grid [data-hotdoc-button].large {
    background-color: #8944B7 !important;
    padding: 14px 32px !important;
    padding-left: 52px !important;
    display: inline-flex !important;
    border-radius: 50px !important;
    min-height: auto !important;
    line-height: 1.3 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.card-grid__button:hover,
.card-grid .card-grid__button[data-hotdoc-button]:hover,
.card-grid .card-grid__button.icon-hotdoc:hover,
section.card-grid [data-hotdoc-button]:hover {
    background-color: #7536a3 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(137, 68, 183, 0.3);
    color: #ffffff !important;
}

/* Style the HotDoc cross icon inside card-grid buttons — match header style */
.card-grid .card-grid__button.icon-hotdoc,
.card-grid .card-grid__button[data-hotdoc-button] {
    position: relative !important;
    padding-left: 52px !important;
}
.card-grid .card-grid__button.icon-hotdoc::before,
.card-grid .card-grid__button[data-hotdoc-button]::before {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
    background-size: 18px 18px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 6px !important;
    filter: brightness(0) invert(1) !important;
}

.card-grid__button--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* — 2-column layout: wider cards so text stays on one line */
.card-grid__row--cols-2 .card-grid__cell {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.card-grid__row--cols-2 .card-grid__heading {
    font-size: 17px;
    font-weight: 700;
    min-height: 0;
    letter-spacing: -0.2px;
}
.card-grid__row--cols-2 .card-grid__card {
    padding: 40px 40px 32px;
}
.card-grid__row--cols-2 .card-grid__icon {
    width: 90px;
    height: 90px;
}
.card-grid__row--cols-2 .card-grid__icon img {
    width: 48px;
    height: 48px;
}
.card-grid__row--cols-2 .card-grid__price-value {
    font-size: 22px;
}

/* — Tablet — collapse 4/3-col to 2-up (handled in 880px mobile block below) */

/* — Mobile — stack to 2-up on small tablets, 1-up on phones */
@media screen and (max-width: 880px) {
    .card-grid__row--cols-4 .card-grid__cell,
    .card-grid__row--cols-3 .card-grid__cell {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* — Phones (≤640px) — general compact styling */
@media screen and (max-width: 640px) {
    .card-grid {
        padding: 36px 0;
    }
    .card-grid .container {
        padding: 0 16px;
    }
    .card-grid__title {
        font-size: 22px;
    }
    .card-grid__header {
        margin-bottom: 20px;
    }
    .card-grid__cell {
        padding: 8px;
    }
    /* Force 1-up on all phones (iPhone Pro Max = 430px, SE = 375px) */
    .card-grid__row--cols-2 .card-grid__cell,
    .card-grid__row--cols-3 .card-grid__cell,
    .card-grid__row--cols-4 .card-grid__cell {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .card-grid__card {
        flex-direction: row;
        text-align: left;
        align-items: center;
        padding: 20px;
        gap: 18px;
        border-bottom: none;
        border-left: 3px solid #74C5C1;
        border-radius: 12px;
    }
    .card-grid__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .card-grid__icon img {
        width: 30px;
        height: 30px;
    }
    /* Text content flows beside icon on mobile */
    .card-grid__body {
        align-items: flex-start;
    }
    .card-grid__heading {
        min-height: 0;
        margin: 0 0 6px;
        font-size: 15px;
    }
    .card-grid__price-row {
        margin: 0 0 10px;
        justify-content: flex-start;
        font-size: 14px;
    }
    .card-grid__price-value {
        font-size: 17px;
    }
    .card-grid__button,
    .card-grid .card-grid__button[data-hotdoc-button],
    section.card-grid [data-hotdoc-button] {
        padding: 10px 22px !important;
        padding-left: 22px !important;
        font-size: 13px !important;
        max-width: none;
        width: auto;
    }
    .card-grid .card-grid__button.icon-hotdoc,
    .card-grid .card-grid__button[data-hotdoc-button] {
        padding-left: 40px !important;
    }
    .card-grid__row--cols-2 .card-grid__card {
        padding: 20px;
    }
    .card-grid__row--cols-2 .card-grid__icon {
        width: 60px;
        height: 60px;
    }
    .card-grid__row--cols-2 .card-grid__icon img {
        width: 30px;
        height: 30px;
    }
}

/* =====================================================
   Contact Us – Google Map embed (rendered via [nemc_contact_map])
   ===================================================== */
.mapouter { position: relative; text-align: right; width: 100%; height: 559px; }
.gmap_canvas { overflow: hidden; background: none !important; width: 100%; height: 559px !important; }
.gmap_iframe { height: 559px !important; width: 100%; }

/* — Contact Us right-column content (intro + form + emergency) — */
.contact-form-intro {
    color: #4c2177;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 20px;
}
.contact-emergency {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #cccccc;
}
.contact-emergency__title {
    color: #2d2926;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}
.contact-emergency__phone {
    color: #2d2926;
    font-size: 14px;
    margin: 0;
}
.contact-emergency__phone a {
    color: #2d2926;
    text-decoration: underline;
}

/* Stop equal-height cells from expanding past the map.
   Scoped to the Contact Us section only so other text_text rows (image+text
   layouts on MyMedicare, homepage, etc.) keep their original equal-height behaviour. */
.page-id-35 #contact-us .grid-x,
.text-image#contact-us .grid-x {
    align-items: flex-start;
}

@media screen and (max-width: 880px) {
    .mapouter,
    .gmap_canvas,
    .gmap_iframe {
        height: 380px !important;
    }
    .page-id-35 #contact-us .medium-6.cell + .medium-6.cell,
    .text-image#contact-us .medium-6.cell + .medium-6.cell {
        margin-top: 24px;
    }
}

/* =====================================================
   Card Grid: optional elements (price_original / description / learn_more)
   Note: .card-grid__price-row already defined above (flex/baseline/wrap).
   ===================================================== */
.card-grid__price-original {
    display: inline-block;
    margin-right: 0.25rem;
    font-size: 1.125rem;
    color: #6b7280;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(107, 114, 128, 0.7);
    opacity: 0.75;
    vertical-align: baseline;
}

.card-grid__description {
    margin: 0.5rem auto 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #4b5563;
    max-width: 36ch;
}

.card-grid__learn-more {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #8944B7; /* NEMC brand purple (matches .card-grid__button) */
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.card-grid__learn-more:hover,
.card-grid__learn-more:focus-visible {
    text-decoration: underline;
    opacity: 0.85;
    color: #8944B7;
}
.card-grid__learn-more span {
    display: inline-block;
    transition: transform 0.15s ease;
}
.card-grid__learn-more:hover span {
    transform: translateX(3px);
}
