.footer {
  padding: 100px 0 45px 0;
  background: #ffffff;
  color: #000000;
  box-sizing: border-box;
  border-top: 1px solid #eee;
}

.footer-container {
  padding-right: 2.5%;
  padding-left: 2.5%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  list-style: none;
  padding: 0;
}

.footer-section {
  box-sizing: border-box;
  padding: 0 15px 40px 15px;
  flex-basis: 25%;
  flex-grow: 1;
  min-width: 200px;
}

.footer-logo-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-section-info,
.footer-section-links {
  text-align: left;
}
.footer-section-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-section-links a {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
  text-decoration: none;
  width: fit-content;
}

.footer-section-links a:hover {
  opacity: 0.6;
}

.footer-section-info p {
  font-size: 0.8rem;
  font-weight: 500;
  color: #000;
  line-height: 1.6;
  margin: 0;
}

.footer-section-info p + p {
  margin-top: 0.5rem;
  /* 단락 간격 */
}

/* --- 하단 저작권 영역 --- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-left: 15px;
  padding-right: 15px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-bottom-left a,
.footer-bottom-left p {
  font-size: 0.8rem;
  font-weight: 500;
  color: #000;
  line-height: 1.6;
}

.footer-bottom-left a:hover {
  opacity: 0.7;
}

.footer-bottom-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
}

.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #eee;
  border-top-color: #4caf50;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.footer-bottom-right a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
  margin-left: 1.25rem;
  transition: color 0.2s ease;
}
.footer-bottom-right a:hover {
  color: #888;
}
.footer-bottom-right a:first-child {
  margin-left: 0;
}

@media (max-width: 1024px) {
  .footer-grid {
    justify-content: flex-start;
  }

  .footer-section {
    flex-basis: 50%;
    flex-grow: 0;
    min-width: 0;
  }

  .footer-bottom {
    align-items: flex-start;

    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .footer-section {
    flex-basis: 100%;
    max-width: 100%;
  }
}
