﻿@charset "utf-8";

/* ============================================================
	mmain04 — 미니멀 뉴스레터형
	마스트헤드 + 에디터 레터 + 기사 리스트 + 추천 + 구독
	============================================================ */

/* 헤더 — 라이트 배경 위에서 텍스트 어둡게 */
#header:not(.act):not(.on):not(.navi-open) .main-navi > li > a {
	color: var(--color-text-main);
}
#header:not(.act):not(.on):not(.navi-open) #logo .mag-info * {
	color: var(--color-text-main);
}

.nl-wrap {
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 60px;
}

/* ============================================================
	마스트헤드
	============================================================ */
.nl-masthead {
	padding: 140px 0 64px;
	border-bottom: 1px solid var(--color-border-strong);
}

.nl-masthead-info {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(14px, calc(10px + 0.65vw), 18px);
	color: var(--color-text-muted);
	margin-bottom: 28px;
}

.nl-dot {
	opacity: 0.4;
}

.nl-mag-name {
	font-size: clamp(52px, 9vw, 108px);
	font-weight: 900;
	color: var(--color-text-main);
	line-height: 1.1;
	font-family: var(--font-sub-title);
	margin-bottom: 32px;
	will-change: opacity, transform;
}

.nl-masthead-divider {
	height: 2px;
	background: var(--color-text-main);
	margin-bottom: 20px;
	transform-origin: left;
}

.nl-masthead-tagline {
	font-size: clamp(14px, calc(10px + 0.85vw), 20px);
	color: var(--color-text-sub);
	letter-spacing: 0.02em;
}

/* ============================================================
	에디터 레터
	============================================================ */
.nl-letter {
	padding: 64px 0;
	border-bottom: 1px solid var(--color-border);
}

.nl-letter-open {
	font-size: clamp(16px, calc(12px + 0.8vw), 22px);
	font-weight: 600;
	font-family: var(--font-sub-title);
	color: var(--color-text-main);
	margin-bottom: 20px;
}

.nl-letter-body {
	font-size: clamp(15px, calc(11px + 0.7vw), 20px);
	color: var(--color-text-sub);
	margin-bottom: 28px;
}

.nl-letter-sign {
	font-size: clamp(14px, calc(10px + 0.7vw), 18px);
	color: var(--color-text-muted);
}

/* ============================================================
	기사 목록
	============================================================ */
.nl-articles {
	padding: 48px 0 64px;
}

.nl-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--color-text-main);
	margin-bottom: 0;
}

.nl-section-tit {
	font-size: clamp(18px, calc(13px + 1vw), 24px);
	font-weight: 700;
	font-family: var(--font-sub-title);
	color: var(--color-text-main);
}

.nl-section-count {
	font-size: 18px;
	color: var(--color-text-muted);
}

.nl-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.nl-item {
	border-bottom: 1px solid var(--color-border);
	opacity: 0;
	transform: translateX(-16px);
	transition:
		opacity 0.5s ease,
		transform 0.5s ease;
}

.nl-item.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.nl-item-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 24px 0;
	text-decoration: none;
}

.nl-item-left {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	flex: 1;
	min-width: 0;
}

.nl-item-num {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-text-muted);
	flex-shrink: 0;
	padding-top: 2px;
}

.nl-item-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.nl-item-cat {
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-primary);
}

.nl-item-tit {
	font-size: clamp(15px, calc(10px + 0.9vw), 22px);
	font-weight: 700;
	color: var(--color-text-main);
	transition: color 0.2s ease;
}

.nl-item-link:hover .nl-item-tit {
	color: var(--color-primary);
}

.nl-item-desc {
	font-size: clamp(14px, calc(11px + 0.6vw), 18px);
	color: var(--color-text-sub);
	line-height: 1.65;
}

.nl-item-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	flex-shrink: 0;
}

.nl-item-thumb {
	width: 110px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
}

.nl-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.nl-item-link:hover .nl-item-thumb img {
	transform: scale(1.07);
}

.nl-item-date {
	font-size: 18px;
	color: var(--color-text-muted);
}

/* ============================================================
	에디터 추천
	============================================================ */
.nl-picks {
	padding: 48px 0 64px;
	border-top: 1px solid var(--color-border);
}

.nl-picks .nl-section-head {
	margin-bottom: 28px;
}

.nl-picks-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.nl-pick-card {
	display: block;
	text-decoration: none;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.nl-pick-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nl-pick-img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

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

.nl-pick-card:hover .nl-pick-img img {
	transform: scale(1.05);
}

.nl-pick-body {
	padding: 20px 24px 24px;
}

.nl-pick-cat {
	display: block;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 8px;
}

.nl-pick-tit {
	font-size: clamp(16px, calc(12px + 0.8vw), 22px);
	font-weight: 700;
	color: var(--color-text-main);
	margin-bottom: 8px;
	transition: color 0.2s ease;
}

.nl-pick-card:hover .nl-pick-tit {
	color: var(--color-primary);
}

.nl-pick-desc {
	font-size: clamp(14px, calc(11px + 0.6vw), 18px);
	color: var(--color-text-sub);
}

/* ============================================================
	구독
	============================================================ */
.nl-subscribe {
	background: var(--color-bg-inverse);
	padding: 80px 0;
}

.nl-subscribe-inner {
	text-align: center;
}

.nl-subscribe-label {
	font-size: 18px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 16px;
}

.nl-subscribe-tit {
	font-size: clamp(24px, calc(16px + 1.6vw), 40px);
	font-weight: 700;
	color: var(--color-text-inverse);
	margin-bottom: 12px;
}

.nl-subscribe-desc {
	font-size: clamp(14px, calc(11px + 0.6vw), 18px);
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 36px;
	line-height: 1.7;
}

.nl-subscribe-form {
	display: flex;
	gap: 12px;
	max-width: 440px;
	margin: 0 auto;
}

.nl-subscribe-input {
	flex: 1;
	height: 50px;
	padding: 0 20px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 6px;
	font-size: 18px;
	color: #fff;
	outline: none;
	transition: border-color 0.2s ease;
}

.nl-subscribe-input::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

.nl-subscribe-input:focus {
	border-color: rgba(255, 255, 255, 0.6);
}

.nl-subscribe-btn {
	height: 50px;
	padding: 0 28px;
	background: var(--color-primary);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease;
	white-space: nowrap;
}

.nl-subscribe-btn:hover {
	background: var(--color-primary-hover);
}

/* ============================================================
	반응형 — 필수 구간 999 / 768 / 499
	============================================================ */

@media all and (max-width: 999px) {
	.nl-wrap {
		padding: 0 32px;
	}

	.nl-masthead {
		padding-top: 110px;
	}

	.nl-item-thumb {
		width: 90px;
	}
}

@media all and (max-width: 768px) {
	.nl-wrap {
		padding: 0 16px;
	}

	.nl-masthead {
		padding-top: 90px;
		padding-bottom: 48px;
	}

	.nl-item-link {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.nl-item-right {
		flex-direction: row;
		align-items: center;
		width: 100%;
	}

	.nl-picks-grid {
		grid-template-columns: 1fr;
	}

	.nl-subscribe-form {
		flex-direction: column;
	}

	.nl-subscribe-input {
		width: 100%;
	}
}

@media all and (max-width: 499px) {
	.nl-item-num {
		display: none;
	}

	.nl-item-left {
		gap: 0;
	}

	.nl-item-right {
		display: none;
	}
}
