/*
 * Stitch-inspired global footer for Blocksy Child.
 * The Blocksy footer builder remains available in admin, but is hidden on the front end.
 */
body footer.ct-footer {
  display: none !important;
}

.vds-stitch-footer,
.vds-stitch-footer * {
  box-sizing: border-box;
}

.vds-stitch-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #202626;
  color: rgba(255,255,255,.72);
  font-family: "Noto Sans KR", sans-serif;
}

.vds-footer-main,
.vds-footer-bottom {
  width: min(1200px, calc(100% - 128px));
  margin-inline: auto;
}

.vds-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(140px, .65fr));
  gap: 56px;
  padding: 64px 0 54px;
}

.vds-footer-brand {
  max-width: 390px;
}

.vds-footer-logo {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Noto Serif KR", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.vds-footer-description {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.85;
}

.vds-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vds-footer-social {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.vds-footer-social:hover,
.vds-footer-social:focus-visible {
  border-color: #63c9c3;
  background: #006764;
  color: #fff;
  transform: translateY(-2px);
}

.vds-footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.vds-footer-social--naver {
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
}

.vds-footer-column h2 {
  margin: 3px 0 20px;
  color: #fff;
  font: 700 12px/1.4 "Noto Sans KR", sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.vds-footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 11px;
  list-style: none;
}

.vds-footer-links a,
.vds-footer-contact a {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color .2s ease;
}

.vds-footer-links a:hover,
.vds-footer-contact a:hover {
  color: #fff;
}

.vds-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.vds-footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.vds-footer-contact svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  fill: currentColor;
}

.vds-footer-bottom-wrap {
  border-top: 1px solid rgba(255,255,255,.1);
}

.vds-footer-bottom {
  padding: 24px 0 28px;
  color: rgba(255,255,255,.46);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .vds-footer-main,
  .vds-footer-bottom {
    width: min(100% - 48px, 720px);
  }

  .vds-footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 42px 28px;
  }

  .vds-footer-brand {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .vds-footer-main,
  .vds-footer-bottom {
    width: calc(100% - 40px);
  }

  .vds-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding: 48px 0 40px;
  }

  .vds-footer-brand {
    grid-column: 1 / -1;
  }

  .vds-footer-column--contact {
    grid-column: 1 / -1;
  }

  .vds-footer-logo {
    font-size: 21px;
  }

  .vds-footer-bottom {
    padding: 20px 0 24px;
  }
}

