/* 02-base-uncode.css — Goodman Dermatology base + Uncode overrides
   Sources: style.css (general resets, owl dots, layout components)
            aqua.css §1 (general), §10 (marquee), §15 (utility)        */

/* ==========================================================================
   Hero Carousel Heading (style.css:24-28)
   ========================================================================== */

.custom-hero-carousel .heading-text .h1 strong {
	display: block;
	clear: both;
	font-weight: 500 !important;
}

/* ==========================================================================
   Owl Dots (style.css:421-524)
   ========================================================================== */

/* Owl - Dots */
.owl-dots {
	display: inline-block!important;
	line-height: .5em;
	bottom: 0!important;
	opacity: 1!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
	margin-bottom: -8px;
}

.owl-dots button.owl-dot {
	width: 48px;
	height: 6px;
	background: #1c1d1e26; 
	border-radius: 360px;
	margin: 0 4px 8px 4px;
}

.owl-dots button.owl-dot span {
	display: none!important;
}

.owl-dots button.owl-dot:hover,
.owl-dots button.owl-dot:focus,
.owl-dots button.owl-dot:active,
.owl-dots button.owl-dot.active {
	background: var(--uncode-palette-color-589256); 
}

.owl-dots.disabled {
	display: none;
}

.owl-dots-align-left .owl-dots button.owl-dot {
	margin: 0 8px 8px 0;
}

.owl-dots-align-right .owl-dots button.owl-dot {
	margin: 0 0 8px 8px;
}

@media (max-width: 1199px) {
.owl-dots button.owl-dot {
	width: 40px;
	height: 5px;
}
}

@media (max-width: 767px) {
.owl-dots {
	margin-top: 40px;
}
	
.owl-dots button.owl-dot {
	width: 32px;
	height: 4px;
}
}


/*= Custom - Carousel */
.custom-carousel .owl-item {
	padding-left: 36px;
	padding-right: 36px;
}

.custom-carousel .owl-dots {
	position: relative;
	transition: none;
	margin-top: 46px;
}


.white-dots.fuzzy-bg .owl-dots button.owl-dot {
    background: #d1d1d1;
}

.white-dots.fuzzy-bg .owl-dots button.owl-dot:hover, 
.white-dots.fuzzy-bg .owl-dots button.owl-dot:focus, 
.white-dots.fuzzy-bg .owl-dots button.owl-dot:active, 
.white-dots.fuzzy-bg .owl-dots button.owl-dot.active {
    background: #000000;
}
@media (max-width: 767px) {
	.fuzzy-bg .text-lead p {
		display:none !important;
	}  
}



/* White Owl - Dots */
.white-dots .owl-dots button.owl-dot {
	background: rgba(255, 255, 255, 0.4); 
}

.white-dots .owl-dots button.owl-dot:hover,
.white-dots .owl-dots button.owl-dot:focus,
.white-dots .owl-dots button.owl-dot:active,
.white-dots .owl-dots button.owl-dot.active {
	background: #ffffff; 
}

/* ==========================================================================
   Accordion + Custom Split Heading (style.css:1043-1095)
   ========================================================================== */

/* Accordion */
body:not(.rtl) .uncode-accordion:not(.none-signed) .panel-title > a > span {
	padding-right: 45px!important;
}

/* Custom Splt - Heading */
.custom-split-heading > div > div > div {
	width: 60%!important;
}

.custom-split-heading > div > div > div:nth-child(even) {
	width: 40%!important;
}

@media (max-width: 959px) {
.custom-split-heading > div > div {
	display: flex!important;
	flex-wrap: wrap!important;
}

.custom-split-heading > div > div > div {
	width: 60%!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
}

.custom-split-heading > div > div > div:nth-child(even) {
	width: 40%!important;
}
}

@media (max-width: 767px) {
.custom-split-heading > div > div {
	margin-bottom: -25px!important;
}

.custom-split-heading > div > div > div {
	width: 100%!important;
	margin-bottom: 25px!important;
}

.custom-split-heading > div > div > div:nth-child(even) {
	width: 100%!important;
}

.custom-split-heading > div > div > div:nth-child(even) .btn-container {
	text-align: left!important;
}

.custom-split-heading > div > div > div:nth-child(even) .btn-container .btn {
	transform-origin: left!important;
}	
}

/* ==========================================================================
   Custom Y-Padding + Uncode Slider Text (style.css:1119-1139)
   ========================================================================== */

/* Custom Y - Paddings Small */
.custom-y-padding-sml {
	padding-top: 14px!important;
	padding-bottom: 14px!important;
}


/* Uncode - Slider */
@media (max-width: 1499px) {
.uncode-slider .text-lead > * {
	font-size: 18px;
	line-height: 1.50;
}
}

@media (max-width: 959px) {
.uncode-slider .text-lead > * {
	font-size: 18px;
	line-height: 1.50;
}
}

/* ==========================================================================
   Custom Info Boxes (style.css:1250-1311)
   ========================================================================== */

/* Custom Info - Box */
.custom-info-boxes > div > div > div .icon-box {
	display: flex!important;
	flex-wrap: wrap!important;
	align-items: center;
	padding: 0!important;
	margin: 0!important;
}

.custom-info-boxes > div > div > div .icon-box .icon-box-icon {
	width: 64px!important;
	padding: 0!important;	
	margin: 0 -64px 0 0!important;
}

.custom-info-boxes > div > div > div .icon-box .icon-box-content {
	display: block!important;
	text-align: left!important;
	padding: 0 0 0 85px!important;	
	margin: 0!important;
}

.custom-info-boxes > div > div > div .uncont {
	display: flex!important;
	flex-wrap: wrap!important;
	align-items: center;
	justify-content: center;
	padding: 0!important;
	margin: 0 -40px -40px -40px!important;
}

.custom-info-boxes > div > div > div .uncont > div {
	padding: 0 40px 40px 40px!important;
	margin: 0!important;
}

@media (max-width: 959px) {
.custom-info-boxes > div > div > div .uncont {
	margin: 0 -25px -40px -25px!important;
}

.custom-info-boxes > div > div > div .uncont > div {
	padding: 0 25px 40px 25px!important;
}
}

@media (max-width: 767px) {
.custom-info-boxes > div > div > div .uncont {
	margin: 0 -20px -30px -20px!important;
}

.custom-info-boxes > div > div > div .uncont > div {
	padding: 0 20px 30px 20px!important;
}
}

@media (max-width: 569px) {
.custom-info-boxes > div > div > div .uncont {
	justify-content: flex-start;
}
}

/* ==========================================================================
   Custom Three-Column + Four-Column (style.css:1313-1393)
   ========================================================================== */

/* Custom Three - Column */
.custom-three-col > div > div > div .uncont > div {
	margin-top: 25px!important;
}

.custom-three-col > div > div > div .uncont > div:first-child {
	margin-top: 0!important;
}

@media (max-width: 959px) {
.custom-three-col > div > div {
	display: flex!important;
	flex-wrap: wrap!important;
	margin: 0 -18px!important;
}

.custom-three-col > div > div > div {
	width: 33.33333333333333%!important;
	padding: 0 18px!important;
}
}

@media (max-width: 767px) {
.custom-three-col > div > div {
	margin-bottom: -40px!important;
}

.custom-three-col > div > div > div {
	width: 100%!important;
	margin-bottom: 40px!important;
}
}


/* Custom Four - Column */
.custom-four-col > div > div {	
	margin: 0 -25px!important;
}

.custom-four-col > div > div > div {
	border-right: 1px solid #d2d2d2;
	padding: 0 25px!important;
}

.custom-four-col > div > div > div:nth-child(4) {
	border-right: none;
}

.custom-four-col > div > div > div .uncont > div {
	margin-top: 25px!important;
}

.custom-four-col > div > div > div .uncont > div:first-child {
	margin-top: 0!important;
}

@media (max-width: 959px) {
.custom-four-col > div > div {
	display: flex!important;
	flex-wrap: wrap!important;
	margin: 0 -20px -50px -20px!important;
}

.custom-four-col > div > div > div {
	width: 50%!important;
	height: auto;
	padding: 0 20px!important;
	margin: 0 0 50px 0!important;
}

.custom-four-col > div > div > div:nth-child(2),
.custom-four-col > div > div > div:nth-child(4) {
	border-right: none;
}

.custom-four-col > div > div .h1 {
	font-size: 50px;
	line-height: 58px; 
}
}

/* ==========================================================================
   Custom Testimonial Heading (style.css:1395-1399)
   ========================================================================== */

/* Custom Testimonial - Heading */
.custom-testimonial-heading h4,
.custom-testimonial-heading .h4 {
	letter-spacing: 4px;
}

/* ==========================================================================
   Custom FAQs Heading + CTA Banner (style.css:1402-1477)
   ========================================================================== */

/* Custom Splt - Heading FAQs */
@media (max-width: 959px) {
.custom-faqs-heading > div > div {
	display: flex!important;
	flex-wrap: wrap!important;
}

.custom-faqs-heading > div > div > div {
	width: 30%!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
}

.custom-faqs-heading > div > div > div:nth-child(even) {
	width: 70%!important;
}
}


/* CTA - Banner */
.cta-banner {
	padding-top: 80px!important;
	padding-bottom: 80px!important;
}

.cta-banner .btn-white:hover,
.cta-banner .btn-white:focus,
.cta-banner .btn-white:active {
	color: var(--uncode-palette-color-210407) !important;
	border-color: var(--uncode-palette-color-210407) !important;
}

.cta-banner .row-parent .uncont > div.vc_custom_heading_wrap  {
	margin-bottom: 40px!important;
}

@media (max-width: 1199px) {
.cta-banner {
	padding-top: 54px!important;
	padding-bottom: 54px!important;
}

.cta-banner .row-parent .uncont {
	max-width: 600px!important;
}
}

@media (max-width: 959px) {
.cta-banner .row-parent .uncont:not(.overflow-hidden-mask) {
	max-width: 600px!important;
}
}

@media (max-width: 767px) {
.cta-banner {
	padding-top: 24px!important;
	padding-bottom: 24px!important;
}

.cta-banner .row-parent .uncont,
.cta-banner .row-parent .uncont:not(.overflow-hidden-mask) {
	max-width: 500px!important;
}

.cta-banner .row-parent .uncont > div {
	margin-top: 0px!important;
}

.cta-banner .row-parent .uncont > div:first-child {
	margin-top: 0!important;
}

.cta-banner .row-parent .uncont > div.vc_custom_heading_wrap  {
	margin-bottom: 30px!important;
}
}

/* ==========================================================================
   Services Slider (style.css:1480-1729)
   ========================================================================== */

/* Services - Slider */
.services-slider {
	width: 100%;
	float: none;
	display: inline-block;
	vertical-align: top;
	position: relative;
}

.services-slider .item {
	width: 100%;
	float: none;
	display: inline-block;
	vertical-align: top;
}

.services-slider .item .box {
	width: 100%;
	height: 100%;
	float: left;
	font-weight: inherit;
	color: inherit;
	text-decoration: none;
	text-align: center;
}

.services-slider .item .box h4,
.services-slider .item .box .h4 {
	padding: 0 0 20px 0;
	margin: 0;
}

.services-slider .item .box h4:last-child,
.services-slider .item .box .h4:last-child {
	padding-bottom: 0;
}

.services-slider .item .box .sub-heading, .services-slider .tmb-light.tmb-content-under.tmb .t-entry p.t-entry-meta a:not(:hover) {
	font-weight: 700;
	font-size: 16px;
	color: var(--uncode-palette-color-210407);
	line-height: 22px;
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.services-slider .item .box .figure {
	width: 100%;
	text-align: center;
	overflow: hidden;
	margin-bottom: 25px;
}

.services-slider .item .box .figure:last-child {
	margin-bottom: 0;
}

.services-slider .item .box .figure img {
	width: 100%;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.services-slider .item .box:hover .figure img,
.services-slider .item .box:focus .figure img,
.services-slider .item .box:active .figure img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.services-slider .owl-nav {
	position: absolute;
	bottom: -22px;
	left: 0;
	margin: 0 -8px;
}

.services-slider .owl-nav .owl-prev,
.services-slider .owl-nav .owl-next { 
	width: 56px; 
	height: 56px;
	display: inline-flex!important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	vertical-align: top;
	font-weight: inherit;
	font-size: 20px;
	color:  var(--uncode-palette-color-589256);
	line-height: 1em;
	text-decoration: none;
	text-align: center;
	background: url(img/chevron-left.svg) no-repeat center center; 
	background-size: auto 20px; 
	border: 1px solid #1c1d1e26;
	border-radius: 360px;
	text-indent: 9999px;
	cursor: pointer;
	overflow: hidden!important;
	transition: none!important;
	position: relative!important;
	top: 0!important;
	left: 0;
	right: 0;	
	outline: 0;
	padding: 0;
	z-index: 10;
	opacity: 1!important;
	margin: 0 8px;
}

.services-slider .owl-nav .owl-next {
	background-image: url(img/chevron-right.svg); 
}

.services-slider .owl-nav .owl-prev:hover,
.services-slider .owl-nav .owl-prev:focus,
.services-slider .owl-nav .owl-prev:active,
.services-slider .owl-nav .owl-next:hover,
.services-slider .owl-nav .owl-next:focus,
.services-slider .owl-nav .owl-next:active {
	color: #ffffff;
	background-image: url(img/chevron-left-white.svg); 
	background-color: var(--uncode-palette-color-589256);
	border-color: var(--uncode-palette-color-589256);
	outline: 0;
}

.services-slider .owl-nav .owl-next:hover,
.services-slider .owl-nav .owl-next:focus,
.services-slider .owl-nav .owl-next:active {
	background-image: url(img/chevron-right-white.svg); 
}

.services-slider .owl-nav .owl-prev.disabled,
.services-slider .owl-nav .owl-next.disabled {
	cursor: not-allowed;
	filter: alpha(opacity=65);
	opacity: .65!important;
}

.services-slider .owl-dots {
	text-align: right;
	position: relative;
	transition: none;	
	margin-top: 64px;
	margin-bottom: -8px;
}

.services-slider .owl-dots button.owl-dot {
	margin: 0 0 8px 8px;
}

.services-slider .owl-controls-out {
	width: 100%;
	float: none;
	display: inline-block;
	vertical-align: top;
}

.services-slider .owl-controls-inn {
	width: 100%;
	float: none;
	display: inline-block;
	vertical-align: top;
}

.services-slider .owl-stage-outer {
	overflow: visible;
}

.services-slider .owl-stage {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

@media (max-width: 1199px) {
.services-slider .owl-nav {
	bottom: -18px;
}

.services-slider .owl-nav .owl-prev,
.services-slider .owl-nav .owl-next { 
	width: 48px; 
	height: 48px;
	background-size: auto 18px; 
}

.services-slider .owl-dots {
	margin-top: 56px;
}
}

@media (max-width: 767px) {
.services-slider .owl-controls-out {
	text-align: center;
}

.services-slider .owl-controls-inn {
	width: auto;
	position: relative;
	padding: 2px 60px 0 60px;
	margin-top: 50px;
}

.services-slider .owl-nav {
	position: static;
	bottom: 0;
	left: 0;
	margin: 0;
}

.services-slider .owl-nav .owl-prev,
.services-slider .owl-nav .owl-next { 
	width: 40px; 
	height: 40px;
	background-size: auto 16px;
	position: absolute!important;
	top: 50%!important;
	left: 0;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	-moz-transform: translate(0, -50%);
	-o-transform: translate(0, -50%);
	transform: translate(0, -50%);
	margin: 0; 
}

.services-slider .owl-nav .owl-next { 
	left: auto;
	right: 0;
}

.services-slider .owl-dots {
	text-align: center;
	margin-top: 0;
	margin-bottom: -8px;
}

.services-slider .owl-dots button.owl-dot {
	margin: 0 4px 8px 4px;
}
}

/* ==========================================================================
   Before/After Slider — BScroll Box (style.css:1732-1807)
   ========================================================================== */

/* BScroll - Box */
.bscroll-box {
	width: 100%;
	line-height: .5em; 
	position: relative;
	overflow: hidden;
	--position: 50%; 
}

.bscroll-box .image-container {
	width: 100%; 
	float: left;
}

.bscroll-box .slider-image {
	width: 100%; 
	float: left;
}

.bscroll-box .image-after img { 
	width: 100%;
}

.bscroll-box .image-before {
	width: var(--position); 
	height: 100%; 
	float: left; 	
	overflow: hidden;
	position: absolute; 
	top:0; 
	left:0;
}

.bscroll-box .image-before img { 
	max-width: inherit; 
	height: 100%;
}

.bscroll-box .comparison-slider {
	width: 100%;
	height: 100%;
	inset: 0;
	position: absolute;
	cursor: pointer;
	opacity: 0;
}

.bscroll-box .slider-line {
	width: 2px;
	height: 100%;
	inset: 0;
	background: #ffffff;
	position: absolute;
	left: var(--position);
	transform: translateX(-50%);
	pointer-events: none;
}

.bscroll-box .slider-button { 
	width: 48px; 
	height: 48px; 
	float: left;
	background: #ffffff url(img/icon-arrows.png) no-repeat center center; 
	background-size: auto 24px; 
	border: 1px solid #0000001f;
	border-radius: 360px;
	position: absolute;
	top: 50%;
	left: var(--position);
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* ==========================================================================
   Single Service Accordion (style.css:1809-1828)
   ========================================================================== */

/* Custom Services Accordion */
.single-service .uncode-accordion {
	/* max-width: 924px; */
}
.single-service .uncode-accordion .panel-title > a {
	padding: 36px 0 !important;
}
.single-service .uncode-accordion .panel-title > a span {
	font-size: 24px !important;
	font-family: Literata !important;
}

.single-service .uncode-accordion .panel-title > a > span:after {
	content: "\e114";
	font-size: 1em;
}
.single-service .uncode-accordion .panel-title.active > a span:after {
    transform: translateY(-50%) rotate(45deg);
}

/* ==========================================================================
   Skin Cancer & Medical Dermatology Expertise (style.css:1830-1920)
   ========================================================================== */

/* Main heading: 80px → 64px, -2px tracking → -1px */
.skin-cancer-expertise h2.h1 {
	font-size: 64px !important;
	line-height: 72px !important;
	letter-spacing: -1px !important;
	color: #252d30 !important;
}
@media (max-width: 959px) {
	.skin-cancer-expertise h2.h1 {
		font-size: 36px !important;
		line-height: 44px !important;
		letter-spacing: -0.5px !important;
	}
}
@media (max-width: 767px) {
	.skin-cancer-expertise h2.h1 {
		font-size: 32px !important;
		line-height: 38px !important;
	}
}

/* Service headings: 40px → 32px per Figma Headline/02 */
.skin-cancer-expertise .vc_row.row-internal h3 {
	font-size: 32px !important;
	line-height: 40px !important;
	letter-spacing: 0 !important;
}

/* Service body copy: grey → #252D30, 17px → 16px */
.skin-cancer-expertise .vc_row.row-internal p {
	font-size: 16px !important;
	line-height: 24px !important;
	color: #252d30 !important;
}

/* Service rows: Use Uncode's margin-top (36px) plus padding for the visual gap */
.skin-cancer-expertise .vc_row.row-internal {
	position: relative;
	padding-top: 18px !important;
	padding-bottom: 18px !important;
	padding-right: 64px !important;
	transition: opacity 0.3s ease;
}

/* First row top alignment */
.skin-cancer-expertise .vc_row.row-internal:first-child {
	padding-top: 0 !important;
}

/* Last row bottom alignment */
.skin-cancer-expertise .vc_row.row-internal:last-child {
	padding-bottom: 0 !important;
}

/* Divider line floated between the 36px Uncode gap */
.skin-cancer-expertise .vc_row.row-internal + .vc_row.row-internal::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: -18px; /* middle of Uncode's 36px margin */
	height: 1px;
	background: rgba(21, 34, 41, 0.2);
}

/* Right-pointing chevron arrow on each service row */
.skin-cancer-expertise .vc_row.row-internal::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 1.5px solid #252d30;
	border-right: 1.5px solid #252d30;
	transform: translateY(-50%) rotate(45deg);
	pointer-events: none;
}

/* Subtle hover on expertise rows */
.skin-cancer-expertise .vc_row.row-internal:hover {
	opacity: 0.7;
}

/* Learn More button: dark fill → ghost outline per Figma */
.skin-cancer-expertise .btn-container .btn {
	background-color: transparent !important;
	border: 2px solid rgba(21, 34, 41, 0.2) !important;
	color: #252d30 !important;
	border-radius: 28px !important;
	height: 56px !important;
	line-height: 52px !important;
	padding: 0 24px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
}

.skin-cancer-expertise .btn-container .btn:hover,
.skin-cancer-expertise .btn-container .btn:focus {
	background-color: #252d30 !important;
	border-color: #252d30 !important;
	color: #ffffff !important;
}

/* ==========================================================================
   FAQ Accordion (style.css:1922-2036)
   ========================================================================== */

/* Target the FAQs row heading using the existing background and structure classes */
.style-color-154758-bg .vc_custom_heading_wrap h2.h1 {
	font-family: 'Lora', sans-serif !important;
	font-size: 80px !important;
	line-height: 88px !important;
	letter-spacing: -2px !important;
	color: #252d30 !important;
	font-weight: 400 !important;
}

/* Responsive heading */
@media (max-width: 959px) {
	.style-color-154758-bg .vc_custom_heading_wrap h2.h1 {
		font-size: 56px !important;
		line-height: 64px !important;
	}
}
@media (max-width: 767px) {
	.style-color-154758-bg .vc_custom_heading_wrap h2.h1 {
		font-size: 40px !important;
		line-height: 48px !important;
	}
}

/* Accordion Container */
.faq.uncode-accordion {
	border: none !important;
	/* Removed max-width and margin to leverage Uncode's layout/margins natively */
}

/* Accordion Section/Panel */
.faq.uncode-accordion .panel {
	border: none !important;
	border-top: 1px solid rgba(21, 34, 41, 0.2) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Bottom border for the last item */
.faq.uncode-accordion .panel:last-child {
	border-bottom: 1px solid rgba(21, 34, 41, 0.2) !important;
}

/* Accordion Header (Question) */
.faq.uncode-accordion .panel-title > a,
.faq.uncode-accordion .panel-title > a > span {
	font-family: 'Lora', sans-serif !important;
	font-size: 24px !important;
	line-height: 32px !important;
	font-weight: 400 !important;
	color: #252d30 !important;
	text-decoration: none !important;
	background: transparent !important;
	transition: all 0.3s ease;
}

/* Active State: change color */
.faq.uncode-accordion .panel-title.active > a,
.faq.uncode-accordion .panel-title > a[aria-expanded="true"],
.faq.uncode-accordion .panel-title.active > a > span,
.faq.uncode-accordion .panel-title > a[aria-expanded="true"] > span {
	color: #286179 !important;
}

/* Responsive Accordion Header */
@media (max-width: 767px) {
	.faq.uncode-accordion .panel-title > a,
	.faq.uncode-accordion .panel-title > a > span {
		font-size: 20px !important;
		line-height: 28px !important;
	}
}

/* Icon colors */
.faq.uncode-accordion .panel-title > a > span:after,
.faq.uncode-accordion .panel-title > a::after {
	color: #252d30 !important;
}

.faq.uncode-accordion .panel-title.active > a > span:after,
.faq.uncode-accordion .panel-title > a[aria-expanded="true"] > span:after,
.faq.uncode-accordion .panel-title.active > a::after,
.faq.uncode-accordion .panel-title > a[aria-expanded="true"]::after {
	color: #286179 !important;
}

/* Accordion Body (Answer) */
.faq.uncode-accordion .panel-collapse .panel-body {
	border: none !important;
	background: transparent !important;
}

.faq.uncode-accordion .panel-body .uncode_text_column p,
.faq.uncode-accordion .panel-body .uncode_text_column a {
	font-family: 'Satoshi', sans-serif !important;
	font-size: 16px !important;
	line-height: 24px !important;
	font-weight: 400 !important;
	color: #252d30 !important;
	margin-bottom: 0 !important;
}

.faq.uncode-accordion .panel-body .uncode_text_column p + p {
	margin-top: 16px !important;
}

.faq.uncode-accordion .panel-body .uncode_text_column a {
	color: #286179 !important;
	text-decoration: underline !important;
}

/* ==========================================================================
   aqua.css §1 — General: Miscellaneous Resets & Dark-Section Overrides
   ========================================================================== */

.uncode-missing-media {display:none !important;}

.cat-all-promotions .blog-book-appt, .cat-all-events .blog-book-appt {display: none !important;}

.location-crumb a, .location-crumb a:hover, .style-dark .breadcrumb > li a, .style-dark .breadcrumb {color: #fff !important;}
.style-dark .breadcrumb > li a:hover {text-decoration: underline;}

.style-light .breadcrumb > li a, .style-light .breadcrumb {color: #000 !important;}

/* Override purple (#96556e) accent hover color in dark sections to white */
.style-dark a:not(.btn-text-skin):hover,
.style-light .style-dark a:not(.btn-text-skin):hover,
.style-dark a:not(.btn-text-skin):focus,
.style-light .style-dark a:not(.btn-text-skin):focus,
.style-dark a.active,
.style-light .style-dark a.active,
.style-dark .link-hover,
.style-light .style-dark .link-hover,
.style-dark .tmb .t-entry-text .t-entry-title a:hover,
.style-light .style-dark .tmb .t-entry-text .t-entry-title a:hover,
.style-dark .tmb .t-entry-text .t-entry-title a:focus,
.style-light .style-dark .tmb .t-entry-text .t-entry-title a:focus,
.style-dark .widget_nav_menu li.active > a,
.style-light .style-dark .widget_nav_menu li.active > a,
.style-dark .ui-link:hover,
.style-light .style-dark .ui-link:hover,
.style-dark .ui-link:focus,
.style-light .style-dark .ui-link:focus,
.style-dark .ui-link-text:hover,
.style-light .style-dark .ui-link-text:hover,
.style-dark .ui-link-text:focus,
.style-light .style-dark .ui-link-text:focus,
.style-dark .breadcrumb > li a:hover,
.style-light .style-dark .breadcrumb > li a:hover,
.style-dark .breadcrumb > li a:focus,
.style-light .style-dark .breadcrumb > li a:focus,
.style-dark .post-info a:hover,
.style-light .style-dark .post-info a:hover,
.style-dark .post-info a:focus,
.style-light .style-dark .post-info a:focus,
.style-dark .nav-tabs > li > a:hover,
.style-light .style-dark .nav-tabs > li > a:hover,
.style-dark .nav-tabs > li > a:focus,
.style-light .style-dark .nav-tabs > li > a:focus,
.style-dark .panel-title > a:hover,
.style-light .style-dark .panel-title > a:hover,
.style-dark .panel-title > a:focus,
.style-light .style-dark .panel-title > a:focus,
.style-dark div[class*=sharer-].share-button label:hover,
.style-light .style-dark div[class*=sharer-].share-button label:hover,
.style-dark div[class*=sharer-].share-button label:focus,
.style-light .style-dark div[class*=sharer-].share-button label:focus {
  color: #ffffff !important;
}

article p a:not(.btn) {
    text-decoration: underline;
}

/* ==========================================================================
   aqua.css §1 — Fuzzy Background Blur Effect
   ========================================================================== */

.fuzzy-bg .uncol {
   position: relative;
}

/* BASE STYLES - Ensure consistent positioning context */
.fuzzy-bg .uncol {
    position: relative;
    isolation: isolate; /* Create stacking context */
}

/* LIGHT BLUR - for style-light text */
.fuzzy-bg .uncol.style-light::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -400px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(ellipse 60% 70% at 40% 60%, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.6) 15%, 
        rgba(255, 255, 255, 0.4) 30%, 
        rgba(255, 255, 255, 0.25) 45%, 
        rgba(255, 255, 255, 0.15) 60%, 
        rgba(255, 255, 255, 0.08) 75%, 
        rgba(255, 255, 255, 0.03) 85%, 
        rgba(255, 255, 255, 0.01) 95%, 
        transparent 100%);
    -webkit-filter: blur(30px);
    filter: blur(30px);
    z-index: -1;
    border-radius: 60% 40% 80% 20%;
    pointer-events: none; /* Prevent interference with interactions */
    will-change: transform; /* Optimize for animations/transforms */
    transform: translate3d(0, 0, 0); /* Force GPU acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* DARK BLUR - for style-dark text */
.fuzzy-bg .uncol.style-dark::before {
    content: '';
    position: absolute;
    top: -300px;
    left: -200px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(ellipse 60% 70% at 40% 60%, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 15%, 
        rgba(0, 0, 0, 0.4) 30%, 
        rgba(0, 0, 0, 0.25) 45%, 
        rgba(0, 0, 0, 0.15) 60%, 
        rgba(0, 0, 0, 0.08) 75%, 
        rgba(0, 0, 0, 0.03) 85%, 
        rgba(0, 0, 0, 0.01) 95%, 
        transparent 100%);
    -webkit-filter: blur(30px);
    filter: blur(30px);
    z-index: -1;
    border-radius: 60% 40% 80% 20%;
    pointer-events: none;
    will-change: transform;
    transform: translate3d(0, 0, 0); /* Force GPU acceleration */
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* TABLET ADJUSTMENTS */
@media (max-width: 1024px) {
    .fuzzy-bg .uncol.style-light::before,
    .fuzzy-bg .uncol.style-dark::before {
        -webkit-filter: blur(40px);
        filter: blur(40px);
    }
}

/* MOBILE ADJUSTMENTS - SIMPLIFIED FOR BETTER PERFORMANCE */
@media (max-width: 768px) { 
    .fuzzy-bg .uncol.style-light::before {
        top: -20px;
        left: -60px;
        right: -60px;
        bottom: -40px;
        background: rgba(255, 255, 255, 0.4);
        -webkit-filter: blur(8px);
        filter: blur(8px);
        border-radius: 50%;
    }
    
    .fuzzy-bg .uncol.style-dark::before {
        top: -40px;
        left: -60px;
        right: -60px;
        bottom: -40px;
        background: rgba(0, 0, 0, 0.3);
        -webkit-filter: blur(8px);
        filter: blur(8px);
        border-radius: 50%;
    }

    /* Button styling for mobile */
    .fuzzy-bg .btn-white {
        color: #ffffff !important;
        background-color: var(--uncode-palette-color-916765) !important;
        border-color: var(--uncode-palette-color-916765) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Reduce background image opacity on mobile */
    .fuzzy-bg .background-inner {
        opacity: 0.4;
    }
}

@media (max-width: 767px) {
    
}

/* EXTRA SMALL MOBILE - FURTHER SIMPLIFIED */
@media (max-width: 480px) {
    .fuzzy-bg .uncol.style-light::before {
        top: -10px;
        left: -40px;
        right: -40px;
        bottom: -30px;
        background: rgba(255, 255, 255, 0.3);
        -webkit-filter: blur(6px);
        filter: blur(6px);
    }
    
    .fuzzy-bg .uncol.style-dark::before {
        top: -20px;
        left: -40px;
        right: -40px;
        bottom: -30px;
        background: rgba(0, 0, 0, 0.25);
        -webkit-filter: blur(6px);
        filter: blur(6px);
    }
    
    /* Further reduce background opacity on very small screens */
    .fuzzy-bg .background-inner {
        opacity: 0.3;
    }
}

/* FALLBACK FOR BROWSERS THAT DON'T SUPPORT BACKDROP-FILTER */
@supports not (backdrop-filter: blur(10px)) {
    .fuzzy-bg .btn-white {
        background-color: rgba(255, 255, 255, 0.9) !important;
        color: var(--uncode-palette-color-916765) !important;
    }
}

/* HIGH DPI/RETINA DISPLAY OPTIMIZATIONS */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .fuzzy-bg .uncol.style-light::before,
    .fuzzy-bg .uncol.style-dark::before {
        transform: translate3d(0, 0, 0); /* Force hardware acceleration */
        -webkit-transform: translate3d(0, 0, 0);
    }
}

/* ==========================================================================
   aqua.css §10 — Marquee Animation
   ========================================================================== */

.marquee-parent {
    width: 101% !important;
}

.sdg-marquee .banner {
    font-style: italic !important;
    position: relative;
    overflow: hidden;
    font-family: "larken", sans-serif;
    font-style: normal;
    font-size: 30px;
    font-weight: 300 !important;
    line-height: 50px;
    min-width: 200vw;
    animation: bannermove 40s linear infinite;
    display: flex;
    justify-content: space-between;
    padding-right: 10px !important;
}

@keyframes bannermove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sdg-marquee .banner div {
  padding: 0px 24px;
  white-space: nowrap;
}

@media only screen and (max-width:959px) {
    .sdg-marquee .banner {
        animation: bannermove 10s linear infinite;
    }
}

/* ==========================================================================
   aqua.css §15 — Utility Classes
   ========================================================================== */

.training-title {
    display: block;
}

/* ==========================================================================
   Tabs-Breakpoint → Mobile FAQ-Style Accordion
   Uncode "tabs-breakpoint" becomes a vertical accordion on mobile.
   These rules match the visual style of .gd-faq-item components.
   ========================================================================== */

@media (max-width: 569px) {
    .location-content .tab-container.tabs-breakpoint .nav-tabs {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab {
        border-top: 1px solid rgba(21, 34, 41, 0.2);
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab:last-child {
        border-bottom: 1px solid rgba(21, 34, 41, 0.2);
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 20px 0 !important;
        background: none !important;
        border: none !important;
        cursor: pointer;
        text-align: left;
        gap: 20px;
        text-decoration: none !important;
        color: inherit !important;
        pointer-events: auto !important;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab > a span,
    .location-content .tab-container.tabs-breakpoint .vc_tta-tab > a span span,
    .location-content .tab-container.tabs-breakpoint .vc_tta-tab > a span span span {
        font-family: 'Lora', 'Georgia', serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        color: #286179 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab.active > a span,
    .location-content .tab-container.tabs-breakpoint .vc_tta-tab.active > a span span,
    .location-content .tab-container.tabs-breakpoint .vc_tta-tab.active > a span span span {
        color: #252D30 !important;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab > a::after {
        content: '';
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        background:
            linear-gradient(#252D30, #252D30) center / 14px 1.5px no-repeat,
            linear-gradient(#252D30, #252D30) center / 1.5px 14px no-repeat;
        border-radius: 2px;
        transition: background 0.25s ease;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab.active > a::after {
        background:
            linear-gradient(#252D30, #252D30) center / 14px 1.5px no-repeat;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab .tab-pane {
        padding-top: 0 !important;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab:not(.active) .tab-pane {
        display: none !important;
        opacity: 0;
    }

    .location-content .tab-container.tabs-breakpoint .vc_tta-tab.active .tab-pane {
        display: block !important;
        opacity: 1;
    }

    .location-content > .triple-top-padding {
        padding-top: 32px !important;
    }
}

/* ==========================================================================
   Mobile Audit Fixes (Apr 2026)
   ========================================================================== */

/* F10: Move back-to-top button above carousel controls on mobile */
@media (max-width: 959px) {
    .footer-scroll-top {
        bottom: 80px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 90 !important;
    }
}

