/* --- 공통 섹션 --- */
main {
  padding-bottom: 6rem;
}

.sec-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.6rem;
}


/* =============================================
   배너 스와이퍼
============================================= */
.swiper-wrapper{height:auto !important;}
.sec-banner {
  padding: 2rem 0 0;
}

.sec-banner .container {
  padding: 0 2rem;
}

/* 카드 전체가 링크 */
.banner-card {
  display: block;
  position: relative;
  background: #fff;
  border-radius: 2rem;
  padding: 2.4rem 2rem 2.2rem;
  text-decoration: none;
  color: inherit;
  overflow: visible;
  min-height: 18rem;
  z-index: 4;
  border: 1px solid #fafafa;
}
.swiper-stack-wrap {
  position: relative;
  z-index: 0;
}

/* 뒤 두 번째 카드 */
.swiper-stack-wrap::before {
  content: '';
  position: absolute;
  width: 102%;
  height: 96%;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  background: #EDF5F5;
  border-radius: 2rem;
}

/* 뒤 세 번째 카드 */
.swiper-stack-wrap::after {
  content: '';
  position: absolute;
  width: 104%;
  height: 94%;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -2;
  background: #E5EDF8;
  border-radius: 2rem;
}
/* 뒤 네 번째 카드 */
.stack-card-3 {
  position: absolute;
  width: 106%;
  height: 90%;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -3;
  background: #EDE7F8;
  border-radius: 2rem;
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.04);
  border: 1px solid #eee;
}

/* 실제 swiper는 z-index 3로 올림 */
.popular-swiper {
  position: relative;
  z-index: 3;
  overflow: visible;
  border-radius: 2rem;
}

/* 우측 상단 페이지네이션 dot */
.banner-card__pagi {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.banner-card__pagi .dot {
  width: 0.8rem;
  height: 0.8rem;
  background: #d9d9d9;
  transition: background 0.3s;
}

.banner-card__pagi .dot.active {
  background: #3f7df4;
}

/* 바디: 텍스트 + 이미지 좌우 배치 */
.banner-card__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.banner-card__text {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  flex: 1;
}

/* 출처 */
.banner-card__source {
  font-size: 1.5rem;
  color: #888;
  font-weight: 400;
}

/* 제목 */
.banner-card__title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  word-break: keep-all;
}

/* 태그들 */
.banner-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1359C2;
  background: #E5F1FD;
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
}

/* 상세보기 */
.banner-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-top: 0.4rem;
}

.banner-card__more .arrow img {
width: 1.5rem;
}

/* 우측 이미지 */
.banner-card__img {
  flex-shrink: 0;
  width: 11rem;
  height: 11rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.banner-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* swiper 기본 여백 제거 */
.popular-swiper {
  overflow: visible;
}

.popular-swiper .swiper-slide {
  height: auto;
}


/* =============================================
   혜택 간편찾기
============================================= */
.sec-shortcut {
  padding: 3.6rem 0 0;
}

.sec-shortcut .container {
  padding: 0 2rem;
}

.shortcut-list {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shortcut-list li {
  flex: 1;
}
.shortcut-list li:nth-child(2) a{background: #E9F1FC;}
.shortcut-list li:nth-child(3) a{background: #EEE8FB;}

/* 카드 전체 링크 */
.shortcut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #E6F6EE;
  border-radius: 1.6rem;
  padding: 1.5rem 1rem;
  text-decoration: none;
  color: inherit;
}

.shortcut-icon {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shortcut-icon img {
  width: 4rem;
  object-fit: contain;
}

.shortcut-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
}


/* =============================================
   맞춤 지원금 배너
============================================= */
.sec-custom {
  padding: 1.6rem 0 0;
}

.sec-custom .container {
  padding: 0 2rem;
}

/* 전체 링크 카드 */
.custom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FEF9EB;
  border-radius: 1.6rem;
  padding: 2.4rem 2rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.custom-banner__text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.custom-banner__sub {
  font-size: 1.2rem;
  color: #888;
  font-weight: 400;
}

.custom-banner__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  word-break: keep-all;
  line-height: 1.4;
}

.custom-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #555;
  margin-top: 1.4rem;
}

.custom-banner__link img{
width: 1.5rem;
}

.custom-banner__img {
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
}

.custom-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* =============================================
   주요 서비스
============================================= */
.sec-service {
  padding: 3.6rem 0 0;
}

.sec-service .container {
  padding: 0 2rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 전체 링크 */
.service-item {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f5f5f5;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background: #e0e9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon--blue {
  background: #E9F1FC;
}

.service-icon--green {
  background: #E6F6EE;
}

.service-icon--lavender {
  background: #EEE8FB;
}

.service-icon img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.service-label {
  flex: 1;
  font-size: 1.6rem;
  font-weight: 500;
  color: #222;
}

.service-arrow {
width: 2rem;
}

/* =============================================
   탭
============================================= */
.sec-tab {
  padding: 2rem 0 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.sec-tab .container {
  padding: 0 2rem;
}

.tab-list {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  padding: 0 0 2rem;
  margin: 0;
}

.tab-btn {
  font-size: 1.5rem;
  font-weight: 500;
  color: #888;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 0.8rem 2rem;
  cursor: pointer;
}

.tab-btn.active {
  font-weight: 600;
  color: #fff;
  background: #356DEB;
  border-color: #356DEB;
}


/* =============================================
   혜택 목록
============================================= */
.sec-benefit-list {
  padding: 0.8rem 0 0;
}

.sec-benefit-list .container {
  padding: 0 2rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.benefit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-radius: 1.6rem;
  border: 1px solid #eee;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.05);
}

.benefit-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.benefit-card__category {
  font-size: 1.4rem;
  color: #888;
  font-weight: 400;
}

.benefit-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  word-break: keep-all;
}

.benefit-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.4rem 0 0;
}

.benefit-card__meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-card__meta-row dt {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1359C2;
  background: #E5F1FD;
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  flex-shrink: 0;
}

.benefit-card__meta-row dd {
  font-size: 1.4rem;
  color: #444;
  font-weight: 400;
}

.benefit-card__arrow {
width: 2rem;
}

/* =============================================
   상단 히어로
============================================= */
.sec-custom-hero {
  padding: 3.2rem 0 0;
  text-align: center;
}

.sec-custom-hero .container {
  padding: 0 2rem;
}

.custom-hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.custom-hero__title span {
  color: #2269f2;
  font-weight: 700;
  font-size: 2rem;
}

.custom-hero__desc {
  font-size: 1.4rem;
  color: #888;
  line-height: 1.5;
}


/* =============================================
   폼 공통
============================================= */
.sec-custom-form {
  padding: 3.2rem 0 0;
}

.sec-custom-form .container {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-label {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
}


/* =============================================
   현재 상황
============================================= */
.situation-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.situation-list li {
  flex: 1;
}

.situation-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.6rem;
  padding: 2rem 1rem;
  cursor: pointer;
}

.situation-btn.active {
  border-color: #3f7df4;
}

.situation-btn.active .situation-name {
  color: #3f7df4;
  font-weight: 700;
}

/* index.css .shortcut-icon 공통 구조 활용 */
.situation-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #eef3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.situation-icon--blue  { background: #eef3ff; }
.situation-icon--green { background: #eaf6f0; }
.situation-icon--purple { background: #f0ecfb; }

.situation-icon img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.situation-name {
  font-size: 1.3rem;
  font-weight: 500;
  color: #444;
}


/* =============================================
   커스텀 셀렉트
============================================= */
.custom-select {
  position: relative;
}

.custom-select__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.6rem;
  padding: 1.6rem 1.8rem;
  cursor: pointer;
}

.custom-select.open .custom-select__btn {
  border-color: #eee;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: #F7F8FA;
}

.custom-select__text {
  font-size: 1.5rem;
  color: #aaa;
}

.custom-select__text.selected {
  color: #111;
}

.custom-select__arrow {
  font-style: normal;
  transition: transform 0.2s;
}

.custom-select__arrow img {
  width: 1.4rem;
  display: block;
  transition: transform 0.2s;
}

.custom-select.open .custom-select__arrow img {
  transform: rotate(180deg);
}

.custom-select__list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  border-bottom-left-radius: 0.6rem;
  border-bottom-right-radius: 0.6rem;
  list-style: none;
  padding: 0.8rem 0;
  margin: 0;
  z-index: 100;
  max-height: 22rem;
  overflow-y: auto;
}

.custom-select.open .custom-select__list {
  display: block;
  background: #F7F8FA;
}

.custom-select__list button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  padding: 1.2rem 1.8rem;
  cursor: pointer;
}

.custom-select__list button.selected {
  color: #3f7df4;
  font-weight: 600;
}


/* =============================================
   소득 구간
============================================= */
.income-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.income-btn {
  width: 100%;
  font-size: 1.4rem;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
}

.income-btn.active {
  color: #fff;
  background: #3f7df4;
  border-color: #3f7df4;
  font-weight: 700;
}


/* =============================================
   제출 버튼
============================================= */
.form-submit {
  padding-bottom: 2rem;
}

.submit-btn {
  width: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2269F1;
  background: #EBF1FD;
  border: none;
  border-radius: 0.8rem;
  padding: 1.8rem 0;
  cursor: pointer;
}

/* =============================================
   mybenefit

============================================= */
.sec-mybenefit {
  padding: 2.4rem 0 0;
}

.sec-mybenefit .container {
  padding: 0 2rem;
}

.mybenefit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.4rem;
}

.mybenefit-head__title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
}

.mybenefit-head__setting {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #3f7df4;
  text-decoration: none;
  border: 1px solid #eee;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}

.mybenefit-head__setting-icon img {
  width: 1.6rem;
  display: block;
}

.mybenefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mybenefit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-radius: 1.6rem;
  border: 1px solid #eee;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.mybenefit-card__inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.mybenefit-card__org {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
  color: #2269F2;
  background: #E5F1FD;
  border-radius: 10rem;
  padding: 0.7rem 1rem;
  align-self: flex-start;
}

.mybenefit-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  word-break: keep-all;
}

.mybenefit-card__view {
  font-size: 1.4rem;
  color: #888;
  font-weight: 400;
  margin-top: 1rem;
}

.mybenefit-card__view span {
  font-weight: 600;
  color: #3f7df4;
  font-size: 1.4rem;
}

.mybenefit-card__arrow {
  flex-shrink: 0;
  align-self: center;
}

.mybenefit-card__arrow img {
  width: 2rem;
  display: block;
}


/* =============================================
   allbenefit
============================================= */
.sec-allbenefit-filter {
  padding: 2.4rem 0 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.sec-allbenefit-filter .container {
  padding: 0 2rem;
}

.filter-row {
  display: flex;
  gap: 1.2rem;
  padding-bottom: 2rem;
}

.filter-row .custom-select {
  flex: 1;
}

.filter-row .custom-select__btn {
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  background: #fff;
}

.filter-row .custom-select.open .custom-select__btn {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.filter-row .custom-select__text {
  font-size: 1.4rem;
}

.filter-row .custom-select__arrow img {
  width: 1.2rem;
}

.filter-row .custom-select__list button.selected {
  color: #3f7df4;
  font-weight: 600;
}

.sec-allbenefit-list {
  padding: 0.4rem 0 0;
}

.sec-allbenefit-list .container {
  padding: 0 2rem;
}

.sec-allbenefit-filter .custom-select.open .custom-select__btn{background: #fff;}
.sec-allbenefit-filter .custom-select.open .custom-select__list{background: #fff;}



/* =============================================
   benefit_detail
============================================= */


/* =============================================
   상단 히어로
============================================= */
.sec-detail-hero {
  padding: 2.4rem 0 2rem;
}

.sec-detail-hero .container {
  padding: 0 2rem;
}

.detail-hero__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.6rem;
  line-height: 1.3;
  word-break: keep-all;
}

.detail-hero__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-hero__tags li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* 태그 pill */
.detail-tag {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.8rem 1.2rem;
  flex-shrink: 0;
}

.detail-tag--blue {
  color: #1359C2;
  background: #E5F1FD;
}

.detail-tag--green {
  color: #50BDA7;
  background: #EDF7F4;
}

.detail-tag--purple {
  color: #844EED;
  background: #F5F2FD;
}

.detail-tag__val {
  font-size: 1.4rem;
  color: #333;
  font-weight: 400;
  width: 26rem;
  line-height: 1.4;
}

.detail-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 0;
}


/* =============================================
   섹션 공통
============================================= */
.sec-detail-info {
  padding: 3rem 0 0;
}

.sec-detail-info .container {
  padding: 0 2rem;
}

.detail-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.4rem;
}


/* =============================================
   정보 리스트 테이블
============================================= */
.detail-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 1.4rem;
  border: 1px solid #eee;
  overflow: hidden;
}

.detail-info-item {
  display: flex;
  align-items: stretch;
  min-height: 5.6rem;
}

.detail-info-item + .detail-info-item {
  border-top: 1px solid #eee;
}

/* 라벨 영역 */
.detail-info-item__label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #F9F9FC;
  padding: 1.4rem 1.4rem;
  width: 12rem;
  flex-shrink: 0;
  border-right: 1px solid #eee;
}

.detail-info-item__label span {
  font-size: 1.4rem;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
}

.detail-info-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ECF2FD;
  border-radius: 0.5rem;
}

.detail-info-list li:nth-child(2) .detail-info-item__icon{background: #EDF7F4;}
.detail-info-list li:nth-child(3) .detail-info-item__icon{background: #F5F2FD;}

.detail-info-item__icon img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

/* 값 영역 */
.detail-info-item__val {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.4rem 1.6rem;
  font-size: 1.4rem;
  color: #222;
  font-weight: 400;
  line-height: 1.6;
  word-break: keep-all;
}

.detail-info-item__val .more{text-decoration: none;font-size: 1.4rem;color: #1359C2;
  background: #E5F1FD;font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.8rem 1.2rem;}
/* =============================================
   faq.css
============================================= */
.sec-faq {
  padding: 2.4rem 0 0;
}

.sec-faq .container {
  padding: 0 2rem;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #fff;
}

/* Q 버튼 - 전체 클릭 */
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: none;
  border: none;
  padding: 1.8rem 1.6rem;
  cursor: pointer;
  text-align: left;
}

/* Q 뱃지 */
.faq-item__badge {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #ECF2FD;
  color: #2269F2;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__text {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 500;
  color: #222;
  line-height: 1.4;
  word-break: keep-all;
}

.faq-item.open .faq-item__text {
  font-weight: 700;
}

/* 화살표 */
.faq-item__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.faq-item__arrow img {
  width: 1.4rem;
  display: block;
  transition: transform 0.25s;
}

.faq-item.open .faq-item__arrow img {
  transform: rotate(180deg);
}

/* 답변 영역 */
.faq-item__a {
  display: none;
  padding: 0 1.6rem 1.8rem 1.6rem;
  font-size: 1.4rem;
  color: #666;
  line-height: 1.8;
  word-break: keep-all;
  border-top: 1px solid #f0f0f0;
  padding-top: 1.6rem;
}

.faq-item.open .faq-item__a {
  display: block;
}


/* =============================================
   news
============================================= */


/* =============================================
   섹션
============================================= */
.sec-news {
  padding: 2.4rem 0 0;
}

.sec-news .container {
  padding: 0 2rem;
}


/* =============================================
   뉴스 리스트
============================================= */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* 카드 전체 링크 */
.news-card {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 2rem 0;
  text-decoration: none;
  color: inherit;
}

/* 썸네일 */
.news-card__thumb {
  flex-shrink: 0;
  width: 13rem;
  height: 9rem;
  border-radius: 1rem;
  background: #e8eaf0;
  overflow: hidden;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 텍스트 영역 */
.news-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

.news-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  word-break: keep-all;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-card__desc {
  font-size: 1.3rem;
  color: #888;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-card__date {
  font-size: 1.2rem;
  color: #aaa;
  margin-top: 0.2rem;
}


/* =============================================
   페이지네이션
============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 3.2rem 0 2rem;
}

/* 숫자 버튼 */
.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  color: #444;
  text-decoration: none;
}

.pagination__btn.active {
  background: #fff;
  border-color: #3f7df4;
  color: #3f7df4;
  font-weight: 700;
}

/* 화살표 버튼 */
.pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.8rem;
  border: 1px solid #e0e0e0;
  background: #fff;
  text-decoration: none;
}

.pagination__arrow img {
  width: 1.5rem;
  display: block;
}

/* 디저블 상태 - 테두리/배경 없이 흐리게 */
.pagination__arrow.disabled {
  border-color: #3f7df4;
  pointer-events: none;
  cursor: default;
  background: #3f7df4;
}