/* AcilYanDal footer directory + mobile theme continuity v1.4 */
html {
  background-color: #020711 !important;
}

.ayd-footer-directory {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) minmax(0, 4fr);
  gap: clamp(32px, 4vw, 68px);
  align-items: start;
}

.ayd-footer-brand-panel {
  min-width: 0;
}

.ayd-footer-intro {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgba(226, 232, 240, .76);
  font-size: .95rem;
  line-height: 1.75;
}

.ayd-footer-socials {
  margin-top: 1rem;
}

.ayd-footer-contact-list {
  display: grid;
  gap: .62rem;
  margin-top: 1.15rem;
  color: rgba(203, 213, 225, .78);
  font-size: .83rem;
}

.ayd-footer-contact-list a,
.ayd-footer-contact-list div {
  display: flex;
  align-items: flex-start;
  gap: .62rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  line-height: 1.45;
}

.ayd-footer-contact-list a:hover {
  color: #fff;
}

.ayd-footer-contact-list i {
  width: 1rem;
  flex: 0 0 1rem;
  margin-top: .18rem;
  color: #67e8f9;
  text-align: center;
}

.ayd-footer-contact-list span {
  overflow-wrap: anywhere;
}

.ayd-footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px clamp(22px, 2.5vw, 42px);
  min-width: 0;
}

.ayd-footer-group {
  min-width: 0;
  margin: 0;
  border: 0;
}

.ayd-footer-group > summary {
  list-style: none;
}

.ayd-footer-group > summary::-webkit-details-marker {
  display: none;
}

.ayd-footer-group .footer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0 0 .9rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ayd-footer-group .footer-title > span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.ayd-footer-group .footer-title > span > i {
  color: #67e8f9;
  font-size: .8rem;
}

.ayd-footer-chevron {
  display: none;
}

.ayd-footer-group .footer-links {
  display: grid;
  gap: .52rem;
  margin: 0;
  padding: 0;
}

.ayd-footer-group .footer-links li {
  margin: 0;
  line-height: 1.35;
}

.ayd-footer-group .footer-links a {
  display: inline-flex;
  align-items: flex-start;
  color: rgba(203, 213, 225, .72);
  font-size: .86rem;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s ease, transform .18s ease;
}

.ayd-footer-group .footer-links a:hover,
.ayd-footer-group .footer-links a:focus-visible {
  color: #fff;
  transform: translateX(2px);
}

@media (min-width: 1500px) {
  .ayd-footer-navigation {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  html,
  body {
    margin-bottom: 0 !important;
  }

  @supports selector(body:has(footer.ayd-footer)) {
    body:has(footer.ayd-footer) {
      padding-bottom: 0 !important;
    }
    body:has(footer.ayd-footer) .ayd-main-content {
      margin-bottom: 0 !important;
      padding-bottom: 0 !important;
    }
  }

  body.ayd-has-site-footer {
    padding-bottom: 0 !important;
  }

  body.ayd-has-site-footer::after {
    content: none !important;
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  body.ayd-has-site-footer .ayd-main-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.ayd-has-site-footer .ayd-main-content + footer.ayd-footer,
  body.ayd-has-site-footer footer.ayd-footer,
  body.ayd-has-site-footer .ayd-footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: linear-gradient(180deg, rgba(3, 9, 20, .98), #020711) !important;
  }

  body.ayd-has-site-footer.ayd-mobile-floating-dock footer.ayd-footer,
  body.ayd-has-site-footer.ayd-mobile-floating-dock .ayd-footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.ayd-has-site-footer:not(.ayd-mobile-floating-dock) footer.ayd-footer,
  body.ayd-has-site-footer:not(.ayd-mobile-floating-dock) .ayd-footer {
    padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ayd-footer-directory {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ayd-footer-navigation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ayd-footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .ayd-footer {
    padding-top: 2.2rem !important;
  }

  .ayd-footer-directory {
    gap: 24px;
  }

  .ayd-footer-brand-panel {
    padding: 0 2px;
  }

  .ayd-footer-intro {
    font-size: .9rem;
    line-height: 1.65;
  }

  .ayd-footer-navigation {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ayd-footer-group {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .15);
    border-radius: 17px;
    background: rgba(15, 23, 42, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  }

  .ayd-footer-group .footer-title {
    min-height: 52px;
    margin: 0;
    padding: 14px 15px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .ayd-footer-chevron {
    display: inline-block;
    color: rgba(165, 243, 252, .86);
    font-size: .75rem;
    transition: transform .2s ease;
  }

  .ayd-footer-group[open] .ayd-footer-chevron {
    transform: rotate(180deg);
  }

  .ayd-footer-group .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    padding: 0 15px 15px;
    border-top: 1px solid rgba(148, 163, 184, .10);
  }

  .ayd-footer-group .footer-links li {
    padding-top: .7rem;
  }

  .ayd-footer-group .footer-links a {
    width: 100%;
    font-size: .82rem;
  }

  .ayd-wa-community {
    margin-top: 1.35rem !important;
  }
}

@media (max-width: 430px) {
  .ayd-footer-group .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ayd-footer-group .footer-links a,
  .ayd-footer-chevron {
    transition: none;
  }
}
