@charset "utf-8";

/* ============================================================
   march15 — FM 다이얼 아카이브형
   빈티지 라디오 테마 + 연도별 이슈 목록 + 상세 패널
   ============================================================ */

:root {
	--ma15-bg: #f5f0e8;
	--ma15-dark: #1e1508;
	--ma15-amber: #c8840a;
	--ma15-amber-lt: rgba(200, 132, 10, 0.12);
	--ma15-ink: #1a1209;
	--ma15-muted: #7a6040;
	--ma15-rule: #c4b090;
	--ma15-row-hover: #ede7da;
}

body {
	background: var(--ma15-bg);
}
body.dark {
	background: #120e08;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9998;
	pointer-events: none;
	opacity: 0.14;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.38' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: 180px;
}

body.page-light-header #header,
body.page-light-header #header.on,
body.page-light-header #header.act {
	background-color: var(--ma15-bg) !important;
}

.ma15-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 60px;
}

/* ═══════════════════════════════════════════
   S1: 히어로
   ═══════════════════════════════════════════ */
.ma15-hero {
	padding: 140px 0 80px;
}
.ma15-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

/* 카피 */
.ma15-hero-eyebrow {
	font-size: clamp(14px, calc(6px + 1vw), 18px);
	color: var(--ma15-amber);
	font-weight: 600;
	margin-bottom: 14px;
}
.ma15-hero-tit {
	font-size: clamp(42px, calc(14px + 4.5vw), 80px);
	font-weight: 900;
	font-family: var(--font-serif);
	color: var(--ma15-ink);
	margin-bottom: 18px;
	line-height: 1.2;
}
.ma15-hero-desc {
	font-size: clamp(15px, calc(6px + 1.1vw), 18px);
	color: var(--ma15-muted);
	max-width: 460px;
	word-break: keep-all;
}

/* FM 다이얼 박스 */
.ma15-dial-box {
	width: 100%;
	max-width: 800px;
	background: var(--ma15-dark);
	border-radius: 10px;
	padding: 24px 36px 28px;
	box-shadow:
		0 16px 56px rgba(0, 0, 0, 0.45),
		0 2px 8px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ma15-dial-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}
.ma15-dial-brand {
	font-size: clamp(14px, calc(8px + 0.8vw), 18px);
	color: var(--ma15-amber);
	font-weight: 700;
}
.ma15-dial-track {
	position: relative;
	margin-bottom: 8px;
}
.ma15-dial-scale {
	position: relative;
	height: 44px;
	border-bottom: 2px solid var(--ma15-amber);
}
.ma15-tick {
	position: absolute;
	bottom: 0;
	left: calc(var(--p));
	transform: translateX(-50%);
	width: 1px;
	height: 8px;
	background: rgba(200, 132, 10, 0.4);
}
.ma15-tick--major {
	height: 16px;
	background: var(--ma15-amber);
	opacity: 0.9;
}
.ma15-needle {
	position: absolute;
	bottom: -2px;
	left: 90%;
	transform: translateX(-50%);
	width: 2px;
	height: 50px;
	background: var(--ma15-amber);
	border-radius: 1px;
	box-shadow: 0 0 8px var(--ma15-amber);
	transition: left 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	pointer-events: none;
}
.ma15-dial-range {
	display: flex;
	justify-content: space-between;
	padding: 0 2px;
	margin-bottom: 12px;
}
.ma15-dial-range span {
	font-size: clamp(12px, calc(4px + 1vw), 14px);
	color: var(--ma15-muted);
	font-family: var(--font-mono, monospace);
}
.ma15-dial-bottom {
	display: flex;
	align-items: center;
	gap: 24px;
}
.ma15-wave-canvas {
	flex: 1;
	height: 40px;
}
.ma15-freq-readout {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-shrink: 0;
}
.ma15-freq-num {
	font-size: clamp(22px, calc(10px + 1.8vw), 36px);
	font-weight: 900;
	color: var(--ma15-amber);
	font-family: var(--font-serif);
	transition: opacity 0.15s;
}
.ma15-on-air {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: clamp(12px, calc(5px + 0.7vw), 14px);
	color: rgba(200, 132, 10, 0.7);
	font-weight: 700;
}
.ma15-on-air-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ma15-amber);
	animation: ma15pulse 1.4s ease-in-out infinite;
	flex-shrink: 0;
}
@keyframes ma15pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.2;
	}
}

/* ═══════════════════════════════════════════
   S2: 연도 탭 바 (스티키)
   ═══════════════════════════════════════════ */
.ma15-year-bar {
	position: sticky;
	top: 90px;
	z-index: 100;
	background: var(--ma15-bg);
	border-bottom: 1px solid var(--ma15-rule);
	transition: top 0.25s ease;
}
.ma15-year-bar .ma15-wrap {
	display: flex;
}
.ma15-year-tabs {
	display: flex;
}
.ma15-ytab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 18px 28px;
	font-size: clamp(14px, calc(6px + 1vw), 18px);
	font-weight: 600;
	color: var(--ma15-muted);
	cursor: pointer;
	margin-bottom: -1px;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.ma15-ytab:hover {
	color: var(--ma15-ink);
}
.ma15-ytab--on {
	color: var(--ma15-amber);
	border-bottom-color: var(--ma15-amber);
}

/* ═══════════════════════════════════════════
   S3: 이슈 목록
   ═══════════════════════════════════════════ */
.ma15-archive {
	padding: 56px 0 100px;
}
.ma15-year-sec {
	margin-bottom: 56px;
}
.ma15-year-sec.is-hidden {
	display: none;
}
.ma15-year-hd {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
}
.ma15-year-rule {
	flex: 1;
	height: 1px;
	background: var(--ma15-rule);
}
.ma15-year-num {
	font-size: clamp(18px, calc(8px + 1.4vw), 26px);
	font-weight: 900;
	font-family: var(--font-serif);
	color: var(--ma15-muted);
	flex-shrink: 0;
}

.ma15-issue-list {
	border-top: 1px solid var(--ma15-rule);
}
.ma15-row {
	display: grid;
	grid-template-columns: 96px 160px 1fr 28px;
	align-items: center;
	gap: 24px;
	padding: 20px 0;
	border: none;
	border-bottom: 1px solid var(--ma15-rule);
	width: 100%;
	text-align: left;
	background: none;
	cursor: pointer;
	transition:
		background 0.2s,
		padding-left 0.2s;
}
.ma15-row:hover {
	background: var(--ma15-row-hover);
	padding-left: 16px;
}
.ma15-row-vol {
	font-size: clamp(18px, calc(8px + 1.4vw), 26px);
	font-weight: 900;
	color: var(--ma15-amber);
	font-family: var(--font-serif);
	white-space: nowrap;
}
.ma15-row-date {
	font-size: clamp(14px, calc(5px + 1vw), 18px);
	color: var(--ma15-muted);
}
.ma15-row-tit {
	font-size: clamp(15px, calc(6px + 1.1vw), 18px);
	color: var(--ma15-ink);
	font-family: var(--font-serif);
	font-weight: 600;
	word-break: keep-all;
}
.ma15-row-arr {
	font-size: clamp(18px, calc(8px + 1.2vw), 22px);
	color: var(--ma15-amber);
	opacity: 0;
	transform: translateX(-8px);
	transition:
		opacity 0.2s,
		transform 0.2s;
}
.ma15-row:hover .ma15-row-arr {
	opacity: 1;
	transform: translateX(0);
}

/* ═══════════════════════════════════════════
   상세 패널
   ═══════════════════════════════════════════ */
.ma15-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 420px;
	height: 100%;
	background: var(--ma15-dark);
	z-index: 500;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ma15-panel.is-open {
	transform: translateX(0);
}
.ma15-panel-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: 1px solid rgba(200, 132, 10, 0.35);
	color: var(--ma15-amber);
	font-size: 18px;
	cursor: pointer;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition:
		background 0.2s,
		border-color 0.2s;
}
.ma15-panel-close:hover {
	border-color: var(--ma15-amber);
	background: var(--ma15-amber-lt);
}
.ma15-panel-body {
	padding-top: 60px;
}
.ma15-panel-cover {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}
.ma15-panel-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.65;
}
.ma15-panel-wave {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 64px;
	pointer-events: none;
}
.ma15-panel-info {
	padding: 28px 36px 48px;
}
.ma15-panel-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}
.ma15-panel-vol {
	font-size: clamp(22px, calc(10px + 1.8vw), 32px);
	font-weight: 900;
	color: var(--ma15-amber);
	font-family: var(--font-serif);
}
.ma15-panel-date {
	font-size: clamp(14px, calc(5px + 1vw), 16px);
	color: var(--ma15-muted);
	margin-bottom: 20px;
}
.ma15-panel-divider {
	height: 1px;
	background: rgba(200, 132, 10, 0.2);
	margin-bottom: 20px;
}
.ma15-panel-listlabel {
	font-size: clamp(12px, calc(5px + 0.8vw), 14px);
	color: var(--ma15-amber);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.ma15-panel-list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
}
.ma15-panel-list li {
	display: grid;
	grid-template-columns: 54px 72px 1fr;
	gap: 10px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid rgba(200, 132, 10, 0.12);
}
.ma15-panel-list li:last-child {
	border-bottom: none;
}
.ma15-pl-ch {
	font-size: clamp(12px, calc(5px + 0.8vw), 14px);
	color: var(--ma15-amber);
	font-family: var(--font-mono, monospace);
	font-weight: 700;
}
.ma15-pl-cat {
	font-size: clamp(12px, calc(5px + 0.8vw), 14px);
	color: rgba(200, 132, 10, 0.55);
}
.ma15-pl-tit {
	font-size: clamp(15px, calc(6px + 1.1vw), 18px);
	color: #e8dcc8;
	word-break: keep-all;
}
.ma15-panel-cta {
	display: inline-block;
	padding: 12px 24px;
	background: var(--ma15-amber);
	color: var(--ma15-dark);
	font-size: clamp(14px, calc(6px + 1vw), 18px);
	font-weight: 700;
	text-decoration: none;
	border-radius: 2px;
	transition: opacity 0.2s;
}
.ma15-panel-cta:hover {
	opacity: 0.85;
}

/* 백드롭 */
.ma15-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(26, 18, 9, 0.5);
	z-index: 499;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s;
}
.ma15-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* ═══════════════════════════════════════════
   반응형 — 999px
   ═══════════════════════════════════════════ */
@media all and (max-width: 999px) {
	.ma15-wrap {
		padding: 0 32px;
	}
	.ma15-year-bar {
		top: 70px;
	}
	.ma15-row {
		grid-template-columns: 80px 140px 1fr 24px;
		gap: 16px;
	}
	.ma15-panel {
		width: 360px;
	}
	.ma15-panel-info {
		padding: 24px 28px 40px;
	}
}

/* ═══════════════════════════════════════════
   반응형 — 768px
   ═══════════════════════════════════════════ */
@media all and (max-width: 768px) {
	.ma15-wrap {
		padding: 0 20px;
	}
	.ma15-hero {
		padding: 100px 0 56px;
	}
	.ma15-dial-box {
		padding: 20px 20px 20px;
	}
	.ma15-dial-bottom {
		gap: 14px;
	}
	.ma15-row {
		grid-template-columns: 1fr 28px;
		grid-template-rows: auto auto auto;
		gap: 4px 8px;
		padding: 18px 0;
	}
	.ma15-row-vol {
		grid-column: 1;
		grid-row: 1;
	}
	.ma15-row-date {
		grid-column: 1;
		grid-row: 2;
	}
	.ma15-row-tit {
		grid-column: 1;
		grid-row: 3;
	}
	.ma15-row-arr {
		grid-column: 2;
		grid-row: 1 / span 3;
		align-self: center;
		opacity: 1;
		transform: none;
	}
	.ma15-panel {
		width: 100%;
	}
	.ma15-panel-list li {
		grid-template-columns: 48px 64px 1fr;
		gap: 8px;
	}
	.ma15-ytab {
		padding: 16px 16px;
	}
}

/* ═══════════════════════════════════════════
   반응형 — 499px
   ═══════════════════════════════════════════ */
@media all and (max-width: 499px) {
	.ma15-wrap {
		padding: 0 16px;
	}
	.ma15-row {
		padding: 16px 0;
	}
	.ma15-ytab {
		padding: 14px 12px;
	}
	.ma15-panel-list li {
		grid-template-columns: 44px 1fr;
	}
	.ma15-pl-cat {
		display: none;
	}
}
