/**
Theme Name: Stockton Heath Physiotherapy & Wellness
Author: HMDG
Author URI: https://hmdg.co.uk/
Description: HMDG is a child theme of Astra
Version: 1.0.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shpw
Template: astra
*/

.elementor-heading-title span {
    color: var(--e-global-color-primary);
}

.subtitle .elementor-heading-title::before {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.subtitle .elementor-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--e-global-color-primary);
    margin-bottom: 12px;
}

.team-section-title .elementor-heading-title {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.team-section-title .elementor-heading-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--e-global-color-primary);
    border-radius: 50%;
}

.service-card {
	height: 100%;
}

.service-card figure.elementor-image-box-img {
    margin: -18px -20px 15px !important;
	height: 240px;
    overflow: hidden;
}

.service-link {
    display: block;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--e-global-color-primary);
    margin-top: 12px;
    transition: gap 0.15s;
}

.treatment-badge li.elementor-inline-item a {
    background: rgba(74, 170, 211, 0.1);
    border: 1px solid rgba(74, 170, 211, 0.25);
    padding: 8px 16px;
    border-radius: 24px;
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 10px;
}

.related-conditions ul {
    gap: 20px 0;
}

.related-conditions li.elementor-inline-item a {
    background: var( --e-global-color-8f5a8d6 );
    border-radius: 6px;
    padding: .6rem 1rem;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .06);
    transition: background .2s, color .2s;

}

.related-conditions li.elementor-inline-item a:hover {
    background: var( --e-global-color-primary );
}

.narrow-content-300 > *,
.narrow-content-300 .elementor-heading-title {
    max-width: 300px;
}

.narrow-content-380 > *,
.narrow-content-380 .elementor-heading-title {
    max-width: 380px;
}

.narrow-content-600,
.narrow-content-600 .e-con-inner {
    max-width: 767px !important;
}


.hero-divider .elementor-divider-separator {
    
    display: none!important;
}

.hero-divider {
    
    width: 50px !important;
    height: 2px;
    background: linear-gradient(90deg, #cdb9d9, transparent);
    border-radius: 2px;
}

.steps .elementor-icon-box-content {
    display: inline-flex;
}

.steps .elementor-icon-box-title span {
    background: var( --e-global-color-primary );
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 15px;
    display: block;
}



.td-none {
    text-decoration: none!important;
}



.site-footer .menu-item a {
    color: #7A7275;
}

.site-footer .menu-item a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer .wp-block-heading,
.site-footer .widget-title {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Cormorant Garamond',Georgia,serif;
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

body .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}




.elementor-widget-image,
figure {
  position: relative;
  margin: 0; /* reset default figure margin if needed */
}

.elementor-widget-image img[src*="placeholder.png"],
figure img[src*="placeholder"] {
  display: block;
  width: 100%;
  height: auto;
}

/* Gradient overlay */
.elementor-widget-image:has(img[src*="placeholder"])::after,
figure:has(img[src*="placeholder"])::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8f5fb, #f3eef7);
  border-radius: 16px;
}

.team-card figure:has(img[src*="placeholder"])::after {
    border-radius: 50%;
}

/*
.sec-cta .e-con-inner {
    position: relative;
    overflow: hidden;
}*/

.sec-cta .e-con-inner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    top: -180px;
    right: -80px;
    pointer-events: none;
}

.sec-cta .e-con-inner::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .04);
    bottom: -140px;
    left: -60px;
    pointer-events: none;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: #332e30;
    border-style: solid;
    border-width: 0px;
    border-top-width: 3px;
    border-top-color: rgba(205, 185, 217, 0.2);
}
.site-primary-footer-wrap {
    padding-top: 36px;
    padding-bottom: 36px;
}

@media screen and ( max-width: 767px ) {
    .hero .elementor-widget-button,
    .hero .elementor-button,
    .sticky-cta .elementor-widget-button,
    .sticky-cta .elementor-button,
    .sec-cta .elementor-widget-button,
    .sec-cta .elementor-button {
        width: 100% !important;
    }
    .sticky-cta .elementor-widget-text-editor {
        display: none;
    }
}

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
}


body.admin-bar .site-header {
    position: fixed;
    width: 100%;
    top: 46px;
}

body {
    padding-top: 70px;
}

@media screen and ( min-width: 783px ) {
    body.admin-bar .site-header  {
        top: 32px;
    }
}

@media screen and (max-width: 600px) {
    #wpadminbar {
         position: fixed; 
    }
}

.sticky-cta .elementor-widget-text-editor strong {
    color: #fff;
    color: rgba(255, 255, 255, 0.5);
}

#organswrapper {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0;
  background-color: transparent;
  min-width: 220px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
#organswrapper svg {
  max-height: 100%;
  width: 100%;
  margin: 0;
}
#organs-tip {
  font: 14px/16px Trebuchet MS, Helvetica, Arial, sans-serif;
  display: none;
  padding: 5px;
  border: 1px solid #404040;
  color: #404040;
  z-index: 1000;
  float: left;
  position: absolute;
  background: rgba(265, 265, 265, 0.9);
  word-break: keep-all;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}
#organs-tip p {
  margin: 0 !important;
  color: #404040 !important;
}
#organs-tip img {
  float: left;
  padding: 3px;
}

@media screen and (max-width: 320px) {
  #organswrapper svg {
    height: 340px;
  }
}
@media screen and (max-width: 400px) and (min-width: 321px) {
  #organswrapper svg {
    height: 390px;
  }
}
@media screen and (max-width: 480px) and (min-width: 401px) {
  #organswrapper svg {
    height: 510px;
  }
}
@media screen and (max-width: 767px) and (min-width: 481px) {
  #organswrapper svg {
    height: 570px;
  }
}
@media screen and (min-width: 768px) {
  #organswrapper svg {
    height: 600px;
  }
}


.go_bck_frontback,
.go_frt_frontback {
  fill-opacity: 0;
  -webkit-transition: fill-opacity 0.1s ease;
  -moz-transition: fill-opacity 0.1s ease;
  -o-transition: fill-opacity 0.1s ease;
  transition: fill-opacity 0.1s ease;
  cursor: pointer;
}

.go_bck_frontback:hover,
.go_frt_frontback:hover {
  fill-opacity: 0.3;
}

.go_bck_frontback:active,
.go_frt_frontback:active {
  fill-opacity: 0.7;
}

.page-id-553 .wfb-floating-button,
.page-id-554 .wfb-floating-button,
.page-id-555 .wfb-floating-button {
    display: none!important;
    opacity: 0!important;
}

.team-image {
/*     height: 400px;
    overflow: hidden; */
}

li .menu-text {
    color: var(--e-global-color-text);
}

li a.menu-link:hover .menu-text {
    color: var(--e-global-color-primary);
}

.astra-megamenu > .menu-item-heading > .menu-link .menu-text {
    color: var(--e-global-color-da8d3f1) !important;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid var(--e-global-color-primary);
    font-size: 0.9em;
    padding-bottom: 5px;
}

.default ul.sub-menu {
    padding: 5px;
}

.default ul.sub-menu .menu-link {
    border-radius: 4px
}

.default ul.sub-menu .menu-link:hover {
    background: var(--e-global-color-e0177a7);
}

/*.pain-area-card .elementor-image-box-img img {
    border: 1px solid var(--e-global-color-primary);
    padding: 5px;
}*/

body .wfb-floating-button {
    width: 60px;
    height: 60px;
}

.sticky-cta .elementor-button {
	color: #332E30 !important;
	fill: #332E30 !important;
}
/* 
.e-n-accordion p,
summary[aria-expanded="true"] .e-n-accordion-item-title-text {
  margin-bottom: 0.8em;
}

summary[aria-expanded="true"] span.read-more {
  display: none;
} */

.team-bio .e-n-accordion {
	margin-top: 20px;
}

span.read-more {
  font-weight: bold; 
}

.ast-primary-header-bar {
    box-shadow: 1px 2px 10px #00000030;
}

.team-card .support-team-img .elementor-widget-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
	overflow: hidden;
}



@media (max-width: 1190px) {
	
	.sticky-cta {
		display: none !important;
	}
	
	.site-below-footer-wrap {
		position: fixed;
		bottom: 0;
	}
	
	.site-below-footer-wrap .ast-builder-button-wrap {
		width: 100%;
		text-align: center;
	}
	.site-primary-footer-wrap {
		margin-bottom: 70px;
	}
}

.team-card .bio-trigger {
	cursor: pointer;
}

.team-card .bio-content {
    display: none;
}