/*
Theme Name: Suanote News
Theme URI: https://suanote.com/
Author: 수아의 정보 노트
Description: 금융·생활 정보 블로그를 위한 언론사형 읽기 중심 테마. 분야 내비, 톱기사·최신 기사·분야별 섹션, 목차와 입력·수정 시각을 보여주는 기사 화면.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: suanote-news
*/

/* ---------- 토큰 ---------- */
:root {
	--bg: #ffffff;
	--bg-soft: #f5f6f8;
	--bg-accent: #eef3fb;
	--text: #16191d;
	--text-2: #4a5059;
	--text-3: #727985;
	--line: #e3e6ea;
	--line-strong: #16191d;
	--brand: #0b4ea2;
	--brand-ink: #083b7a;
	--point: #d6312b;
	--focus: #2f7cf6;
	--radius: 10px;
	--wrap: 1200px;
	--read: 700px;
	--gutter: 16px;
	--font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
		"Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #111418;
		--bg-soft: #1a1e24;
		--bg-accent: #16243a;
		--text: #eceef1;
		--text-2: #b8bec7;
		--text-3: #8a919c;
		--line: #2a3038;
		--line-strong: #eceef1;
		--brand: #7fb0ff;
		--brand-ink: #a8c8ff;
		--point: #ff6b63;
		color-scheme: dark;
	}
}

/* ---------- 기본 ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 72px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
img,
svg,
video {
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
a:hover {
	color: var(--brand);
}
:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
	border-radius: 4px;
}
h1,
h2,
h3 {
	line-height: 1.35;
	letter-spacing: -0.02em;
}
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 8px;
	top: -48px;
	z-index: 100;
	padding: 8px 14px;
	background: var(--text);
	color: var(--bg);
	border-radius: 6px;
}
.skip-link:focus {
	top: 8px;
}
.site-main {
	padding-bottom: 48px;
}
.site-main:focus {
	outline: none;
}

/* ---------- 헤더 ---------- */
.topbar {
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	color: var(--text-3);
}
.topbar__inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	min-height: 32px;
	align-items: center;
}
.topbar__tagline {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 16px;
	position: relative;
}
.brand {
	margin: 0;
	font-size: inherit;
}
.brand__name {
	display: block;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.1;
}
.brand__logo {
	display: block;
	max-height: 48px;
	width: auto;
}
.search-toggle summary {
	list-style: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--text);
}
.search-toggle summary::-webkit-details-marker {
	display: none;
}
.search-toggle summary:hover {
	background: var(--bg-soft);
}
.search-toggle__panel {
	position: absolute;
	right: var(--gutter);
	top: 100%;
	z-index: 30;
	width: min(420px, calc(100vw - 2 * var(--gutter)));
	padding: 12px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 32px rgb(0 0 0 / 0.12);
}
.primary-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--bg);
	border-top: 2px solid var(--line-strong);
	border-bottom: 1px solid var(--line);
}
.primary-nav .nav-list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.primary-nav .nav-list::-webkit-scrollbar {
	display: none;
}
.primary-nav a {
	display: block;
	padding: 13px 12px;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}
.primary-nav .current-menu-item > a,
.primary-nav .current-category-ancestor > a,
.primary-nav .current-post-ancestor > a,
.primary-nav a:hover {
	color: var(--brand);
	border-bottom-color: var(--brand);
}
.primary-nav li:first-child a {
	padding-left: 0;
}

/* ---------- 검색 폼 ---------- */
.search-form {
	display: flex;
	gap: 8px;
}
.search-form__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	font: inherit;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 8px;
}
.search-form__button {
	height: 44px;
	padding: 0 18px;
	font: inherit;
	font-weight: 700;
	color: #fff;
	background: var(--brand);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .search-form__button {
		color: #0b1220;
	}
}

/* ---------- 공통 조각 ---------- */
.cat-label {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand);
}
.meta {
	margin: 0;
	font-size: 13px;
	color: var(--text-3);
}
.meta__sep {
	margin: 0 6px;
}
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--line-strong);
}
.section-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
}
.section-title--small {
	font-size: 15px;
	color: var(--text-2);
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.more {
	font-size: 14px;
	color: var(--text-2);
	white-space: nowrap;
}
.thumb {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--bg-soft);
}
.thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}
.thumb:hover img {
	transform: scale(1.03);
}
.thumb--wide {
	aspect-ratio: 4 / 3;
}
.thumb--wide img {
	object-position: center top;
}
.thumb--square {
	aspect-ratio: 1 / 1;
}
.thumb__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	padding: 12px;
	font-weight: 800;
	color: var(--brand);
	background: var(--bg-accent);
	text-align: center;
}
@media (prefers-reduced-motion: reduce) {
	.thumb img {
		transition: none;
	}
}

/* ---------- 카드 ---------- */
.card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.card__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
}
.card__dek {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--text-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card--compact {
	gap: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.card--compact:last-child {
	border-bottom: 0;
}
.card--compact .cat-label {
	margin-bottom: 4px;
	font-size: 12px;
}
.card--compact .card__title {
	font-size: 16px;
	margin-bottom: 4px;
}
.card--feature .card__title {
	font-size: 19px;
}
.grid {
	display: grid;
	gap: 28px 24px;
}
@media (min-width: 640px) {
	.grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 640px) {
	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 24px 16px;
	}
	.grid--4 .card__title {
		font-size: 15px;
		line-height: 1.45;
	}
}

/* ---------- 홈: 톱기사 ---------- */
.lead {
	display: grid;
	gap: 24px;
	padding: 24px 0 32px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 32px;
}
.lead__main {
	display: grid;
	gap: 20px;
}
.lead__title {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.3;
}
.lead__dek {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-2);
}
@media (min-width: 768px) {
	.lead__main {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}
	.lead__title {
		font-size: 30px;
	}
}
@media (min-width: 1024px) {
	.lead {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 40px;
	}
	.lead__side {
		padding-left: 32px;
		border-left: 1px solid var(--line);
	}
	.lead__title {
		font-size: 32px;
	}
}

/* ---------- 본문 + 사이드바 배치 ---------- */
.layout {
	display: grid;
	gap: 40px;
}
@media (min-width: 1024px) {
	.layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 48px;
	}
	.sidebar {
		position: sticky;
		top: 72px;
		align-self: start;
	}
}
.block {
	margin-bottom: 40px;
}

/* ---------- 사이드바 ---------- */
.widget {
	margin-bottom: 28px;
	padding: 20px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}
.widget__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 800;
}
.widget p {
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--text-2);
}
.cat-counts,
.rank-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cat-counts a {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 15px;
	border-bottom: 1px solid var(--line);
}
.cat-counts li:last-child a {
	border-bottom: 0;
}
.cat-counts .count {
	color: var(--text-3);
	font-variant-numeric: tabular-nums;
}
.rank-list {
	counter-reset: rank;
}
.rank-list li {
	position: relative;
	padding: 10px 0 10px 32px;
	border-bottom: 1px solid var(--line);
	counter-increment: rank;
}
.rank-list li:last-child {
	border-bottom: 0;
}
.rank-list li::before {
	content: counter(rank);
	position: absolute;
	left: 0;
	top: 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--brand);
	font-variant-numeric: tabular-nums;
}
.rank-list a {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
}
.rank-list .meta {
	display: block;
	margin-top: 2px;
}

/* ---------- 홈: 분야별 ---------- */
.cat-blocks {
	display: grid;
	gap: 40px 32px;
	margin-top: 8px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
	.cat-blocks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.cat-blocks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.cat-block .card--feature {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

/* ---------- 목록(분야·검색) ---------- */
.breadcrumbs {
	padding: 16px 0 0;
	font-size: 13px;
	color: var(--text-3);
}
.breadcrumbs .sep {
	margin: 0 6px;
}
.archive-head {
	padding: 20px 0 24px;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--line-strong);
}
.archive-head__kicker {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand);
}
.archive-head__title {
	margin: 0 0 8px;
	font-size: 30px;
	font-weight: 800;
}
.archive-head__desc {
	margin: 0 0 12px;
	color: var(--text-2);
}
.archive-head__desc p {
	margin: 0;
}
.archive-head .search-form {
	max-width: 520px;
}
.list-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 96px;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
	align-items: start;
}
.list-item:first-child {
	padding-top: 0;
}
.list-item__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
}
.list-item__dek {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--text-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (min-width: 768px) {
	.list-item {
		grid-template-columns: minmax(0, 1fr) 160px;
		gap: 24px;
	}
	.list-item__title {
		font-size: 20px;
	}
}
.empty {
	padding: 32px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}
.pagination {
	margin-top: 32px;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 15px;
}
.pagination .page-numbers.current {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
	font-weight: 700;
}
.pagination .dots {
	border: 0;
}

/* ---------- 기사 ---------- */
.article {
	min-width: 0;
}
.article__head {
	padding: 16px 0 20px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
}
.article__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.3;
}
.article__dek {
	margin: 0 0 20px;
	padding-left: 14px;
	border-left: 3px solid var(--brand);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text-2);
}
@media (min-width: 768px) {
	.article__title {
		font-size: 36px;
	}
}
.byline {
	display: flex;
	align-items: center;
	gap: 12px;
}
.byline__avatar,
.author-box__avatar {
	border-radius: 50%;
	flex: none;
}
.byline__text {
	flex: 1;
	min-width: 0;
}
.byline__author {
	font-weight: 700;
	font-size: 15px;
}
.share-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 14px;
	font: inherit;
	font-size: 14px;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}
.share-button:hover {
	border-color: var(--brand);
	color: var(--brand);
}
.article__hero {
	margin: 0 auto 28px;
	max-width: 560px;
}
.article__hero img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
}

/* 본문 타이포그래피 */
.entry-content {
	max-width: var(--read);
	font-size: 17px;
	line-height: 1.85;
	letter-spacing: -0.005em;
}
@media (min-width: 768px) {
	.entry-content {
		font-size: 18px;
	}
}
.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}
.single .entry-content > p:first-of-type {
	font-size: 1.08em;
	font-weight: 600;
	line-height: 1.75;
	color: var(--text);
}
.entry-content h2 {
	margin: 2.2em 0 0.8em;
	padding-top: 0.2em;
	font-size: 1.35em;
	font-weight: 800;
}
.entry-content h3 {
	margin: 1.8em 0 0.6em;
	font-size: 1.15em;
	font-weight: 700;
}
.entry-content a {
	color: var(--brand);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.entry-content a:hover {
	color: var(--brand-ink);
}
.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}
.entry-content li {
	margin-bottom: 0.4em;
}
.entry-content code {
	padding: 0.1em 0.35em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
	background: var(--bg-soft);
	border-radius: 4px;
}
.entry-content strong {
	font-weight: 700;
}
.entry-content figure {
	margin: 1.8em auto;
	max-width: 560px;
}
.entry-content figure img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.entry-content figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--text-3);
	text-align: center;
}
.entry-content blockquote {
	margin-left: 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--line-strong);
	color: var(--text-2);
}
.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.6;
}
.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
	min-width: 96px;
}
.entry-content th {
	background: var(--bg-soft);
	font-weight: 700;
}

/* 목차 */
.toc {
	margin: 0 0 2em;
	padding: 18px 20px;
	background: var(--bg-soft);
	border-radius: var(--radius);
	font-size: 15px;
	line-height: 1.6;
}
.toc__title {
	margin: 0 0 8px;
	font-weight: 800;
}
.toc ol {
	margin: 0;
	padding-left: 1.2em;
}
.toc li {
	margin: 4px 0;
}
.entry-content .toc a {
	color: var(--text);
	text-decoration: none;
}
.entry-content .toc a:hover {
	color: var(--brand);
	text-decoration: underline;
}

/* 관련 글·참고 자료 */
.entry-content h2.section-related,
.entry-content h2.section-sources {
	margin-top: 2.6em;
	padding-top: 1em;
	border-top: 1px solid var(--line);
	font-size: 1em;
	font-weight: 800;
}
.entry-content h2.section-related + ul {
	padding: 0;
	list-style: none;
}
.entry-content h2.section-related + ul li {
	margin: 0;
	border-bottom: 1px solid var(--line);
}
.entry-content h2.section-related + ul a {
	display: block;
	padding: 10px 0;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
}
.entry-content h2.section-related + ul a::before {
	content: "›";
	margin-right: 8px;
	color: var(--brand);
}
.entry-content h2.section-related + ul a:hover {
	color: var(--brand);
}
.entry-content h2.section-sources + ul {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-2);
}
.entry-content h2.section-sources + ul a {
	color: var(--text-2);
}

.article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: var(--read);
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}
.article__tags a {
	display: inline-block;
	padding: 6px 12px;
	font-size: 14px;
	color: var(--text-2);
	background: var(--bg-soft);
	border-radius: 999px;
}
.article__tags a:hover {
	color: var(--brand);
}
.author-box {
	display: flex;
	gap: 16px;
	max-width: var(--read);
	margin: 32px 0 16px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.author-box__name {
	margin: 0 0 4px;
	font-weight: 800;
}
.author-box__bio {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-2);
}
.article__notice {
	max-width: var(--read);
	margin: 0 0 40px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--text-3);
}
.more-in-cat {
	margin: 0 0 48px;
}
.article--page {
	max-width: var(--read);
	margin: 0 auto;
}

/* ---------- 댓글 ---------- */
.comments {
	max-width: var(--read);
	padding-top: 8px;
}
.comment-list {
	margin: 16px 0 32px;
	padding: 0;
	list-style: none;
}
.comment-list .comment {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.comment-list .children {
	list-style: none;
	padding-left: 24px;
}
.comment-author .avatar {
	border-radius: 50%;
	vertical-align: middle;
	margin-right: 8px;
}
.comment-metadata {
	font-size: 13px;
	color: var(--text-3);
}
.comment-respond {
	margin-top: 24px;
}
.comment-respond .section-title {
	margin-bottom: 8px;
}
.comment-notes,
.logged-in-as {
	font-size: 14px;
	color: var(--text-3);
}
.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 8px;
}
.comment-form p {
	margin: 0 0 14px;
}
.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}
.comment-form .submit {
	height: 44px;
	padding: 0 20px;
	font: inherit;
	font-weight: 700;
	color: #fff;
	background: var(--brand);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

/* ---------- 푸터 ---------- */
.site-footer {
	margin-top: 24px;
	padding: 40px 0 24px;
	background: var(--bg-soft);
	border-top: 2px solid var(--line-strong);
	font-size: 14px;
	color: var(--text-2);
}
.site-footer__inner {
	display: grid;
	gap: 28px;
}
@media (min-width: 768px) {
	.site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
		gap: 48px;
	}
}
.site-footer__name {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: var(--text);
}
.site-footer p {
	margin: 0 0 8px;
}
.site-footer__note {
	font-size: 13px;
	color: var(--text-3);
}
.site-footer__heading {
	font-weight: 800;
	color: var(--text);
}
.site-footer .nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer .nav-list a {
	display: inline-block;
	padding: 4px 0;
}
.site-footer__copy {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--text-3);
}

/* ---------- 모바일 세부 ---------- */
@media (max-width: 767px) {
	.brand__name {
		font-size: 24px;
	}
	.masthead {
		min-height: 60px;
	}
	.topbar__tagline {
		display: none;
	}
	.lead {
		padding-top: 16px;
	}
	.lead__main .thumb {
		aspect-ratio: 4 / 3;
	}
	.lead__main .thumb img {
		object-position: center top;
	}
	.archive-head__title {
		font-size: 26px;
	}
	.byline {
		flex-wrap: wrap;
	}
	.share-button {
		margin-left: auto;
	}
}

/* 모바일: 카드 목록을 행(제목 + 작은 정사각 썸네일)으로 줄여 스크롤 길이를 줄인다 */
@media (max-width: 639px) {
	.grid .card,
	.cat-block .card--feature {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 96px;
		gap: 14px;
		align-items: start;
	}
	.grid .card .thumb,
	.cat-block .card--feature .thumb {
		order: 2;
		aspect-ratio: 1 / 1;
	}
	.grid .card .card__title,
	.cat-block .card--feature .card__title {
		font-size: 17px;
	}
	.grid .card .card__dek {
		display: none;
	}
	.grid {
		gap: 0;
	}
	.grid .card {
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
	}
	.grid .card:first-child {
		padding-top: 0;
	}
	.cat-blocks {
		gap: 32px;
	}
}

/* 워드프레스 기본 클래스 */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}
.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption-text {
	font-size: 13px;
	color: var(--text-3);
}
.sticky,
.bypostauthor,
.gallery-caption {
	/* 워드프레스 테마 검사용 기본 클래스 */
}
