/* 뉴스 목록 */
.news-page { padding-top: 240rem; padding-bottom: 200rem; }
.news_page__top-wrap .news-page__head,
.news_page__top-wrap .news-tabs { padding: 0 248rem; }
.news-page__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40rem; margin-bottom: 48rem; }
.news-page__head-text { display: flex; flex-direction: column; gap: 20rem; }
.news-page__title { color: var(--text-highest); }
.news-page__desc { color: var(--text-low); }
.news-search { flex-shrink: 0; width: 432rem; }
.news-search__field-wrap { display: flex; align-items: center; gap: 8rem; width: 100%; height: 60rem; padding: 15rem 20rem; background: var(--bg-white); border: 1rem solid var(--bd-disabled); border-radius: var(--rd-50); transition: border-color var(--transition-fast); }
.news-search__field-wrap:focus-within { border-color: var(--bd-focused); }
.news-search__input { flex: 1; min-width: 0; height: 100%; padding: 0; font-size: 16rem; font-weight: var(--fw-regular); line-height: 1.5; color: var(--text-highest); background: transparent; border: none; outline: none; }
.news-search__input::placeholder { color: var(--text-lowest); }
.news-search__btn { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24rem; height: 24rem; padding: 0; cursor: pointer; }
.news-search__btn:hover, .news-search__btn:focus-visible { color: var(--ext-link-hover); outline: none; }
.news-search__icon { width: 20rem; height: 20rem; }
.news-tabs { margin-bottom: 64rem; border-bottom: 1rem solid var(--line-low); }
.news-tabs__list { display: flex; align-items: center; gap: 32rem; }
.news-tabs__btn { position: relative; display: inline-flex; align-items: center; gap: 10rem; padding: 30rem 0; color: var(--text-low); background: none; border: none; cursor: pointer; transition: color var(--transition-fast); }
.news-tabs__btn:hover, .news-tabs__btn:focus-visible { color: var(--text-highest); outline: none; }
.news-tabs__btn--active, .news-tabs__btn[aria-selected="true"] { color: var(--text-highest); font-weight: var(--fw-semibold); }
.news-tabs__btn--active::after, .news-tabs__btn[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1rem; height: 2rem; background: var(--line-highest); }
.news-tabs__dot { display: inline-block; width: 6rem; height: 6rem; background: var(--text-danger); border-radius: 50%; transform: translateY(-6rem); }
.news-list__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64rem; }
.news-card__link { display: flex; flex-direction: column; gap: 32rem; color: inherit; text-decoration: none; }
.news-card__link:hover .news-card__title, .news-card__link:focus-visible .news-card__title { color: var(--text-point); }
.news-card__link:focus-visible { outline: 2rem solid var(--bd-focused); outline-offset: 4rem; border-radius: var(--rd-100); }
.news-card__thumb { position: relative; width: 100%; }
.news-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.news-card__link:hover .news-card__thumb img, .news-card__link:focus-visible .news-card__thumb img { transform: scale(1.04); }
.news-card__body { display: flex; flex-direction: column; gap: 24rem; padding: 0 4rem; }
.news-card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; transition: color var(--transition-fast); }
.news-card__meta { display: flex; align-items: center; gap: 12rem; font-size: 14rem; line-height: 1.5; }
.news-card__cat { position: relative; padding-right: 16rem; color: var(--text-point); }
.news-card__cat::after { content: ""; position: absolute; top: 50%; right: 0; width: 1rem; height: 16rem; background: var(--line-medium); transform: translateY(-50%); }
.news-card__date { color: var(--text-lowest); }

@media (max-width: 1024px) {
  .news-page { padding-top: 180rem; padding-bottom: 100rem; }
  .news_page__top-wrap { width: calc(100% - 40rem); margin: 0 auto; }
  .news-page__head { flex-direction: column; align-items: stretch; gap: 40rem; margin-bottom: 40rem; }
  .news_page__top-wrap .news-page__head,
  .news_page__top-wrap .news-tabs { padding: 0; }
  .news-search { width: 100%; }
  .news-search__field-wrap { height: 48rem; padding: 0 16rem; }
  .news-tabs { margin-bottom: 40rem; }
  .news-tabs__list { gap: 24rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .news-tabs__list::-webkit-scrollbar { display: none; }
  .news-tabs__dot { display: none; }
  .news-list__grid { grid-template-columns: 1fr; gap: 64rem; }
  .news-card__link { gap: 24rem; }
  .news-card__body { gap: 20rem; }
}

/* 뉴스 상세  */
.news-detail { padding-top: 120rem; padding-bottom: 200rem; }
.news-detail__hero { position: sticky; top: 120rem; z-index: 5; display: flex; justify-content: center; align-items: center; min-height: 160rem; padding: 40rem; background: transparent; border-top: 1rem solid var(--line-low); border-bottom: 1rem solid var(--line-low); will-change: transform; transition: transform var(--transition-base), min-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.news-detail__container { will-change: transform; transition: transform var(--transition-base); }
.news-detail__hero--stuck { min-height: 111rem; padding-top: 24rem; padding-bottom: 24rem; background: var(--bg-white); border-top-color: transparent; }
.news-detail__hero--stuck::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 120rem; background: var(--bg-white); pointer-events: none; }
.news-detail__hero--stuck .news-detail__title { font-size: 24rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 940rem; transition: font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.news-detail__hero--stuck .news-detail__title-wrap { gap: 0; animation: hero-stuck-slide-up 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.news-detail__hero--stuck .news-detail__meta { opacity: 0; max-height: 0; margin: 0; pointer-events: none; }
.news-detail__title { transition: font-size 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.news-detail__title-wrap { transition: gap 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes hero-stuck-slide-up {
  from { transform: translateY(28rem); opacity: 0.6; }
  to   { transform: translateY(0);     opacity: 1; }
}
body.is-gnb-hidden .news-detail__hero,
body.is-gnb-hidden .news-detail__container { transform: translateY(-120rem); }
.news-detail__back { position: absolute; top: 50%; left: 369rem; display: inline-flex; align-items: center; justify-content: center; width: 32rem; height: 32rem; color: var(--ic-black); background: none; border: none; transform: translateY(-50%); transition: color var(--transition-fast); }
.news-detail__back img {width: 100%;}
.news-detail__back:hover, .news-detail__back:focus-visible { color: var(--text-point); outline: none; }
.news-detail__back-icon { width: 32rem; height: 32rem; }
.news-detail__title-wrap { display: flex; flex-direction: column; align-items: center; gap: 16rem; width: 100%; max-width: 940rem; }
.news-detail__title { color: var(--text-highest); text-align: center; word-break: keep-all; }
.news-detail__meta { display: inline-flex; align-items: center; gap: 20rem; max-height: 60rem; opacity: 1; overflow: hidden; transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.news-detail__cat { position: relative; padding-right: 20rem; color: var(--text-point); }
.news-detail__cat::after { content: ""; position: absolute; top: 50%; right: 0; width: 1rem; height: 16rem; background: var(--line-medium); transform: translateY(-50%); }
.news-detail__date { color: var(--text-high); font-weight: var(--fw-regular); }
.news-detail__container { width: calc(100% - 40rem); max-width: 940rem; margin: 0 auto; }
.news-detail__article { padding-top: 40rem; }
.news-detail__figure { width: 100%; margin-bottom: 20rem; overflow: hidden; background: var(--bg-primary-light-1);}
.news-detail__figure:last-of-type { margin-bottom: 40rem; }
.news-detail__figure img { display: block; width: 100%; height: auto; object-fit: cover; }
/* 본문 삽입 이미지 — 에디터 등록 이미지 정렬 보정 */
.news-detail__text img { display: block; max-width: 100% !important; width: 100% !important; height: auto !important; float: none !important; margin: 0 0 28rem !important; }
.news-detail__text { color: var(--text-highest); }
.news-detail__text p { margin-bottom: 28rem; }
.news-detail__text p:last-child { margin-bottom: 0; }
.news-detail__files { display: flex; flex-direction: column; gap: 24rem; margin-top: 80rem; }
.news-detail__files-title { display: inline-flex; align-items: center; gap: 6rem; color: var(--text-highest); }
.news-detail__files-icon { width: 16rem; height: 16rem; }
.news-detail__files-list { display: flex; flex-wrap: wrap; gap: 4rem; }
.news-detail__file { display: inline-flex; }
.news-detail__file-link { display: inline-flex; align-items: center; justify-content: center; padding: 12rem 16rem; color: var(--text-high); background: var(--bg-white); border: 1rem solid var(--line-medium); border-radius: var(--rd-100); text-decoration: none; transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast); }
.news-detail__file-link:hover, .news-detail__file-link:focus-visible { color: var(--text-highest); border-color: var(--line-highest); background: var(--bg-primary-light-1); outline: none; }
.news-detail__nav { display: flex; gap: 12rem; margin-top: 40rem; }
.news-detail__nav-item { display: flex; flex: 1 1 0; min-width: 0; align-items: center; gap: 40rem; padding: 40rem; background: var(--bg-primary-light-1); border-radius: var(--rd-100); text-decoration: none; color: inherit; transition: background var(--transition-fast); }
.news-detail__nav-item:hover, .news-detail__nav-item:focus-visible { background: var(--bg-primary-light-2); outline: none; }
.news-detail__nav-item--next { justify-content: space-between; }
.news-detail__nav-label { display: inline-flex; align-items: center; gap: 4rem; flex-shrink: 0; color: var(--text-highest); }
.news-detail__nav-icon { width: 16rem; height: 16rem; }
.news-detail__nav-title { flex: 1 1 0; min-width: 0; color: var(--text-high); font-weight: var(--fw-regular); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-detail__action { display: flex; justify-content: center; margin-top: 40rem; }
.news-detail__list-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 120rem; height: 60rem; padding: 0 32rem; color: var(--text-white); background: var(--btn-default-primary); border: 1rem solid var(--btn-default-primary); border-radius: var(--rd-50); text-decoration: none; transition: background var(--transition-fast), border-color var(--transition-fast); }
.news-detail__list-btn:hover, .news-detail__list-btn:focus-visible { background: var(--btn-hover-primary); border-color: var(--btn-hover-primary); outline: none; }

@media (max-width: 1024px) {
  .news-detail { padding-top: 60rem; padding-bottom: 100rem; }
  .news-detail__hero { top: 60rem; min-height: 0; padding: 76rem 20rem 32rem 20rem; }
  body.is-gnb-hidden .news-detail__hero,
  body.is-gnb-hidden .news-detail__container { transform: translateY(-60rem); }
  .news-detail__back { left: var(--side-padding); top: 32rem; transform: none; width: 24rem; height: 24rem; }
  .news-detail__back-icon { width: 24rem; height: 24rem; }
  .news-detail__title { white-space: normal !important; }
  .news-detail__article { padding-top: 20rem; }
  .news-detail__figure { margin-bottom: 8rem; }
  .news-detail__figure:last-of-type { margin-bottom: 40rem; }
  .news-detail__text p { margin-bottom: 20rem; }
  .news-detail__files-list { gap: 8rem; }
  .news-detail__nav-item { padding: 24rem; }
  .news-detail__list-btn { height: 52rem; min-width: 100rem; padding: 0 24rem; }
}

@media (max-width: 600px) {
  .news-detail__title-wrap { gap: 8rem; }
  .news-detail__container { width: 100%; }
  .news-detail__text,
  .news-detail__files,
  .news-detail__nav { width: calc(100% - 40rem); margin: 0 auto; }
  .news-detail__files { margin-top: 60rem; }
  .news-detail__files-list { width: 100%; }
  .news-detail__nav { flex-direction: column; gap: 8rem; margin-top: 20rem; }
  .news-detail__nav-item { flex-wrap: wrap; }
  .news-detail__nav-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* 홍보영상 */
.news-video-page { background: var(--bg-white) !important; }
.news-page.video-page { margin-top: 120rem; background: var(--color-blue-700); padding-top: 160rem; }
.news-page.video-page .news-page__head { margin-bottom: 80rem; }
.news-page.video-page .news-page__title,
.news-page.video-page .news-page__desc { color: var(--color-white); }
.news-video-wrap { width: 100%; height: 100%; }
.news-video-wrap img { width: 100%; }
.news-video-wrap__media { display: block; width: 100%; }

@media (max-width: 1024px) {
  .news-page.video-page { margin-top: 60rem; padding-top: 120rem; }
}
