/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
  --wpforms-button-background-color: #000 !important;
  --swiper-navigation-color: #000 !important;
}

html {
  scrollbar-gutter: stable;
  scroll-behavior: unset !important;
}

html,
body {
  font-size: 14px;
  overflow-x: clip;
}

body.modal-open {
  overflow: clip;
}

body a {
  text-underline-offset: 4px;
}

img {
  vertical-align: middle;
}

.aspect-ratio-666 img {
  aspect-ratio: 0.666;
}


body.error404 #content {
  padding: 15rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul {
  padding: 0;
}

ul li {
  list-style: none;
}

a {
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

a:not(:has(> img)):hover {
  opacity: 0.8;
}

.comments-area a,
.page-content a {
  text-decoration: none;
}

#masthead {
  color: var(--e-global-color-accent);
  position: sticky !important;
  width: 100dvw;
  top: 0;
}

#masthead .elementor-icon {
  vertical-align: middle;
}

#masthead svg,
#masthead svg * {
  transition: all 0.3s ease;
  vertical-align: middle;
}


.hndsm_team_member_filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.hndsm_team_member_filter>span {
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.hndsm_team_member_filter>span:hover {
  border-color: #000;
}

.hndsm_team_member_filter>span.active {
  color: #D84557;
  border-color: #D84557;
}

.hndsm_team_member_filter span:not(:last-child)::after {
  content: "/";
  width: 2rem;
  display: inline-block;
  text-align: center;
  position: absolute;
  color: #000;
}

.hndsm_posts ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.hndsm_posts li {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition:
    all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
  transform: translateY(10px);
  overflow: hidden;
}

.hndsm_posts li.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.hndsm_posts li a img {
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
  height: 100%;
  object-fit: cover;
}

.hndsm_posts li a:hover img {
  transform: scale(1.05);
}

.hndsm_post_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem;
  transition: all 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hndsm_posts li:hover .hndsm_post_overlay {
  opacity: 1;
}

.hndsm_posts li .hndsm_post_overlay>* {
  transform: translateY(1rem);
  transition: all 0.3s ease;
  color: #fff;
}

.hndsm_posts li:hover .hndsm_post_overlay>* {
  transform: translateY(0);
}

.single-pacient .treatments li {
  list-style: disc inside;
  line-height: 1.5;
}

/* Swiper */
.swiper-carousel {
  min-width: 0;
}

.swiper-slide {
  display: flex !important;
  flex-shrink: 0 !important;
  height: auto !important;
  position: relative;
}

.swiper-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.swiper-slide a span {
  display: inline-flex;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  background-color: var(--e-global-color-accent);
  color: #fff;
}

.elementor-shortcode h2 {
  font-family: "Playfair Display", Sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .hndsm_team_member_filter {
    flex-direction: column;
    gap: 1rem;
  }

  #content .hndsm_team_member_filter span::after {
    display: none;
  }

  .swiper-slide a span {
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}