.m-footer,
.md-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px 20px calc(38px + env(safe-area-inset-bottom));
  color: var(--on-footer, #fff);
}

.m-footer::before,
.md-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green, #07816d), transparent);
}

.m-footer > img,
.md-footer > img {
  width: min(185px, 55vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1) !important;
  background: transparent !important;
}

.m-footer > p,
.md-footer > p {
  max-width: 36ch;
  margin: 12px 0 27px;
  color: var(--on-footer, #fff);
  font-size: 14px;
  line-height: 1.6;
  opacity: .82;
}

.m-footer > div:not(.public-socials):not(.footer-map),
.md-footer > div:not(.public-socials):not(.footer-map) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  font-size: 13px;
}

.m-footer > div:not(.public-socials):not(.footer-map)::before,
.md-footer > div:not(.public-socials):not(.footer-map)::before {
  content: "İLETİŞİM VE BAĞLANTILAR";
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--on-footer, #fff);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  opacity: .72;
}

.m-footer > div:not(.public-socials):not(.footer-map) > a,
.m-footer > div:not(.public-socials):not(.footer-map) > button,
.md-footer > div:not(.public-socials):not(.footer-map) > a,
.md-footer > div:not(.public-socials):not(.footer-map) > button {
  min-width: 0;
  min-height: 43px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid color-mix(in srgb, var(--on-footer, #fff) 19%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--on-footer, #fff) 7%, transparent);
  color: var(--on-footer, #fff);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.m-footer > div:not(.public-socials):not(.footer-map) > a:nth-of-type(-n+2),
.md-footer > div:not(.public-socials):not(.footer-map) > a:nth-of-type(-n+2) {
  grid-column: 1 / -1;
}

.m-footer > div:not(.public-socials):not(.footer-map) > a:hover,
.m-footer > div:not(.public-socials):not(.footer-map) > button:hover,
.md-footer > div:not(.public-socials):not(.footer-map) > a:hover,
.md-footer > div:not(.public-socials):not(.footer-map) > button:hover {
  background: color-mix(in srgb, var(--on-footer, #fff) 15%, transparent);
}

.m-footer .public-socials,
.md-footer .public-socials {
  margin-top: 30px;
  gap: 10px !important;
}

.m-footer .public-socials::before,
.md-footer .public-socials::before {
  content: "BİZİ TAKİP EDİN";
  flex: 0 0 100%;
  margin-bottom: 2px;
  color: var(--on-footer, #fff);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  opacity: .72;
}

.m-footer .public-social,
.md-footer .public-social {
  width: 43px;
  height: 43px;
  border-color: color-mix(in srgb, var(--on-footer, #fff) 26%, transparent);
  color: var(--on-footer, #fff) !important;
  background: color-mix(in srgb, var(--on-footer, #fff) 7%, transparent);
}

.m-footer .footer-map,
.md-footer .footer-map {
  width: 100%;
  height: auto;
  margin-top: 28px;
  display: grid;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.m-footer .footer-map::before,
.md-footer .footer-map::before {
  content: "KONUMUMUZ";
  color: var(--on-footer, #fff);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  opacity: .72;
}

.m-footer .footer-map iframe,
.md-footer .footer-map iframe {
  width: 100%;
  height: 180px;
  border: 1px solid color-mix(in srgb, var(--on-footer, #fff) 24%, transparent);
  border-radius: 13px;
  background: #e8f1ee;
}

.m-footer > small,
.md-footer > small {
  display: block;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid color-mix(in srgb, var(--on-footer, #fff) 20%, transparent);
  color: var(--on-footer, #fff);
  font-size: 11px;
  line-height: 1.5;
  opacity: .7;
}

@media (max-width: 350px) {
  .m-footer,
  .md-footer { padding-inline: 16px; }
  .m-footer > div:not(.public-socials):not(.footer-map),
  .md-footer > div:not(.public-socials):not(.footer-map) { gap: 7px; }
  .m-footer > div:not(.public-socials):not(.footer-map) > a,
  .m-footer > div:not(.public-socials):not(.footer-map) > button,
  .md-footer > div:not(.public-socials):not(.footer-map) > a,
  .md-footer > div:not(.public-socials):not(.footer-map) > button { padding-inline: 9px; font-size: 11px; }
}
