/* type-a의 같은 파일을 복사해 와 hd-lease 화면에 맞춰 고치는 이 테마의 원본 (CT-136). 다시 복사해 덮어쓰지 않음 */
body.theme-a footer.footer--type-a {
  padding: 0 0 48px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

body.theme-a .footer-type-a__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
}

body.theme-a .footer-type-a__menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

body.theme-a .footer-type-a__menu-link:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  background: color-mix(in srgb, var(--main-color) 6%, #fff);
}

body.theme-a .footer-type-a__menu-link--mobile-only {
  display: none;
}

body.theme-a .footer-type-a__divider {
  height: 1px;
  margin: 0;
  background: #e5e7eb;
}

body.theme-a .footer-type-a__body {
  padding: 32px 0 0;
  text-align: center;
}

body.theme-a .footer-type-a__brand {
  margin-bottom: 24px;
}

body.theme-a .footer-type-a__law {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #475569;
  word-break: keep-all;
}

body.theme-a .footer-type-a__law-badge {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--main-color) 12%, #fff);
  color: var(--main-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.theme-a .footer-type-a__intro {
  margin: 0 auto 16px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
  word-break: keep-all;
}

body.theme-a .footer-type-a__disclaimer {
  margin: 0 auto 20px;
  max-width: 820px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 13px;
  line-height: 1.7;
  color: #92400e;
  text-align: left;
  word-break: keep-all;
}

body.theme-a .footer-type-a__notices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 28px;
}

body.theme-a .footer-type-a__notice {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #64748b;
  word-break: keep-all;
}

body.theme-a .footer-type-a__notice--warn {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #fecdd3;
  color: #9f1239;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

body.theme-a .footer-type-a__regions {
  max-width: 960px;
  margin: 0 auto 28px;
  text-align: left;
}

body.theme-a .footer-type-a__regions-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
}

body.theme-a .footer-type-a__regions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.theme-a .footer-type-a__region {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

body.theme-a .footer-type-a__region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  list-style: none;
}

body.theme-a .footer-type-a__region-head::-webkit-details-marker {
  display: none;
}

body.theme-a .footer-type-a__region-head::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: #94a3b8;
  transition: transform 0.2s;
}

body.theme-a .footer-type-a__region[open] .footer-type-a__region-head::after {
  content: '−';
}

body.theme-a .footer-type-a__region-body {
  padding: 0 16px 14px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

body.theme-a .footer-type-a__region-body p {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #64748b;
  word-break: keep-all;
}

body.theme-a .footer-type-a__service-note {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  word-break: keep-all;
}

body.theme-a .footer-type-a__business {
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
}

body.theme-a .footer-type-a__business-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f7;
}

body.theme-a .footer-type-a__business-row:last-child {
  border-bottom: none;
}

body.theme-a .footer-type-a__business-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  word-break: keep-all;
}

body.theme-a .footer-type-a__business-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #334155;
  word-break: keep-all;
}

body.theme-a .footer-type-a__business-row--wide dt {
  align-self: start;
}

body.theme-a .footer-type-a__copyright {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 12px;
  color: #64748b;
}

body.theme-a .footer-type-a__copyright strong {
  font-weight: 700;
  color: #64748b;
}

@media (max-width: 768px) {
  body.theme-a footer.footer--type-a {
    padding: 0 0 calc(44px + env(safe-area-inset-bottom, 0));
  }
  body.theme-a .footer-type-a__menu {
    gap: 6px;
    padding: 14px 0;
  }
  body.theme-a .footer-type-a__menu-link {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
  body.theme-a .footer-type-a__menu-link--mobile-only {
    display: inline-flex;
  }
  body.theme-a .footer-type-a__body {
    padding-top: 24px;
  }
  body.theme-a .footer-type-a__law {
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
  }
  body.theme-a .footer-type-a__intro {
    font-size: 13px;
    text-align: left;
  }
  body.theme-a .footer-type-a__disclaimer {
    font-size: 12px;
  }
  body.theme-a .footer-type-a__notice--warn {
    font-size: 11px;
    padding: 11px 12px;
  }
  body.theme-a .footer-type-a__notice {
    font-size: 12px;
  }
  body.theme-a .footer-type-a__business-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
  body.theme-a .footer-type-a__business-row dt {
    font-size: 11px;
  }
  body.theme-a .footer-type-a__business-row dd {
    font-size: 12px;
  }
}

/* footer.freeText: plain lines under the logo (old footer_add_info) (CT-138) */
body.theme-a .footer-type-a__free-text {
  margin: 0 auto 24px;
  max-width: 900px;
  font-size: 14px;
  line-height: 1.7;
  color: #111;
  word-break: keep-all;
}

/* the footer's brand mark (the main page loads no logo.css: its rules would reach the old header) */
body.theme-a .footer-type-a__brand .logo-chaitda-simple { display: block; text-align: center; line-height: 1.2; }
body.theme-a .footer-type-a__brand .logo-chaitda-simple__brand { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; color: var(--main-color); }
body.theme-a .footer-type-a__brand .logo-chaitda-simple__img { display: block; max-height: 56px; width: auto; max-width: min(280px, 55vw); object-fit: contain; margin: 0 auto; }
