.site-footer.site-footer-expanded {
  margin-top: 40px;
  padding: 38px 24px 34px;
  border-top: 1px solid rgba(22, 121, 92, 0.14);
  color: #52635d;
  background: #f2f6f7;
  font-family: "SUIT", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

.site-footer-expanded * {
  box-sizing: border-box;
}

.site-footer-expanded .site-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.site-footer-business-details {
  margin-top: 4px;
  border-top: 1px solid rgba(22, 121, 92, 0.13);
}

.site-footer-business-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 0 2px;
  color: #173f33;
  cursor: pointer;
  list-style: none;
}

.site-footer-business-details summary::-webkit-details-marker {
  display: none;
}

.site-footer-business-details summary > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.site-footer-business-details summary .footer-business-identity {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.footer-business-identity > span {
  color: #354741;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.footer-business-identity i {
  margin: 0 5px;
  color: #aab5b1;
  font-style: normal;
}

.footer-business-identity > strong {
  color: #173f33;
  font-size: 12px;
  line-height: 1.45;
}

.site-footer-business-details summary strong {
  font-size: 15px;
}

.site-footer-business-details summary small {
  color: #76847f;
  font-size: 12px;
}

.footer-business-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #176f5a;
  font-size: 12px;
  font-weight: 800;
}

.footer-business-toggle::before {
  content: "보기";
}

.footer-business-toggle::after {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.site-footer-business-details[open] .footer-business-toggle::before {
  content: "접기";
}

.site-footer-business-details[open] .footer-business-toggle::after {
  content: "−";
}

.site-footer-business-panel {
  padding: 4px 2px 18px;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 42px;
  padding-bottom: 28px;
}

.footer-directory section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-directory section[hidden] {
  display: none !important;
}

.footer-directory h2 {
  margin: 0 0 3px;
  color: #173f33;
  font-size: 15px;
  font-weight: 900;
}

.footer-directory a {
  width: fit-content;
  color: #52635d;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-directory a:hover,
.footer-directory a:focus-visible {
  color: #0f7d60;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-directory .footer-strong-link {
  color: #244b40;
  font-weight: 850;
}

.footer-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 18px 20px;
  border: 1px solid rgba(22, 121, 92, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.footer-contact-strip > div {
  display: grid;
  gap: 2px;
}

.footer-contact-strip span,
.footer-contact-strip small {
  color: #6d7f79;
  font-size: 12px;
}

.footer-contact-strip strong {
  color: #153f33;
  font-size: 20px;
}

.footer-contact-strip a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: #fff !important;
  background: #177a5e;
  font-size: 13px;
  font-weight: 850;
}

.footer-contact-button.secondary {
  border: 1px solid rgba(23, 122, 94, 0.22);
  color: #176f5a !important;
  background: #fff;
}

.footer-contact-button.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 11px;
}

.site-footer-expanded .site-footer-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.site-footer-expanded .site-footer-heading strong {
  color: #173f33;
  font-size: 18px;
}

.site-footer-expanded .site-footer-heading span,
.site-footer-expanded .site-footer-note,
.site-footer-expanded .footer-copyright {
  font-size: 12px;
}

.site-footer-expanded .business-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 20px;
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer-expanded .business-details div {
  display: flex;
  gap: 7px;
}

.site-footer-expanded .business-details dt {
  flex: 0 0 auto;
  color: #778680;
}

.site-footer-expanded .business-details dd {
  min-width: 0;
  margin: 0;
  color: #354741;
  overflow-wrap: anywhere;
}

.site-footer-expanded .business-details a {
  color: inherit;
}

.site-footer-expanded .business-address {
  grid-column: span 2;
}

.site-footer-expanded .site-footer-note {
  margin: 12px 0 0;
  color: #76847f;
  line-height: 1.6;
}

.footer-copyright {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 121, 92, 0.11);
  color: #8a9692;
}

@media (max-width: 760px) {
  .site-footer.site-footer-expanded {
    margin-top: 28px;
    padding: 28px 18px 30px;
  }

  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px;
  }

  .footer-contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .footer-contact-strip > div {
    grid-column: 1 / -1;
    margin-bottom: 5px;
  }

  .footer-contact-button {
    padding: 0 10px;
  }

  .site-footer-expanded .site-footer-heading {
    display: grid;
    gap: 3px;
  }

  .footer-business-identity > span {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
  }

  .site-footer-expanded .business-details {
    grid-template-columns: 1fr;
  }

  .site-footer-expanded .business-address {
    grid-column: auto;
  }
}
