/* ============================================================
   농업대통령 공개 사이트 (메인 · 게시판)
   관리자 화면(common.css)과 섞이지 않도록 모든 클래스에 nt- 접두사를 쓴다.
   ============================================================ */

:root {
    --nt-brand: #9B2423;
    --nt-brand-light: #B32E2C;
    --nt-brand-dark: #7A1C1A;
    --nt-grain: #D9B44A;
    --nt-cream: #F5E7C8;
    --nt-soil: #0E0D0C;
    --nt-header-h: 64px;
}

@media (min-width: 1024px) {
    :root {
        --nt-header-h: 76px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
}

/*
  내용이 적은 화면(글 없는 게시판 등)에서도 푸터가 화면 맨 아래에 붙게 한다.
  이게 없으면 목록이 짧을 때 푸터가 중간에 떠서 그 아래가 비어 보인다.

  이름이 nt-shell 인 이유. 처음에는 nt-page 로 두었는데
  아래쪽 페이지네이션 버튼(.nt-page)과 이름이 겹쳤다.
  버튼 쪽 규칙의 align-items/justify-content:center 와 height:38px 가
  <body> 에 그대로 먹어서, 본문이 가로로 쪼그라들고 세로로는 화면 밖 위쪽까지
  밀려 올라가 잘렸다. 클래스 이름은 컴포넌트별로 겹치지 않게 둔다.
*/
body.nt-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

body.nt-shell > main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

body.nt-shell > footer {
    flex-shrink: 0;
}

/*
  가로로는 늘 화면을 꽉 채운다.

  flex 자식에 가로 auto 여백(mx-auto)이 걸리면 늘어나기(stretch)를 포기하고
  내용 너비로 쪼그라든다. 그래서 글 상세처럼 mx-auto max-w-[880px] 만 준 화면은
  넓은 화면에서도 제목 길이만큼만 차지해 본문이 좁게 뭉쳐 보였다.

  너비는 여기서 채우고, 가운데 정렬은 각 화면의 max-width 가 맡는다.
  main 자신에게도 거는 이유 : 글 없음 · 권한 없음 화면은 <main> 에 직접 mx-auto 를 쓴다.
*/
body.nt-shell > main > * {
    width: 100%;
}

/* 본문 안에서도 마지막 영역이 남은 높이를 먹도록 */
body.nt-shell > main > .nt-grow {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   헤더
   ============================================================ */

.nt-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}

/* 어두운 히어로 위 : 투명 + 밝은 글자 */
.nt-header--over {
    background-color: transparent;
    color: #fff;
}

/*
  맨 위에서만 완전히 투명하게 두고, 조금이라도 내리면 배경을 깐다.
  어두운 섹션 위에서는 흰 글자가 본문 · 카드 위에 그대로 얹혀 읽히지 않았다.
*/
.nt-header--over.nt-header--scrolled {
    background-color: rgba(14, 13, 12, .78);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .09);
}

/* 밝은 본문 위 · 스크롤 이후 : 흰 배경 + 어두운 글자 */
.nt-header--solid {
    background-color: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    color: var(--nt-soil);
    box-shadow: 0 1px 0 rgba(14, 13, 12, .08);
}

.nt-wordmark {
    color: currentColor;
}

.nt-nav-link {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 100%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: currentColor;
    opacity: .82;
    white-space: nowrap;
    transition: opacity .2s ease;
    cursor: pointer;
}

.nt-nav-item:hover > .nt-nav-link,
.nt-nav-link:focus-visible {
    opacity: 1;
}

/* 밑줄 인디케이터 */
.nt-nav-item {
    position: relative;
}

.nt-nav-item::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.nt-nav-item:hover::after,
.nt-nav-item:focus-within::after {
    transform: scaleX(1);
}

/* --- 드롭다운 --- */

.nt-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding-top: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.nt-nav-item:hover > .nt-dropdown,
.nt-nav-item:focus-within > .nt-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nt-dropdown__inner {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(14, 13, 12, .16), 0 2px 8px rgba(14, 13, 12, .08);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nt-dropdown__col {
    display: flex;
    flex-direction: column;
}

.nt-dropdown__head {
    display: block;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--nt-soil);
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease;
}

a.nt-dropdown__head:hover {
    background-color: rgba(155, 36, 35, .07);
    color: var(--nt-brand);
}

span.nt-dropdown__head {
    color: rgba(14, 13, 12, .5);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    padding-bottom: 4px;
}

.nt-dropdown__sub {
    display: block;
    padding: 8px 14px 8px 24px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(14, 13, 12, .7);
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease;
}

.nt-dropdown__sub:hover {
    background-color: rgba(155, 36, 35, .07);
    color: var(--nt-brand);
}

/* --- 관리자 버튼 · 햄버거 --- */

.nt-admin-btn {
    align-items: center;
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid currentColor;
    color: currentColor;
    opacity: .75;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.nt-admin-btn:hover {
    opacity: 1;
}

.nt-header--solid .nt-admin-btn:hover {
    background-color: var(--nt-brand);
    border-color: var(--nt-brand);
    color: #fff;
    opacity: 1;
}

.nt-burger {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nt-burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background-color: currentColor;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .18s ease;
}

.nt-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nt-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nt-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   모바일 전체 메뉴
   ============================================================ */

.nt-mobile {
    position: fixed;
    inset: 0;
    z-index: 55;
    background-color: rgba(14, 13, 12, .35);
    opacity: 0;
    transition: opacity .28s ease;
}

.nt-mobile[data-open="true"] {
    opacity: 1;
}

.nt-mobile__panel {
    position: absolute;
    inset: var(--nt-header-h) 0 0 0;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.nt-mobile[data-open="true"] .nt-mobile__panel {
    transform: translateY(0);
    opacity: 1;
}

.nt-mobile__link {
    display: block;
    padding: 16px 2px;
    font-size: 17px;
    font-weight: 700;
    color: var(--nt-soil);
}

.nt-mobile__toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: rgba(14, 13, 12, .45);
}

.nt-mobile__toggle svg {
    width: 20px;
    height: 20px;
    transition: transform .25s ease;
}

.nt-mobile__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.nt-mobile__sub {
    padding: 4px 0 12px;
}

.nt-mobile__sublink {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(14, 13, 12, .68);
    background-color: rgba(14, 13, 12, .03);
    margin-bottom: 4px;
}

.nt-mobile__sublink--deep {
    padding-left: 30px;
    font-size: 14px;
    color: rgba(14, 13, 12, .55);
}

body[data-nt-locked="true"] {
    overflow: hidden;
}

/* ============================================================
   히어로
   ============================================================ */

.nt-hero {
    background-color: var(--nt-soil);
}

.nt-hero__track {
    height: 420vh;
}

.nt-hero__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, #1b1917 0%, var(--nt-soil) 62%);
}

.nt-hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* 글자가 놓이는 가운데만 어둡게 눌러 벼 위에서도 문장이 읽히게 한다 */
.nt-hero__stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(58% 40% at 50% 50%,
        rgba(14, 13, 12, .82) 0%,
        rgba(14, 13, 12, .58) 46%,
        rgba(14, 13, 12, 0) 78%);
}

.nt-hero__copy {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
    display: grid;
    place-items: center;
    text-align: center;
    pointer-events: none;
}

.nt-hero__line {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

.nt-hero__line[data-active="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nt-hero__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .28em;
    color: var(--nt-grain);
    margin-bottom: 18px;
}

.nt-hero__title {
    font-size: clamp(30px, 7.4vw, 76px);
    line-height: 1.24;
    font-weight: 900;
    letter-spacing: -.035em;
    color: #fff;
    text-shadow: 0 2px 34px rgba(0, 0, 0, .55);
}

.nt-hero__title--accent {
    color: var(--nt-grain);
}

.nt-hero__sub {
    margin-top: 22px;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.75;
    color: rgba(255, 255, 255, .66);
}

.nt-hero__cta {
    margin-top: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    background-color: var(--nt-cream);
    color: var(--nt-soil);
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease, background-color .2s ease;
}

.nt-hero__cta:hover {
    transform: translateY(-2px);
    background-color: #fff;
}

.nt-hero__cta svg {
    width: 18px;
    height: 18px;
}

.nt-hero__hint {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .38);
    transition: opacity .4s ease;
}

.nt-hero__hint i {
    display: block;
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
    animation: ntHintDrop 1.9s ease-in-out infinite;
}

@keyframes ntHintDrop {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    45% {
        transform: scaleY(1);
        transform-origin: top;
    }
    46% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ============================================================
   섹션 공통
   ============================================================ */

.nt-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .26em;
    color: var(--nt-grain);
    margin-bottom: 14px;
}

.nt-kicker--dark {
    color: var(--nt-brand);
}

.nt-section-title {
    font-size: clamp(26px, 4.2vw, 46px);
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -.035em;
    /* 한글은 기본으로 글자 단위로 끊겨 "령" 한 글자만 다음 줄로 떨어진다. 낱말 단위로만 끊는다 */
    word-break: keep-all;
}

.nt-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(14, 13, 12, .16);
    color: var(--nt-soil);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.nt-arrow svg {
    width: 20px;
    height: 20px;
}

.nt-arrow:hover {
    background-color: var(--nt-soil);
    border-color: var(--nt-soil);
    color: #fff;
}

.nt-arrow--dark {
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.nt-arrow--dark:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--nt-soil);
}

/* ============================================================
   가로 캐러셀 (스크롤 스냅 · 라이브러리 없음)
   ============================================================ */

.nt-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
    /* 카드 그림자가 잘리지 않도록 */
    margin-inline: -5px;
    padding-inline: 5px;
}

.nt-carousel::-webkit-scrollbar {
    display: none;
}

.nt-carousel > * {
    scroll-snap-align: start;
    flex: 0 0 86%;
}

@media (min-width: 640px) {
    .nt-carousel > * {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (min-width: 1024px) {
    .nt-carousel > * {
        flex-basis: calc((100% - 32px) / 3);
    }

}

/* ============================================================
   최근 소식 · 바로가기 공통
   색 배경 대신 흰 바탕 + 가는 테두리. 올리면 테두리가 짙어지고 화살표가 채워진다.
   ============================================================ */

/* 같은 흰 바탕 섹션 둘을 가는 선 하나로 나눈다 */
.nt-divider {
    border-top: 1px solid rgba(14, 13, 12, .1);
}

/* 동그란 화살표. 카드에 올리면 브랜드 색으로 채워지며 오른쪽으로 민다 */
.nt-go {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(14, 13, 12, .14);
    color: var(--nt-soil);
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.nt-go svg {
    width: 18px;
    height: 18px;
}

.nt-news-card:hover .nt-go,
.nt-shortcut:hover .nt-go {
    background-color: var(--nt-brand);
    border-color: var(--nt-brand);
    color: #fff;
    transform: translateX(4px);
}

/* ============================================================
   최근 소식 카드
   ============================================================ */

.nt-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 30px 28px 26px;
    border-radius: 22px;
    background-color: #fff;
    border: 1px solid rgba(14, 13, 12, .1);
    color: var(--nt-soil);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .3s ease;
}

.nt-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 13, 12, .28);
    box-shadow: 0 18px 40px -18px rgba(14, 13, 12, .22);
}

/*
  카드 전체를 누를 수 있게 덮는 링크.
  글자마다 링크를 거는 대신 카드를 통째로 덮는다. 자리를 차지하지 않아 배치는 그대로다.
*/
.nt-news-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.nt-news-card__link:focus-visible {
    outline: 2px solid var(--nt-brand);
    outline-offset: 3px;
}

.nt-news-card__tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--nt-brand);
}

.nt-news-card__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.nt-news-card__title {
    margin-top: 22px;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -.025em;
    word-break: keep-all;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-news-card__desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(14, 13, 12, .55);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-news-card__foot {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nt-news-card__date {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(14, 13, 12, .42);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   바로가기 · 퀵링크
   ============================================================ */

.nt-shortcut {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 26px 26px 24px;
    border-radius: 22px;
    background-color: #fff;
    border: 1px solid rgba(14, 13, 12, .1);
    color: var(--nt-soil);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, box-shadow .3s ease;
}

.nt-shortcut:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 13, 12, .28);
    box-shadow: 0 18px 40px -18px rgba(14, 13, 12, .22);
}

.nt-shortcut:focus-visible {
    outline: 2px solid var(--nt-brand);
    outline-offset: 3px;
}

.nt-shortcut__no {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: rgba(14, 13, 12, .3);
    font-variant-numeric: tabular-nums;
    transition: color .25s ease;
}

.nt-shortcut:hover .nt-shortcut__no {
    color: var(--nt-brand);
}

.nt-shortcut__label {
    margin-top: 40px;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -.035em;
}

.nt-shortcut__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(14, 13, 12, .55);
    word-break: keep-all;
}

.nt-shortcut .nt-go {
    margin-top: auto;
    align-self: flex-end;
}

/* 게시판 바로가기 : 한 줄짜리 링크. 올리면 화살표가 나타난다 */
.nt-quick {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 18px 44px 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(14, 13, 12, .1);
    transition: border-color .22s ease, transform .22s ease;
}

.nt-quick::after {
    content: "→";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translate(-6px, -50%);
    opacity: 0;
    color: var(--nt-brand);
    font-weight: 800;
    transition: opacity .22s ease, transform .22s ease;
}

.nt-quick:hover {
    border-color: rgba(14, 13, 12, .28);
    transform: translateY(-2px);
}

.nt-quick:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

.nt-quick span {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--nt-soil);
    letter-spacing: -.02em;
}

.nt-quick em {
    font-style: normal;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(14, 13, 12, .5);
}

/* ============================================================
   숫자
   ============================================================ */

.nt-stats {
    background:
        radial-gradient(90% 120% at 15% 0%, rgba(155, 36, 35, .45), transparent 55%),
        radial-gradient(80% 100% at 90% 100%, rgba(217, 180, 74, .22), transparent 55%),
        var(--nt-soil);
}

.nt-stat__num {
    font-size: clamp(34px, 5.4vw, 60px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.05;
    color: var(--nt-grain);
    font-variant-numeric: tabular-nums;
}

.nt-stat__label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .55);
}

/* ============================================================
   사업 영역 카드 (한서아그리코 사업영역 4개)
   ============================================================ */

.nt-biz-intro {
    margin-top: 20px;
    max-width: 34em;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(14, 13, 12, .6);
    word-break: keep-all;
}

@media (min-width: 1024px) {
    .nt-biz-intro {
        margin-top: 0;
        text-align: right;
    }
}

.nt-biz-grid {
    display: grid;
    gap: 40px 20px;
}

@media (min-width: 640px) {
    .nt-biz-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .nt-biz-grid { grid-template-columns: repeat(4, 1fr); }
}

.nt-biz {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 카드 전체를 덮는 링크 */
.nt-biz__link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 18px;
}

.nt-biz__link:focus-visible {
    outline: 2px solid var(--nt-brand);
    outline-offset: 6px;
}

.nt-biz__art {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background-color: #24140f;
    background-size: cover;
    background-position: center;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.nt-biz:hover .nt-biz__art {
    transform: translateY(-5px);
}

/* 사진 위 글자가 읽히게 아래를 어둡게 */
.nt-biz__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 13, 12, .72) 0%, rgba(14, 13, 12, .1) 55%, rgba(14, 13, 12, .25) 100%);
}

.nt-biz__no,
.nt-biz__en {
    position: absolute;
    left: 18px;
    z-index: 1;
    color: #fff;
}

.nt-biz__no {
    top: 14px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--nt-grain);
    text-shadow: 0 1px 12px rgba(14, 13, 12, .55);
}

.nt-biz__en {
    bottom: 14px;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 16px;
}

.nt-biz__name {
    margin-top: 20px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--nt-soil);
    word-break: keep-all;
}

.nt-biz__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(14, 13, 12, .6);
    word-break: keep-all;
}

.nt-biz__list {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(14, 13, 12, .1);
    display: grid;
    gap: 8px;
}

.nt-biz__list li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(14, 13, 12, .72);
    word-break: keep-all;
}

.nt-biz__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nt-brand);
}

.nt-biz__more {
    margin-top: auto;
    padding-top: 18px;
    font-size: 13px;
    font-weight: 800;
    color: var(--nt-brand);
    transition: transform .2s ease;
}

.nt-biz:hover .nt-biz__more {
    transform: translateX(4px);
}

/* ============================================================
   마무리
   ============================================================ */

.nt-closing {
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(217, 180, 74, .16), transparent 60%),
        linear-gradient(180deg, #16241a, #0e0d0c);
}

.nt-closing__title {
    font-size: clamp(30px, 6vw, 66px);
    font-weight: 900;
    letter-spacing: -.04em;
    color: #fff;
}

.nt-closing__sub {
    margin-top: 20px;
    font-size: clamp(14px, 1.7vw, 17px);
    line-height: 1.8;
    color: rgba(255, 255, 255, .55);
}

.nt-closing__cta {
    margin-top: 38px;
    display: inline-flex;
    align-items: center;
    height: 54px;
    padding: 0 34px;
    border-radius: 999px;
    background-color: var(--nt-cream);
    color: var(--nt-soil);
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease, background-color .2s ease;
}

.nt-closing__cta:hover {
    transform: translateY(-2px);
    background-color: #fff;
}

/* ============================================================
   스크롤 등장
   ============================================================ */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--nt-reveal-delay, 0ms);
}

[data-reveal][data-revealed="true"] {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   버튼 · 폼 공통
   ============================================================ */

.nt-btn-primary,
.nt-btn-ghost,
.nt-btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

/*
  button 으로 쓸 때는 태그까지 붙여 한 단계 세게 건다.
  Tailwind 기본 스타일 [type=submit]{background-color:transparent} 이 이 파일보다 늦게 끼어들어
  같은 세기의 .nt-btn-primary 를 덮는다. 그러면 흰 글씨만 남아 마우스를 올려야 단추가 보였다.
*/
.nt-btn-primary,
button.nt-btn-primary {
    background-color: var(--nt-brand);
    color: #fff;
}

.nt-btn-primary:hover {
    background-color: var(--nt-brand-light);
    transform: translateY(-1px);
}

.nt-btn-ghost {
    border: 1px solid rgba(14, 13, 12, .18);
    color: var(--nt-soil);
}

.nt-btn-ghost:hover {
    border-color: var(--nt-soil);
    background-color: rgba(14, 13, 12, .04);
}

.nt-btn-danger {
    border: 1px solid rgba(155, 36, 35, .35);
    color: var(--nt-brand);
}

.nt-btn-danger:hover {
    background-color: var(--nt-brand);
    border-color: var(--nt-brand);
    color: #fff;
}

.nt-btn-block {
    width: 100%;
    height: 54px;
    font-size: 16px;
}

/* 헤더 안 텍스트 링크 · 로그인 이름 */
.nt-text-btn {
    align-items: center;
    height: 38px;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: currentColor;
    opacity: .78;
    white-space: nowrap;
    transition: opacity .2s ease;
}

.nt-text-btn:hover {
    opacity: 1;
}

.nt-user-chip {
    align-items: center;
    font-size: 13.5px;
    color: currentColor;
    opacity: .8;
    white-space: nowrap;
}

.nt-user-chip b {
    font-weight: 800;
}

.nt-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--nt-soil);
}

.nt-required,
.nt-optional {
    display: inline-block;
    margin-right: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    vertical-align: 1px;
}

.nt-required {
    background-color: rgba(155, 36, 35, .1);
    color: var(--nt-brand);
}

.nt-optional {
    background-color: rgba(14, 13, 12, .07);
    color: rgba(14, 13, 12, .5);
}

.nt-input,
.nt-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(14, 13, 12, .16);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--nt-soil);
    background-color: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.nt-input::placeholder,
.nt-textarea::placeholder {
    color: rgba(14, 13, 12, .3);
}

.nt-input:focus,
.nt-textarea:focus {
    outline: none;
    border-color: var(--nt-brand);
    box-shadow: 0 0 0 3px rgba(155, 36, 35, .1);
}

.nt-input--ng {
    border-color: var(--nt-brand);
}

.nt-textarea {
    resize: vertical;
    line-height: 1.7;
}

.nt-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--nt-brand);
    flex-shrink: 0;
}

.nt-help {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(14, 13, 12, .45);
}

.nt-help--ok {
    color: #2f7a43;
    font-weight: 600;
}

.nt-help--ng {
    color: var(--nt-brand);
    font-weight: 600;
}

.nt-error {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--nt-brand);
}

.nt-alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.nt-alert--error {
    background-color: rgba(155, 36, 35, .07);
    border: 1px solid rgba(155, 36, 35, .2);
    color: var(--nt-brand-dark);
}

/* 약관 동의 묶음 */
.nt-agree {
    border: 1px solid rgba(14, 13, 12, .12);
    border-radius: 16px;
    padding: 8px 18px 18px;
}

.nt-agree legend {
    padding: 0 6px;
}

.nt-agree__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    font-size: 14px;
    color: rgba(14, 13, 12, .7);
    cursor: pointer;
}

.nt-agree__row--all {
    border-bottom: 1px solid rgba(14, 13, 12, .1);
    margin-bottom: 4px;
    font-size: 15px;
}

.nt-agree__link {
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(14, 13, 12, .45);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nt-agree__link:hover {
    color: var(--nt-brand);
}

/* ============================================================
   게시판 (공개)
   ============================================================ */

.nt-board-hero {
    padding-top: calc(var(--nt-header-h) + 56px);
    padding-bottom: 56px;
    background:
        radial-gradient(80% 140% at 12% 0%, rgba(155, 36, 35, .1), transparent 60%),
        #faf8f5;
    border-bottom: 1px solid rgba(14, 13, 12, .07);
}

/* --- 하위 게시판 이동 탭 --- */

/*
  좁은 화면에서는 줄을 바꾸지 않고 옆으로 밀리게 둔다.
  게시판이 여럿 달린 곳에서 줄바꿈으로 두면 탭이 서너 줄로 쌓여 목록이 화면 밖으로 밀린다.
*/
.nt-board-tabs {
    display: flex;
    gap: 8px;
    margin-top: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    /* 눌린 탭의 그림자가 잘리지 않을 만큼만 */
    padding-bottom: 3px;
}

.nt-board-tabs::-webkit-scrollbar {
    display: none;
}

.nt-board-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(14, 13, 12, .14);
    border-radius: 999px;
    background-color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(14, 13, 12, .6);
    white-space: nowrap;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.nt-board-tab:hover {
    border-color: rgba(155, 36, 35, .4);
    color: var(--nt-brand);
}

/* 지금 보고 있는 게시판. 눌린 자리를 한눈에 알아보게 채워 둔다. */
.nt-board-tab--on,
.nt-board-tab--on:hover {
    border-color: var(--nt-soil);
    background-color: var(--nt-soil);
    color: #fff;
}

.nt-board-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 90px 24px;
    border: 1px dashed rgba(14, 13, 12, .18);
    border-radius: 20px;
    text-align: center;
}

/* --- 글 목록 --- */

/* 글이 없어도 목록 영역이 남은 높이를 채워 푸터가 화면 아래에 붙게 한다 */
.nt-board-list {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.nt-board-list__empty {
    flex: 1 0 auto;
    display: grid;
    place-items: center;
    min-height: 240px;
    text-align: center;
}

/* 모바일은 제목 위주로 쌓아 보여주고, 넓어지면 표처럼 칼럼을 편다 */
.nt-post-head {
    display: none;
}

.nt-post-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 6px;
    border-bottom: 1px solid rgba(14, 13, 12, .08);
    transition: background-color .18s ease;
}

.nt-post-row:hover {
    background-color: rgba(155, 36, 35, .03);
}

.nt-post-no {
    display: none;
}

.nt-post-title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--nt-soil);
    letter-spacing: -.015em;
}

.nt-post-title > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nt-post-writer,
.nt-post-date,
.nt-post-view {
    font-size: 12.5px;
    color: rgba(14, 13, 12, .45);
}

/* 모바일에서는 작성자 · 날짜를 한 줄로 붙여 읽는다 */
.nt-post-writer::after {
    content: " ·";
}

.nt-post-writer,
.nt-post-date {
    display: inline;
}

.nt-post-view {
    display: none;
}

.nt-post-notice {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background-color: var(--nt-brand);
    color: #fff;
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
}

.nt-post-reply {
    font-style: normal;
    color: var(--nt-grain);
    font-weight: 700;
}

/* 원글 아래 붙은 답글 줄. 바탕을 살짝 깔아 원글과 한 묶음으로 보이게 한다. */
.nt-post-row--reply {
    background-color: rgba(14, 13, 12, .025);
}

.nt-post-row--reply .nt-post-title {
    font-weight: 500;
}

/* 답글 상세 · 답글쓰기 위에 놓는 원글 바로가기 */
.nt-reply-origin {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background-color: rgba(14, 13, 12, .04);
    font-size: 14px;
    font-weight: 600;
    color: rgba(14, 13, 12, .7);
    transition: background-color .18s ease;
}

.nt-reply-origin:hover {
    background-color: rgba(14, 13, 12, .07);
}

.nt-post-reply-tag {
    flex-shrink: 0;
    padding: 1px 7px;
    border: 1px solid rgba(14, 13, 12, .15);
    border-radius: 999px;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 600;
    color: rgba(14, 13, 12, .55);
}

/*
  상위 게시판 목록에는 하위 게시판 글이 섞여 있어 줄마다 출처를 붙인다.
  제목보다 눈에 덜 띄어야 하므로 테두리만 두른 옅은 표로 둔다.
  flex-shrink 를 막지 않으면 제목이 길 때 이쪽이 먼저 찌그러진다.
*/
.nt-post-from {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 21px;
    padding: 0 8px;
    border: 1px solid rgba(14, 13, 12, .16);
    border-radius: 999px;
    color: rgba(14, 13, 12, .5);
    font-style: normal;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}

.nt-post-lock {
    font-style: normal;
    font-size: 12px;
}

.nt-chip {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: rgba(14, 13, 12, .07);
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(14, 13, 12, .55);
}

@media (min-width: 768px) {
    .nt-post-head,
    .nt-post-row {
        display: grid;
        grid-template-columns: 84px 1fr 130px 110px 76px;
        align-items: center;
        gap: 12px;
    }

    .nt-post-head {
        padding: 14px 6px;
        border-bottom: 1px solid rgba(14, 13, 12, .12);
        font-size: 12.5px;
        font-weight: 700;
        color: rgba(14, 13, 12, .5);
        text-align: center;
    }

    .nt-post-head > span:nth-child(2) {
        text-align: left;
    }

    .nt-post-no {
        display: block;
        text-align: center;
        font-size: 13px;
        color: rgba(14, 13, 12, .45);
    }

    .nt-post-writer,
    .nt-post-date,
    .nt-post-view {
        display: block;
        text-align: center;
        font-size: 13px;
    }

    .nt-post-writer::after {
        content: "";
    }

    .nt-post-title {
        font-size: 15px;
    }
}

/* --- 글 본문 --- */

.nt-post-body {
    margin-top: 34px;
    min-height: 220px;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(14, 13, 12, .82);
    word-break: break-word;
}

/*
  본문은 마크다운을 뷰어가 그린 결과라 white-space 를 건드리면 안 된다.
  pre-wrap 을 걸면 만들어진 태그 사이의 들여쓰기까지 살아나 사이가 벌어진다.
  스크립트가 막혔을 때 쓰는 noscript 원본만 줄바꿈을 살린다.
*/
.nt-post-body pre {
    white-space: pre-wrap;
    word-break: break-word;
    font: inherit;
}

/*
  뷰어는 제 글꼴 스택(Open Sans)과 좁은 줄간격을 강제한다.
  그대로 두면 본문만 사이트의 Noto Sans KR 이 아닌 다른 글꼴로 떨어져
  같은 화면 안에서 글자가 따로 놀고 작아 보인다. 사이트 것을 물려받게 되돌린다.
*/
.nt-post-body .toastui-editor-contents,
.nt-post-body .toastui-editor-contents p,
.nt-post-body .toastui-editor-contents li,
.nt-post-body .toastui-editor-contents td,
.nt-post-body .toastui-editor-contents th,
.nt-post-body .toastui-editor-contents blockquote {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(14, 13, 12, .82);
}

.nt-post-body .toastui-editor-contents h1,
.nt-post-body .toastui-editor-contents h2,
.nt-post-body .toastui-editor-contents h3,
.nt-post-body .toastui-editor-contents h4 {
    font-family: inherit;
    color: var(--nt-soil);
    letter-spacing: -.025em;
}

/* 인용은 기본값이 너무 흐려 본문에서 읽히지 않는다 */
.nt-post-body .toastui-editor-contents blockquote {
    border-left: 3px solid var(--nt-grain);
    color: rgba(14, 13, 12, .62);
}

/* 뷰어가 그린 첫 덩어리의 위 여백은 바깥에서 이미 줬다 */
.nt-post-body .toastui-editor-contents > *:first-child {
    margin-top: 0;
}

/* 표는 좁은 화면에서 넘칠 수 있으니 제 안에서 가로로 밀리게 둔다 */
.nt-post-body .toastui-editor-contents table {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
}

/* 본문에 들어온 이미지가 글 폭을 넘지 않게 */
.nt-post-body .toastui-editor-contents img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/*
  에디터 자리. 스크립트가 붙기 전에도 높이를 잡아둬야 폼이 한 번 튀지 않는다.
  Toast UI 가 el 안에 제 골격을 넣으면서 이 높이는 덮인다.
*/
.nt-editor {
    min-height: 520px;
    border: 1px solid rgba(14, 13, 12, .18);
    border-radius: 12px;
}

.nt-editor .toastui-editor-defaultUI {
    border: 0;
    border-radius: 12px;
}

/*
  툴바 아이콘. Tailwind CDN 의 preflight 가 [type=button] 에 background-image: none 을
  Toast UI 스타일보다 나중에 넣는다. 선택자 무게가 같아 나중 것이 이겨 아이콘이 다 지워졌다.
  한 단계 좁혀 다시 건다. 그림은 toastui-editor.css 에 박혀 있던 스프라이트를 그대로 꺼낸 것이다.
*/
.nt-editor .toastui-editor-toolbar-icons {
    background-image: url(/lib/toastuiEditor/toastui-editor-icons.png);
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
    .nt-editor .toastui-editor-toolbar-icons {
        background-image: url(/lib/toastuiEditor/toastui-editor-icons@2x.png);
    }
}

.nt-reply-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(14, 13, 12, .1);
    border-radius: 12px;
    transition: border-color .18s ease, background-color .18s ease;
}

.nt-reply-card:hover {
    border-color: var(--nt-brand);
    background-color: rgba(155, 36, 35, .03);
}

/* --- 썸네일형 목록 (board_type_cd = GALLERY) --- */

/*
  칸 너비를 화면 크기별로 나누지 않고 auto-fill 로 맡긴다.
  줄당 몇 개인지 정해두면 화면 폭이 어중간할 때 오른쪽이 휑하게 남는다.
*/
.nt-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px 20px;
}

.nt-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nt-card__thumb {
    position: relative;
    display: block;
    /* 사진 비율이 제각각이라 칸을 고정하고 넘치는 쪽을 잘라야 줄이 가지런하다 */
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background-color: rgba(14, 13, 12, .05);
}

.nt-card__thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.nt-card:hover .nt-card__thumb > img {
    transform: scale(1.04);
}

/* 사진이 없는 글. 빈 칸으로 두면 줄이 무너져 보인다. */
.nt-card__blank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(217, 180, 74, .16), rgba(14, 13, 12, .06));
}

.nt-card__blank > img {
    width: 44px;
    height: 44px;
    opacity: .5;
}

.nt-card__notice {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background-color: var(--nt-brand);
    color: #fff;
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
}

.nt-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    min-width: 0;
}

.nt-card__title {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.015em;
    color: var(--nt-soil);
}

/* 제목이 길어도 두 줄까지만. 칸마다 높이가 들쭉날쭉하면 줄이 어긋나 보인다. */
.nt-card__title > span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nt-card:hover .nt-card__title {
    color: var(--nt-brand);
}

.nt-card__meta {
    font-size: 12.5px;
    color: rgba(14, 13, 12, .45);
}

/* 출처표는 제목 위에 홀로 놓이므로 왼쪽에 붙인다 */
.nt-card__body > .nt-post-from {
    align-self: flex-start;
}

/* --- 페이지 --- */

.nt-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(14, 13, 12, .6);
    transition: background-color .18s ease, color .18s ease;
}

.nt-page:hover {
    background-color: rgba(14, 13, 12, .05);
    color: var(--nt-soil);
}

.nt-page--on {
    background-color: var(--nt-soil);
    color: #fff;
}

.nt-page--on:hover {
    background-color: var(--nt-soil);
    color: #fff;
}

.nt-page--nav {
    font-size: 18px;
}

.nt-page--off {
    opacity: .3;
    pointer-events: none;
}

/* ============================================================
   약관 · 방침 문서
   ============================================================ */

.nt-policy {
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 20px 110px;
    font-size: 15px;
    line-height: 1.85;
    color: rgba(14, 13, 12, .72);
}

@media (min-width: 1024px) {
    .nt-policy {
        padding: 64px 40px 130px;
    }
}

.nt-policy__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.nt-policy__tab {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(14, 13, 12, .14);
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(14, 13, 12, .55);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.nt-policy__tab:hover {
    border-color: var(--nt-soil);
    color: var(--nt-soil);
}

.nt-policy__tab--on {
    background-color: var(--nt-soil);
    border-color: var(--nt-soil);
    color: #fff;
}

.nt-policy__tab--on:hover {
    color: #fff;
}

.nt-policy h2 {
    margin: 44px 0 14px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--nt-soil);
}

.nt-policy h3 {
    margin: 28px 0 10px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--nt-soil);
}

.nt-policy p {
    margin-bottom: 12px;
}

.nt-policy ol,
.nt-policy ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.nt-policy ol {
    list-style: decimal;
}

.nt-policy ul {
    list-style: disc;
}

.nt-policy li {
    margin-bottom: 7px;
}

.nt-policy li > ul {
    margin-top: 8px;
    margin-bottom: 4px;
}

.nt-policy__lead {
    padding: 22px 24px;
    border-radius: 16px;
    background-color: rgba(155, 36, 35, .05);
    border: 1px solid rgba(155, 36, 35, .14);
    font-size: 15px;
    line-height: 1.8;
    color: var(--nt-brand-dark);
    font-weight: 500;
}

.nt-policy__table-wrap {
    margin: 16px 0 22px;
    overflow-x: auto;
}

.nt-policy__table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
}

.nt-policy__table th,
.nt-policy__table td {
    padding: 12px 14px;
    border: 1px solid rgba(14, 13, 12, .12);
    text-align: left;
    vertical-align: top;
    line-height: 1.65;
}

.nt-policy__table thead th {
    background-color: rgba(14, 13, 12, .04);
    font-weight: 700;
    color: var(--nt-soil);
    white-space: nowrap;
}

.nt-policy__table tbody th {
    width: 150px;
    background-color: rgba(14, 13, 12, .02);
    font-weight: 700;
    color: var(--nt-soil);
    white-space: nowrap;
}

.nt-policy__note {
    margin-top: 48px;
    padding: 20px 22px;
    border-radius: 14px;
    background-color: rgba(14, 13, 12, .035);
    font-size: 14px;
}

.nt-policy__note b {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
    color: var(--nt-soil);
}

.nt-policy__note p {
    margin: 0;
}

/* 사업자 정보처럼 실제 값이 정해져야 채울 수 있는 자리 */
.nt-fill {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    background-color: rgba(217, 180, 74, .22);
    border: 1px dashed rgba(155, 36, 35, .4);
    font-size: 13px;
    font-weight: 700;
    color: var(--nt-brand-dark);
}

/* ============================================================
   접근성 : 모션 최소화 설정 존중
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .nt-hero__track {
        height: auto;
    }

    .nt-hero__stage {
        position: static;
        height: auto;
        min-height: 100vh;
        padding: calc(var(--nt-header-h) + 40px) 0 80px;
    }

    .nt-hero__hint {
        display: none;
    }

    /* 문장이 겹쳐 있으므로 모션을 끄면 세로로 펼쳐 전부 읽히게 한다 */
    .nt-hero__copy {
        display: block;
    }

    .nt-hero__line {
        opacity: 1;
        transform: none;
        margin-bottom: 56px;
        transition: none;
        pointer-events: auto;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .nt-carousel {
        scroll-behavior: auto;
    }

    .nt-hero__hint i {
        animation: none;
    }
}

/* ============================================================
   트랙터 : 해 뜨는 밭을 달리는 트랙터 (도트 그림) — 스크롤 인트로 다음 섹션
   장면은 farmDotHero.js 가 캔버스에 점 격자로 그린다.
   ============================================================ */

.nt-farm {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    overflow: hidden;
    background:
        radial-gradient(70% 60% at 72% 52%, rgba(155, 36, 35, .22), transparent 70%),
        var(--nt-soil);
}

/* 꺼진 전광판 점 : 캔버스와 같은 간격으로 아주 희미하게 깔아 둔다 */
.nt-farm__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(245, 231, 200, .07) 0 1px, transparent 1.5px);
    background-size: var(--nt-dot-step, 8px) var(--nt-dot-step, 8px);
    transform-origin: 50% 100%;
    will-change: transform, opacity;
}

/* 아래 끝을 다음 섹션(최근 소식, 흰 바탕)으로 녹인다. 밭 점이 뚝 끊기지 않고 밝아지며 사라진다 */
.nt-farm::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, .12) 30%,
        rgba(255, 255, 255, .55) 65%,
        #fff 100%);
}

.nt-farm__copy {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--nt-header-h) + 5vh);
    padding: 0 20px;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    will-change: transform, opacity;
}

/* 등장 애니메이션은 안쪽 글자에 건다. 바깥 상자는 스크롤에 맞춰 JS 가 움직인다
   (애니메이션이 걸린 요소는 인라인 transform 이 먹지 않는다).
   섹션이 화면에 들어와 data-on 이 붙을 때까지는 숨겨 둔다 */
.nt-farm__copy > * {
    opacity: 0;
}

.nt-farm[data-on="true"] .nt-farm__copy > * {
    animation: ntFarmCopy 1.1s cubic-bezier(.22, 1, .36, 1) both;
}

.nt-farm__copy > :nth-child(1) { animation-delay: .15s; }
.nt-farm__copy > :nth-child(2) { animation-delay: .3s; }
.nt-farm__copy > :nth-child(3) { animation-delay: .5s; }

@keyframes ntFarmCopy {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nt-farm__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .28em;
    color: var(--nt-grain);
    margin-bottom: 16px;
}

.nt-farm__title {
    font-size: clamp(28px, 5vw, 62px);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -.035em;
    color: #fff;
    word-break: keep-all;
    text-shadow: 0 2px 30px rgba(14, 13, 12, .7);
}

.nt-farm__sub {
    margin: 18px auto 0;
    max-width: 30em;
    word-break: keep-all;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.7;
    color: rgba(255, 255, 255, .7);
}

.nt-farm__hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3em;
    /* 아래쪽이 흰 바탕으로 녹아 있어 어두운 글자로 둔다 */
    color: rgba(14, 13, 12, .5);
}

.nt-farm__hint i {
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(14, 13, 12, .55), transparent);
    animation: ntHintDrop 1.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .nt-farm__copy > *,
    .nt-farm[data-on="true"] .nt-farm__copy > *,
    .nt-farm__hint i {
        animation: none;
        opacity: 1;
    }
}
