/* ─────────────────────────────────────────────
   페이지 공통 — 일반 스크롤 페이지로 전환
───────────────────────────────────────────── */
body {
  overflow: visible;
  background: var(--color-bg-primary);
}

main {
  display: block;
}

/* ─────────────────────────────────────────────
   회사소식 목록
───────────────────────────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
}

.news {
  background: var(--color-bg-primary);
  padding: var(--space-2xl) var(--container-pad);
}

.news__inner {
  max-width: 96rem;
  margin: 0 auto;
}

/* 섹션 */
.news__section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}
.news__section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.news__section:first-child {
  padding-top: 0;
}

.news__section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

/* 목록 */
.news__list {
  display: flex;
  flex-direction: column;
}

.news__item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.news__link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0.8rem;
  transition: var(--transition);
}
.news__link:hover {
  background: var(--color-bg-secondary);
}
.news__link:hover .news__title {
  color: var(--color-blue);
}

.news__thumb {
  flex-shrink: 0;
  width: 16rem;
  height: 11rem;
  background: var(--color-bg-secondary);
  border-radius: var(--btn-radius);
}

.news__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.news__title {
  font-family: var(--font-ko);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  transition: var(--transition);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news__tag {
  font-weight: var(--fw-bold);
  color: var(--color-blue);
}

.news__date {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.news__desc {
  font-family: var(--font-ko);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 페이지네이션 */
.news__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: var(--space-xl);
}

.news__page-btn,
.news__page-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: var(--transition);
}

.news__page-btn:hover,
.news__page-num:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.news__page-num--active {
  background: var(--color-blue);
  color: #fff;
}

/* 대리점 */
.news__dealer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--space-md);
}

.news__dealer-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0.8rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.news__dealer-region {
  flex-shrink: 0;
  width: 8rem;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-blue);
}

.news__dealer-name {
  font-family: var(--font-ko);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.news__dealer-detail {
  font-family: var(--font-ko);
  font-size: var(--text-2xs);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.news__dealer-detail i {
  width: 1.6rem;
}

/* 본사 위치 */
.news__location-row-wrap {
  display: flex;
  gap: var(--space-md);
}

.news__map {
  flex: 1;
  height: 32rem;
  background: var(--color-bg-secondary);
  border-radius: var(--btn-radius);
}

.news__location-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: 2rem;
}


.news__location-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-ko);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}
.news__location-row i {
  width: 2rem;
  text-align: center;
  color: var(--color-blue);
}

/* ───── 모바일 반응형 ───── */

/* Laptop 1024px */
@media (max-width: 1024px) {
  .news__inner {
    max-width: 100%;
  }
}

/* Tablet 768px */
@media (max-width: 768px) {
  .news {
    padding: var(--space-xl) var(--container-pad);
  }
  .news__section-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
  }
  .news__pagination {
    margin-top: var(--space-lg);
  }
  .news__location-row-wrap {
    flex-direction: column;
  }
  .news__dealer-list {
    gap: 1rem 2rem;
  }
  .news__dealer-item {
    gap: 1rem;
  }
  .news__dealer-region {
    width: 5rem;
  }
  .news__map {
    flex: none;
    width: 100%;
    height: 24rem;
  }
  .news__location-info {
    flex: none;
  }

}

/* 520px */
@media (max-width: 520px) {
  .news__dealer-list {
    grid-template-columns: 1fr;
  }
 .news__dealer-item {
    gap: 4rem;
  }
}

/* Mobile L 430px */
@media (max-width: 430px) {
  .news__thumb {
    width: 9rem;
    height: 9rem;
  }
  .news__title {
    font-size: var(--text-sm);
  }
  .news__pagination {
    margin-top: var(--space-md);
  }

  .news__dealer-item {
    gap: 3rem;
  }
  .news__map {
    height: 24rem;
  }
}

/* Mobile S 360px */
@media (max-width: 360px) {
  .news {
    padding: var(--space-xl) var(--space-sm);
  }
  .news__date {
    width: 7rem;
    font-size: var(--text-2xs);
  }
}
