#logo.logo-text{padding: 0.86666666em 0;}

.navigation.post-navigation { display: none !important}
.post-meta{ display: none !important}
.powered-by-bookly{ display: none !important}
.h6-about-section{
   margin-bottom:0.55555555em;
}
.h6-specialities-section{
   margin-bottom:0.55555555em !important;
}
.p-about-section{
   line-height: 1.61905em;
    letter-spacing: .02em;
    text-align: left;
    margin-bottom: 20px;
}
.about-section{padding: 4.66666666em 0 0.8em;}
.specialities-section{padding: 1.66666666em 0 0.93333333em;}

.sp-content {display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis;}
.sp-rm-btn{clear: both; width: 100%; padding: 12px 0px 0px;}
.sp-rm-btn a{background: none #cc263d; padding: 8px 12px; color: #ffffff; border-radius: 8px;
   -moz-box-shadow:    inset 0 0 0 1px #cc263d;
   -webkit-box-shadow: inset 0 0 0 1px #cc263d;
   box-shadow:         inset 0 0 0 1px #cc263d;}
.sp-rm-btn a:hover{background: #A41B2D; color: #FFFFFF;
   -moz-box-shadow:    inset 0 0 0 1px #cc263d;
   -webkit-box-shadow: inset 0 0 0 1px #cc263d;
   box-shadow:         inset 0 0 0 1px #cc263d;}

.page-id-203 .container .row .col-sm-8,
.page-id-207 .container .row .col-sm-8,
.page-id-214 .container .row .col-sm-8,
.page-id-215 .container .row .col-sm-8,
.page-id-211 .container .row .col-sm-8,
.page-id-998 .container .row .col-sm-8,
.page-id-1039 .container .row .col-sm-8{width: 100%;}
.page-id-207 .container .row .col-sm-8 .icon-box{margin-bottom:0px;}
.fa-head:before{content: "\f118";}
.open-hours h6{line-height: 35px;}
.open-hours p{line-height: 20px;}

.page-id-214 .wp-block-image figcaption{text-align: center;}
.doctor-profile .social-links{display: none;}
#footer{padding:1.66666666em 0;}
#footer-widget-area-1.col-sm-6{width:100%;}
.testimonials-section{padding:0em 0 0.93333333em}
.page-id-207 .wp-container-22.wp-block-columns{margin-bottom: 0px;}
.page-id-207 .wp-container-22 .wp-container-21 {display: none;}


.specialities-section .col-sm-4{width: 100%;}
.specialities-section .col-sm-4 .icon-box{float: left;margin-bottom: 1.2em;}
h1, h2, h3, h4, h5, h6{word-break: break-word;}
@media (max-width: 768px){
	.specialities-section .col-sm-4 .icon-box{width: 100%;}
	
}
ul.medical-specialties li p span.text-accent-color{font-weight: bold; font-size: 28px;}

@media (min-width: 768px){
.medical-specialties li.active p {
      width:26.8em !important
   }
}
@media (max-width: 768px){
.medical-specialties{display: inline-block; border-bottom: 1px solid #e1e1e1; margin-bottom: 12.13333333em;}
.medical-specialties li{position: static;}   
.medical-specialties li.active:after{content: "";  position: absolute; bottom: -1px; left: 0; right: 0; border-top: 1px solid #cc263d;}
.medical-specialties li.active i{border-color: #cc263d;}
.medical-specialties li.active p{display: block; position: absolute; width: 26.8em!important; left: 0;}
.about-section{padding: 2.66666666em 0 0.8em;}	
}
@media (max-width: 420px){
   .medical-specialties li.active p{width: 12.8em!important;}
   ul.medical-specialties li p span.text-accent-color{font-weight: bold; font-size: 22px;}
}
@media (max-width: 768px)
	{.intro-section{
background-image:none !important;
		padding-top:12px !important;
		padding-bottom:0px !important;
		margin-top: 8px;}
		.medical-specialties
	{
		        width: 100% !important;
		        text-align: center !important;
        list-style: inside !important;
	}
/* 		.sp-rm-btn{
			text-align: center !important;
		} */
		.medical-specialties li.active p{
			width: 100% !important;
			text-align:center !important;
		}
}
/* Position CTA on right */
.header-cta {
  margin-left: auto; /* pushes it to the right of row */
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-phone {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.header-phone:hover {
  color: #cc263d;
}

/* Flush content to the very left edge */
.container {
  padding-left: 0 !important;
}
/* Make header go edge-to-edge */
#header .container {
  max-width: 100% !important;
  padding-left: 20px;   /* adjust so text doesn’t stick to screen edge */
  padding-right: 20px;
}
/* Desktop Header Layout Fix */
.header-row {
  display: flex;
  justify-content: space-between;  /* space out left, center, right */
  align-items: center;
  flex-wrap: nowrap; /* don't allow row wrapping */
}

.header-left {
  flex: 0 0 auto; /* logo only takes the space it needs */
}

.header-center {
  flex: 1; /* menu takes max available space */
  text-align: center;
  white-space: nowrap; /* keep items in one line */
}

.header-right {
  flex: 0 0 auto; /* only as wide as needed */
  display: flex;
  justify-content: flex-end; /* push phone + button to right */
  align-items: center;
  gap: 15px;
}

/* Phone Link */
.header-phone {
  font-weight: bold;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover {
  color: #cc263d;
}

/* Book Appointment Button */
.btn-book {
		background: none;
    color: #cc263d;
    padding: 8px 16px;
    border-radius: 6px;
    border-color: #cc263d;
    border: 2px solid;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-book:hover {
  background: #cc263d;
	color: white;
}

.is-btn-book {
	  font-weight: bold;
    color: white !important;
    background: rgb(204, 38, 61);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}
.is-btn-book:hover {
  background: #A41B2D;
  transform: scale(1.05)
}

@media (max-width: 768px) {
  body {
    padding-left: 7%;
		padding-right: 7%;
  }

	.secpadding {
		padding-left:4%;
	}
	
	.col-sm-5 {
		padding-right: 0;
	}
	
	.icon-box {
		padding: 4% 0;
	}
	
	.header-cta .btn-book{
		display: none;
	}
	
	.col-sm-7 span {
		font-size: 80%;
	}
	
 	.col-sm-7 h4 {
		font-size: 16px;
	}
	
	.col-sm-7 h6 {
		font-size: 15.3px;
	}
	
 	.intro-section {
		padding-top: 20px;
		border-radius: 12px;
	}
	
	.col-sm-4 h6 {
		margin-bottom: 4px;
	}
	
	.col-sm-4 {
		margin-bottom: 2rem
	}
	
	#footer row{
		padding: 0;
		margin: 0px 15px;
	}
	
	#footer .container {
		padding: 0;
	}
	
	#footer-widget-area-1 {
		padding: 0 10%;
	}
	
	#footer-bottom-widget-area-2 {
		padding: 0 10%;
	}
}

#footer-bottom-widget-area-1 {
	display:none !important;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1vw;
  padding: 1vw;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1; /* keeps images square */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.page-id-2169 .doctor-profile{
	display: none;
}