.news-main {
  padding-top: 0 !important;
  background: #fff;
}

.news-top {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 7vw, 4.5rem);
  background: #fff;
  text-align: center;
}

.news-top h1 {
  margin: 0 0 1.1rem;
  color: #111;
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 830;
  letter-spacing: -0.05em;
}

.news-top p {
  margin: 0 auto;
  color: #444;
  font-size: 1.16rem;
  line-height: 1.8;
}

/* =========================
   새소식 상단 제목 헤더 겹침 보정
   ========================= */

/* 웹 / 큰 화면 */
@media (min-width: 1025px) {
  .news-top {
    padding-top: calc(var(--header-height, 84px) + 76px) !important;
  }
}

/* 태블릿 / 중간 화면 */
@media (min-width: 641px) and (max-width: 1024px) {
  .news-top {
    padding-top: calc(var(--header-height, 84px) + 64px) !important;
  }
}

/* 모바일은 기존보다 살짝 안정화 */
@media (max-width: 640px) {
  .news-top {
    padding-top: calc(var(--header-height, 78px) + 48px) !important;
  }
}


/* 대표 소식 슬라이드 */
.featured-news {
  padding: 40px 0 90px;
}

.featured-slider-wrap {
  position: relative;
}

.featured-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.featured-slider::-webkit-scrollbar {
  display: none;
}

.featured-card {
  box-sizing: border-box;
  min-width: 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 360px;
  padding: 64px 58px 76px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.featured-info {
  max-width: 900px;
}

.category {
  display: inline-block;
  margin-bottom: 24px;
  color: #f5a400;
  font-size: 1rem;
  font-weight: 900;
}

.featured-card h2 {
  margin: 0 0 32px;
  color: #000;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.065em;
}

.featured-card p {
  margin: 0 0 42px;
  max-width: 920px;
  color: #111;
  font-size: 1.36rem;
  line-height: 1.85;
  font-weight: 600;
}

.featured-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  max-width: 100%;
  border: 2px solid #111;
  border-radius: 12px;
  color: #111;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.featured-card a:hover {
  background: #111;
  color: #fff;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.slider-btn.prev {
  left: -23px;
}

.slider-btn.next {
  right: -23px;
}

.featured-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.featured-dots button {
  width: 74px;
  height: 4px;
  border: none;
  border-radius: 999px;
  background: #d8d8d8;
  cursor: pointer;
  padding: 0;
}

.featured-dots button.active {
  background: #111;
}

/* 게시물 영역 */
.news-archive {
  padding: 20px 0 110px;
}

.archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.archive-head h2 {
  margin: 0;
  color: #111;
  font-size: 2rem;
  font-weight: 830;
  letter-spacing: -0.05em;
}

.filter-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-list button {
  border: 1px solid #e4d5b8;
  background: #fff;
  color: #5a5044;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.filter-list button.active,
.filter-list button:hover {
  background: #f5a400;
  color: #fff;
  border-color: #f5a400;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 42px;
}

.news-post {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.news-post .post-body {
  padding-top: 24px;
}

.news-post .category {
  margin-bottom: 18px;
}

.news-post:hover .thumb img {
  transform: scale(1.04);
}

.news-post:hover h3 {
  color: #f5a400;
}

.thumb {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #f2f2f2;
}

@media (max-width: 900px) {
  .thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.empty-thumb {
  display: grid;
  place-items: center;
  background: #fff3d7;
  color: #f5a400;
  font-weight: 900;
  font-size: 1.3rem;
}

.post-body h3 {
  margin: 0 0 14px;
  color: #111;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.post-body p {
  margin: 0 0 18px;
  color: #444;
  line-height: 1.75;
}

.post-body time {
  color: #888;
  font-weight: 800;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.pagination button {
  width: 42px;
  height: 42px;
  border: 1px solid #e4d5b8;
  background: #fff;
  color: #555;
  border-radius: 50%;
  font-weight: 900;
  cursor: pointer;
}

.pagination button.active,
.pagination button:hover {
  background: #f5a400;
  color: #fff;
  border-color: #f5a400;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .archive-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-card {
    padding: 44px 28px 64px;
  }

  .featured-card p {
    font-size: 1.1rem;
  }

  .featured-dots button {
    width: 46px;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .news-top {
    padding: 125px 0 50px;
  }

  .featured-news {
    padding: 30px 0 70px;
  }
}
