/* mega-menu */
/*
.mega-menu .e-n-menu-item span {
    color: #191919;
}

.mega-menu:hover .e-n-menu-item:has(.e-active) span {
    color: #191919 !important;
}

.mega-menu:hover .e-n-menu-item:not(:has(.e-active)) span {
    color: #919191 !important;
}*/

.mega-menu .clinica ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: auto;
  grid-template-rows: repeat(3, auto);
  column-gap: 120px;
}

.mega-menu .cirurgia .elementor-nav-menu,
.mega-menu .especialidades .elementor-nav-menu {
  display: flex;
  gap: 120px;
}

.mega-menu .cirurgia .elementor-nav-menu .menu-item a,
.mega-menu .especialidades .elementor-nav-menu .menu-item a {
  margin-bottom: 16px;
}

.mega-menu .cirurgia .elementor-nav-menu a:hover,
.mega-menu .especialidades .elementor-nav-menu a:hover {
  background: none !important;
}

.mega-menu .cirurgia .elementor-nav-menu li,
.mega-menu .especialidades .elementor-nav-menu li {
  margin: 0 !important;
}

.mega-menu .cirurgia .elementor-nav-menu .sub-menu,
.mega-menu .especialidades .elementor-nav-menu .sub-menu {
  display: flex !important;
  position: relative !important;
  column-gap: 60px;
  row-gap: 12px;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  max-height: 180px;
  flex-wrap: wrap;
  width: max-content;
}

.mega-menu .cirurgia .elementor-nav-menu .sub-menu .menu-item,
.mega-menu .especialidades .elementor-nav-menu .sub-menu .menu-item {
  max-width: 170px !important;
}

.mega-menu .cirurgia .elementor-nav-menu .sub-menu .menu-item .sub-menu a,
.mega-menu
  .especialidades
  .elementor-nav-menu
  .sub-menu
  .menu-item
  .sub-menu
  a {
  color: #919191 !important;
  font-size: 12px;
  line-height: 16px;
}

.mega-menu .cirurgia .elementor-nav-menu .sub-menu .menu-item a,
.mega-menu .especialidades .elementor-nav-menu .sub-menu .menu-item a {
  padding: 0 !important;
  margin: 0 !important;
  border-inline-start: 0 !important;
  color: #191919;
}

.mega-menu .sub-arrow {
  display: none !important;
}

/* footer */
.footer-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px 56px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media only screen and (min-width: 1024px) {
  .footer-menu ul {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, auto);
  }
}

/* animated columns */
.animated-categories .elementor-widget-image figure {
  position: relative;
}

.animated-categories .elementor-widget-image figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  overflow-wrap: break-word;
  font-style: normal;
  width: fit-content;
  max-width: 80%;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.animated-categories.e-con .elementor-widget-image {
  flex: 1 !important;
  height: 350px;
  transition: flex 0.4s ease-in-out !important;
  overflow: hidden;
}

.animated-categories.e-con .elementor-widget-image:hover {
  flex: 3.5 !important;
}

.animated-categories.e-con .elementor-widget-image:hover figcaption {
  opacity: 1;
}

.animated-categories.e-con .elementor-widget-image img,
.animated-categories.e-con .elementor-widget-image a {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* speciality navigation */
#procedimento,
#etapas,
#casos,
#faqs {
  scroll-margin-top: 180px;
}

/* speciality content */
.speciality-content-wrapper {
  max-width: 75%;
  margin: auto;
  margin-bottom: 116px !important;
}

.speciality-content-wrapper strong {
  font-weight: 700;
}

.especialidade-v2 .speciality-content-wrapper {
  margin-bottom: 0 !important;
}

.speciality-content-wrapper .title-column {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
  margin-top: 40px;
  margin-bottom: 24px !important;
}

.content-columns p {
  font-size: 16px;
  line-height: 22px;
  /* font-weight: 300; */
}

.speciality-content-wrapper .content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  /* margin-top: 80px; */
  /* margin-top: 40px; */
  /* margin-bottom: 30px; */
}

.especialidade-v2 .speciality-content-wrapper .content-columns {
  margin: 0 !important;
}

.speciality-content-wrapper .content-columns ul {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.speciality-content-wrapper .content-title {
  font-size: 18px;
  font-weight: 300;
  line-height: 120%;
}

.post-848 img {
  object-position: top center;
}

@media (max-width: 768px) {
  .speciality-content-wrapper .content-title {
    font-size: 18px;
  }

  .speciality-steps-container .step-title {
    font-size: 20px !important;
  }

  .speciality-content-wrapper .content-columns ul {
    padding-right: 0 !important;
  }
}

.speciality-content-wrapper .content-columns ul li::marker {
  content: "——";
  color: #ccab96;
}

.speciality-content-wrapper .content-columns ul {
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speciality-content-wrapper .content-columns ul li {
  padding-left: 16px;
  font-size: 16px;
}

.speciality-content-wrapper p {
  margin-block-end: 12px !important;
}

.more-content-section {
  /* max-width: 75%; */
  padding-top: 24px;
  font-size: 16px;
  line-height: 140%;
}

.speciality-content-wrapper a,
.blog-content a,
.speciality-faqs-wrapper a,
.speciality-steps-container .step-item a {
  color: #a56456;
  text-decoration: underline !important;
}

.step-description p {
  margin-bottom: 4px !important;
}

/* steps */
.speciality-steps-container {
  display: grid;
  grid-template-columns: repeat(var(--column-count, 1), 1fr);
  gap: 52px;
  background-image: repeating-linear-gradient(
    to right,
    #000 0,
    #000 25px,
    transparent 25px,
    transparent 45px
  );
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 2px;
  /* padding: 60px 0; */
}

.speciality-steps-container .step-title {
  font-size: 24px;
  text-transform: uppercase;
  line-height: 120%;
  margin-top: 0;
  margin-bottom: 24px;
  /* min-height: 57.59px; */
}

.speciality-steps-container .step-item {
  position: relative;
  margin-top: -35px;
  display: flex;
  flex-direction: column;
}

.speciality-steps-container .step-count {
  font-family: "Archive", sans-serif;
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 24px;
  background: #ccab96;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* speciality reviews */
.speciality-reviews-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 768px) {
  .speciality-reviews-slider {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.speciality-reviews-slider.no-posts {
  display: none;
}

.speciality-reviews-slider .sr-viewport {
  overflow: hidden;
  width: 100%;
}

.speciality-reviews-slider .sr-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.speciality-reviews-slider .sr-item {
  position: relative;
}

.speciality-reviews-slider .sr-item:before {
  content: "“";
  position: absolute;
  left: 10px;
  top: 70px;
  font-size: 180px;
  font-family: "Helvetica";
  color: #e8ded7;
  font-weight: 400;
  z-index: 0;
}

.nothing-found {
  text-align: center;
}

.speciality-reviews-slider .sr-item {
  box-sizing: border-box;
  padding: 16px 24px;
  flex: 0 0 25%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.speciality-reviews-slider .sr-quote {
  margin: 0 0 8px 0;
  font-family: "Archivo";
  font-size: 20px;
  line-height: 120%;
  text-align: center;
  -webkit-font-smoothing: none;
  z-index: 1;
  padding-top: 22px;
}

.speciality-reviews-slider .sr-name {
  text-align: center;
  font-size: 16px;
  line-height: 140%;
  font-weight: 100;
}

.speciality-reviews-slider .sr-arrow {
  border: 1px solid #191919;
  padding: 25px;
  display: flex;
  width: 50px !important;
  height: 50px !important;
  border-radius: 100%;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

div[data-elementor-type="single-post"] strong {
  font-weight: 700;
}

@media (max-width: 900px) {
  .speciality-reviews-slider .sr-item {
    flex: 0 0 50%;
  }
}

@media (max-width: 480px) {
  .speciality-reviews-slider .sr-item {
    flex: 0 0 100%;
  }
}

/* speciality faqs */
.faq-item {
  border-top: 0.5px solid #191919;
}

.faq-item:first-child {
  border-top: none;
}

.faq-question {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* padding: 24px 40px; */
  /* padding: 24px 40px 16px 40px; */
  padding: 24px 40px;
  cursor: pointer;
  font-weight: 300;
  /* font-size: 24px; */
  font-size: 20px;
  line-height: 120%;
  color: #191919;
  text-transform: uppercase;
  text-align: left;
  gap: 7px;
  /* line-height: 32px; */
  line-height: 100%;
}

.faq-question-text p {
  margin: 0 !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out, padding 0.2s ease-in-out;
  padding: 0 40px;
  line-height: 140%;
}

.faq-answer-content {
  color: #191919;
}

.faq-answer-content strong {
  font-weight: 700;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  /* padding: 24px 40px; */
  padding: 0 40px 20px 40px;
}

.faq-item.active .faq-answer p {
  margin: 0;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
  transform: rotate(180deg);
  height: 18px;
  width: 18px;
}

.faq-item.active .faq-icon {
  transform: rotate(0);
}

/* galery navigation */
.galery-wrapper .swiper-slide-inner img {
  width: 100%;
  height: 530px;
  max-height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.galery-wrapper .elementor-swiper-button {
  border: 1px solid #fafafa;
  border-radius: 100%;
  padding: 20px;
  background: #fafafa33;
}

/* featured posts */
.blog-slider-container {
  position: relative;
  height: 440px;
}

.blog-slider-track {
  display: flex;
  height: 100%;
  gap: 8px;
  justify-content: center;
  overflow: hidden;
}

.blog-slide {
  display: flex;
  overflow: hidden;
  opacity: 0.5;
  flex-shrink: 0;
  width: 25%;
  transition: opacity 0.3s ease-in-out;
}

.blog-slide.active {
  opacity: 1;
  width: 50%;
}

.blog-slide-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.blog-slide.active .blog-slide-image {
  width: 50%;
}

.blog-slide-image img {
  width: 100%;
  height: 100% !important;
  /* max-height: 440px; */
  object-fit: cover;
}

.blog-slide-content {
  width: 0%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  z-index: -1;
}

.blog-slide.active .blog-slide-content {
  opacity: 1;
  visibility: visible;
  width: 50%;
  /* padding: 16px 40px; */
  padding: 16px 40px 16px 16px;
  transform: translateX(0%);
}

.blog-slide:not(.active) .blog-slide-content {
  opacity: 0;
  visibility: hidden;
}

.slide-date {
  font-size: 16px;
  line-height: 140%;
  color: #191919;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 300;
  margin-bottom: 8px;
}

.slide-title {
  font-family: "Archive";
  font-size: 32px;
  font-weight: 300;
  line-height: 120%;
  margin-bottom: 16px;
  color: #191919;
}

.slide-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease-in-out;
}

.slide-description {
  font-size: 16px;
  line-height: 140%;
  color: #191919;
  font-family: "Avenir";
}

.blog-navigation {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
  margin-top: 24px;
}

.blog-nav-btn {
  width: fit-content;
  height: fit-content;
  padding: 0 !important;
  border: none !important;
  background: none;
  font-size: 25px !important;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
  margin-bottom: 5px;
}

.blog-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.blog-slide-counter {
  color: #191919;
  font-size: 15px;
  font-weight: 500;
}

.blog-slide:not(.active) {
  cursor: pointer;
}

.blog-slide:not(.active):hover {
  opacity: 1;
}

.blog-slide {
  cursor: pointer;
  position: relative;
}

.blog-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.blog-slide-content {
  position: relative;
}

.blog-slide-content a {
  position: relative;
  z-index: 3;
}

/* before & after */
#beforeAfter {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.bf-item {
  flex: 1;
  min-width: 0;
}

.ba-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 528px !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ba-container {
    height: 316px !important;
  }

  .casos-reais-button {
    padding: 16px 24px !important;
  }
}

.ba-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.ba-after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: none !important;
}

/* Horizontal mode */
.ba-container[data-direction="horizontal"] .ba-after-wrap {
  height: 100%;
  will-change: width;
}

.ba-container[data-direction="horizontal"] .ba-after-wrap .ba-before {
  width: auto;
  min-width: var(--container-width, 100%);
}

.ba-container[data-direction="horizontal"] .ba-handle {
  cursor: ew-resize;
}

.ba-container[data-direction="horizontal"] .ba-handle::before {
  left: 50%;
  top: -9999px;
  bottom: -9999px;
  width: 1px;
  height: auto;
  transform: translateX(-50%);
}

/* Vertical mode */
.ba-container[data-direction="vertical"] .ba-after-wrap {
  width: 100%;
  will-change: height;
}

.ba-container[data-direction="vertical"] .ba-after-wrap .ba-before {
  height: auto;
  min-height: var(--container-height, 100%);
}

.ba-container[data-direction="vertical"] .ba-handle {
  cursor: ns-resize;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ba-container[data-direction="vertical"] .ba-handle::before {
  top: 50%;
  left: -9999px;
  right: -9999px;
  width: auto;
  height: 1px;
  transform: translateY(-50%);
}

/* Vinhetas - Horizontal (padrão) */
.ba-images:before {
  content: "Antes";
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: #f6f1eccc;
  font-family: "Avenir", Sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px 24px;
  text-transform: uppercase;
  z-index: 1;
}

.ba-images:after {
  content: "Depois";
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: #f6f1eccc;
  font-family: "Avenir", Sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px 24px;
  text-transform: uppercase;
  z-index: 1;
}

/* Vinhetas - Vertical */
.ba-container[data-direction="vertical"] .ba-images:before {
  top: 8px;
  bottom: auto;
  left: 8px;
  right: auto;
}

.ba-container[data-direction="vertical"] .ba-images:after {
  top: auto;
  bottom: 8px;
  left: 8px;
  right: auto;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: transparent;
  border-radius: 100% !important;
  border: 1px solid #fff !important;
  transform: translate(-50%, -50%);
  z-index: 9;
  transition: none !important;
  will-change: transform;
  touch-action: none;
}

.ba-handle::before {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9;
  pointer-events: none;
}

.ba-range {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

/* contact form */
#contact_form input,
#contact_form textarea {
  padding: 0;
}

/* casos reais */
.caso-real-card .elementor-widget-image * {
  object-fit: cover;
  aspect-ratio: 1;
}

/* .caso-real-card .info {
  position: relative;
}

.caso-real-card .info .e-con-inner {
  width: fit-content;
  transition: width 1.2s ease;
}

.caso-real-card .info .e-con-inner a::before {
  content: "+";
  position: absolute;
  left: -50px;
  font-size: 24px;
  font-weight: 300;
  color: #161616;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.caso-real-card a {
  position: relative;
} */

/* blog
.blog-post-item {
    height: fit-content !important;
}

.blog-posts-grid .elementor-loop-container .e-loop-item:nth-of-type(1) .blog-post-item,
.blog-posts-grid .elementor-loop-container .e-loop-item:nth-of-type(9) .blog-post-item {
    display: flex !important;
    flex-direction: column !important;
    grid-row: span 2 !important;
}
    */

/* team grid */
.equipa-grid-wrapper {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: repeat(3, 1fr);
  /* gap: 120px; */
  gap: 32px;
}

.equipa-item {
  cursor: pointer;
  width: 100% !important;
  max-width: 400px !important;
  height: fit-content;
}

.equipa-item .info {
  padding: 24px 0 0 40px;
  position: relative;
  display: flex !important;
}

.especialidade .info {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  max-width: 422.672px;
}

.equipa-item .info .info-content,
.especialidade .info .e-con-inner,
.caso-real-card .info .e-con-inner {
  /* width: auto; */
  /* width: fit-content !important; */
  width: unset !important;
  max-width: unset !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  display: flex;
  flex-direction: column !important;
  align-items: end !important;
  gap: 8px;
  /* transition: width 1.2s ease; */
  transition: flex-grow 0.6s ease !important;
}

.equipa-item .info .info-content h2 {
  margin-bottom: 8px;
}

.equipa-item .info .info-content span {
  font-size: 16px;
  line-height: 140%;
}

.caso-real-card .info .e-child::before {
  content: "+";
  position: absolute;
  left: -50px;
  font-size: 24px;
  font-weight: 300;
  color: #161616;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.equipa-item .info .info-content h2::before,
.especialidade .info .e-con-inner h2::before {
  content: "+";
  position: absolute;
  left: -50px;
  font-size: 24px;
  font-weight: 300 !important;
  color: #161616;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.equipa-item h2 {
  position: relative;
  margin: 0;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 120%;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.equipa-item img {
  width: 100% !important;
  height: 450px !important;
  max-height: 450px;
  display: block;
  object-fit: cover;
  object-position: top;
}

.casos-reais img {
  max-height: 450px;
}

.especialidade .info .e-con-inner {
  margin: 0 !important;
  /* width: 100% !important; */
}

.especialidade .info .e-con-inner .elementor-widget-heading {
  max-width: 300px !important;
}

.especialidade h2 {
  text-overflow: ellipsis !important;
}

.caso-real .info .e-con-inner .info-content {
  align-items: start;
}

.elementor-1826 {
  position: relative;
}

.single-especialidade .elementor-element-37090ef {
  padding-top: 0;
}
/* .caso-real .info .e-con-inner .info-content div,
.caso-real .info .e-con-inner .info-content ul,
.caso-real .info .e-con-inner .info-content li,
.caso-real .info .e-con-inner .info-content span {
  width: fit-content;
} */

.wp-image-963,
.wp-image-1030,
.wp-image-914 {
  object-position: top center !important;
}

.elementor-element-55d0994c .content-right {
  padding: 0;
}

@media (min-width: 1024px) {
  .equipa-item:hover .info h2::before,
  .especialidade:hover .info .e-con-inner h2::before,
  .caso-real-card:hover .info .e-child::before {
    opacity: 1 !important;
  }

  .equipa-item:hover .info .info-content,
  .especialidade:hover .info .e-con-inner,
  .caso-real-card:hover .info .e-con-inner {
    /* width: 100px !important; */
    flex-grow: 1 !important;
  }

  .caso-real-card:hover .info a::before {
    opacity: 1 !important;
  }
}

.equipa-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(3px);
  z-index: 9999999999;
}

.popup-inner {
  background: rgba(204, 171, 150, 0.98);
  max-width: 1440px;
  width: 80%;
  height: fit-content;
  max-height: 80%;
  padding: 72px !important;
  display: flex;
  flex-direction: column;
  position: fixed;
  align-items: center;
  justify-content: center;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28px !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px !important;
}

.popup-content {
  display: flex;
  flex-direction: row;
  gap: 72px;
  /* flex-wrap: wrap; */
  max-height: 590px;
  overflow: hidden;
  align-content: flex-start;
}

.popup-left,
.popup-right {
  font-size: 16px;
  line-height: 140%;
  flex: 1 1 45%;
  max-height: 590px;
}

.popup-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biografia {
  overflow-y: scroll;
  scrollbar-width: auto;
  padding-right: 26px;
  /* padding-bottom: 48px; */
}

.biografia::-webkit-scrollbar {
  /* display: none; */
  border: 1px solid #191919;
  width: 10px;
}

.biografia::-webkit-scrollbar-thumb {
  background: #191919;
}

.popup-right h2 {
  font-family: "Archive";
  font-size: 48px;
  font-weight: 300;
  line-height: 120%;
  margin: 0;
}

.popup-left img {
  width: 100%;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: top;
}

.speciality-navigation a.active {
  color: #d4af37;
}

.elementor-element-991794e {
  display: none;
}

@media (max-width: 1300px) {
  .slide-title {
    font-size: 30px;
    line-height: 100%;
  }

  /* .popup-inner {
    padding: 100px;
  } */
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
  .equipa-grid-wrapper,
  .elementor-element-7a36e19 .elementor-grid,
  .elementor-element-9ec7b51 .elementor-grid,
  .elementor-element-a093bd7 .elementor-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .equipa-item {
    max-width: unset !important;
  }

  .elementor-element-7cf2fa5 {
    width: 80% !important;
  }

  .elementor-element-52c36a4 {
    flex-direction: column !important;
  }

  .elementor-element-008ca96 {
    width: 100% !important;
  }

  .elementor-element-1a0075c {
    padding-left: 32px !important;
  }

  .footer-menu ul {
    /* grid-template-rows: unset !important;
    grid-template-columns: repeat(3, auto) !important;
    grid-auto-flow: unset !important;
    gap: 8px 40px; */

    display: grid !important;
    grid-template-columns: repeat(3, auto) !important;
    grid-template-rows: repeat(5, auto) !important;
    grid-auto-flow: column !important;
    gap: 8px 40px;
  }

  /* .footer-menu ul li:first-child {
    grid-column: span 3;
  } */

  /* Alinha os itens da 2ª e 3ª coluna para baixo */
  .footer-menu ul li:nth-child(6) {
    grid-row: 2;
  }
  .footer-menu ul li:nth-child(10) {
    grid-row: 2;
  }

  footer img {
    height: 40px !important;
    width: 152px !important;
  }

  .elementor-element-eb1edd3 {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .elementor-element-9e2c0ba h1 {
    line-height: 100% !important;
  }

  .elementor-element-fa8f94b h2 {
    font-size: 20px !important;
    line-height: 100% !important;
  }

  .elementor-element-bff07e2 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
  }
}

@media screen and (min-width: 400px) and (max-width: 599px) {
  .footer-menu ul {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    grid-template-rows: repeat(7, auto) !important;
    grid-auto-flow: column !important;
    gap: 8px 40px;
  }

  .footer-menu ul li:first-child {
    grid-column: span 2;
    grid-row: 1;
  }

  .footer-menu ul li:nth-child(8) {
    grid-column: 2;
    grid-row: 2;
  }
}

@media screen and (min-width: 400px) and (max-width: 768px) {
  /* .footer-menu ul {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    gap: 8px 40px;
  } */

  .elementor-element-bf36f1d {
    justify-content: start !important;
  }
}

@media screen and (min-width: 551px) and (max-width: 768px) {
  .elementor-element-bf36f1d {
    gap: 20px !important;
  }
}

@media screen and (min-width: 546px) and (max-width: 550px) {
  .elementor-element-bf36f1d {
    gap: 10px !important;
  }
}

@media screen and (max-width: 545px) {
  .elementor-element-bf36f1d {
    gap: unset !important;
  }
}

.elementor-element-bf36f1d {
  flex-wrap: wrap !important;
}

.elementor-element-d299552 {
  justify-content: start !important;
}

@media screen and (max-width: 546px) {
  .elementor-element-bf36f1d {
    flex-direction: column !important;
    align-items: start !important;
  }

  .elementor-element-1ea9439,
  .elementor-element-ef9e186,
  .elementor-element-661aca9 {
    display: none;
  }
}

@media screen and (min-width: 1201px) and (max-width: 1440px) {
  .elementor-element-eb1edd3 {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* @media screen and (min-width: 768px) {
  .elementor-51 .elementor-element.elementor-element-6c64ff6 {
    width: 26%;
  }
} */

.elementor-element-bf36f1d,
.elementor-51 .elementor-element.elementor-element-d299552 {
  width: fit-content !important;
}

@media (max-width: 1024px) {
  .speciality-content-wrapper {
    max-width: 95%;
  }

  .speciality-steps-container {
    grid-template-columns: 1fr;
    background-image: repeating-linear-gradient(
      to bottom,
      #000 0,
      #000 25px,
      transparent 25px,
      transparent 45px
    );
    background-repeat: no-repeat;
    background-position: left;
    background-size: 2px 100%;
    margin-left: 35px;
    gap: 70px;
  }

  .speciality-steps-container .step-item {
    display: flex;
    flex-direction: row;
    gap: 18px;
  }

  .speciality-steps-container .step-title {
    margin-bottom: 8px;
  }

  .faq-question {
    font-size: 20px;
    line-height: 120%;
  }

  .speciality-content-wrapper .content-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .more-content-section {
    max-width: 100%;
    /* padding-top: 0; */
    height: 100%;
  }

  .speciality-steps-container .step-count {
    width: 70px !important;
    min-width: 70px;
    height: 70px !important;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: -35px;
  }

  .equipa-item {
    max-width: 60% !important;
  }

  .equipa-item:nth-child(2n of .equipa-item) {
    justify-self: right;
  }

  .popup-inner {
    height: 100%;
    overflow-y: scroll;
    padding: 24px;
  }

  .biografia {
    overflow-y: initial;
    padding-right: 0;
    padding-bottom: 56px;
  }

  .popup-content {
    max-height: 100%;
    overflow: initial;
    padding-top: 48px;
    gap: 24px;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .popup-left img {
    /* width: auto; */
    width: 100%;
    max-height: 500px !important;
    object-fit: cover;
  }

  .popup-left {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .equipa-grid-wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }

  .animated-categories .elementor-widget-image figcaption {
    opacity: 1;
    top: 80%;
  }

  .animated-categories.e-con .elementor-widget-image img,
  .animated-categories.e-con .elementor-widget-image a {
    height: 250px;
  }

  .blog-slider-container {
    height: auto;
  }

  .blog-slider-track {
    gap: 0;
  }

  .blog-slide {
    display: none;
    width: 100% !important;
    opacity: 1;
  }

  .blog-slide.active {
    display: flex;
    flex-direction: column;
  }

  .blog-slide.active .blog-slide-image,
  .blog-slide.active .blog-slide-content {
    width: 100% !important;
  }

  .blog-slide.active .blog-slide-image {
    height: 500px;
  }

  .blog-slide.active .blog-slide-content {
    visibility: visible;
    opacity: 1;
    transform: none;
    padding: 24px 20px;
  }

  .slide-title {
    font-size: 28px;
    line-height: 120%;
  }

  .slide-description {
    font-size: 14px;
    line-height: 140%;
  }

  .elementor-element-87fa636 .swiper-pagination,
  .elementor-element-c11edff .swiper-pagination,
  .elementor-element-cf238ef .swiper-pagination {
    left: 50% !important;
    top: unset !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: auto !important;
  }

  .elementor-element-e05cd52 p {
    margin: 0 !important;
  }

  .faq-question {
    padding: 24px 16px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 16px 20px 16px;
  }

  .content-right {
    padding-top: 12px;
  }
}

@media (max-width: 768px) {
  .blog-slide.active .blog-slide-image {
    height: 400px;
  }

  .equipa-item .info {
    padding: 16px 0 0 40px;
  }

  .equipa-item .info .info-content h2 {
    font-size: 16px;
  }

  .equipa-item .info .info-content {
    width: 100% !important;
    align-items: start !important;
  }

  .popup-inner {
    padding: 24px !important;
  }

  .popup-content {
    padding-bottom: 40px !important;
  }

  .popup-right h2 {
    font-size: 32px;
    line-height: 120%;
  }

  .speciality-content-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0 8px;
  }

  .speciality-content-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0 8px;
    /* padding-top: 40px;
    padding-bottom: 120px; */
    margin-bottom: 100px !important;
  }

  .speciality-navigation {
    position: relative;
    overflow-x: scroll;
  }

  .speciality-navigation .elementor-widget-text-editor p {
    white-space: nowrap;
  }

  #beforeAfter {
    flex-direction: column;
  }

  .bf-item {
    flex: 1 1 100%;
  }

  .faq-question {
    font-size: 16px;
    line-height: 140%;
  }

  .casos-reais a {
    width: 100%;
  }

  .caso-real-card .info .e-con-inner {
    width: 100% !important;
  }

  .elementor-element-bf36f1d {
    width: 100% !important;
  }

  .before-after-wrapper {
    gap: 24px !important;
  }

  .elementor-779
    .elementor-element.elementor-element-459a669
    .elementor-loop-container,
  .elementor-1101
    .elementor-element.elementor-element-22c763c
    .elementor-loop-container {
    grid-auto-rows: unset !important;
  }

  .elementor-801 {
    height: fit-content !important;
  }

  .elementor-element-5022bee {
    height: auto !important;
  }

  .caso-real-card .elementor-widget-image * {
    aspect-ratio: unset !important;
  }

  .elementor-830
    .elementor-element.elementor-element-7a36e19
    .e-loop-item
    > .e-con,
  .elementor-232
    .elementor-element.elementor-element-6e302a4
    .e-loop-item
    > .e-con,
  .elementor-952
    .elementor-element.elementor-element-a442729
    .e-loop-item
    > .e-con,
  .elementor-3140
    .elementor-element.elementor-element-0402b87
    .e-loop-item
    > .e-con {
    height: unset !important;
  }

  .elementor-232
    .elementor-element.elementor-element-6e302a4
    .elementor-loop-container,
  .elementor-830
    .elementor-element.elementor-element-7a36e19
    .elementor-loop-container,
  .elementor-856
    .elementor-element.elementor-element-7a36e19
    .elementor-loop-container,
  .elementor-848
    .elementor-element.elementor-element-7a36e19
    .elementor-loop-container,
  .elementor-865
    .elementor-element.elementor-element-7a36e19
    .elementor-loop-container,
  .elementor-872
    .elementor-element.elementor-element-7a36e19
    .elementor-loop-container,
  .elementor-952
    .elementor-element.elementor-element-aef39b2
    .elementor-loop-container,
  .elementor-952
    .elementor-element.elementor-element-a442729
    .elementor-loop-container,
  .elementor-3140
    .elementor-element.elementor-element-fbbb24d
    .elementor-loop-container,
  .elementor-3140
    .elementor-element.elementor-element-9ec7b51
    .elementor-loop-container,
  .elementor-3140
    .elementor-element.elementor-element-9ec7b51
    .elementor-loop-container,
  .elementor-3140
    .elementor-element.elementor-element-a093bd7
    .elementor-loop-container,
  .elementor-3140
    .elementor-element.elementor-element-0402b87
    .elementor-loop-container {
    grid-auto-rows: unset !important;
  }

  /* .elementor-830
    .elementor-element.elementor-element-7a36e19
    .elementor-loop-container {
    grid-auto-rows: unset !important;
  } */
}

@media (max-width: 600px) {
  .equipa-item {
    max-width: 80% !important;
  }

  .equipa-item img {
    height: 275px !important;
    max-height: 275px;
  }
}

@media (max-width: 480px) {
  .blog-slide.active .blog-slide-image {
    height: 300px;
  }

  .galery-wrapper .swiper-slide-inner img {
    height: 240px;
  }

  .galery-wrapper .elementor-swiper-button {
    padding: 12px;
  }
}

/* .blog-image {
  min-height: 380px;
} */

.blog-image a {
  width: 100%;
}

.blog-image img {
  height: 375px !important;
  object-fit: cover;
  width: 100%;
}

.elementor-element-906d804 {
  width: fit-content !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog-image img {
    height: 375px !important;
    object-fit: cover;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  #menu-1-9fe53e7 {
    display: grid !important;
    grid-template-columns: repeat(3, auto) !important;
    grid-template-rows: repeat(5, auto) !important;
    grid-auto-flow: column !important;
    gap: 8px 40px;
  }

  /* Alinha os itens da 2ª e 3ª coluna para baixo */
  #menu-1-9fe53e7 li:nth-child(6) {
    grid-row: 2;
  }
  #menu-1-9fe53e7 li:nth-child(10) {
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .blog-image img {
    height: 275px !important;
    object-fit: cover;
    width: 100%;
    width: 100vw !important;
  }

  .casos-reais img {
    max-height: 275px;
  }

  .our-team-grid {
    width: 100% !important;
  }

  .equipa-grid-wrapper {
    gap: 24px;
  }
}

header {
  width: 100vw;
  position: fixed;
  z-index: 999999999;
}

main,
div[data-elementor-type="single-post"],
div[data-elementor-type="archive"],
div[data-elementor-type="search-results"] {
  padding-top: 80px;
}

footer {
  z-index: 99999999;
}

.elementor-element-6551b20,
.elementor-element-41be125,
.elementor-element-d342f13 {
  position: static !important;
}

/* .menu-header-menu-container ul { */
header .main_menu {
  height: 100%;
  width: 100%;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  column-gap: 18px;
  text-transform: uppercase;
}

header .main_menu li {
  padding: 28px 0;
}

header .main_menu li a {
  color: #191919;
}

header .main_menu .sub-menu {
  max-height: 0;
  /* max-height: 100vh; */
  overflow: hidden;
  /* top: calc(100% + 1px); */
  top: 100%;
  left: 0;
  position: absolute;
  background: rgb(250, 250, 250);
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: max-height 0.6s ease-out 0s, border-color 0s ease-out 0.6s;
  /* border-top: 0.5px solid rgb(22, 22, 22); */
  border-bottom: 0.5px solid rgb(22, 22, 22);
  /* max-width: 1440px !important; */
  /* margin: 0 auto !important; */
  /* padding-left: 30px !important; */
  list-style: none;
}

header .main_menu .sub-menu .grid-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 30px;
  display: flex;
  flex-direction: row;
  column-gap: 120px;
  row-gap: 64px;
  flex-wrap: wrap;
}

header .main_menu .sub-menu li {
  padding: 0;
}

header .main_menu .sub-menu .submenu-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

header .main_menu .sub-menu .sub-submenu {
  padding: 0;
  list-style: none;
  text-transform: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media screen and (min-width: 1024px) {
  /* header .main_menu .menu-item.parent.has-children:hover > .sub-menu {
    max-height: 100vh;
    border-bottom-color: #161616;
    transition: max-height 0.6s ease-out 0s, border-color 0s ease-out 0s;
  } */
  header .main_menu .menu-item.parent.has-children > .sub-menu.open {
    max-height: 100vh;
    border-bottom-color: #161616;
    transition: max-height 0.6s ease-out 0s, border-color 0s ease-out 0s;
  }
  header nav a:hover {
    color: #a56456 !important;
  }
}

/* .no-children-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
} */

.no-children-column ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.no-children-column {
  list-style: none;
}

ul.grid-container li {
  list-style: none;
}

.bt-menu {
  display: none;
  /* display: inline-block; */
  float: right;
  position: relative;
  background: none;
  cursor: pointer;
  width: 80px;
  height: 80px;
  transition: 0.2s;
  /* border-left: 0.5px solid #161616; */
}
.bt-menu .hamburguer,
.bt-menu .hamburguer .bar {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.bt-menu .hamburguer {
  width: 30px;
  height: 19px;
  transition: 0.4s;
}
.bt-menu .hamburguer .bar {
  width: 24px;
  height: 1.5px;
  background: #191919;
  transition: 0.2s;
  border-radius: 4px;
}
body.menu-open {
  overflow: hidden !important;
}
.menu-open .bt-menu .hamburguer {
  transform: rotate(180deg);
}
.menu-open .bt-menu .hamburguer .bar-1 {
  transform: rotate(45deg) translate3d(0, 0, 0);
}
.menu-open .bt-menu .hamburguer .bar-2 {
  opacity: 0;
}
.menu-open .bt-menu .hamburguer .bar-3 {
  transform: rotate(-45deg) translate3d(0, 0, 0);
}
.bt-menu .hamburguer .bar-1 {
  transform: rotate(0) translate3d(0, -9px, 0);
}
.bt-menu .hamburguer .bar-3 {
  transform: rotate(0) translate3d(0, 9px, 0);
}

.elementor-element-d60c5f1 {
  position: static !important;
}

.svg-mobile-container,
.svg-child-mobile-container {
  display: none;
}

button.e-filter-item[data-filter="uncategorized"] {
  display: none !important;
}

.caso-number {
  font-size: 16px;
  line-height: 140%;
  color: #191919;
}

.team-slider {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-slider .ts-viewport {
  overflow: hidden;
  width: 100%;
}

.team-slider .ts-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.team-slider .ts-item {
  box-sizing: border-box;
  padding: 16px 24px;
  flex: 0 0 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.team-slider .ts-item.equipa-item {
  max-width: unset !important;
}

.team-slider .ts-arrow {
  border: 1px solid #191919;
  padding: 25px;
  display: flex;
  width: 50px !important;
  height: 50px !important;
  border-radius: 100%;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 767px) {
  .team-slider .ts-item {
    flex: 0 0 100%;
    padding: 0;
  }
}

.subtitle p {
  margin: 0 !important;
}

.elementor-element-270fc1c0 {
  overflow: visible !important;
}

.elementor-element-ab51713 {
  position: static !important;
}

.mobile-up-nav {
  position: static;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links-list {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  border-top: 0.5px solid rgb(22, 22, 22);
  border-bottom: 0.5px solid rgb(22, 22, 22);
  z-index: 9999;
}

.nav-links-list li {
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links-list li a {
  display: block;
  padding: 16px 0;
  text-align: center;
  text-decoration: none;
  color: #000;
  font-size: 15px;
  line-height: 140%;
  text-transform: uppercase;
  background: rgb(250, 250, 250);
}

.nav-toggle-btn {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  padding: 10px 0;
  gap: 10px;
}

.nav-toggle-btn span {
  text-transform: uppercase;
  font-size: 15px;
  line-height: 20px;
  color: #a56456;
  font-weight: 300;
  margin: 0 auto;
}

.mobile-up-nav.is-open .nav-links-list {
  max-height: 500px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.nav-toggle-btn svg {
  transform: scaleY(1);
  transition: transform 0.3s ease-in-out;
}

.mobile-up-nav.is-open .nav-toggle-btn svg {
  transform: scaleY(-1);
}

.before-after-wrapper {
  justify-content: center;
}

.bf-item {
  max-width: 716px;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .header-mobile .marcar-consulta {
    display: none !important;
  }
}

.elementor-element-bdf2c71 {
  border: 0.5px solid rgb(25, 25, 25) !important;
}

@media screen and (min-width: 1024px) {
  .elementor-element-af7eabd .e-con-inner,
  .elementor-element-3b0959d .e-con-inner,
  .elementor-element-65f1737 .e-con-inner,
  .elementor-element-a442808 .e-con-inner {
    max-height: 495px;
  }
}

@media screen and (m-width: 1107px) {
  .elementor-element-eb1edd3 {
    padding-right: 40px !important;
    padding-left: 40px !important;
  }
}

.elementor-element-f73186f,
.elementor-element-f73186f figure,
.elementor-element-6dc5bfb,
.elementor-element-cd3c887,
.elementor-element-e313d1d {
  height: 100% !important;
}

.elementor-element-8c70645 p,
.elementor-element-4b9a6e4 p {
  margin: 0 !important;
}

.elementor-element-f50ad5e img {
  max-height: 426.75px;
  object-fit: cover;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .elementor-element-f50ad5e img {
    max-height: 434.25px;
    object-fit: cover;
  }
}

@media screen and (max-width: 767px) {
  .elementor-element-f50ad5e img {
    max-height: 280px;
    object-fit: cover;
  }
}

.elementor-element-f50ad5e a {
  width: 100% !important;
}

.espaco-img img {
  max-height: 556px;
}

.sobre-nos-img img {
  max-height: 420px;
}

.galery-wrapper img {
  max-height: 521px !important;
}

@media screen and (max-width: 767px) {
  .galery-wrapper img {
    max-height: 280px !important;
  }

  .second-image {
    left: unset !important;
    right: 0 !important;
  }
}

.step-item-container {
  font-size: 16px;
  line-height: 140%;
}

.first-image {
  width: 83% !important;
}

.second-image {
  width: 67% !important;
}

.elementor-element-3512dfd p {
  margin-bottom: 16px !important;
}

@media screen and (max-width: 767px) {
  .elementor-element-3512dfd p {
    margin-bottom: 8px !important;
  }
}

.elementor-element-d5b5182 {
  gap: 8px !important;
}

.review-title h3 {
  white-space: normal;
  overflow-wrap: break-word;
}

@media screen and (max-width: 767px) {
  .elementor-element-389f8a9 .elementor-loop-container,
  .elementor-element-9fa0685 .elementor-loop-container {
    padding: 0 16px;
  }
}

.not-found {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found h1 {
  font-family: "Archive", sans-serif;
  font-size: 48px;
  line-height: 120%;
  font-weight: 300;
}

.not-found p {
  font-size: 16px;
  line-height: 140%;
}

@media screen and (max-width: 767px) {
  .not-found h1 {
    font-size: 32px;
  }

  .not-found p {
    padding: 0 10px;
  }

  .especialidade .info .e-con-inner,
  .caso-real-card .info .e-con-inner {
    display: flex;
    align-items: start !important;
  }
}

.legal-pages-content h2 {
  font-size: 24px;
  line-height: 120%;
  margin-top: 0;
  text-transform: uppercase;
  font-weight: 300 !important;
}

.legal-pages-content h3 {
  font-size: 16px;
  line-height: 140%;
  font-weight: 500;
  margin: 0;
}

.legal-pages-content div p {
  margin-bottom: 24px !important;
}

.legal-pages-content div {
  margin-bottom: 40px;
}

.legal-pages-content .list p {
  margin-bottom: 0 !important;
}

.legal-pages-content ul {
  padding-left: 16px;
}

.legal-pages-content ul li {
  padding-left: 5px;
}

.legal-pages-content ul li::marker {
  content: "—";
  color: rgb(204, 171, 150);
}

.legal-pages-content a {
  color: #a56456;
  text-decoration: underline;
}

.blog-content div div {
  padding: 0 !important;
}

header .main_menu button {
  padding: 0;
  border: none;
}

header .main_menu button:hover {
  background-color: transparent;
  color: #a56456;
}

.not-url {
  text-align: left;
}

@media (min-width: 1024px) {
  .not-url {
    pointer-events: none;
    cursor: default;
  }
}

@media (max-width: 1023px) {
  .not-url {
    pointer-events: auto;
    cursor: pointer;
  }

  .marcar-consulta {
    display: flex;
    width: 100%;
    background-color: #191919;
    color: #fafafa;
    padding: 24px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .marcar-consulta:hover {
    color: #fafafa;
  }

  .espaco-img img {
    max-height: 360px;
  }

  .sobre-nos-img img {
    max-height: 360px;
  }

  .equipa-item .info {
    padding-left: 0;
  }
}

@media screen and (max-width: 1255px) {
  /* .bt-menu { */
  .elementor-element-d60c5f1,
  .bt-menu {
    display: block !important;
  }

  .elementor-element-d342f13 {
    display: none !important;
  }

  .elementor-element-bdf2c71 {
    width: 100vw !important;
  }

  .elementor-element-be9841c {
    width: fit-content !important;
    position: static !important;
  }

  .elementor-element-be9841c {
    gap: 0 !important;
  }

  .elementor-element-9abcc72 {
    display: none;
  }

  header .elementor-element-adf3328 {
    width: fit-content !important;
    padding-left: 1.5rem !important;
  }

  header .elementor-element-bdf2c71 .e-con-inner {
    justify-content: space-between !important;
  }

  header .header-mobile {
    display: block;
    top: 80px;
    z-index: 99999;
    position: absolute;
    /* position: fixed; */
    left: 0;
    height: 100vh;
    max-height: 0;
    width: 100%;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, height 0.3s ease-in-out;
    padding: 0;
    background-color: rgb(250, 250, 250);
    border-top: 0.5px solid #191919;
  }

  header .header-mobile .grid-container {
    /* height: 100vh; */
    height: 100%;
    width: 100%;
    max-width: 1440px !important;
    padding: 24px 1.5rem !important;
    margin: 0 auto;
    overflow-y: auto;
    flex-wrap: nowrap !important;
  }

  header .header-mobile .grid-container nav {
    /* height: 100%; */
    height: fit-content;
  }

  header .header-mobile .main_menu {
    flex-direction: column;
    gap: 24px;
  }

  header .header-mobile .main_menu li {
    padding: 0;
  }

  header .header-mobile .main_menu .menu-item.parent.has-children .menu-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  header
    .header-mobile
    .main_menu
    .menu-item.parent.has-children
    .menu-link
    .svg-mobile-container {
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
  }

  header .header-mobile .sub-menu {
    height: calc(100% - 70px);
    transform: translateX(150%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 24px;

    max-height: unset;
    top: 0;
    left: 0;
    position: absolute;
    background: rgb(250, 250, 250);
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: transform 0.3s ease;
    list-style: none;
  }

  .header-mobile .sub-menu.open {
    transform: translateX(0%);
  }

  .menu-open header .header-mobile {
    max-height: calc(100dvh - 80px);
    /* max-height: 100dvh; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  header .header-mobile .sub-menu .grid-container .back {
    padding-bottom: 6px;
  }

  header .header-mobile .sub-menu .grid-container {
    width: 100%;
    flex-direction: column;
    /* gap: 24px; */
    gap: 18px;
  }

  header .header-mobile .sub-menu .grid-container .back button {
    width: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  header .header-mobile .svg-child-mobile-container {
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    transition: transform 0.3s ease;
  }

  header .header-mobile .sub-submenu {
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
  }

  .submenu-item.has-children.open > a .svg-child-mobile-container,
  .submenu-item.has-children.open > button .svg-child-mobile-container {
    transform: scaleY(-1);
  }

  header .header-mobile .sub-submenu.open {
    max-height: 100vh !important;
  }

  .no-children-column {
    gap: 24px;
  }

  header .main_menu {
    flex-wrap: nowrap !important;
  }

  header .main_menu .sub-menu .submenu-item {
    gap: 0;
  }

  header .main_menu .sub-menu .sub-submenu {
    gap: 12px;
  }

  .header-mobile .sub-menu .sub-submenu > li:first-child {
    padding-top: 16px;
  }

  header .menu-link {
    width: 100%;
  }
}

@media (max-width: 767px) {
  header .elementor-element-adf3328 {
    max-width: 170px !important;
    padding-left: 1.5rem !important;
  }

  .elementor-element-f50ad5e {
    max-height: 280px;
  }

  .elementor-element-ff5d7e8 {
    max-height: 275px;
  }
}

.elementor-widget-taxonomy-filter .e-filter {
  overflow-x: scroll !important;
  -ms-overflow-style: auto !important;
  scrollbar-width: thin !important;
}

#elementor-popup-modal-932 {
  z-index: 9999999999;
}

div[data-elementor-type="search-results"] .e-con-inner {
  /* padding-bottom: 48px; */
}

div[data-elementor-type="search-results"] {
  padding-bottom: 48px;
}

div[data-elementor-type="search-results"] .title {
  font-size: 48px;
  line-height: 120%;
  font-weight: 300;
  font-family: "Archive", serif;
  margin: 0;
}

@media (max-width: 767px) {
  div[data-elementor-type="search-results"] .e-con-inner {
    /* padding-bottom: 40px; */
  }

  div[data-elementor-type="search-results"] {
    padding-bottom: 40px;
  }

  div[data-elementor-type="search-results"] .title {
    font-size: 32px;
  }
}

.no-results-message {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

.no-results-message h2 {
  font-size: 48px;
  line-height: 120%;
  font-weight: 300;
  font-family: "Archive", serif;
}

@media (min-width: 1200px) {
  .no-results-message {
    max-width: 1140px;
  }
}

@media (min-width: 992px) {
  .no-results-message {
    max-width: 800px;
  }
}

@media (min-width: 768px) {
  .no-results-message {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .no-results-message h2 {
    font-size: 32px;
  }

  .team-slider .ts-arrow {
    height: 40px !important;
    width: 40px !important;
    padding: 20px 20px;
  }

  .bt-menu {
    border-left: 0.5px solid #161616;
  }
}

/* @media (max-width: 1024px) {
  .wp-image-963 {
    object-position: top !important;
  }
} */

/* .wp-image-963 {
  object-position: top !important;
} */

@media (min-width: 576px) {
  .no-results-message {
    max-width: 500px;
  }
}

@media (max-width: 575px) {
  .no-results-message {
    padding: 0 10px;
  }
}

.search-wrapper {
  width: 100%;
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
}

.search-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
}

.search-icon {
  width: 20px;
  height: 20px;
}

.search-text {
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #191919;
}

.search-toggle:hover .search-text {
  color: #191919;
}

.search-toggle svg path {
  stroke: #191919;
}

.search-input-wrapper {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  border: 0.5px solid #191919;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.search-wrapper.active .search-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.search-wrapper.active .search-input-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
}

.search-form {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
  min-width: 250px;
}

.search-field {
  flex: 1;
  border: none !important;
  padding: 6px 12px;
  font-size: 15px;
  outline: none;
  text-transform: uppercase;
  background: transparent !important;
}

.search-submit {
  height: 100%;
  background: #191919 !important;
  border: none !important;
  padding: 7px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit svg {
  height: 25px;
  width: 20px;
}
