.mgh-footer {
  direction: rtl;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mgh-footer__top {
  position: relative;
  z-index: 2;
  padding: 3rem 1rem 3.25rem;
  margin: 0 0 -4rem;
  color: #2a1c26;
  text-align: center;
}

.mgh-footer__top::before {
  content: "";
  position: absolute;
  left: 39%;
  top: 50%;
  width: min(43rem, 92vw);
  aspect-ratio: 688 / 226;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg%20width=%22688%22%20height=%22226%22%20viewBox=%220%200%20688%20226%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M0%20202V24C0%2010.7452%2010.7452%200%2024%200H533.608C541.266%200%20548.464%203.65442%20552.983%209.83661L683.102%20187.837C694.694%20203.693%20683.369%20226%20663.727%20226H24C10.7452%20226%200%20215.255%200%20202Z%22%20fill=%22%23D9CFD4%22/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.mgh-footer__top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(63.75rem, 96vw);
  aspect-ratio: 1020 / 198;
  transform: translate(-50%, -50%) translateX(1rem);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg%20width=%221020%22%20height=%22198%22%20viewBox=%220%200%201020%20198%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Crect%20width=%221020%22%20height=%22198%22%20rx=%2228%22%20fill=%22%23E2DBDD%22/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.mgh-footer__top-inner {
  position: relative;
  z-index: 2;
  max-width: 51.25rem;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.mgh-footer__top-logo {
 display: block;
 margin: 0 auto 1rem;
 width: 2.5rem;
 height: auto;
}

.mgh-footer__top-text {
  margin: 0;
  color: var(--mgh-color-6, #333132);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7rem;
  text-align: center;
}

.mgh-footer__main {
  position: relative;
  z-index: 1;
  background: var(--mgh-color-3, #925376);
  box-shadow: 0 0 2.25rem rgba(0, 0, 0, 0.48) inset;
  padding: 5.25rem 1.25rem 1rem;
  overflow: hidden;
}

.mgh-footer__legal {
    color: white;
    text-align: center;
    border-top: 1px solid #bbbbbb54;
    margin: 2rem 5rem 0rem 5rem;
    padding-top: 1rem;
}

.mgh-footer__main::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: min(39rem, 70vw);
  aspect-ratio: 498 / 517;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  background-image: url("data:image/svg+xml,%3Csvg%20width=%22498%22%20height=%22517%22%20viewBox=%220%200%20498%20517%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%0A%3Crect%20x=%22-12%22%20y=%22212.819%22%20width=%22304.771%22%20height=%22304.771%22%20rx=%2248%22%20transform=%22rotate(-3.95612%20-12%20212.819)%22%20fill=%22url(%23paint0_linear_3685_860)%22/%3E%0A%3Cg%20filter=%22url(%23filter0_f_3685_860)%22%3E%0A%3Crect%20x=%2265.3594%22%20y=%22203.37%22%20width=%22239.257%22%20height=%2294.2525%22%20rx=%2247.1263%22%20transform=%22rotate(-3.95612%2065.3594%20203.37)%22%20fill=%22%23F1B8D8%22/%3E%0A%3C/g%3E%0A%3Cdefs%3E%0A%3Cfilter%20id=%22filter0_f_3685_860%22%20x=%22-121.503%22%20y=%220%22%20width=%22618.915%22%20height=%22484.261%22%20filterUnits=%22userSpaceOnUse%22%20color-interpolation-filters=%22sRGB%22%3E%0A%3CfeFlood%20flood-opacity=%220%22%20result=%22BackgroundImageFix%22/%3E%0A%3CfeBlend%20mode=%22normal%22%20in=%22SourceGraphic%22%20in2=%22BackgroundImageFix%22%20result=%22shape%22/%3E%0A%3CfeGaussianBlur%20stdDeviation=%2295%22%20result=%22effect1_foregroundBlur_3685_860%22/%3E%0A%3C/filter%3E%0A%3ClinearGradient%20id=%22paint0_linear_3685_860%22%20x1=%22122.901%22%20y1=%22281.671%22%20x2=%22127.609%22%20y2=%22331.385%22%20gradientUnits=%22userSpaceOnUse%22%3E%0A%3Cstop%20stop-color=%22%23925376%22/%3E%0A%3Cstop%20offset=%221%22%20stop-color=%22%23925376%22%20stop-opacity=%220%22/%3E%0A%3C/linearGradient%3E%0A%3C/defs%3E%0A%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.mgh-footer__main-inner {
  position: relative;
  z-index: 2;
  max-width: 77.5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

nav.mgh-footer__col--quick {
  padding-right: 4rem;
}

.mgh-footer__col {
  min-width: 0;
}

.mgh-footer__col--contact {
  position: relative;
  z-index: 3;
}

.mgh-footer__title {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--mgh-color-7, #fcffff);
  font-weight: 500;
}

.mgh-footer__text {
  margin: 0;
  color: var(--mgh-color-7, #fcffff);
  opacity: 0.95;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 2.03rem;
  text-align: justify;
}

.mgh-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mgh-footer__list-item {
  position: relative;
  padding-right: 1rem;
  margin: 0 0 0.4rem;
}

.mgh-footer__list-item::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  background-repeat: no-repeat;
  background-size: 0.5rem 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg%20width=%228%22%20height=%228%22%20viewBox=%220%200%208%208%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Ccircle%20cx=%224%22%20cy=%224%22%20r=%224%22%20fill=%22%23FCFFFF%22/%3E%3C/svg%3E");
}

.mgh-footer__link {
  text-decoration: none !important;
  color: var(--mgh-color-7, #fcffff);
  opacity: 0.95;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7rem;
  text-align: justify;
}

.mgh-footer__link:hover,
.mgh-footer__link:focus-visible {
  text-decoration: none !important;
  outline: none;
}

.mgh-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mgh-footer__contact-item {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0 0 0.4rem;
}

.mgh-footer__icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
}

.mgh-footer__meta {
  min-width: 0;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.mgh-footer__meta-label {
  display: block;
  color: var(--mgh-color-7, #fcffff) !important;
  margin-bottom: 0.25rem;
  text-decoration: none !important;
  opacity: 0.95;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.8rem;
  text-align: start;
}

.mgh-footer__meta-value {
  display: inline-block;
  color: var(--mgh-color-7, #fcffff) !important;
  word-break: break-word;
  text-decoration: none !important;
  opacity: 0.95;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7rem;
  text-align: start;
}

.mgh-footer__meta-value:hover,
.mgh-footer__meta-value:focus-visible {
  text-decoration: underline;
  outline: none;
}

.mgh-footer__meta-value--plain {
  text-decoration: none !important;
}

.mgh-footer__social-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.mgh-footer__social-title {
  display: block;
  color: var(--mgh-color-7, #fcffff) !important;
  margin-bottom: 0.25rem;
  text-decoration: none !important;
  opacity: 0.95;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.8rem;
  text-align: start;
}

.mgh-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.mgh-footer__social-link {
  display: inline-block;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  text-decoration: none !important;
  transform: translateY(0);
  transition: transform .5s ease, box-shadow .5s ease, color .65s ease;
  will-change: transform;
}

.mgh-footer__social-link:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(42deg, var(--mgh-color-5, #c0b0bd) 0%, var(--mgh-color-3, #925376) 100%);
  opacity: 0;
  transition: opacity .5s ease;
  z-index: -1;
  pointer-events: none;    
}


a.mgh-footer__social-link:hover {
    transform: translateY(-0.2rem);
}

a.mgh-footer__social-link:focus-visible{ 
  transform: translateY(-0.2rem);
}

.mgh-footer__link:hover,
.mgh-footer__meta-value:hover,
.mgh-footer__legal-link:hover{
    color: var(--mgh-color-8, #cccccc) !important;
}

.mgh-footer__social-link:focus-visible {
  outline: 0.125rem solid rgba(252, 255, 255, 0.85);
  outline-offset: 0.125rem;
}

.mgh-footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mgh-footer__legal-inner {
  max-width: 77.5rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.mgh-footer__legal-text {
  margin: 0;
  color: var(--mgh-color-7, #fcffff);
  opacity: 0.95;
  font-size: 0.85rem;
  font-weight: 500;
}

.mgh-footer__legal-link {
  color: var(--mgh-color-7, #fcffff);
  text-decoration: none !important;
  font-size: 0.94rem;
}

.mgh-footer__legal-link:hover,
.mgh-footer__legal-link:focus-visible {
  text-decoration-thickness: 0.125rem;
  outline: none;
}

.mgh-footer__legal-br {
  display: none;
}

.mgh-footer__main {
  z-index: auto;
}

.mgh-footer__main::before {
  z-index: 3;
}

.mgh-footer__main-inner {
  position: relative;
  z-index: 4;
}

.mgh-footer__social-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.5625rem;
  height:1.5625rem;
}

.mgh-footer__icon > svg,
.mgh-footer__social-link > svg{
  display:block;
  flex-shrink:0;
}

@media (max-width: 1024px) {
  .mgh-footer__main-inner {
    grid-template-columns: 1fr;
  }

  .mgh-footer__top-logo {
    width: 4rem;
  }
}

@media (max-width: 768px) {
  .mgh-footer__sep {
    display: none;
  }

  .mgh-footer__legal-br {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.mgh-footer__social-link, 
  .mgh-footer__social-link, 
  a.mgh-footer__social-link::before, 
  .mgh-footer__social-link::before,
  div.mgh-last-article-clinical-psychotherapy .elementor-post__read-more{ 
    transition: none;
  }
}