 /*
Theme Name: Medical Clinic Child
Theme URI: http://cmsmasters.net/medical-clinic-child/
Author: cmsmasters
Author URI: http://cmsmasters.net/
Description: Medical Clinic Child Theme
Template: medical-clinic
Version: 1.0.0
License:
License URI:
Text Domain: medical-clinic-child
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

.guten-wG8BKu,
.guten-4pXf2m,
.guten-bQHh4N,
.guten-Y7jWlV,
.guten-1UAcXm,
.guten-xCYywO,
.guten-0mhIPt,
.guten-b2PUsQ,
.guten-tiRb6d,
.guten-9QG6uK,
.guten-b0XnYP

{
		padding:0px !important;
	}
.guten-8UP1rj .guten-postblock .guten-postblock-content .guten-post-meta
{
	justify-content:center !important;
	margin-top:4px !important;
    margin-bottom:40px !important;	
}
.guten-8UP1rj .guten-postblock .guten-post .guten-postblock-content .guten-meta-readmore{
	position: absolute !important;
    bottom: -30px !important;
    left: 50% !important;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.guten-8UP1rj .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt p
{
	padding-bottom:0 !important;
}
.guten-3uHQlc .guten-column-wrapper,
.guten-kkcVUI .guten-column-wrapper, 
.guten-VeG185 .guten-column-wrapper, 
.guten-JqfdUq .guten-column-wrapper{
	justify-content:flex-start !important;
}

.guten-3uHQlc,
.guten-kkcVUI,
.guten-VeG185,
.guten-JqfdUq,
.guten-oK9XlJ
 {
	padding:0px !important;
}
@media (min-width:1200px){
	.department-image img {
	margin-top: 0px !important;
	}
}

@media (min-width:1450px){
	.department-image img {
	 max-width:160% !important;
	margin-top:-220px !important;
	}
}

.guten-lb4UGl > .guten-column-wrapper,
.guten-S57PrD > .guten-column-wrapper,
.guten-H0KP6U > .guten-column-wrapper{
	padding:30px 20px !important;
}
@media (min-width:401px){
	.guten-lb4UGl > .guten-column-wrapper,
	.guten-S57PrD > .guten-column-wrapper,
	.guten-H0KP6U > .guten-column-wrapper{
		padding:40px !important;
	}
}
@media (min-width:1600px){
	.guten-lb4UGl > .guten-column-wrapper,
	.guten-S57PrD > .guten-column-wrapper,
	.guten-H0KP6U > .guten-column-wrapper{
		padding:80px !important;
	}
}

.guten-social-icon #guten-RuxLPA i{
	font-size:40px !important;
}
.widget{
	padding: 0 !important;
}


*:not(i){
	font-family:'Noto Sans', sans-serif !important;
}
.header_mid_outer {
    box-shadow: none !important;
}
.header_mid_outer {
    padding-top: 10px; 
    padding-bottom: 10px; 
}
.cmsmasters_slider_project_content.entry-content {
    font-size: 14px; 
}
a.button {
    display: none !important;
}
span.footer_copyright {
    font-weight: bold;
}
.bigger_font, 
.bigger_font .icon-box-description,
.bigger_font a,
.page-id-7566 .guten-post-excerpt p,
.bigger_font span,
.page-id-12563 .bigger_font .heading-title,
.page-id-12563 .bigger_font .title,
.page-id-12563 .bigger_font strong,
.no-jobs-available p,
.guten-JkXLXp .guten-empty{
  font-size: 16px !important;
	line-height: 1.6 !important;
}
.font_weight,
.font_weight span,
.no-jobs-available p,
.page-id-7566 .guten-post-excerpt p,
.guten-JkXLXp .guten-empty{
  font-weight: 400 !important;
}
.dark_font, 
.dark_font .icon-box-description,
.dark_font a,
.dark_font span,
.page-id-7566 .guten-post-excerpt p,
.page-id-12563 .dark_font .heading-title,
.page-id-12563 .dark_font .title,
.page-id-12563 .dark_font strong,
.no-jobs-available p,
.guten-JkXLXp .guten-empty{
	color: #222222 !important;
}
.guten-Lv335n .guten-icon-box:hover .icon-box-description,
.dark_font .hover-from-left:hover .icon-box-description,
.guten-Lv335n .guten-button span{
	color: #ffffff !important;
}
.guten-Lv335n .guten-qaePzA:hover .icon-box-description{
	color: #222222 !important;
}
#main #middle .middle_content{
		padding-top:0px !important;
	  padding-bottom: 0px !important;
}
.guten-VRnx21 .guten-button span{
	color: #397cec !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}
.guten-qaePzA:hover .fa-arrow-right{
	color: #397cec !important;
}
#middle .content_wrap{
	width: 100% !important;	
}
.header_mid.header_mid_scroll{
	background: linear-gradient(108.7deg, rgb(34, 219, 231) -0.9%, rgb(52, 118, 246) 88.7%) !important;	
}
.splide1 .icon-box-description{
	padding-bottom: 5px !important;
}
.splide1 .guten-icon-box .icon-box.icon-box-header .icon{
	margin-bottom: 5px !important;
}
#header .header_top_left,
#header .meta_wrap{
	text-align: right !important;
}
#header{
	background: rgb(0,0,0);
background: linear-gradient(360deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4009978991596639) 38%, rgba(0,0,0,0.8827906162464986) 100%);
}
.header_mid li.cmsmasters_mov_bar{
	bottom: 40px !important;
}
.header_mid_scroll li.cmsmasters_mov_bar{
	bottom: 20px !important;
}
 
.guten-U3pXk8{
	padding-bottom: 0px !important;
}
h1{
	color:#07295A;
} 

/* Initially hide the "Book Now" button */
.guten-gDJlvp .guten-post-meta-bottom  {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s; /* Fade-in transition */
}

/* Show the "Book Now" button when the entire article is hovered */
.guten-post:hover .guten-post-meta-bottom {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s; 
}

.guten-gDJlvp .guten-post{
	align-items: flex-start !important;
}

/*Specialists text center allignment */
.guten-gDJlvp .guten-postblock .guten-post .guten-postblock-content .guten-post-excerpt  {
	text-align:center;
}


.logo_retina{
	max-height: 95px;
 	width: auto;
}
@media only screen and (max-width: 1024px) {
  .header_mid {
    background-color: white !important;
  }
	
	
	.header_mid .logo_wrap .logo img{
		max-width:125px !important;
	}

}
.cmsmasters_theme_icon_resp_nav{
	color: black !important;
}

.cmsmasters_theme_icon_search{
	color:black !important;
}

.sub-button, #fieldEmail{
	width:100% !important;
}

.guten-xYrJ6V > .guten-column{
	width:33.33% !important;
}


/*Neekhil CSS DO NOT TOUCH */
.guten-team .profile-box .profile-card.card-overlay:before {
	background-color: rgb(255 255 255 / .9) !important;
}
 .guten-column>.guten-column-wrapper>:not(.guten-element), .guten-column>.guten-column-wrapper>[class*=wp-block-]:not(.guten-element){
color: black !important;
}

.guten-Ah9Dc6 .profile-title, 
.guten-IMlFre  .profile-title,
.guten-XsBZ2c .profile-title, .guten-XsBZ2c .profile-title,.guten-UL0BDW .profile-title, .guten-YeEL7q .profile-title, .guten-KeWXJ3 .profile-title{
	text-align: center !important;
}

.guten-Ah9Dc6 .profile-sub, 
.guten-IMlFre .profile-sub,
.guten-XsBZ2c .profile-sub,
.guten-UL0BDW .profile-sub,
.guten-YeEL7q .profile-sub,
.guten-KeWXJ3 .profile-sub{
    margin-bottom: 20px !important;
	  text-align: center !important;
}

 h3 a :hover{
	color: rgb(16 32 53 / 0.6) !important;
}
.input-container {
  position: sticky;
  width: 400px;
  height: 60px;
  display: flex;
  align-items: center;
  border: 1px solid white;
  padding: 0 15px;
  box-sizing: border-box;
	margin:auto !important;
}
.fa-pencil-alt{
 color:#ffffff !important;
}
/* Input styling */
.input-container input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 18px;
  font-style: italic;
  color: white;
}

.input-container input::placeholder {
  color: white;
  font-style: italic;
  
}
.font_thin{
	font-weight: 100 !important;
}
.Backgound_med {
    background: 
        linear-gradient(rgba(1, 178, 183, 0.9), rgba(1, 178, 183, 0.9)), 
        url(https://demo.exptheme.com/medix/wp-content/uploads/2017/06/highlights.jpg?id=1037);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.cms-contact-block.white ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cms-contact-block.white li {
    display: flex;
    justify-content: center;   /* keep text in the middle horizontally */
    align-items: center;       /* vertical centering */
    width: 100%;               /* li spans full column */
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 15px 10px;        /* small side spacing */
    box-sizing: border-box;    /* makes padding not break width */
    color: #fff;
    font-size: 16px;
}

/* Opening hours column */
.cms-opening-hours .content-justify {
    display: flex;
    justify-content:space-around;
    flex-wrap: wrap;
    color: #fff; /* make text white */
    font-size: 16px;
}

/* Remove bullets & reset spacing */
.cms-opening-hours ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Add divider line between rows */
.cms-opening-hours li {
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 20px 0; /* space like in column 1 */
}

/* Optional: make day names bold */
.cms-opening-hours .medium {
    font-weight: bold;
}

.contact-lists {
  display: flex;
  justify-content: center; /* centers the two lists horizontally */
  gap: 50px; /* space between the lists */
}

.list1 {
  list-style: none; /* removes bullets */
  padding: 0;
  margin: 0;
}
.medium{
	margin-right: 80px !important;
}

.cms-contact-block.white li:before,
 ul li:before{
color: transparent !important;
}

/*.department-menu h2 {
    font-size: 30px !important;
    text-align: left !important;
    color: #102035;
    font-weight: 900;
}
.department-menu{
	border-radius: 0 !important;
	min-width: 350 !important;
}
.department-menu ul li {
background-color: #fff0;
    margin: 0;
    padding: 0 30px 0 0;
    color: #737880;
    position: relative;
	font-size: 16px;
    font-family: roboto, sans-serif;
	font-weight: 300 !important;
}
.department-content {
max-width: 750px !important;
}
.department-content h4 {
	font-size: 30px !important;
    font-weight: 100!important;
}
.department-content .dept-name {
margin-top: -7px !important;
    font-size: 40px !important;
}
.department-menu ul li span{
	color: #cb5151;
    border-left: none;
   font-size:26px;

}*/


 .guten-xfpcIr,
.guten-nmC411,
.guten-ZER0Ya,
.guten-ig9SgS,
.guten-fhfAgE,
.guten-JgLdxA
{
	padding-bottom: 0 !important;
} 
.guten-xfpcIr,
.guten-ZER0Ya,
.guten-fhfAgE{
	font-weight: 200;
	padding-bottom: 0 !important;
}


/* Top-level menu links */
#navigation > li > a .nav_item_wrap {
    text-transform: uppercase !important;
    font-size: 16px !important;   /* updated font size */
    font-weight: 500 !important;
    color: #ffffff  !important;    /* optional: keep main menu text color */
}

#navigation {
    display: flex !important;
    justify-content: centre !important;   /* center menu items */
    align-items: center !important;
    list-style: none !important;          /* remove bullets at top level */
    margin: 0 auto !important;
    padding: 0 125px !important;
    gap: 40px !important;                 /* spacing between top-level items */
    font-family: Roboto sans-serif;
}

/* Top-level menu items */
#navigation > li {
    display: inline-block !important;
    position: relative;                    /* needed for dropdown positioning */
}

/* Submenu container */
#navigation li ul.sub-menu {
    display: block !important;           
    position: absolute;                   
    top: 100%;                             
    left: 0;                               
    min-width: 200px;                      
    max-width: 250px;                      
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;                       
    z-index: 999;                           
    box-sizing: border-box;                 
}

/* Submenu list items with divider lines */
#navigation li ul.sub-menu li {
    display: list-item !important;
    border-bottom: 1px solid #ddd;        
    margin: 0;                              
    padding: 0;                             
    box-sizing: border-box;
}

/* Submenu links */
#navigation li ul.sub-menu li a .nav_item_wrap {
    display: block !important;            
    padding: 12px 20px !important;       
    color: #102035 !important;            
    font-size: 14px !important;           
    font-weight: 500 !important;          
    text-transform: uppercase !important;
    white-space: normal !important;        /* allow wrapping */
    overflow-wrap: break-word !important;  
    box-sizing: border-box !important;     
}

 Hover effect for submenu 
#navigation li ul.sub-menu li a .nav_item_wrap:hover {
    /* background-color: #f0f0f0 !important;*/
    color: #102035 !important;
}


.header_mid .mid_search_but_wrap .mid_search_but:before {
color: white;
font-size: 25px;
}

.header_mid.header_mid_scroll {
    /*background: linear-gradient(108.7deg, rgb(34, 219, 231) -0.9%, rgb(52, 118, 246) 88.7%) !important;*/
    transition: height 0.3s ease, background 0.3s ease;
	height: 100px !important;
}
/*Neekhil CSS End*/
	
/* Remove margin from cover blocks */
.wp-block-cover {
  margin-bottom: 0 !important;
}

/* Disable pseudo-elements on headings */
h2::after,
h3::after {
  position: unset !important;
}

/* Padding for icon section */
.icon-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* Ensure cover background has spacing */
.wp-block-cover__background {
  padding-top: 150px !important;
}

/* Hover effect for image box */
/*.gutenverse-image-box-filled {
  transition: transform 0.4s ease !important;
}*/


/* Hover effects for Gutenverse headings */
.guten-XsCov0,
.guten-uBNSDx,
.guten-aP4UAI,
.guten-AcS58g {
  transition: color 0.3s ease, transform 0.3s ease !important;
}

.guten-XsCov0:hover,
.guten-uBNSDx:hover,
.guten-aP4UAI:hover,
.guten-AcS58g:hover {
  transform: scale(1.05) !important;
  cursor: pointer !important;
}
	/*.guten-button{
		position:absolute !important;
		bottom:-30px !important
	}
*/
/* Make sure column wrappers are equal height */
.guten-column-wrapper {
  display: flex;
  flex-direction: column;
   /*justify-content: space-between; /* Pushes button to bottom if needed */
  height: 100%;
	
}

Ensure buttons are centered and have consistent margin 
.guten-button-wrapper {
  margin-top: auto;
  text-align: center;
}

/* Optional: Style for the button itself */
.guten-button {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 14px 35px;
  color: #fff;
  background-color: #cb5151;
  border: none;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.guten-button:hover {
  background-color: #a93d3d;
}


/* Remove the blue border under "SPECIALIST DOCTORS" paragraph */
.guten-column.guten-HJcnPK .guten-DFAmcQ {
  border-bottom: none !important;
}
/* Normalize LAB SCHEDULE and HEAL FITNESS to be like SPECIALIST DOCTORS */
.section-wrapper[data-id="Osu7JP"] .guten-L3mwQF .guten-bBSc8y,
.section-wrapper[data-id="Osu7JP"] .guten-r3E7Hl .guten-kVrrJz {
  font-family: 'Roboto', sans-serif !important;
  font-size: 30px !important;
  font-weight: 100 !important;
  color: #ffffff !important;
  text-align: left;
  line-height: 1.4;
  margin: 0;
}

/* Remove line breaks in headings */
.section-wrapper[data-id="Osu7JP"] .guten-bBSc8y br,
.section-wrapper[data-id="Osu7JP"] .guten-kVrrJz br {
  display: none;
}

.guten-S57PrD p.bigger_font {
  border: 1px solid white;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 0; /* square corners */
  text-align: center;
}

/*.department-wrapper {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: 20px;
}

.department-image {
  flex-shrink: 0;
  position: relative;
  z-index: 9999;
}

.department-image img {
  max-width: 100% !important;
  height: auto !important;
  margin-top: -100px !important;  /* Push it upward 
  margin-left: -30px; /* Push it leftward (or adjust right if needed) 
  border-radius: 10px; /* Optional: gives rounded edges 
}


/* Ensure all parent containers allow overflow 
.department-section,
.department-wrapper,
.department-content,
.department-image,
.wp-block-cover{
  overflow: visible !important;
}

/* Pull the image out of the container 
.department-image img {
  margin-top: -100px !important;   
  margin-left: -30px !important;  
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;

}
.guten-element.guten-Osu7JP {
  padding: 0 !important;
  margin: 50px 0 !important; 
}
.guten-element.guten-Vo31GC {
  padding: 0 !important;
}


.guten-element.guten-column-wrapper {
  background-color: #ffffff !important;
  padding: 20px !important;
  text-align: center !important;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out !important;
}


.guten-element.guten-column-wrapper:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  background-color: #f9f9f9 !important;
}

/* Title text fade + color */
.guten-element h2 {
  transition: color 0.15s ease-in-out, opacity 0.15s ease-in-out !important;
  opacity: 1 !important;
}

.guten-element.guten-column-wrapper:hover h2 {
  color: #138796 !important;
  opacity: 0.85 !important;
}

/* Image base */
/*.gutenverse-image-box-filled {
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}*/

/* Image hover effect */
/*.gutenverse-image-box-filled:hover {
  opacity: 0.85 !important;
  transform: scale(1.05) !important;
}*/
/* charlotte - Define the animation */
@keyframes scaleDisappear {
  0% {
    opacity: 1;          /* fully visible */
    transform: scale(1); /* normal size */
  }
  60% {
    opacity: 0;          /* invisible */
    transform: scale(1.3); /* zoomed in 30% */
  }
  100% {
    opacity: 1;          /* back to visible */
    transform: scale(1); /* back to normal size */
  }
}


/* Apply to ALL images with this class */
.gutenverse-image-box-filled:hover {
  animation: scaleDisappear 0.5s ease !important;
}
/* Ensure the Post Block container centers its button */
.guten-8UP1rj .guten-readmore-wrapper {
  text-align: center !important;
}

/* Make the button inline-block and center it within the wrapper */
.guten-8UP1rj .guten-readmore {
  display: inline-block !important;
}

.guten-postblock .guten-post-meta-bottom{
	justify-content:center !important;
}

.guten-post-title {
	text-align:center !important
}
.guten-post-excerpt{
	text-align:center !important
}

.section-wrapper[data-id="Osu7JP"] .guten-bBSc8y br,
.section-wrapper[data-id="Osu7JP"] .guten-kVrrJz br {
    display: none !important;
}

.read-more-btn {
  display: inline-block; /* keeps it neat */
  margin-top: 20px; /* adjust as needed */
}

.header_mid_inner {
	margin-left:3% !important;
}

/*.department-menu {
  margin-left:0px !important 
  text-align:left  !important
}

.department-wrapper {
  gap: 25px !important;
  margin-left: 25px !important;
  margin-right: 25px !important;
} */
.guten-lD1YzN {
    visibility: visible !important; 
}

.guten-element-hide[class*=" __desktop-"], .guten-element-hide[class*=" desktop-"], .guten-element-hide[class^=__desktop-], .guten-element-hide[class^=desktop-] {
	visibility: visible !important;
}
/*.department-menu ul li {
  display: flex !important;
   justify-content: space-between !important; 
  align-items: center !important;
  text-align: left !important;
}

.department-section li::after {
    content: '›';
	color:red;
    margin-left: auto;
    display: inline-block;
}*/

/* Make menu items flex so arrow moves to right 
.mid_nav li > a {
    display: flex !important;
    align-items: center !important;  
}

.department-menu li > a > span {
    margin-left: auto !important;
}
*/


.guten-YeEL7q,
.guten-UL0BDW,
.guten-KeWXJ3,
.guten-XsBZ2c,
.guten-IMlFre,
.guten-Ah9Dc6 {
  width: 262.48px !important;
  height: 284.48px !important;
  border-radius: 0 !important; /* ensures sharp edges */
}

.guten-lD1YzN:hover {
animation: scaleDisappear 0.5s !important;
}

/*.guten-button.guten-button-sm:hover span {
    color: 	#FF7F7F !important;   /* slightly reddish text */
    /* transition: color 0.3s ease; /* smooth transition */
}

.profile-card {
    border-radius: 0 !important;  /* sharp square corners */
    overflow: hidden;              /* ensures image stays inside */
}

.profile-card img {
    width: 100%;       /* full width of the card */
    aspect-ratio: 1/1; /* makes height equal to width */
    object-fit: cover; /* crops image to fit without distortion */
    border-radius: 0 !important; /* sharp corners */
}



/*
.department-content {
  flex: 2 1 400px;
}


.department-image {
  flex: 1 1 300px;
}


.department-image img {
  width: 100%;
  height: auto;
}


@media (max-width: 992px) {
  .department-wrapper {
    flex-direction: column;
  }

  .department-menu,
  .department-content,
  .department-image {
    width: 100%; 
    flex: 1 1 100%;
  }

  .department-content {
    order: 1;
    text-align: center;
  }

  .department-menu {
    order: 2;
  }

  .department-image {
    order: 3;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .department-content h2.dept-name {
    font-size: 1.5rem;
  }

  .department-content p {
    font-size: 0.95rem;
  }

  .read-more-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .department-image img {
    max-width: 100%;
  }
}
*/

/*charlotte*/
/* Apply hover zoom effect only inside post blocks */
.thumbnail-container {
  position: relative;
  overflow: hidden;
}

.thumbnail-container img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.thumbnail-container:hover img {
  transform: scale(1.05);
  opacity: 0.9; /* makes it feel like Medix hover */
}

/* Optional: mimic the Medix overlay */
.thumbnail-container .guten-overlay {
  position: absolute;
/*   inset: 0; */
  background: rgba(255,255,255,0.3);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.thumbnail-container:hover .guten-overlay {
  opacity: 1;
}

.thumbnail-container {
  width: 100%;
  height: 368px; /* increase/decrease as needed */
  overflow: hidden;
}

.thumbnail-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops image neatly to fit box */
}

.guten-postblock .guten-edit-post{
	display:none !important; /*hides the edit-post that appears when hovered on image*/
}

.mid_nav li.menu-item .sub-menu {
    margin-top: 60px !important; /* adds space between main menu and submenu */
}

.guten-element.guten-iU7ZcU {
	background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

#our-team {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;  /* keeps text tight if on two lines */
}

#our-team br {
  display: none !important;  /* removes the extra break(s) */
}

h1.guten-element.guten-PliDDM, h2.guten-element.guten-PliDDM, h3.guten-element.guten-PliDDM, h4.guten-element.guten-PliDDM, h5.guten-element.guten-PliDDM, h6.guten-element.guten-PliDDM {
font-weight: 100 !important;
}

h1.guten-element.guten-B51KFI, h2.guten-element.guten-B51KFI, h3.guten-element.guten-B51KFI, h4.guten-element.guten-B51KFI, h5.guten-element.guten-B51KFI, h6.guten-element.guten-B51KFI {
	font-weight:100!important;
}

h1.guten-element.guten-jlNtKL, h2.guten-element.guten-jlNtKL, h3.guten-element.guten-jlNtKL, h4.guten-element.guten-jlNtKL, h5.guten-element.guten-jlNtKL, h6.guten-element.guten-jlNtKL {
	font-weight: 100 !important;
}

h1.guten-element.guten-ZB7sfo, h2.guten-element.guten-ZB7sfo, h3.guten-element.guten-ZB7sfo, h4.guten-element.guten-ZB7sfo, h5.guten-element.guten-ZB7sfo, h6.guten-element.guten-ZB7sfo {
	font-style: "Roboto" !important;
	font-size: 60px !important;
}

/* Truncate heading (excerpt) if it's too long */
.guten-postblock-content .guten-post-title {
    font-size: 24px !important;  /* Adjust the font size */
    max-width: 100%;  /* Ensure the heading stays within the column */
    overflow: hidden;  /* Hide overflow text */
    text-overflow: ellipsis;  /* Add ellipsis (...) if text overflows */
    white-space: nowrap;  /* Prevent the text from wrapping to the next line */
    display: block;  /* Ensure it behaves as a block element */
    line-height: 1.4;  /* Adjust line height for spacing */
	color: rgba(1, 178, 183, 1);
}

.nav_item_wrap {
    white-space: nowrap !important; /* Prevent text from breaking into multiple lines */
    display: inline-block !important; /* Keep it inline inside <a> */
}

.guten-bX5REf .guten-button{
	padding: 20px 30px !important;
}
.guten-bX5REf .guten-container .guten-column .guten-column-wrapper .guten-button-wrapper{
    display: block !important;
}

.wp-block-gutenverse-heading.guten-element.guten-rnN83l {
    margin: 0 !important; /* removes all top and bottom margins */
    padding: 0 !important; /* optional: remove padding too */
	font-size: 60px !important;
	font-weight: 100 !important;
}

.guten-E3uCkL {
	font-size: 60px !important;
	font-weight: 500 !important;
}

.guten-zSqHhT {
	font-size: 60px !important;
	font-weight: 500 !important;
}
.wp-block-gutenverse-heading .guten-element .guten-E3uCkL{
	margin: 0 !important; /* removes all top and bottom margins */
    padding: 0 !important; /* optional: remove padding too */
	font-size: 60px !important;
	font-weight: 100 !important;
}


/* ---------- Header Default (Top) ---------- */
/* ---------- Header Default (Top) ---------- */
 #header,
.header_mid_outer,
.header_mid,
.header_mid_inner,
.mid_nav_wrap {
    background: transparent !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Logo at top */
#header .logo img,
#header .logo_retina {
    max-height: 90px !important;
    width: auto !important;
    transition: max-height 0.3s ease;
}

/* Menu links at top */
.mid_nav > li > a {
    color: white !important;
    
}

/* Active menu after scroll */
.header_mid_outer.scrolled #navigation li.current-menu-item > a .nav_item_wrap,
.header_mid_outer.scrolled #navigation li.current_page_item > a .nav_item_wrap,
.header_mid_outer.scrolled #navigation li.current-menu-ancestor > a .nav_item_wrap {
    color: #cb5151 !important;
}


/* ---------- Header on Scroll ---------- */
/*
#header.scrolled
{
    background-color: #ffffff !important; /* plain white background */
	/*height: 13%;
  
}
*/

#header.scrolled {
  background-color: #ffffff !important;
  height: 80px !important; /* fixed px is safer than % */
  position: fixed !important;
  align-items:center !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important; /* keeps it above page content */
}

.header_mid_inner.scrolled{
	height: 60%;
}


/* Shrink logo on scroll */
.header_mid_outer.scrolled .logo img,
.header_mid_outer.scrolled .logo_retina {
    max-height: 70px !important;
}

/* Main menu links after scroll */
.header_mid_outer.scrolled #navigation > li > a .nav_item_wrap {
    color: black !important;
}

/* Keep active menu red on scroll */
.header_mid_outer.scrolled  #navigation li.current-menu-item > a,
.header_mid_outer.scrolled  #navigation li.current_page_item > a,
.header_mid_outer.scrolled #navigation li.current-menu-ancestor > a {
    color: #cb5151 !important;
}

Hover effect on main menu links 
/* .header_mid_outer.scrolled #navigation li.menu-item:hover > a { */
/*     color: #cb5151 !important; */
/* When header is scrolled, all menu links turn red on hover */
/*.header_mid_outer.scrolled #navigation li.menu-item:hover > a {
    color: #cb5151 !important;
}
/* When header is scrolled, all menu items turn red on hover */
/*.header_mid_outer.scrolled #navigation li.menu-item:hover > a {
    color: #cb5151 !important;
    transition: color 0.3s ease; /* optional smooth fade */
}

/* Keep active menu item red permanently when scrolled 
.header_mid_outer.scrolled #navigation li.current-menu-item > a,
.header_mid_outer.scrolled #navigation li.current_page_item > a {
    color: #cb5151 !important;
} */


}
.header_mid_outer.scrolled .mid_search_but_wrap .cmsmasters_header_search_but,
.header_mid_outer.scrolled .mid_search_but_wrap .cmsmasters_header_search_but::before {
    color: black !important;
}

/*.wp-block-cover, .wp-block-cover-image {
	padding:0px 30px !important;
}*/

a:hover,
span:hover {
  text-decoration: none !important;
}

li.cmsmasters_mov_bar span {
  display: none !important;
}

 /*#navigation li ul.sub-menu li a:hover .nav_item_wrap {
  color: #ccc; !important or any lighter color you prefer 

 /* Top-level and submenu items text color on hover */
#navigation li a:hover .nav_item_wrap,
#navigation li ul.sub-menu li a:hover .nav_item_wrap {
  color: #ccc !important;  /* lighter color */
  transition: color 0.3s ease !important; /* smooth fade */
}

ul.navigation li.current-menu-item > a,
ul.navigation li.menu-item-highlight > a,
ul.navigation li.current-menu-ancestor > a,
ul.navigation li > ul li:hover > a {
    color: inherit !important;        /* keep original color */
    background: none !important;      /* remove any background change */
    text-decoration: none !important; /* remove underline if any */
}


/* Regular button text/icon */
.header_mid_outer.scrolled .mid_search_but_wrap .cmsmasters_header_search_but,
.header_mid_outer.scrolled .mid_search_but_wrap .cmsmasters_header_search_but::before,
.header_mid_outer.scrolled .mid_search_but_wrap .cmsmasters_header_search_but::after {
    color: black !important; /* for text or font icons */
    fill: black !important;  /* for SVG icons */
}

.cky-btn-revisit-wrapper,
.cky-revisit-bottom-left {
    display: none !important;
}

.wp-block-cover, .wp-block-cover-image {
    padding: 0px 0px !important;
	overflow: visible !important;
}

/* Department Section */
.department-section {
  background-color: transparent !important;
  padding-top:100px !important;
  color: white !important;
  font-family: 'Roboto', sans-serif !important;
}
@media(min-width:753px)and(max-width:976px){
	.department-section, .guten-b5PGzF,
	.guten-m7F5dZ,
	.guten-stGzhu,
	.guten-KEVgOB{
	padding-right: calc(0.5 * 100vw - 375px)!important;
	padding-left:calc(0.5 * 100vw - 375px)!important;
	}
}
@media (min-width:977px)and(max-width:1184px) {
	.department-section, .guten-b5PGzF, 
	.guten-stGzhu,.guten-m7F5dZ, .guten-KEVgOB{
	padding-right: calc(0.5 * 100vw - 485px)!important;
	padding-left:calc(0.5 * 100vw - 485px)!important;
	}
}
@media (min-width:1185px){
	.department-section, .guten-b5PGzF, 
	.guten-stGzhu, .guten-m7F5dZ, .guten-KEVgOB
	 {
	padding-right: calc(0.5 * 100vw - 585px)!important;
	padding-left:calc(0.5 * 100vw - 585px)!important;
	}
}
/* Wrapper */
.department-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  /*gap: 40px !important;*/
  flex-wrap: nowrap !important; /* keep text and image side by side */
 /* max-width: 1300px !important;*/
  /*margin: 0 auto !important;*/
  position: relative !important;
	padding-left:15px !important;
	padding-right:15px !important
}

/* Menu */
.department-menu {
  background: white !important;
  color: #0a2a4d !important;
  padding: 55px 60px !important;
  min-width: 300px !important;
 /* border-radius: 5px !important;*/
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
  font-family: 'Roboto', sans-serif !important;
  /*margin-left:40px !important;
 margin-top:40px !important;*/
}
.d-title {
	line-height:.8 !important;
	font-size: 30px !important;
	margin-top:0 !important;
}
.d-menu, .d-content{
	padding-left:25px !important;
	padding-right:25px !important;
}
.department-menu h2 {
  font-size: 30px !important;
  margin-bottom: 25px !important;
	Font-family: Roboto sans-serif !important
   font-weight:900
}

.department-menu ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.department-menu ul li {
  padding: 9px 0 !important;
  border-bottom: 0.5spxd #ddd !important;
   border-top: 1px solid #ddd !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: color 0.3s ease !important;
  font-family: 'Roboto', sans-serif !important;
	font-size:16px !important;
}

.department-menu ul li:hover,
.department-menu ul li.active {
  color: #000 !important;
}

.department-menu ul li span {
  margin-left: auto !important;
  font-size: 26px !important;
  color: #cb5151 !important;
}

/* Content */
.department-content {
  font-family: 'Roboto', sans-serif !important;
  margin-top:60px !important;
}

.department-content h4 {
  font-weight: 100 !important;
  text-transform: uppercase !important;
 /* margin-bottom: 5px !important;*/
}

.department-content .dept-name {
  font-size: 40px !important;
  font-weight: 700 !important;
  margin-bottom: 50px !important;
  line-height: 36px !important;
  font-family: 'Roboto', sans-serif !important;
}

.department-content p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight:300
}

.read-more-btn {
  background: white !important;
  color: #000 !important;
  text-decoration: none !important;
  font-weight: bold !important;
  display: inline-block !important;
 /* border-radius: 2px !important;*/
  font-family: 'Roboto', sans-serif !important;
  padding:23px 35px!important;
}

/* Image */
/*.department-image {
  flex: 1 1 300px !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
}
/*
.department-image img {
  /*width: 100% !important;*/
  /*-width: 400px !important; 
  height: auto !important;
  display: block !important;
  border-radius: 10px !important;
  position: relative !important;*/
/*   top: -60px !important;  */
}
*/
/* Responsive adjustments */
@media (max-width: 992px) {
  .department-wrapper {
    flex-wrap: wrap !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
	
  }

 

/*  .department-image img {
    top: -30px !important; /* smaller pull */
   /* max-width: 300px !important; /* shrink image on tablet */
  }*/
}

@media (max-width: 576px) {
  .department-content h2.dept-name {
    font-size: 1.5rem !important;
  }

  .department-content p {
    font-size: 0.95rem !important;
  }

  .read-more-btn {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
  }

  /*.department-image img {
    top: -20px !important; /* minimal pull on mobile 
    max-width: 250px !important; /* shrink image more 
  }
*/
}
.department-content .dept-name {
  font-size: 40px !important; /* increase from 40px to 50px */
  font-weight: 900 !important;
}
#dept-desc {
	color:#737880 !important;
	font-weight:300 !important;
    line-height:30px !important;
    font-size:16px !important;
	margin-bottom:20px !important;
	
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .department-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .department-image {
        margin-left: 0 !important; /* remove overlap on tablet */
        margin-bottom: 20px !important;
    }

    .department-image img {
        top: -40px !important; /* smaller pull */
       
    }
}
 @media(Max-width:753)
	 
@media (max-width: 576px) {
    .department-image img {
        top: -20px !important; /* minimal pull on mobile */
        max-width: 250px !important;
    }

    .department-content .dept-name {
        font-size: 2rem !important;
    }

    .department-content p {
        font-size: 0.9rem !important;
    }

    .read-more-btn {
        padding: 23px 35px;!important;
        font-size: 0.85rem !important;
    }
}

.department-wrapper {
    position:relative !important;
    overflow: visible !important; /* ensure pull-out is visible */
}
.department-wrapper {
    overflow: visible !important; /* must be visible for pull-out */
}
.department-section {
    overflow: visible !important;
}
/*.department-image {
  margin-left: -60px !important; /* pulls image left */
}
.department-content p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;   /* same line count as Radiology */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.6em * 4); /* keeps space consistent */
}

.read-more-btn{
		font-weight:500 !important;
		font-size:14px!important;
		margin-top:70px!important;
		color:#102035 !important;
}

.cmsmasters_header_search_form {
    background-color: rgba(88, 181, 200, 0.7); /* 0.7 is 70% opacity */
}
.cmsmasters_header_search_form .cmsmasters_theme_icon_search {
    color: #ffffff !important; /* white */
}

/* Base Navbar */
.mid_nav {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.mid_nav a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  display: block;
}

/* Submenus (desktop) */
.mid_nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(88, 181, 200, 0.95);
  padding: 10px 0;
  /*border-radius: 5px;*/
  min-width: 180px;
  z-index: 999;
}

/* Show submenu on hover (desktop) */
.mid_nav li:hover > .sub-menu {
  display: block;
}

/* Hamburger icon (mobile/tablet) */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Hide the checkbox */
.nav-toggle {
  display: none;
}

/* --- Responsive for tablets & phones --- */
@media (max-width: 991px) {
  /* Hamburger shows */
  .hamburger {
    display: block;
  }

  /* Stack menu vertically */
  #navigation {
    display: none;
    flex-direction: column;
    background: rgba(88, 181, 200, 0.95);
    position: absolute;
    top: 60px;
    right: 20px;
    width: 220px;
    padding: 15px;
    border-radius: 8px;
  }

  /* Show menu when checkbox checked */
  .nav-toggle:checked + .hamburger + .mid_nav_wrap #navigation {
    display: flex;
  }

  /* Submenus stack under parent */
  .mid_nav .sub-menu {
    position: static;
    display: none;
    padding-left: 15px;
  }

  /* Show submenu when parent is focused */
  .mid_nav li:focus-within > .sub-menu {
    display: flex;
    flex-direction: column;
  }
}

/* newsletter*/

/* ---------------- Responsive ---------------- */

/* Tablets */
@media (max-width: 991px) {
  .wp-block-cover {
    min-height: 400px !important; /* override inline style */
  }

  .has-text-align-center {
    font-size: 45px !important;
  }

  .guten-element {
    font-size: 20px !important;
  }

  .input-container input {
    padding: 12px 45px 12px 12px;
    font-size: 15px;
  }

  .input-container .icon {
    font-size: 16px;
  }
}

/* Phones */
@media (max-width: 480px) {
  .wp-block-cover {

	  min-height: 300px !important; /* override inline style */
  }

  .has-text-align-center {
    font-size: 30px !important;
  }

  .guten-element {
    font-size: 16px !important;
  }

  .input-container {
    max-width: 90%;
  }

  .input-container input {
    padding: 10px 40px 10px 12px;
    font-size: 14px;
  }

  .input-container .icon {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
    .input-container {
        left: 3% !important;
        width: 90%; /* optional: adjust width for smaller screens */
    }
}

@media (max-width: 480px) {
    .input-container {
        left: 3% !important;
        width: 94%; /* fits small phone screens */
    }
}

/* Tablet: 2 doctors per row */
@media (max-width: 991px) {
    .guten-MaheNt .guten-posts {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Optional: reduce headings and text size for tablet */
    .wp-block-gutenverse-heading {
        font-size: 28px !important;
    }
    .guten-element.gutenverse-text {
        font-size: 14px !important;
    }
}

/* Phone: 2 doctors per row */
@media (max-width: 480px) {
    .guten-MaheNt .guten-posts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}   
    /* Adjust headings, text, and button for small screens */
    .wp-block-gutenverse-heading {
        font-size: 22px !important;
        text-align: center;
    }
    .guten-element.gutenverse-text {
        font-size: 12px !important;
        text-align: center;
    }
    .guten-button {
        font-size: 12px;
        padding: 8px 15px;
    }
	
	
	/*our blogs*/
	
	/* Make the blog grid fully responsive */
.guten-8UP1rj .guten-posts {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

/* Each post: full width on mobile, half on tablet, third on desktop */
.guten-8UP1rj .guten-post {
    flex: 0 0 48% !important;  /* desktop 2 per row */
    box-sizing: border-box !important;
}

/* Tablet */
@media (max-width: 991px) {
    .guten-8UP1rj .guten-post {
        flex: 0 0 100% !important; /* stack */
        margin-bottom: 20px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .guten-8UP1rj .guten-post {
        flex: 0 0 100% !important;
        margin-bottom: 15px !important;
    }

    .guten-post-excerpt {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .guten-readmore {
        font-size: 12px !important;
        padding: 6px 10px !important;
        display: inline-block !important;
    }

    .guten-thumb img {
        width: 100% !important;
        height: auto !important;
    }

    .wp-block-gutenverse-heading.guten-ZB7sfo,
    .wp-block-gutenverse-heading.guten-qOS69q {
        text-align: center !important;
    }
}

/* Remove fixed heights or overflow causing text cut */
.guten-8UP1rj .guten-post-excerpt,
.guten-8UP1rj .guten-post-title {
    overflow: visible !important;
    white-space: normal !important;
    height: auto !important;
}

/* Optional: spacing under image */
.guten-8UP1rj .guten-thumb {
    margin-bottom: 10px !important;
}
 /* footer*/
	.footer-bottom {
    background-color: #00b3bb; /* your teal color */
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-bottom .separator {
    margin: 0 5px;
}

/* Tablet screens */
@media (max-width: 768px) {
    .footer-bottom p {
        flex-direction: column; /* stack vertically */
        gap: 5px;
    }
    .footer-bottom .separator {
        display: none;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 12px;
    }
}

	.department-content h4 { 
    margin-bottom: -18px; /* pull h4 closer to next element */
}
	
