main {
  padding-top: 140px;
}

/* 전체 뉴스 목록 (왼쪽) */
.art_list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.art_list li {
  display: flex;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}
.art_list li:first-child {
  padding-top: 0;
}
.art_list li:last-child {
  border-bottom: none;
}

.art_list .thumb {
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.art_list .thumb img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.art_list dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.art_list dt {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.art_list dt a {
  text-decoration: none;
  color: #212529;
}
.art_list dt a:hover {
  color: #0d6efd;
}

.art_list dd.text {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 사이드바 (오른쪽) */
.sidebar {
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #fff;
}

.sidebar .sub-tit {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #333;
}

/* 대표 뉴스 슬라이드 쇼 */
.auto-article {
  position: relative;
  overflow: hidden;
  height: 24px; /* 한 줄 높이 */
}

.auto-article .item {
  width: 100%;
  text-align: left;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* 텍스트가 길 경우 말줄임표 처리 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auto-article .item a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
}
.auto-article .item a:hover {
  text-decoration: underline;
}

/* 모바일 화면에서는 사이드바가 위로 올라가도록 순서 변경 */
@media (max-width: 991.98px) {
  .sidebar {
    margin-bottom: 2rem;
  }
  .col-lg-3 {
    order: -1; /* flexbox 순서를 맨 위로 */
  }
}
