/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */
/*
.service-style-1 h2 {margin: 10px 0;}
.ry-menu .ry-nav li .dropdown-toggle {padding: 30px 0;}
ul#quick-links li a {display: block;width: 100%;}
#in-services-3 ul li a {margin-left: 0px;margin-top:30px}
*/
[x-cloak] { display: none !important; }
.promotions img { min-width: 22rem; max-width:22rem;}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.mobile-menu-icon a{display: flex;height: 100%;width: 100%;justify-content: center;align-items: center;}
body.fancybox-active .ry-sticky-menu.fixed {z-index: 9999;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
	color:#fff;
}



.service-hover {
    position: absolute;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
}

/* Show service-hover when parent with data-target is hovered */
[data-target]:hover .service-hover {
    opacity: 1;
}

/* Apply the overlay effect when parent is hovered */
[data-target]:hover .service-hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Make sure it's behind the text */
}
.mm-navbar {
	color: #000000;
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
  #contents .leading-6.text-gray-600,
  #contents .leading-6.text-gray-600 p,
  #contents .leading-6.text-gray-600 li {
    font-size: 1.25rem;    /* 20px */
    line-height: 1.75rem;  /* 28px */
  }
}

/* HP Edits - Started <> */

/**/
	/*fonts*/
	/*btns*/

/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background: white;
}

mm-burger {
    color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
  color: var(--color-secondary-text);
}
.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}
.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, #000000ba);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}

.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
  color: white;
}

body[data-page-name="index"] #navigation {
    position: absolute;
}
/*headings */
p {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
}
/* Thin section headings */
.module-welcome.style-5 :is(h1, h2, h3),
#section-hp-team :is(h2, h3),
#hp-brands-6 :is(h2, h3),
#section-hp-services h3 {
  font-weight: 300 !important;
  text-transform: uppercase;
  line-height: 1.15 !important;
}

/* Larger desktop header logo */
#navigation-style-4 > .cursor-pointer {
  width: clamp(240px, 22vw, 320px) !important;
  flex-shrink: 0;
}

#navigation-style-4 > .cursor-pointer > img {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

/*button*/

.ry-btn{
color: white;
}



/* Hero */
.homepage-swiper h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 4vw, 57px);
  line-height: 1.2;
}

	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 105vh !important;
    object-fit: cover;
}
.homepage-swiper .swiper-slide img {
  margin-top: 35px
}
#hp-slider .swiper-pagination-bullet {
    background-color: white;
}
.slider-info {
    min-height: fit-content;
}
/* Headings*/
#welcome-wrap h6, #section-hp-team h6, #hp-insurance-1 h6, #HP-Testimonial h6{
  font-size: clamp(18px, 2vw, 24px);
  color: var(--color-secondary-background) !important;
	text-transform: uppercase;
}

/* CTA */

.cta-btn {  /*button color*/
  color: var(--color-secondary-text);
  background: var(--color-primary-background);

}
.cta-btn:hover {
  background: var(--color-secondary-background);
  color: var(--color-secondary-text);
}

	/**/
/* Welcome */
.module-welcome.style-5 .photo img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

@media (min-width: 1024px) {
  .module-welcome.style-5 .photo img {
    width: 120% !important;
  }
}
	/**/
/* Services */
#section-hp-services > .space-y-6 {
  position: relative;
}
/* Section subheading and main heading */
#section-hp-services h6 {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#section-hp-services h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}

/* Keep card titles above the image overlays */
#section-hp-services .grid .group > .absolute.flex-1 {
  z-index: 2;
}

#section-hp-services .grid h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

#section-hp-services > .space-y-6 {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

#section-hp-services > .space-y-6 h6 {
  margin: 0;
  color: #c9baa4;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.33;
  text-transform: uppercase;
}

#section-hp-services > .space-y-6 h2 {
  margin: 0;
  color: #425367;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.15;
  text-transform: uppercase;
}

#section-hp-services > .space-y-6 p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  #section-hp-services > .space-y-6 h6 {
    font-size: 24px;
  }

  #section-hp-services > .space-y-6 h2 {
    font-size: 48px;
  }
}
	/**/
/* Insurance */
	/**/
/* Brand */
#hp-brands-6 {
  background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-668a3ac2-abd7-4ed2-b1bf-39a97646df57/1HP_Asset/Brands_BG.jpg");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
/* Footer */
footer,
#ry-footer {
  background-color: #fff !important;
}


#ry-footer .footer-social-icon,
#ry-footer .footer-social-icon i,
#ry-footer .footer-social-icon i::before {
  color: #c9baa4 !important;
}


#ry-footer .footer-social-icon:hover,
#ry-footer .footer-social-icon:hover i,
#ry-footer .footer-social-icon:hover i::before {
  color: white !important;
}

#ry-footer img[alt="Bridlewood Eye Care logo"] {
  width: clamp(200px, 22vw, 280px) !important;
  max-width: 100%;
  height: auto !important;
}

#ry-footer h4 {
  color: #425367 !important;
}

	/**/
/*Media Queries*/

@media (min-width: 1025px) {

  #welcome-wrap h2,
  #welcome-wrap h6,
  #welcome-wrap p {
    text-align: left !important;
  }
	 #welcome-wrap .ry-btn {
    display: block;
    width: fit-content;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}

@media (max-width: 1024px) {
		#section-hp-services h6,
	#section-hp-services h2,
	#section-hp-services p,
	#HP-Testimonial h2,
	#HP-Testimonial h6,
	#HP-Testimonial p,
  #welcome-wrap h2,
  #welcome-wrap h6,
  #welcome-wrap p {
    text-align: center !important;
  }
	 #welcome-wrap .ry-btn {
    display: block;
    width: fit-content;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Tablet and mobile welcome layout */
@media (max-width: 1080px) {
  .module-welcome.style-5 {
    min-height: 0 !important;
  }

  .module-welcome.style-5 .ry-flex {
    gap: 24px !important;
  }

  .module-welcome.style-5 .ry-flex > .ry-each {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .module-welcome.style-5 .photo {
    width: 100% !important;
    max-width: 700px !important;
    margin-inline: auto;
  }

  .module-welcome.style-5 .photo img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}


	
	.sticky-icons li a i {
  position: absolute;
  top: 0px;
  left: 20px;
  font-size: 27px;
  color: white !important;
}
.sticky-icons ul li a span {
  display: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  color:white !important;
}
	/**/
	
	
/* End - HP Edits*/


[data-type="radiolist"] label {
    display: flex;
    gap: 10PX;
    align-items: center;
}

[data-type="checkboxlist"] label {
    display: flex;
    gap: 10px;
    align-items: center;
}

/*frames page fix*/


div#contents ul.pagination li {
    list-style: none !important;
}

body[data-page-name="contact-us"] #footer-map {
	display: none;
}

body[data-page-name="contact-us"] #ry-footer-3 {
	padding-top: 220px;
}

.list-3 ul p {
		margin: 0;
	}
@media (min-width: 620px) {
	.list-3 ul {
		column-count: 3;
	}
}




#navigation #header-banner {
  width: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 8px 20px !important;
  background-color: var(--color-primary-background) !important;
  color: #fff !important;
  text-align: center !important;
}

#navigation #header-banner > div {
  width: 100%;
  text-align: center !important;
  text-transform: none !important;
}

#navigation #header-banner p {
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.4px;
}

@media (max-width: 767px) {
  #navigation #header-banner {
    padding: 8px 15px !important;
  }

  #navigation #header-banner p {
    font-size: 13px !important;
    letter-spacing: 0.2px;
  }
}

#navigation #header-banner {
  padding: 10px 20px !important;
  background-color: var(--color-primary-background) !important;
}

#navigation #header-banner p {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  #navigation #header-banner {
    padding: 12px 15px !important;
  }

  #navigation #header-banner p {
    font-size: 17px !important;
    letter-spacing: 0.2px;
  }
}
#navigation #header-banner p {
  text-transform: uppercase !important;
}

#hp-slider .homepage-swiper > .swiper-button-prev,
#hp-slider .homepage-swiper > .swiper-button-next {
  display: none !important;
}

/*revision code*/
/*map*/
#footer-map {
  height: 400px !important;
}

@media (max-width: 767px) {
  #footer-map {
    height: 280px !important;
  }
}

/*cta*/
#CTA-Headings {
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 20px;
}

#CTA-Headings h6,
#CTA-Headings h2 {
  margin: 0;
  font-family: Poppins, sans-serif;
  text-align: center;
  text-transform: uppercase;
}

#CTA-Headings h6 {
  color: #c9baa4;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.33;
}

#CTA-Headings h2 {
  margin-top: 12px;
  color: #425367;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.15;
}

@media (min-width: 768px) {
  #CTA-Headings h6 {
    font-size: 24px;
  }

  #CTA-Headings h2 {
    font-size: 36px;
  }
}

.ry-section:has(#CTA-Headings) {
  background: #f0f8ff
    url("https://s3.amazonaws.com/static.organiclead.com/Site-668a3ac2-abd7-4ed2-b1bf-39a97646df57/1HP_Asset/Service_BG.jpg")
    center / cover no-repeat;
}
/*CTA title */
.ry-section:has(#CTA-Headings) .cta-wrapper .cta-section > .span {
  padding: 12px 16px 0;
}

/* border around  icon */
.ry-section:has(#CTA-Headings) .cta-wrapper .cta-section > div > img {
  box-sizing: border-box;
  border: 5px solid var(--color-secondary-background) ;
  border-radius: 50%;
}

@media (max-width: 767px) {
  /* Center the CTA cards in each row */
  .ry-section:has(#CTA-Headings) .cta-wrapper {
    justify-content: center;
  }

  /* Center each icon inside its card */
  .ry-section:has(#CTA-Headings) .cta-section > div > img {
    display: block;
    margin-inline: auto;
  }

  .ry-section:has(#CTA-Headings) .cta-section > .span {
    text-align: center;
  }
}


/* end*/

#hp-insurance-1 {
  background: #f0f8ff
    url("https://s3.amazonaws.com/static.organiclead.com/Site-668a3ac2-abd7-4ed2-b1bf-39a97646df57/1HP_Asset/Service_BG.jpg")
    center / cover no-repeat;
}

/*header hero section*/
/* Compact the desktop header */
@media (min-width: 1024px) {
  #navigation #header-banner {
    padding-block: 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  #navigation-style-4 {
    padding: 10px clamp(24px, 4vw, 64px) 0;
  }

  #navigation-style-4 img {
    width: 230px;
    max-width: 100%;
    height: auto;
  }

  #navigation-style-4 .cta-btn {
    height: 56px;
  }

  #navigation > .ry-menu {
    padding: 4px clamp(24px, 4vw, 64px) 12px;
  }

  #navigation > .ry-menu .ry-nav {
    font-size: 16px !important;
    row-gap: 8px;
  }

  #navigation > .ry-menu .ry-nav > li {
    margin-block: 0;
  }
}

/* Give the hero headline room above the slider dots */
#hp-slider .slider-info.slider-info-center-bottom {
  bottom: 36px !important;
  max-width: 1050px;
  padding: 12px 24px;
}

#hp-slider .slider-info h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

#hp-slider .swp-img {
  object-position: center 40%;
}

@media (max-width: 767px) {
  #hp-slider .slider-info.slider-info-center-bottom {
    bottom: 28px !important;
    padding-inline: 16px;
  }
}

/*end*/
/*team */
#section-hp-team .text-wrapper,
#section-hp-team .text-wrapper :is(.text-center, h6, h3, p) {
  text-align: left;
}

#section-hp-team .text-wrapper p {
  margin-inline: 0 auto;
}

#section-hp-team .text-wrapper .ry-btn {
  display: block;
  width: fit-content;
  margin-inline: 0 auto;
}

@media (max-width: 1024px) {
  #section-hp-team .text-wrapper,
  #section-hp-team .text-wrapper :is(.text-center, h6, h3, p) {
    text-align: center;
  }

  #section-hp-team .text-wrapper :is(p, .ry-btn) {
    margin-inline: auto;
  }
}
/*end*/
/*revision code*/

#welcome-wrap .photo > img.img-responsive {
  display: block;
  width: 100% !important;
  max-width: 605px !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
}

/* Replace the previous Why Choose Us CSS with this block.
   Uses the actual photo and text already inside #Welcome_Section2. */

#Welcome_Section2 > .col-xs-12 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  width: 100%;
  max-width: 1270px;
  margin-inline: auto;
}

#Welcome_Section2 > .col-xs-12 > .col-xs-12 {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

#Welcome_Section2 > .col-xs-12 > .col-xs-12 > img.img-responsive {
  display: block;
  width: 100% !important;
  max-width: 605px !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-inline: auto;
}

#Welcome_Section2 > .col-xs-12 > .max-w-7xl,
#Welcome_Section2 > .col-xs-12 > .max-w-7xl > div {
  text-align: left !important;
}

#Welcome_Section2 > .col-xs-12 > .max-w-7xl > .ry-text {
  margin-top: 24px !important;
}

@media (min-width: 992px) {
  #Welcome_Section2 > .col-xs-12 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 60px);
  }
}

#Welcome_Section2 > .col-xs-12 > .col-xs-12 > img.img-responsive {
  display: block;
  width: 100% !important;
  max-width: 605px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  margin-inline: auto;
}

#Welcome_Section2 > .col-xs-12 > .max-w-7xl {
  align-self: center;
  justify-self: center;
  max-width: 605px !important;
}

#Welcome_Section2 {
  background: #f9f9f9;
}

#CTA-Headings + .cta-wrapper > .cta-section.circle img {
  display: block;
  width: min(100%, 176px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
#CTA-Headings + .cta-wrapper {
  margin-top: clamp(24px, 3vw, 40px) !important;
}

.col-xs-12:has(> #CTA-Headings + .cta-wrapper) {
  background: url("https://s3.amazonaws.com/static.organiclead.com/Site-668a3ac2-abd7-4ed2-b1bf-39a97646df57/1HP_Edits/BG_CTA.png")
    center / cover no-repeat;
}

.col-xs-12:has(> #CTA-Headings + .cta-wrapper)
  :is(h1, h2, h3, h4, h5, h6, p),
.col-xs-12:has(> #CTA-Headings + .cta-wrapper)
  :is(h1, h2, h3, h4, h5, h6, p) span {
  color: #fff !important;
}

#CTA-Headings + .cta-wrapper > .cta-section.circle a {
  color: #fff !important;
}

#CTA-Headings + .cta-wrapper > .cta-section.circle img {
  filter: brightness(0) invert(1) !important;
}

.col-xs-12:has(> #CTA-Headings + .cta-wrapper) {
  padding-block: clamp(48px, 7vw, 88px) !important;
}

#CTA-Headings + .cta-wrapper > .cta-section.circle > div:has(> img.object-cover) {
  box-sizing: border-box;
  width: min(100%, 176px) !important;
  margin-inline: auto;
  border: 5px solid #c9baa4;
  border-radius: 50%;
}

#CTA-Headings + .cta-wrapper > .cta-section.circle img.object-cover {
  width: 100% !important;
  border: 0 !important;
  filter: brightness(0) invert(1) !important;
}

/*testimonial*/

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1272px;
  margin-inline: auto;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2)
  > .col-xs-12 {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2)
  > .col-xs-12:has(> img.img-responsive) {
  order: -1;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2)
  > .col-xs-12 > img.img-responsive {
  display: block;
  width: 100% !important;
  max-width: 605px !important;
  height: auto !important;
  margin-inline: auto;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2)
  > .col-xs-12:has(h2),
.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2)
  > .col-xs-12:has(h2) > div {
  text-align: left !important;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2) h2 {
  font-size: clamp(30px, 3vw, 48px) !important;
  line-height: 1.15;
  margin: 0 0 24px;
}

@media (min-width: 992px) {
  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 60px);
  }
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2) h2 {
  color: #425367 !important;
  font-weight: 700;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2)
  a.ry-btn.ry-btn-primary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 0;
  text-align: center;
  text-decoration: none;
}

.section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive):has(> .col-xs-12 h2) h2 {
  color: #425367 !important;
  font-weight: 300;
}

/*testimonial background*/

#hp-brands-6,
.section-p:has(> .col-xs-12 > .col-xs-12 > img.img-responsive):has(> .col-xs-12 > .col-xs-12 h2) {
  background: #f0f8ff
    url("https://s3.amazonaws.com/static.organiclead.com/Site-668a3ac2-abd7-4ed2-b1bf-39a97646df57/1HP_Asset/Service_BG.jpg")
    center / cover no-repeat !important;
}
/*brands*/

#hp-brands-5 .brand-block {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100% !important;
}

#hp-brands-5 .each-brand-group {
  display: contents !important;
}

#hp-brands-5 .each-brand {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

#hp-brands-5 .each-brand > .photo,
#hp-brands-5 .each-brand > .logo {
  flex: 0 0 50%;
  width: 50% !important;
  min-width: 0;
}

@media (max-width: 991px) {
  #hp-brands-5 .brand-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#hp-brands-5 .slick-list {
  padding-inline: 0 !important;
  height: auto !important;
}

#hp-brands-5 .slick-track:has(> .slick-slide:only-child),
#hp-brands-5 .slick-track > .slick-slide:only-child {
  width: 100% !important;
}

#hp-brands-5 .slick-dots {
  display: none !important;
}

#hp-brands-5 {
  background: #f0f8ff
    url("https://s3.amazonaws.com/static.organiclead.com/Site-668a3ac2-abd7-4ed2-b1bf-39a97646df57/1HP_Asset/Service_BG.jpg")
    center / cover no-repeat !important;
}

/*responsiveness*/
/* Match the welcome section's paragraph size */
#ry-body p:not(#navigation p, #ry-footer p) {
  font-size: 16px !important;
  line-height: 1.6;
}

@media (max-width: 767px) {

  #Welcome_Section2 > .col-xs-12 > .max-w-7xl,
  #Welcome_Section2 > .col-xs-12 > .max-w-7xl :is(div, h2, p) {
    text-align: center !important;
  }


  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    :is(.col-xs-12:has(h2), .col-xs-12:has(h2) > div, h2) {
    text-align: center !important;
  }

  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    > .col-xs-12:has(h2) a.ry-btn {
    display: inline-block;
    margin-inline: auto;
  }
}

#section-hp-team h6 {
  margin-bottom: 8px !important;
}

#section-hp-team h3 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

#section-hp-team p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#section-hp-team a.ry-btn {
  margin-top: 24px !important;
}

#CTA-Headings + .cta-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin-inline: auto !important;
}

#CTA-Headings + .cta-wrapper > .cta-section.circle {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

@media (min-width: 992px) {
  #CTA-Headings + .cta-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px !important;
  }
}

@media (max-width: 991px) {
  /* Why Choose Us */
  #Welcome_Section2 > .col-xs-12 > .max-w-7xl,
  #Welcome_Section2 > .col-xs-12 > .max-w-7xl :is(div, h2, p) {
    text-align: center !important;
  }

  /* Our Patient Reviews */
  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    > .col-xs-12:has(h2),
  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    > .col-xs-12:has(h2) > div,
  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    > .col-xs-12:has(h2) h2 {
    text-align: center !important;
  }

  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    > .col-xs-12:has(h2) a.ry-btn {
    display: inline-block;
    margin-inline: auto;
  }
	  .section-p > .col-xs-12:has(> .col-xs-12 > img.img-responsive)
    > .col-xs-12:has(h2) a.ry-btn.ry-btn-primary {
    display: block !important;
    width: fit-content !important;
    margin-inline: auto !important;
    float: none !important;
  }
}
#hp-brands-5 h6 {
  color: #c9baa4 !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#hp-brands-5 h3 {
  color: #425367 !important;
  font-family: "Manrope", sans-serif;
  font-weight: 300 !important;
  line-height: 1.15;
}

#Welcome_Section2 h2 {
  color: #425367 !important;
  font-family: "Manrope", sans-serif;
  font-weight: 300 !important;
  line-height: 1.15;
}
/*REVISION CODE */
#Welcome_Section2 img.anniversary-badge {
  margin-bottom: 0 !important;
}

#Welcome_Section2 img.anniversary-badge + div {
  margin-top: 0 !important;
}

#footer-map:has(> iframe.bridlewood-footer-map) {
  height: auto !important;
}

#footer-map > iframe.bridlewood-footer-map {
  display: block;
  flex: none;
  width: 100%;
  height: 300px !important;
  border: 0;
}

@media (max-width: 767px) {
  #footer-map > iframe.bridlewood-footer-map {
    height: 220px !important;
  }
}

#section-hp-team .text-wrapper > .col-xs-12:has(> .relative > a.ry-btn) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

#section-hp-team .text-wrapper > .col-xs-12 > .relative > a.ry-btn {
  width: auto !important;
  margin: 0 !important;
}

#section-hp-team .text-wrapper > .col-xs-12 > .relative > a.ry-btn {
  width: 185px !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: center;
}

#welcome-wrap #Welcome_Section2 {
  padding-top: 24px !important;
}

#section-hp-team .photo img {
  display: block;
  width: 100% !important;
  max-width: 700px !important;
  height: auto !important;
  margin-inline: auto;
}

#section-hp-team {
  min-height: 0 !important;
  padding-block: 40px !important;
}

@media (min-width: 1024px) {
  #section-hp-team {
    padding-block: 56px !important;
  }
}

/* Reduce the gap after Services */
#section-hp-services {
  padding-bottom: 24px !important;
}

/* Let the team section fit its content */
#section-hp-team {
  min-height: 0 !important;
  padding-block: 24px !important;
}

/* Reduce the gap before Featured Brands */
#hp-brands-5 {
  padding-top: 24px !important;
}


@media(max-width:1080px) {
	#hp-slider, #hp-slider .swiper-wrapper {
		height: fit-content !important
	}
	.homepage-swiper .swiper-slide img {
		height: 50vh !important;
	}
}
@media(max-width:768px) {
	#hp-slider .slider-info.slider-info-center-bottom {
		bottom: 0 !important;
		max-width: 100%  !important;
		padding: 20px;;
		position: relative !important;
		width: 100%;
	}
	#hp-slider .slider-info.slider-info-center-bottom .mb-4 {
		margin: 0
	}
	.homepage-swiper .swiper-slide img {
		margin-top: 60px
	}
}