@charset "utf-8";
/* 최신글 스킨 - 카드 뉴스 (dd_card_news) */

.dd_card_news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dd_card_news .itm {
  border: 1px solid var(--line-color);
  overflow: hidden;
  background: var(--white-color, #fff);
  transition: box-shadow 0.3s ease;
}

.dd_card_news .itm:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* 첫 번째 카드 강조 스타일 */
.dd_card_news .itm.featured {
  background: #1e2535;
  border-color: transparent;
  color: #fff;
}

.dd_card_news .itm a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.2rem;
  text-decoration: none;
}

/* 상단 뱃지 + 날짜 */
.dd_card_news .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.8rem;
}

.dd_card_news .badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.07);
  color: var(--body-color);
}

.dd_card_news .itm.featured .badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.dd_card_news .date {
  text-align: right;
}

.dd_card_news .date strong {
  display: block;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.dd_card_news .date small {
  display: block;
  font-size: 1.3rem;
  margin-top: 0.4rem;
  opacity: 0.45;
}

/* 본문 */
.dd_card_news .body {
  flex: 1;
}

.dd_card_news .body h3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.dd_card_news .body p {
  font-size: 1.5rem;
  line-height: 1.75;
  opacity: 0.6;
}

/* 하단 */
.dd_card_news .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-top: 2.8rem;
  border-top: 1px solid var(--line-color);
}

.dd_card_news .itm.featured .foot {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.dd_card_news .author {
  font-size: 1.4rem;
  opacity: 0.45;
}

.dd_card_news .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--point-color);
}

.dd_card_news .more i {
  font-style: normal;
  display: inline-block;
  color: #fff;
  transition: transform 0.25s ease;
}

.dd_card_news .itm:hover .more i {
  transform: translateX(2px);
}

/* 반응형 */
@media (max-width: 1024px) {
  .dd_card_news {
    grid-template-columns: repeat(2, 1fr);
  }
}

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