@import url("../../common.css");

.center-location-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.center-location-title {
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(---, #586269);
  color: var(---, #0e0f11);
  font-family: var(---, SUITE);
  font-size: var(---2-2, 32px);
  font-style: normal;
  font-weight: 700;
  line-height: var(---2-2, 32px);
}

.center-location-map {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 478px;
  border-radius: 16px;
  background: rgba(155, 164, 171, 0.1);
}

.center-location-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #6c7680;
  font-family: var(---, Pretendard);
  font-size: 16px;
  font-weight: 300;
  line-height: 16px;
  text-align: center;
}

.center-location-map-placeholder .icon {
  font-size: 20px;
  color: #6c7680;
}

.center-location-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.center-location-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  border-radius: 16px;
  background: rgba(155, 164, 171, 0.1);
}

.center-location-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-location-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.center-location-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 0 0;
  min-width: 0;
}

.center-location-card-title {
  margin: 0;
  color: var(---, #0e0f11);
  font-family: var(---, SUITE);
  font-size: var(---5-5, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: var(---5-5, 20px);
}

.center-location-card-body {
  margin: 0;
  color: var(---, #586269);
  font-family: var(---, Pretendard);
  font-size: var(---, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(---, 24px);
}

.center-location-address {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.center-location-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(88, 86, 214, 0.1);
  color: #282691;
  font-family: var(---, Pretendard);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 12px;
  white-space: nowrap;
}

@media (max-width: 1299px) {
  .center-location-section {
    gap: 24px;
  }

  .center-location-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 28px;
  }

  .center-location-map {
    height: 300px;
    border-radius: 16px;
  }

  .center-location-card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .center-location-card {
    padding: 32px;
  }

  .center-location-icon {
    width: 48px;
    height: 48px;
  }

  .center-location-address {
    flex-direction: column;
    align-items: flex-start;
  }

  .center-location-card-body {
    font-size: 15px;
    line-height: 22px;
  }
}
