@charset "UTF-8";

/* ─── 히어로 ─── */
.nf-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
}

.nf-hero-swiper {
	width: 100%;
	height: 100%;
}

/* ─── 슬라이드 공통 ─── */
.nf-slide {
	position: relative;
	overflow: hidden;
}

/* 배경 이미지 */
.nf-slide-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.nf-slide-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	transition: transform 8s ease;
}

.nf-slide.swiper-slide-active .nf-slide-bg img {
	transform: scale(1);
}

/* 슬라이드별 오버레이 */
.nf-slide-bg::after {
	content: "";
	position: absolute;
	inset: 0;
}

.nf-slide--forest .nf-slide-bg::after {
	background: rgba(15, 35, 20, 0.5);
}

.nf-slide--water .nf-slide-bg::after {
	background: rgba(10, 25, 45, 0.5);
}

.nf-slide--wind .nf-slide-bg::after {
	background: rgba(35, 28, 10, 0.45);
}

/* ─── 캔버스 ─── */
.nf-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

/* ─── 텍스트 영역 ─── */
.nf-slide-inner {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	align-items: flex-end;
	padding: 0 80px 130px;
}

.nf-slide-body {
	opacity: 0;
}

.nf-slide-theme {
	display: block;
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 16px;
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
}

.nf-slide-tit {
	font-family: "MaruBuri", serif;
	font-size: clamp(38px, calc(18px + 2.8vw), 70px);
	font-weight: 300;
	color: #fff;
	margin-bottom: 20px;
}

.nf-slide-desc {
	font-size: clamp(16px, calc(6px + 1.6vw), 22px);
	color: rgba(255, 255, 255, 0.68);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
}

/* ─── 스크롤 힌트 ─── */
.nf-scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 36px;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.nf-scroll-text {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.5);
}

.nf-scroll-line {
	width: 1px;
	height: 40px;
	background: rgba(255, 255, 255, 0.4);
	transform-origin: top center;
	animation: nf-scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes nf-scroll-pulse {
	0%   { transform: scaleY(0); opacity: 0; }
	30%  { opacity: 1; }
	100% { transform: scaleY(1); opacity: 0; }
}

/* ─── 네비게이션 ─── */
.nf-hero-ctrl {
	position: absolute;
	bottom: 48px;
	right: 80px;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 28px;
}

.nf-hero-fraction {
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-size: clamp(14px, calc(6px + 1.2vw), 18px);
	color: rgba(255, 255, 255, 0.45);
}

.nf-frac-cur {
	font-size: clamp(22px, calc(10px + 1.8vw), 30px);
	color: #fff;
	font-weight: 300;
}

.nf-hero-arrows {
	display: flex;
	gap: 10px;
}

.nf-prev,
.nf-next {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s;
}

.nf-prev:hover,
.nf-next:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.6);
}

/* ─── 이달의 주제 ─── */
.nf-theme {
	padding: 72px 0;
}

.nf-theme-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 48px;
}

.nf-theme-label {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-muted);
	margin-bottom: 14px;
}

.nf-theme-rule {
	width: 40px;
	height: 1px;
	background: var(--color-text-main);
	margin-bottom: 24px;
}

.nf-theme-tit {
	font-family: "MaruBuri", serif;
	font-size: clamp(32px, calc(16px + 2.4vw), 60px);
	font-weight: 300;
	color: var(--color-text-main);
	margin-bottom: 20px;
}

.nf-theme-desc {
	font-size: clamp(16px, calc(7px + 1.4vw), 22px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
	margin-bottom: 28px;
}

.nf-theme-link {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-main);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: opacity 0.2s;
}

.nf-theme-link:hover {
	opacity: 0.55;
}

/* ─── 특집 기사 ─── */
.nf-feature {
	padding: 0 0 120px;
}

.nf-feature-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 48px;
}

.nf-feature-head {
	margin-bottom: 32px;
}

.nf-feature-label {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-muted);
}

.nf-feature-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.nf-feat-card {
	display: block;
	text-decoration: none;
	overflow: hidden;
}

.nf-feat-img {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-bottom: 16px;
	border-radius: 12px;
}

.nf-feat-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.nf-feat-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 55%);
}

.nf-feat-card:hover .nf-feat-img img {
	transform: scale(1.05);
}

/* 피처드 카드 */
.nf-feat-card--main {
	grid-row: span 2;
	position: relative;
	border-radius: 12px;
}

.nf-feat-card--main .nf-feat-img {
	aspect-ratio: unset;
	position: absolute;
	inset: 0;
	height: 100%;
	margin-bottom: 0;
}

.nf-feat-card--main .nf-feat-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 32px 28px;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 70%);
	margin-bottom: 0;
}

.nf-feat-card--main .nf-feat-cat {
	color: rgba(255, 255, 255, 0.6);
}

.nf-feat-card--main .nf-feat-tit {
	color: #fff;
	font-size: clamp(22px, calc(12px + 1.6vw), 34px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nf-feat-card--main .nf-feat-desc {
	color: rgba(255, 255, 255, 0.75);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.nf-feat-card:not(.nf-feat-card--main) {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.nf-feat-card:not(.nf-feat-card--main) .nf-feat-img {
	flex: 0 0 140px;
	aspect-ratio: 1 / 1;
	margin-bottom: 0;
}

.nf-feat-card:not(.nf-feat-card--main) .nf-feat-body {
	flex: 1;
	min-width: 0;
	padding-top: 4px;
}

.nf-feat-cat {
	display: block;
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-muted);
	margin-bottom: 10px;
}

.nf-feat-tit {
	font-family: "MaruBuri", serif;
	font-size: clamp(18px, calc(10px + 1.2vw), 26px);
	font-weight: 400;
	color: var(--color-text-main);
	margin-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nf-feat-desc {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ─── 자연 에세이 ─── */
.nf-essay {
	padding: 0 0 120px;
	overflow: hidden;
}

.nf-essay-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 0 48px;
	margin-bottom: 28px;
}

.nf-essay-label {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-muted);
}

.nf-essay-more {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color 0.2s;
}

.nf-essay-more:hover {
	color: var(--color-text-main);
}

/* 탭 */
.nf-essay-tabs {
	display: flex;
	gap: 8px;
	padding: 0 48px;
	margin-bottom: 28px;
}

.nf-essay-tab {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 400;
	color: var(--color-text-muted);
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: 100px;
	cursor: pointer;
	padding: 8px 22px;
	transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nf-essay-tab:hover {
	color: var(--color-text-main);
	border-color: var(--color-text-main);
}

.nf-essay-tab.is-active {
	color: #fff;
	background: var(--color-text-main);
	border-color: var(--color-text-main);
}

.nf-essay-swiper {
	padding: 0 48px;
	overflow: visible;
}

.nf-essay-slide {
	height: auto;
}

/* 카드 */
.nf-essay-card {
	display: block;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
}

.nf-essay-img {
	position: absolute;
	inset: 0;
}

.nf-essay-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.nf-essay-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
	z-index: 1;
}

.nf-essay-card:hover .nf-essay-img img {
	transform: scale(1.06);
}

/* 오버레이 — 제목 항상 노출, 호버 시 태그+설명 등장 */
.nf-essay-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px 24px;
	transition: background 0.35s ease;
	z-index: 2;
}

.nf-essay-card:hover .nf-essay-overlay,
.nf-essay-card.is-touched .nf-essay-overlay {
	background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 65%, transparent 100%);
}

.nf-essay-tag {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	display: block;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	margin-bottom: 0;
	transition: opacity 0.3s ease, max-height 0.3s ease, margin-bottom 0.3s ease;
}

.nf-essay-card:hover .nf-essay-tag,
.nf-essay-card.is-touched .nf-essay-tag {
	opacity: 1;
	max-height: 30px;
	margin-bottom: 10px;
}

.nf-essay-tit {
	font-family: "MaruBuri", serif;
	font-size: clamp(18px, calc(10px + 1.1vw), 24px);
	font-weight: 400;
	color: #fff;
	margin-bottom: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: margin-bottom 0.3s ease;
}

.nf-essay-card:hover .nf-essay-tit,
.nf-essay-card.is-touched .nf-essay-tit {
	margin-bottom: 10px;
}

.nf-essay-desc {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.65);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	opacity: 0;
	max-height: 0;
	transition: opacity 0.3s ease 0.1s, max-height 0.35s ease;
}

.nf-essay-card:hover .nf-essay-desc,
.nf-essay-card.is-touched .nf-essay-desc {
	opacity: 1;
	max-height: 60px;
}

/* ─── 이달의 절기 ─── */
.nf-solar {
	padding: 72px 0 100px;
	border-top: 1px solid var(--color-border);
}

.nf-solar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 48px;
	display: flex;
	align-items: flex-start;
	gap: 80px;
}

.nf-solar-left {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.nf-solar-hanja {
	font-family: "MaruBuri", serif;
	font-size: clamp(48px, calc(24px + 4vw), 96px);
	font-weight: 300;
	color: var(--color-text-main);
	display: block;
}

.nf-solar-name {
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
}

.nf-solar-right {
	flex: 1;
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.nf-solar-text {
	flex: 1;
}

.nf-solar-phrase {
	font-family: "MaruBuri", serif;
	font-size: clamp(22px, calc(12px + 1.6vw), 36px);
	font-weight: 300;
	color: var(--color-text-main);
	margin-bottom: 12px;
}

.nf-solar-date {
	display: block;
	font-size: clamp(14px, calc(4px + 1.4vw), 18px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
	margin-bottom: 24px;
}

.nf-solar-rule {
	width: 32px;
	height: 1px;
	background: var(--color-border);
	margin-bottom: 24px;
}

.nf-solar-note {
	font-size: clamp(16px, calc(7px + 1.4vw), 22px);
	font-family: "Pretendard Variable", "Pretendard", sans-serif;
	font-weight: 300;
	color: var(--color-text-muted);
}

.nf-solar-img {
	flex: 0 0 200px;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 8px;
}

.nf-solar-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ─── 반응형 ─── */
@media (max-width: 999px) {
	.nf-slide-inner {
		padding: 0 40px 100px;
	}

	.nf-hero-ctrl {
		right: 40px;
		bottom: 36px;
	}

	.nf-theme-inner,
	.nf-feature-inner {
		padding: 0 40px;
	}

	.nf-theme {
		padding: 56px 0;
	}

	.nf-feature {
		padding-bottom: 80px;
	}

	.nf-feature-head {
		margin-bottom: 24px;
	}

	.nf-theme-rule {
		margin-bottom: 20px;
	}

	.nf-theme-tit {
		margin-bottom: 16px;
	}

	.nf-theme-desc {
		margin-bottom: 24px;
	}

	.nf-essay-head,
	.nf-essay-tabs,
	.nf-essay-swiper {
		padding-left: 40px;
		padding-right: 40px;
	}

	.nf-essay {
		padding-bottom: 80px;
	}

	.nf-essay-head {
		margin-bottom: 20px;
	}

	.nf-essay-tabs {
		margin-bottom: 20px;
	}

	.nf-solar-inner {
		padding: 0 40px;
		gap: 48px;
	}

	.nf-solar {
		padding: 56px 0 72px;
	}
}

@media (max-width: 768px) {
	.nf-slide-inner {
		padding: 0 24px 90px;
	}

	.nf-slide-theme {
		margin-bottom: 8px;
	}

	.nf-slide-tit {
		margin-bottom: 12px;
	}

	.nf-hero-ctrl {
		right: 24px;
		bottom: 28px;
		gap: 18px;
	}

	.nf-prev,
	.nf-next {
		width: 40px;
		height: 40px;
	}

	.nf-theme {
		padding: 32px 0;
	}

	.nf-theme-inner,
	.nf-feature-inner {
		padding: 0 24px;
	}

	.nf-theme-rule {
		margin-bottom: 16px;
	}

	.nf-theme-tit {
		margin-bottom: 12px;
	}

	.nf-theme-desc {
		margin-bottom: 16px;
	}

	.nf-essay-head,
	.nf-essay-tabs,
	.nf-essay-swiper {
		padding-left: 24px;
		padding-right: 24px;
	}

	.nf-essay-head {
		margin-bottom: 12px;
	}

	.nf-essay-tabs {
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 16px;
	}

	.nf-essay {
		padding-bottom: 48px;
	}

	.nf-solar-inner {
		padding: 0 24px;
		flex-direction: column;
		gap: 24px;
	}

	.nf-solar-left {
		flex-direction: row;
		align-items: baseline;
		gap: 16px;
	}

	.nf-solar {
		padding: 32px 0 48px;
	}

	.nf-solar-phrase {
		margin-bottom: 8px;
	}

	.nf-solar-date {
		margin-bottom: 16px;
	}

	.nf-solar-rule {
		margin-bottom: 16px;
	}

	.nf-solar-img {
		display: none;
	}

	.nf-feature-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.nf-feat-card--main {
		grid-row: span 1;
		position: relative;
		min-height: 260px;
	}

	.nf-feat-card:not(.nf-feat-card--main) .nf-feat-img {
		flex: 0 0 110px;
	}

	.nf-feature {
		padding-bottom: 40px;
	}

	.nf-feature-head {
		margin-bottom: 16px;
	}
}

@media (max-width: 499px) {
	.nf-slide-inner {
		padding: 0 20px 80px;
	}

	.nf-slide-theme {
		margin-bottom: 6px;
	}

	.nf-slide-tit {
		margin-bottom: 8px;
	}

	.nf-hero-ctrl {
		right: 20px;
		bottom: 24px;
	}

	.nf-theme-inner,
	.nf-feature-inner {
		padding: 0 20px;
	}

	.nf-essay-head,
	.nf-essay-tabs,
	.nf-essay-swiper {
		padding-left: 20px;
		padding-right: 20px;
	}

	.nf-essay {
		padding-bottom: 32px;
	}

	.nf-essay-head {
		margin-bottom: 10px;
	}

	.nf-essay-tabs {
		margin-bottom: 14px;
		gap: 6px;
	}

	.nf-solar-inner {
		padding: 0 20px;
	}

	.nf-solar {
		padding: 24px 0 36px;
	}

	.nf-solar-phrase {
		margin-bottom: 6px;
	}

	.nf-solar-date {
		margin-bottom: 12px;
	}

	.nf-solar-rule {
		margin-bottom: 12px;
	}

	.nf-theme {
		padding: 24px 0;
	}

	.nf-theme-label {
		margin-bottom: 10px;
	}

	.nf-theme-rule {
		margin-bottom: 12px;
	}

	.nf-theme-tit {
		margin-bottom: 10px;
	}

	.nf-theme-desc {
		margin-bottom: 14px;
	}

	.nf-feat-card:not(.nf-feat-card--main) {
		flex-direction: column;
	}

	.nf-feat-card:not(.nf-feat-card--main) .nf-feat-img {
		flex: none;
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	.nf-feature {
		padding-bottom: 32px;
	}

	.nf-feature-head {
		margin-bottom: 14px;
	}
}
