/*
Theme Name: Whitewave Child
Theme URI: https://whitewavenews.com
Description: 흰물결신문 신문 레이아웃 (GeneratePress 자식 테마)
Author: 흰물결신문
Template: generatepress
Version: 1.1.15
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: whitewave
*/

:root {
	/* 최종 시안 B-12: 종이색 바탕 · 코발트 파랑 · 검정 바닥글 */
	--ww-bg: #f4efe6;
	--ww-paper: #ebe3d4;
	--ww-card: #fbf8f2;
	--ww-line: #d6cbb6;
	--ww-ink: #1a1a1a;
	--ww-text: #1a1a1a;
	--ww-muted: #5a5248;
	--ww-accent: #1f4e96;
	--ww-accent-dark: #173c75;
	--ww-kicker: #6b5d3f;
	--ww-foot: #1a1a1a;
	--ww-foot-text: #f4efe6;
	--ww-yellow: #ffcc00;
	--ww-bg-soft: var(--ww-paper);
	--ww-max: 1240px;
	--ww-read: 720px;
	--ww-f-head: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
	--ww-f-body: "Nanum Myeongjo", "Noto Serif KR", "AppleMyungjo", "Batang", serif;
	--ww-f-logo: "WW Logo", "Gowun Batang", "Nanum Myeongjo", serif;
}

html, body, .site, .site-content, #page { background: var(--ww-bg); }
body {
	font-family: var(--ww-f-head);
	color: var(--ww-text);
	word-break: keep-all;
	overflow-wrap: break-word;
}
.separate-containers .inside-article, .one-container .container, .separate-containers .site-main > * { background: transparent; }

a { color: inherit; }
a:hover { color: var(--ww-accent); }

/* GeneratePress 기본 상자 여백을 신문 레이아웃에 맞게 */
.ww-wrap {
	max-width: var(--ww-max);
	margin: 0 auto;
	padding: 24px 20px 56px;
	background: transparent;
}
.separate-containers .ww-wrap { padding-top: 24px; }

/* ---------- 카드 ---------- */
.ww-card a { text-decoration: none; }
.ww-card-thumb { display: block; }
.ww-card-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 4px;
	background: var(--ww-bg-soft);
}
.ww-card-title {
	margin: 10px 0 6px;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--ww-ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ww-card-excerpt {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.65;
	color: #444;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ww-card-meta { font-size: 13px; color: var(--ww-muted); }

.ww-card--row {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid var(--ww-line);
}
.ww-card--row .ww-card-title { margin-top: 0; font-size: 16px; }

/* ---------- 메인: 주요 기사 ---------- */
.ww-hero { display: grid; gap: 28px; grid-template-columns: 1fr; }
.ww-hero-main .ww-card-title { font-size: 26px; line-height: 1.35; -webkit-line-clamp: 4; }
.ww-hero-main .ww-card-excerpt { font-size: 16px; }
.ww-side-list .ww-card--row:first-child { padding-top: 0; }
.ww-side-list .ww-card--row:last-child { border-bottom: 0; }

@media (min-width: 900px) {
	.ww-hero { grid-template-columns: 2fr 1fr; }
	.ww-hero-main .ww-card-title { font-size: 30px; }
}

/* ---------- 섹션 ---------- */
.ww-section {
	margin-top: 48px;
	padding-top: 14px;
	border-top: 2px solid var(--ww-ink);
}
.ww-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 18px;
}
.ww-section-title { margin: 0; font-size: 20px; font-weight: 800; color: var(--ww-ink); }
.ww-section-title a { text-decoration: none; }
.ww-more { font-size: 14px; color: var(--ww-muted); text-decoration: none; }

.ww-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
	.ww-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 기사 페이지 ---------- */
.ww-article { max-width: var(--ww-read); margin: 0 auto; }
.ww-kicker {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: var(--ww-accent);
	text-decoration: none;
	margin: 0;
}
.ww-title {
	margin: 10px 0 12px;
	font-size: 30px;
	line-height: 1.35;
	font-weight: 800;
	color: var(--ww-ink);
}
@media (min-width: 900px) {
	.ww-title { font-size: 38px; }
}
.ww-subtitle { margin: 0 0 18px; font-size: 19px; line-height: 1.55; color: #444; }
.ww-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding: 12px 0;
	border-top: 1px solid var(--ww-line);
	border-bottom: 1px solid var(--ww-line);
	font-size: 14px;
	color: var(--ww-muted);
}
.ww-writers a { color: var(--ww-ink); font-weight: 700; text-decoration: none; }
.ww-writers a:hover { color: var(--ww-accent); }
.ww-writer-title { color: var(--ww-muted); font-weight: 400; }
.ww-sep { color: #bbb; }

.ww-kickers { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.ww-kicker--series { color: var(--ww-ink); font-weight: 600; }
.ww-kicker-label {
	display: inline-block;
	padding: 1px 6px;
	margin-right: 2px;
	border: 1px solid currentColor;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: 2px;
	color: var(--ww-accent);
}

.ww-featured { margin: 28px 0; }
.ww-featured img { display: block; width: 100%; height: auto; border-radius: 4px; }
.ww-featured figcaption,
.ww-content figcaption,
.ww-content .wp-caption-text {
	margin-top: 8px;
	font-size: 13px;
	color: var(--ww-muted);
	text-align: center;
}

.ww-content { margin-top: 28px; font-size: 18px; line-height: 1.9; color: var(--ww-text); }
.ww-content p { margin: 0 0 1.5em; }
.ww-content h2 { font-size: 24px; margin: 1.8em 0 0.8em; }
.ww-content h3 { font-size: 20px; margin: 1.6em 0 0.7em; }
.ww-content img { max-width: 100%; height: auto; }
.ww-content figure,
.ww-content .wp-caption { max-width: 100%; margin: 2em auto; }
.ww-content blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--ww-accent);
	font-size: 19px;
	color: #333;
}

.ww-related { max-width: var(--ww-max); }

/* ---------- 목록 페이지 ---------- */
.ww-archive-head { padding-bottom: 18px; border-bottom: 2px solid var(--ww-ink); margin-bottom: 8px; }
.ww-archive-title { margin: 4px 0 0; font-size: 28px; font-weight: 800; color: var(--ww-ink); }
.ww-archive-desc { margin-top: 10px; color: #444; line-height: 1.7; }
.ww-list .ww-card--row { grid-template-columns: 35% 1fr; gap: 18px; padding: 20px 0; }
@media (min-width: 900px) {
	.ww-list { max-width: 900px; }
	.ww-list .ww-card--row { grid-template-columns: 240px 1fr; }
	.ww-list .ww-card-title { font-size: 20px; }
}

.ww-wrap .pagination,
.ww-wrap .nav-links { margin-top: 32px; display: flex; gap: 6px; flex-wrap: wrap; }
.ww-wrap .page-numbers {
	padding: 6px 12px;
	border: 1px solid var(--ww-line);
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
}
.ww-wrap .page-numbers.current { background: var(--ww-ink); color: #fff; border-color: var(--ww-ink); }

/* ---------- 연재 ---------- */
.ww-series-box {
	box-sizing: border-box;
	max-width: var(--ww-read);
	margin: 40px auto 0;
	padding: 20px 22px;
	background: var(--ww-bg-soft);
	border-radius: 6px;
}
.ww-series-box .ww-section-head { margin-bottom: 10px; }
.ww-series-box .ww-section-title { font-size: 17px; }
.ww-series-list { margin: 0; padding-left: 1.3em; }
.ww-series-list li { padding: 6px 0; line-height: 1.5; }
.ww-series-list a { text-decoration: none; font-weight: 600; color: var(--ww-ink); }
.ww-series-list time { margin-left: 6px; font-size: 13px; color: var(--ww-muted); }
.ww-archive-sub { margin: 6px 0 0; color: var(--ww-muted); }

/* ---------- 구독 안내 ---------- */
.ww-content .ww-paywall,
.ww-paywall {
	position: relative;
	margin: 8px 0 40px;
	padding: 28px 24px 24px;
	border-top: 3px solid var(--ww-ink);
	background: #fafafa;
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
}
.ww-paywall::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -83px;
	height: 80px;
	background: linear-gradient(rgba(244,239,230,0), var(--ww-bg));
	pointer-events: none;
}
.ww-content .ww-paywall p { margin: 0; }
.ww-paywall-title { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--ww-ink); }
.ww-content .ww-paywall .ww-paywall-title { margin-bottom: 6px; }
.ww-content .ww-paywall .ww-paywall-text,
.ww-paywall-text { margin: 0 0 20px; color: #444; }
.ww-paywall-plans { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.ww-paywall-plans { grid-template-columns: repeat(3, 1fr); }
}
.ww-plan {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 10px;
	border: 1px solid var(--ww-line);
	border-radius: 6px;
	background: #fff;
	color: var(--ww-ink);
	text-decoration: none;
}
a.ww-plan:hover { border-color: var(--ww-ink); color: var(--ww-ink); }
.ww-plan--annual { border: 2px solid var(--ww-accent); }
.ww-plan-label { font-size: 14px; font-weight: 700; }
.ww-plan-price { font-size: 18px; font-weight: 800; }
.ww-plan-note { font-size: 12px; color: var(--ww-muted); }
.ww-plan.is-soon { opacity: 0.75; }
.ww-content .ww-paywall .ww-paywall-soon,
.ww-content .ww-paywall .ww-paywall-login,
.ww-paywall-soon,
.ww-paywall-login { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--ww-muted); }
.ww-paywall-login a { color: var(--ww-accent); font-weight: 700; }

.ww-locked-part {
	margin: 1.5em 0;
	padding: 14px 16px;
	border: 1px dashed #c9c9c9;
	border-radius: 6px;
	background: #fafafa;
	font-size: 15px;
	color: var(--ww-muted);
	text-align: center;
}
.ww-lock-icon {
	display: inline-block;
	width: 10px;
	height: 8px;
	margin-right: 8px;
	border: 2px solid currentColor;
	border-radius: 2px;
	position: relative;
	vertical-align: -1px;
}
.ww-lock-icon::before {
	content: "";
	position: absolute;
	left: 0;
	top: -8px;
	width: 6px;
	height: 6px;
	border: 2px solid currentColor;
	border-bottom: 0;
	border-radius: 5px 5px 0 0;
}

/* ---------- 내 구독 정보 ---------- */
.ww-account { max-width: var(--ww-read); }
.ww-account-list { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 16px 0 24px; }
.ww-account-list dt { color: var(--ww-muted); }
.ww-account-list dd { margin: 0; }
.ww-status.is-active { color: #00733e; }
.ww-status.is-expired { color: #b32d2e; }
.ww-button {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 6px;
	background: var(--ww-ink);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}
.ww-button:hover { color: #fff; background: var(--ww-accent); }

/* ================================================================
 * 1.0 최종 디자인 (시안 B-12)
 * ================================================================ */
@font-face { font-family: "WW Logo"; src: url("assets/fonts/ww-logo.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }

.ww-inner { box-sizing: border-box; max-width: var(--ww-max); margin: 0 auto; padding: 0 5%; }
@media (min-width: 1300px) { .ww-inner { padding: 0 20px; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.ww-icon { display: block; flex: none; }
.ww-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--ww-kicker); text-decoration: none; }
a.ww-kicker:hover { color: var(--ww-accent); }

/* ---------- 머리글 ---------- */
.ww-masthead { background: var(--ww-bg); color: var(--ww-ink); }
.ww-topbar { background: var(--ww-bg); border-bottom: 1px solid var(--ww-line); }
.ww-topbar-inner { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.ww-today { font-size: 13px; color: var(--ww-muted); }
.ww-topbar-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.ww-drawer-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--ww-ink); cursor: pointer; }
.ww-drawer-toggle:hover, .ww-drawer-toggle:focus { background: none; color: var(--ww-accent); }
.ww-langs { display: flex; gap: 12px; font-size: 13px; }
.ww-langs a { color: var(--ww-muted); text-decoration: none; }
.ww-langs a:hover { color: var(--ww-accent); }
.ww-search { display: flex; align-items: center; border-bottom: 1px solid transparent; }
.ww-search:focus-within { border-bottom-color: var(--ww-ink); }
.ww-search input[type="search"] { width: 0; padding: 6px 0; border: 0; background: transparent; font-size: 14px; color: var(--ww-ink); transition: width 0.2s; }
.ww-search:focus-within input[type="search"], .ww-search input[type="search"]:not(:placeholder-shown) { width: 150px; padding: 6px 4px; }
.ww-search button { display: flex; padding: 8px; border: 0; background: none; color: var(--ww-ink); cursor: pointer; }
.ww-search button:hover, .ww-search button:focus { background: none; color: var(--ww-accent); }
.ww-link-account { font-size: 14px; font-weight: 600; color: var(--ww-ink); text-decoration: none; white-space: nowrap; }
.ww-link-account:hover { color: var(--ww-accent); }
/* 구독하기: 파랑, 마우스를 올리면 아래에서 진한 파랑이 차오름 */
.ww-btn-subscribe {
	display: inline-flex; align-items: center; padding: 9px 20px; white-space: nowrap;
	background-color: var(--ww-accent);
	background-image: linear-gradient(var(--ww-accent-dark), var(--ww-accent-dark));
	background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0;
	color: #fff; font-size: 14px; font-weight: 800; text-decoration: none;
	transition: background-size 0.2s ease-in;
}
.ww-btn-subscribe:hover, .ww-btn-subscribe:focus-visible { background-size: 100% 100%; color: #fff; }

.ww-brand { padding: 40px 0 0; text-align: center; }
.ww-logo { margin: 0; font-family: var(--ww-f-logo); font-size: 68px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.ww-logo a { display: inline-flex; align-items: center; gap: 0.2em; color: var(--ww-ink); text-decoration: none; }
.ww-logo a:hover { color: var(--ww-ink); }
.ww-logo .ww-mark { color: var(--ww-accent); }
.ww-logo img { max-height: 80px; width: auto; }
.ww-mark { display: inline-flex; }
.ww-mark svg { display: block; width: auto; height: 0.92em; }
.ww-slogan { margin: 10px 0 0; font-family: var(--ww-f-body); font-size: 16px; color: var(--ww-muted); }

.ww-sections { margin-top: 22px; }
.ww-sections .ww-inner { padding: 0; }
.ww-sections-list {
	display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 30px; margin: 0 5%; padding: 14px 0; list-style: none;
	border-top: 1px solid var(--ww-ink); border-bottom: 1px solid var(--ww-ink);
}
@media (min-width: 1300px) { .ww-sections-list { margin: 0 20px; } }
.ww-sections-list li { margin: 0; }
.ww-sections-list a { font-size: 15px; font-weight: 600; color: var(--ww-ink); text-decoration: none; white-space: nowrap; }
.ww-sections-list a:hover,
.ww-sections-list .current-menu-item > a,
.ww-sections-list .current-post-ancestor > a,
.ww-sections-list .current-category-ancestor > a { color: var(--ww-accent); }

@media (max-width: 899px) {
	.ww-topbar { border-bottom: 0; }
	.ww-topbar-inner { min-height: 60px; }
	.ww-drawer-toggle { display: inline-flex; }
	.ww-today, .ww-topbar-right .ww-langs, .ww-topbar-right .ww-search, .ww-topbar-right .ww-link-account { display: none; }
	.ww-btn-subscribe { padding: 8px 12px; font-size: 13px; }
	.ww-brand { padding: 0; margin-top: -52px; pointer-events: none; }
	.ww-brand .ww-logo { font-size: 26px; line-height: 44px; }
	.ww-brand .ww-logo a { pointer-events: auto; }
	.ww-slogan { display: none; }
	.ww-sections { margin-top: 16px; }
	.ww-sections-list { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; gap: 22px; margin: 0; padding: 12px 16px; scrollbar-width: none; }
	.ww-sections-list::-webkit-scrollbar { display: none; }
}
@media (max-width: 380px) { .ww-brand .ww-logo { font-size: 22px; } }

/* 전체 메뉴 (왼쪽에서 열리는 서랍) */
.ww-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.45); }
.ww-drawer[hidden] { display: none; }
.ww-drawer-panel { box-sizing: border-box; position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); padding: 24px 24px 32px; overflow-y: auto; background: var(--ww-bg); color: var(--ww-ink); box-shadow: 4px 0 24px rgba(0,0,0,0.15); }
.ww-drawer-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none; color: var(--ww-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.ww-drawer-close:hover, .ww-drawer-close:focus { background: none; color: var(--ww-accent); }
.ww-drawer-title { display: flex; align-items: center; gap: 8px; margin: 6px 0 18px; font-family: var(--ww-f-logo); font-size: 24px; font-weight: 700; }
.ww-drawer-title .ww-mark { color: var(--ww-accent); }
.ww-search--drawer { border-bottom: 1px solid var(--ww-ink); margin-bottom: 8px; }
.ww-search--drawer input[type="search"], .ww-search--drawer input[type="search"]:not(:placeholder-shown) { flex: 1; width: auto; padding: 8px 2px; font-size: 16px; }
.ww-drawer-list { margin: 0; padding: 0; list-style: none; }
.ww-drawer-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--ww-line); color: var(--ww-ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.ww-drawer-list .sub-menu { margin: 0; padding: 0 0 0 14px; list-style: none; }
.ww-drawer-list .sub-menu a { font-weight: 400; font-size: 15px; }
.ww-drawer-account { display: flex; gap: 16px; margin-top: 24px; font-size: 15px; }
.ww-drawer-account a { color: var(--ww-accent); font-weight: 700; text-decoration: none; }
.ww-langs--drawer { margin-top: 18px; }
body.ww-drawer-open { overflow: hidden; }

/* ---------- 메인 화면 ---------- */
.ww-home { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }
.ww-block-title { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--ww-accent); }
.ww-home img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--ww-paper); }

.ww-top { display: flex; flex-wrap: wrap; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--ww-line); }
.ww-top-image { flex: 999 1 560px; min-width: 0; display: block; }
.ww-top-image img { aspect-ratio: 3 / 2; }
.ww-top-text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.ww-top-title { margin: 0; font-size: 42px; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.ww-top-title a { color: var(--ww-ink); text-decoration: none; }
.ww-top-title a:hover { color: var(--ww-accent); }
.ww-balmun { margin: 0; padding: 0; border: 0; font-style: normal; }
.ww-balmun::before { content: ""; display: block; width: 44px; height: 3px; margin-bottom: 10px; background: var(--ww-accent); }
.ww-balmun p { margin: 0; font-family: var(--ww-f-body); font-size: 19px; line-height: 1.65; color: var(--ww-ink); }
.ww-top-byline { margin: 0; font-size: 14px; color: var(--ww-muted); }
.ww-headlines { margin: 4px 0 0; padding: 0; list-style: none; }
.ww-headlines li { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--ww-line); }
.ww-headlines a:not(.ww-kicker) { font-size: 17px; font-weight: 700; line-height: 1.38; color: var(--ww-ink); text-decoration: none; }
.ww-headlines a:hover { color: var(--ww-accent); }

.ww-row2 { display: flex; flex-wrap: wrap; gap: 40px; }
.ww-cards3 { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.ww-tile { display: flex; flex-direction: column; gap: 10px; }
.ww-tile-image img { aspect-ratio: 4 / 3; }
.ww-tile-title { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.32; }
.ww-tile-title a { color: var(--ww-ink); text-decoration: none; }
.ww-tile-title a:hover { color: var(--ww-accent); }
.ww-popular { flex: 1 1 280px; max-width: 360px; }
.ww-popular ol { margin: 0; padding: 0; list-style: none; }
.ww-popular li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--ww-line); }
.ww-rank { min-width: 28px; font-family: var(--ww-f-body); font-size: 34px; font-weight: 700; line-height: 1; color: var(--ww-accent); }
.ww-popular a { font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ww-ink); text-decoration: none; }
.ww-popular a:hover { color: var(--ww-accent); }

.ww-sections3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 899px) { .ww-sections3 { grid-template-columns: 1fr; gap: 30px; } }
.ww-sec { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 4px solid var(--ww-accent); }
.ww-sec-title { margin: 0; font-size: 20px; font-weight: 800; }
.ww-sec-title a { color: var(--ww-accent); text-decoration: none; }
.ww-sec-lead { display: flex; flex-direction: column; gap: 10px; color: var(--ww-ink); text-decoration: none; }
.ww-sec-lead img { aspect-ratio: 3 / 2; }
.ww-sec-lead span { font-size: 21px; font-weight: 800; line-height: 1.32; }
.ww-sec-lead:hover span { color: var(--ww-accent); }
.ww-sec ul { margin: 0; padding: 0; list-style: none; }
.ww-sec li { padding: 12px 0; border-top: 1px solid var(--ww-line); }
.ww-sec li a { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ww-ink); text-decoration: none; }
.ww-sec li a:hover { color: var(--ww-accent); }

.ww-series-strip { background: var(--ww-paper); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.ww-series-strip .ww-block-title { font-size: 24px; color: var(--ww-ink); }
.ww-series-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.ww-series-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--ww-card); border: 1px solid var(--ww-line); color: var(--ww-ink); text-decoration: none; }
.ww-series-card:hover { border-color: var(--ww-accent); color: var(--ww-ink); }
.ww-series-name { font-size: 21px; font-weight: 800; }
.ww-series-desc { font-family: var(--ww-f-body); font-size: 15px; line-height: 1.55; color: var(--ww-muted); }
.ww-series-more { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ww-accent); }

@media (max-width: 699px) {
	.ww-home { padding-top: 18px; gap: 30px; }
	.ww-top { gap: 12px; padding-bottom: 30px; }
	.ww-top-image { margin: 0 -5.5%; }
	.ww-top-image img { aspect-ratio: 4 / 3; }
	.ww-top-title { font-size: 28px; line-height: 1.25; }
	.ww-balmun p { font-size: 17px; }
	.ww-row2 { gap: 30px; }
	.ww-cards3 { grid-template-columns: 1fr; gap: 0; }
	.ww-tile { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 5px; padding: 14px 0; border-top: 1px solid var(--ww-line); }
	.ww-tile-image { grid-row: 1 / 3; }
	.ww-tile-image img { aspect-ratio: 4 / 3; }
	.ww-tile-title { font-size: 16px; line-height: 1.38; }
	.ww-tile:first-child { border-top: 0; padding-top: 0; }
	.ww-popular { max-width: none; }
	.ww-series-strip { margin: 0 -5.5%; padding: 22px 16px; }
	.ww-series-cards { display: flex; overflow-x: auto; }
	.ww-series-card { min-width: 230px; }
}

/* ---------- 기사 페이지 ---------- */
.ww-wrap { max-width: var(--ww-max); }
.ww-article .ww-kicker { color: var(--ww-kicker); }
.ww-kicker-label { color: var(--ww-accent); }
.ww-title { font-family: var(--ww-f-head); font-weight: 800; letter-spacing: -0.015em; }
@media (min-width: 900px) { .ww-title { font-size: 44px; line-height: 1.2; } }
.ww-subtitle { font-family: var(--ww-f-body); color: var(--ww-muted); }
.ww-article-head .ww-balmun { margin: 6px 0 22px; }
.ww-byline { border-color: var(--ww-line); }
.ww-content { font-family: var(--ww-f-body); font-size: 19px; line-height: 1.9; color: var(--ww-text); }
.ww-content h2, .ww-content h3, .ww-content h4 { font-family: var(--ww-f-head); }
.ww-content blockquote { border-left: 0; border-top: 2px solid var(--ww-accent); border-bottom: 1px solid var(--ww-line); padding: 22px 0; text-align: center; font-family: var(--ww-f-head); font-size: 24px; font-weight: 800; line-height: 1.45; color: var(--ww-ink); }
.ww-content a { color: var(--ww-accent); }
@media (max-width: 699px) { .ww-content { font-size: 17px; } }

.ww-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.ww-share-btn { box-sizing: border-box; display: inline-flex; align-items: center; gap: 7px; height: 40px; margin: 0; padding: 0 14px 0 11px; line-height: 1; border: 1px solid var(--ww-line); background: var(--ww-card); color: var(--ww-ink); font-family: var(--ww-f-head); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ww-share-btn:hover, .ww-share-btn:focus { border-color: var(--ww-ink); background: var(--ww-card); color: var(--ww-ink); }
.ww-share-note { font-size: 13px; color: var(--ww-accent); }
@media (max-width: 499px) {
	.ww-share-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.ww-share-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
}

.ww-section { border-top: 4px solid var(--ww-accent); }
.ww-section-title, .ww-section-title a { color: var(--ww-accent); }
.ww-series-box { background: var(--ww-paper); border-radius: 0; }
.ww-card-thumb img, .ww-featured img { border-radius: 0; background: var(--ww-paper); }
.ww-card-title a:hover { color: var(--ww-accent); }

/* 구독 안내 상자 */
.ww-content .ww-paywall, .ww-paywall { font-family: var(--ww-f-head); background: var(--ww-paper); border-top: 4px solid var(--ww-accent); border-radius: 0; }
.ww-plan { background: var(--ww-card); border-radius: 0; }
.ww-plan--annual { border-color: var(--ww-accent); }
.ww-button { background: var(--ww-accent); border-radius: 0; }
.ww-button:hover { background: var(--ww-accent-dark); }

/* ---------- 바닥글 ---------- */
.site-footer { background: var(--ww-foot); }
.ww-footer { background: var(--ww-foot); color: var(--ww-foot-text); padding: 48px 0 40px; }
.ww-footer-inner { display: flex; flex-direction: column; gap: 22px; }
.ww-footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.ww-footer-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ww-f-logo); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ww-foot-text); text-decoration: none; }
.ww-footer-logo .ww-mark { color: var(--ww-yellow); }
.ww-footer-logo:hover { color: #fff; }
.ww-footer .ww-langs a { color: var(--ww-foot-text); opacity: 0.85; }
.ww-footer-menu { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.ww-footer-menu li { margin: 0; }
.ww-footer-menu a { font-size: 14px; color: var(--ww-foot-text); opacity: 0.85; text-decoration: none; }
.ww-footer a:hover { color: var(--ww-yellow); opacity: 1; }
.ww-footer-contact { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ww-footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ww-foot-text); text-decoration: none; }
.ww-footer-contact .ww-icon { color: var(--ww-yellow); }
.ww-footer-copy { margin: 0; font-size: 13px; opacity: 0.7; }
@media (max-width: 699px) { .ww-footer .ww-footer-menu, .ww-footer nav:has(.ww-footer-menu) { display: none; } .ww-footer { padding: 32px 0 28px; } }

/* ---------- 1.1: 월호·면, 가족 사이트, 묶음 안내 ---------- */
.ww-issue { font-family: var(--ww-f-head); font-weight: 700; color: var(--ww-kicker); }
.ww-byline .ww-issue { margin-right: 10px; }
.ww-byline .ww-issue + time { color: var(--ww-muted); }
.ww-card-meta .ww-issue { margin-right: 8px; font-size: inherit; }
.ww-top-byline .ww-issue { margin-left: 10px; font-size: 13px; }
.ww-top-byline .ww-writers:empty + .ww-issue { margin-left: 0; }
.ww-family { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(244,239,230,.18); font-family: var(--ww-f-head); font-size: 14px; }
.ww-family a { display: inline-flex; align-items: center; gap: 6px; color: var(--ww-foot-text); text-decoration: none; opacity: .85; }
.ww-family a:hover { opacity: 1; color: var(--ww-yellow); }
.ww-family--drawer { flex-direction: column; gap: 10px; margin: 16px 0 0; border-top: 1px solid var(--ww-line); }
.ww-family--drawer a { color: var(--ww-ink); opacity: 1; }
.ww-paywall-bundles { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--ww-line); }
.ww-content .ww-paywall .ww-paywall-bundles-title, .ww-paywall-bundles-title { margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.ww-paywall-bundles ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.ww-paywall-bundles li { padding: 4px 0; }
.ww-paywall-bundles a { color: var(--ww-accent); font-weight: 700; }
.ww-paywall-bundles span { margin-left: 6px; color: var(--ww-muted); font-size: 13px; }
.ww-paywall-soon a { color: var(--ww-accent); }

/* ---------- 1.1.1: ☰ 전체 메뉴를 PC에서도, 칼럼 모음집 메뉴 ---------- */
.ww-drawer-toggle { display: inline-flex; }
@media (min-width: 900px) {
	.ww-topbar-inner { gap: 6px; }
	.ww-drawer-toggle { width: 36px; height: 36px; margin-left: -8px; }
	.ww-drawer-toggle svg { width: 22px; height: 22px; }
}
.ww-sections-list .ww-menu-books a { color: var(--ww-accent); font-weight: 800; }
.ww-drawer-list .ww-menu-books a { color: var(--ww-accent); }
.ww-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-family: var(--ww-f-head); font-size: 15px; font-weight: 700; }
.ww-footer-links a { color: var(--ww-yellow); text-decoration: none; }
.ww-footer-links a:hover { text-decoration: underline; }
/* 1.1.2: 전체 메뉴의 외국어 링크를 가족 사이트와 떼어 놓는다 */
.ww-family--drawer + .ww-langs--drawer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ww-line); }
/* 1.1.3: ☰ 전체 메뉴는 왼쪽 맨 앞에 글씨와 함께 (예전 위치), 날짜는 오른쪽 */
.ww-drawer-toggle { gap: 8px; width: auto; padding: 0 4px 0 0; font-family: var(--ww-f-head); font-size: 14px; font-weight: 700; }
.ww-drawer-label { white-space: nowrap; }
.ww-topbar-right .ww-today { margin-right: 6px; padding-right: 14px; border-right: 1px solid var(--ww-line); }
@media (min-width: 900px) {
	.ww-drawer-toggle { width: auto; height: 40px; margin-left: 0; }
}
@media (max-width: 899px) {
	.ww-drawer-label { position: absolute; left: -9999px; }
	.ww-drawer-toggle { width: 44px; justify-content: center; padding: 0; }
}
/* 1.1.4: 날짜는 제호 아래, 분야 메뉴 줄 위 */
.ww-today--brand { margin: 10px 0 0; text-align: center; font-family: var(--ww-f-head); font-size: 13px; color: var(--ww-muted); letter-spacing: .02em; }
@media (max-width: 899px) { .ww-today--brand { display: none; } }
/* 1.1.5: 날짜는 메뉴 줄 바로 위 오른쪽 끝 (줄 끝에 맞춤) */
@media (min-width: 900px) {
	.ww-sections .ww-inner { position: relative; }
	.ww-today--brand { position: absolute; right: 5%; bottom: calc(100% + 8px); margin: 0; text-align: right; white-space: nowrap; }
}
@media (min-width: 1300px) { .ww-today--brand { right: 20px; } }
/* 1.1.8: 구독 안내 박스 가운데 칸은 예전 모양의 연한 미색 (#f8f3e9) */
.ww-paywall-plans .ww-plan:nth-child(2) { background: #f8f3e9; border-color: #ddd4c2; }
.ww-paywall-plans a.ww-plan:nth-child(2):hover { border-color: var(--ww-ink); }

/* 1.1.10: 헤더 언어 링크 — English 와 日本語·中文 글자 높이·크기 맞춤 */
.ww-topbar-right .ww-langs { align-items: center; gap: 14px; }
.ww-topbar-right .ww-langs a { display: inline-flex; align-items: center; line-height: 1; font-size: 13px; }
.ww-topbar-right .ww-langs a[lang="ja"], .ww-topbar-right .ww-langs a[lang="zh"], .ww-topbar-right .ww-langs a[hreflang="ja"], .ww-topbar-right .ww-langs a[hreflang="zh"] { font-size: 14px; }

/* 1.1.12: 목록 카드의 필자·섹션 줄, 헤더 검색 */
.ww-card-by { margin: -2px 0 6px; font-size: 13px; color: var(--ww-muted); }
.ww-card-by strong { color: var(--ww-ink); font-weight: 700; }
.ww-card-by a { color: var(--ww-kicker); text-decoration: none; font-weight: 600; }
.ww-card-by a:hover { color: var(--ww-accent); }
.ww-search.is-open input[type="search"] { width: 150px; padding: 6px 4px; }
.ww-search.is-open { border-bottom-color: var(--ww-ink); }

/* 1.1.13: 톱기사 옆 동화·편집부 추천 칸 */
.ww-headline--pick { position: relative; }
.ww-kicker--pick { color: var(--ww-accent); }
.ww-headline-by { font-size: 13px; color: var(--ww-muted); }

/* 1.1.14: 상세 검색 칸이 상자 오른쪽에 붙던 것 */
.ww-sf-adv input[type=text], .ww-sf-adv select { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; }
.ww-sf-issue > label { min-width: 0; }
.ww-sf-issue--3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.ww-sf-issue select { padding-left: 8px; padding-right: 4px; }

/* 1.1.15: 발문(풀쿼트) 위아래 여백 — 워드프레스 기본값(위아래 4em)이 너무 커서 줄임 */
.ww-content .wp-block-pullquote { padding: 0; margin: 2.2em auto; font-size: inherit; line-height: inherit; }
.ww-content .wp-block-pullquote blockquote { margin: 0; }
