/*
Theme Name: 묘연 뉴스 (GeneratePress child)
Template: generatepress
Version: 2.1.0
Description: 묘연 뉴스 전용 자식 테마. 크림 바탕·네이비 내비·히어로 슬라이더+3탭·보도/비보도 분리·밝게/어둡게. 시스템 글꼴만 써서 외부 요청이 없다.
Text Domain: myoyeon-gp
*/

/* ---------- 1. 색 토큰 ---------- */
:root {
	--bg: #faf6ee;
	--surface: #fffdf8;
	--surface-alt: #f3ece0;
	--ink: #1f1c17;
	--ink-2: #3d3830;
	--muted: #6e665a;
	--line: #e7dfd0;
	--navy: #182334;
	--navy-2: #22324a;
	--link: #1d4f91;
	--accent-hover: #b3402a;
	--news: #b3402a;
	--indepth: #8a3b12;
	--data: #1f6aa5;
	--opinion: #5b4a8b;
	--magazine: #2f6f5e;
	--ai: #4648b4;
	--brand: #8a5a00;
	--notice: #555555;
	--ai-bg: #eef0ff;
	--brand-bg: #fff4dc;
	--corr-bg: #fdecea;
	--note-bg: #f2ede2;
	--shadow: 0 2px 10px rgba(31, 28, 23, 0.06);
	--maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #14171c;
		--surface: #1c2129;
		--surface-alt: #242b36;
		--ink: #f1ede4;
		--ink-2: #d4cdc0;
		--muted: #9da4b0;
		--line: #2e3744;
		--navy: #0c121b;
		--navy-2: #162030;
		--link: #7eb8ff;
		--accent-hover: #ff9c87;
		--ai-bg: #22244a;
		--brand-bg: #3a2d10;
		--corr-bg: #3d2020;
		--note-bg: #242b36;
		--shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	}
}

[data-theme="dark"] {
	--bg: #14171c;
	--surface: #1c2129;
	--surface-alt: #242b36;
	--ink: #f1ede4;
	--ink-2: #d4cdc0;
	--muted: #9da4b0;
	--line: #2e3744;
	--navy: #0c121b;
	--navy-2: #162030;
	--link: #7eb8ff;
	--accent-hover: #ff9c87;
	--ai-bg: #22244a;
	--brand-bg: #3a2d10;
	--corr-bg: #3d2020;
	--note-bg: #242b36;
	--shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- 2. 기본 · 접근성 ---------- */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 72px;
}

html,
html body,
html body.separate-containers,
html body.one-container {
	margin: 0;
	padding: 0;
	background-color: var(--bg);
	color: var(--ink);
	font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", sans-serif;
	line-height: 1.6;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	touch-action: manipulation;
	transition: none;
}

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

button, input {
	font: inherit;
	touch-action: manipulation;
}

button {
	cursor: pointer;
	transition: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 2px solid var(--link);
	outline-offset: 2px;
}

h1, h2, h3, h4, section[id] {
	scroll-margin-top: 72px;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.screen-reader-text:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 200;
	background: var(--navy);
	color: #ffffff;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
}

/* GeneratePress 컨테이너 초기화 (홈 풀폭 크롬 + 내부 가독폭 + 다크모드 흰 배경 덮어쓰기 차단) */
html body.one-container .container,
html body.one-container .site-content,
html body.separate-containers .inside-article,
html body.separate-containers .comments-area,
html body.separate-containers .page-header,
html body.separate-containers .paging-navigation,
html body .inside-page-header,
html body .site,
html body .site-content,
html body .inside-article,
html body .site-main,
html body .myo-front-main {
	background-color: transparent;
	color: var(--ink);
}

body.home #page.grid-container,
body.home .site-content {
	max-width: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

body:not(.home) #page.grid-container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0;
}

body:not(.home).one-container .site-content {
	padding: 0;
}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 16px;
}

/* ---------- 3. 상단 유틸리티 바 ---------- */
.myo-topbar {
	background: var(--navy);
	color: #dce3ed;
	font-size: 12.5px;
}

.myo-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 36px;
	padding: 4px 16px;
}

.myo-topbar__left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	min-width: 0;
}

#liveClock {
	font-variant-numeric: tabular-nums;
}

.myo-clock-pill {
	background: var(--news);
	color: #ffffff;
	font-weight: 700;
	font-size: 11.5px;
	padding: 2px 7px;
	border-radius: 3px;
}

.myo-topbar__right {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.myo-topbar__links {
	display: flex;
	align-items: center;
	gap: 12px;
}

.myo-topbar__links a {
	color: #dce3ed;
}

.myo-topbar__links a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.myo-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 99px;
	padding: 4px 11px;
	min-height: 28px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

.myo-theme-toggle:hover,
.myo-theme-toggle:focus {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

/* ---------- 4. 제호 마스트헤드 ---------- */
.myo-masthead {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.myo-masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 16px;
}

.myo-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.myo-brand:hover .myo-site-title {
	color: var(--ink);
}

.myo-monogram {
	width: 50px;
	height: 50px;
	border-radius: 6px;
	background: #faf6ee;
	border: 1px solid #d9cfbd;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	flex: none;
}

.myo-monogram span {
	font-family: "HCR Batang", "Batang", "Malgun Gothic", serif;
	font-size: 27px;
	font-weight: 800;
	color: #1f1c17;
	padding-bottom: 4px;
	line-height: 1;
}

.myo-monogram::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: var(--news);
}

.myo-site-title {
	margin: 0;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.myo-site-desc {
	margin: 3px 0 0;
	font-size: 13.5px;
	color: var(--muted);
}

.myo-reg-box {
	background: var(--surface-alt);
	border: 1px solid var(--line);
	border-left: 4px solid var(--news);
	border-radius: 6px;
	padding: 10px 16px;
	text-align: right;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ink-2);
}

.myo-reg-box strong {
	display: block;
	color: var(--ink);
	font-size: 13.5px;
}

/* ---------- 5. 네이비 메인 내비게이션 + 검색 ---------- */
.myo-navwrap {
	background: var(--navy-2);
	color: #ffffff;
	position: sticky;
	top: 0;
	z-index: 40;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.myo-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 46px;
	min-width: 0;
}

.myo-nav__scroller {
	position: relative;
	display: flex;
	flex: 1;
	min-width: 0;
}

.myo-nav__scroller::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 34px;
	pointer-events: none;
	background: linear-gradient(to right, rgba(34, 50, 74, 0), var(--navy-2) 85%);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.myo-nav__scroller.has-more-right::after {
	opacity: 1;
}

.myo-nav__links {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	gap: 2px;
}

.myo-nav__links::-webkit-scrollbar {
	display: none;
}

.myo-nav__links a {
	display: inline-flex;
	align-items: center;
	color: #e6ecf5;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 13px;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
}

.myo-nav__links a:hover,
.myo-nav__links a.is-active {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
	border-bottom-color: var(--news);
	text-decoration: none;
}

.myo-search-form {
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 4px;
	padding: 2px 6px 2px 10px;
	flex: none;
}

.myo-search-form:focus-within {
	border-color: #7eb8ff;
	background: rgba(255, 255, 255, 0.18);
}

.myo-search-form input {
	background: transparent;
	border: 0;
	color: #ffffff;
	font-size: 13.5px;
	width: 155px;
	min-width: 0;
	padding: 4px 0;
}

.myo-search-form input:focus-visible {
	outline: none;
}

.myo-search-form input::placeholder {
	color: #c7d1df;
}

.myo-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	color: #e6ecf5;
	padding: 4px 6px;
	min-width: 28px;
	min-height: 28px;
}

.myo-search-btn:hover,
.myo-search-btn:focus {
	background: transparent;
	color: #ffffff;
}

/* ---------- 6. 주요 키워드 태그 + 최신 뉴스 티커 ---------- */
.myo-tagbar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.myo-tagbar__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	flex-wrap: wrap;
}

.myo-tagbar__label {
	font-size: 12.5px;
	font-weight: 800;
	color: var(--ink);
	margin-right: 4px;
}

.myo-chip {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line);
	background: var(--surface-alt);
	color: var(--ink-2);
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 9px;
}

.myo-chip:hover,
.myo-chip.is-active {
	background: var(--news);
	border-color: var(--news);
	color: #ffffff;
	text-decoration: none;
}

.myo-ticker-wrap {
	padding: 12px 16px 6px;
}

.myo-ticker {
	background: var(--surface);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	min-height: 40px;
	overflow: hidden;
	border-radius: 4px;
}

.myo-ticker__badge {
	background: var(--news);
	color: #ffffff;
	font-weight: 800;
	font-size: 12.5px;
	padding: 10px 14px;
	white-space: nowrap;
	flex: none;
}

.myo-ticker__track {
	flex: 1;
	min-width: 0;
	padding: 0 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.myo-ticker__link {
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.myo-ticker__controls {
	display: flex;
	gap: 4px;
	flex: none;
}

.myo-icon-btn {
	width: 26px;
	height: 26px;
	border: 1px solid var(--line);
	background: var(--surface-alt);
	color: var(--ink-2);
	border-radius: 3px;
	font-size: 14px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.myo-icon-btn:hover,
.myo-icon-btn:focus {
	background: var(--surface-alt);
	border-color: var(--news);
	color: var(--news);
}

/* ---------- 7. 히어로 영역 (좌 슬라이더 65% + 우 3탭 35%) ---------- */
.myo-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
	gap: 16px;
	padding: 12px 16px 20px;
}

.myo-slider {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	background: #141a24;
	aspect-ratio: 16 / 9;
	min-height: 360px;
	box-shadow: var(--shadow);
}

.myo-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.myo-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.myo-slide img,
.myo-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.myo-slide__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(14, 19, 28, 0.92) 0%, rgba(14, 19, 28, 0.56) 48%, rgba(14, 19, 28, 0.08) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px 24px 26px;
	color: #ffffff;
}

.myo-img-label {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(18, 25, 38, 0.82);
	color: #f4efe6;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 3px;
	letter-spacing: 0.01em;
	z-index: 3;
	pointer-events: none;
}

.myo-img-wrap {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: var(--surface-alt);
}

.myo-img-wrap .myo-img-label {
	top: 8px;
	right: 8px;
	font-size: 10.5px;
	padding: 2px 6px;
}

.myo-thumb-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--surface-alt);
	color: var(--muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 14px;
	border-radius: 4px;
}

.myo-pill {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 800;
	color: #ffffff;
	background: var(--news);
	padding: 2px 8px;
	border-radius: 3px;
	line-height: 1.5;
	width: fit-content;
}

.pill--policy, .pill--news { background: var(--news); }
.pill--behavior, .pill--opinion { background: var(--opinion); }
.pill--street-cats, .pill--magazine { background: var(--magazine); }
.pill--health { background: #b3402a; }
.pill--data-report, .pill--data { background: var(--data); }
.pill--rescue { background: #2d6a4f; }
.pill--life, .pill--brand-story, .pill--brand { background: #8a5a00; }
.pill--in-depth, .pill--indepth { background: var(--indepth); }
.pill--enrichment-note, .pill--ai { background: var(--ai); }
.pill--notice { background: var(--notice); }

.myo-slide__title {
	margin: 10px 0 8px;
	font-size: 25px;
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.myo-slide__title a {
	position: static;
	color: #ffffff;
}

.myo-slide__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.myo-slide__title a:hover {
	color: #ffd5ca;
}

.myo-slide__meta {
	font-size: 12.5px;
	color: #d6dde8;
	font-variant-numeric: tabular-nums;
}

.myo-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 44px;
	border: 0;
	background: rgba(15, 21, 31, 0.68);
	color: #ffffff;
	font-size: 20px;
	z-index: 5;
}

.myo-slider__arrow:hover,
.myo-slider__arrow:focus {
	background: var(--news);
	color: #ffffff;
}

.myo-slider__arrow--prev { left: 0; border-radius: 0 4px 4px 0; }
.myo-slider__arrow--next { right: 0; border-radius: 4px 0 0 4px; }

.myo-slider__dots {
	position: absolute;
	bottom: 12px;
	right: 16px;
	display: flex;
	gap: 8px;
	z-index: 5;
}

.myo-slider__dot {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 99px;
	border: 0;
	background: rgba(255, 255, 255, 0.5);
	padding: 0;
}

.myo-slider__dot:hover,
.myo-slider__dot:focus {
	background: rgba(255, 255, 255, 0.85);
}

.myo-slider__dot::after {
	content: "";
	position: absolute;
	inset: -12px -8px;
}

.myo-slider__dot.is-active,
.myo-slider__dot.is-active:hover,
.myo-slider__dot.is-active:focus {
	width: 22px;
	background: var(--news);
}

/* 우측 3탭 박스 */
.myo-tabpanel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow);
	overflow: hidden;
	min-width: 0;
}

.myo-tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: var(--surface-alt);
	border-bottom: 1px solid var(--line);
}

.myo-tabs button {
	border: 0;
	background: transparent;
	padding: 11px 6px;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--ink-2);
	border-bottom: 2px solid transparent;
}

.myo-tabs button:hover,
.myo-tabs button:focus {
	background: var(--surface);
	color: var(--ink);
}

.myo-tabs button.is-active,
.myo-tabs button.is-active:hover,
.myo-tabs button.is-active:focus {
	background: var(--surface);
	color: var(--accent-hover);
	border-bottom-color: var(--news);
}

.myo-tablist {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.myo-tablist[hidden] {
	display: none;
}

.myo-mini {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.myo-mini > div {
	min-width: 0;
}

.myo-mini:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.myo-mini__thumb {
	width: 96px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
}

.myo-mini__title {
	margin: 4px 0 3px;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.38;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.myo-mini__date {
	font-size: 11.5px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

/* ---------- 8. 공통 섹션 헤더 ---------- */
.myo-sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--navy);
	margin-bottom: 16px;
}

.myo-sec-head__title {
	margin: 0;
	display: inline-block;
	background: var(--navy);
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	padding: 7px 14px;
	border-top: 3px solid var(--news);
}

.myo-sec-head__more {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--link);
}

.myo-sec-head__more:hover {
	text-decoration: underline;
}

/* ---------- 9. 본문(68%) + 사이드바(32%) ---------- */
.myo-layout {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
	gap: 24px;
	padding: 8px 16px 28px;
}

.myo-maincol, .myo-sidebar {
	min-width: 0;
}

.myo-block {
	margin-bottom: 30px;
}

/* Block 1: 주요 보도 */
.myo-featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
	gap: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 16px;
	box-shadow: var(--shadow);
}

.myo-feat-main__img {
	aspect-ratio: 16 / 9;
	width: 100%;
	object-fit: cover;
}

.myo-feat-main__body {
	margin-top: 10px;
}

.myo-feat-main__title {
	margin: 10px 0 8px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.myo-feat-main__ex {
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--ink-2);
	line-height: 1.55;
}

.myo-feat-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.myo-principles-card {
	background: var(--surface-alt);
	border: 1px solid var(--line);
	border-left: 3px solid var(--navy);
	border-radius: 4px;
	padding: 12px 14px;
	margin-top: auto;
}

.myo-principles-card__eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	color: var(--accent-hover);
	margin-bottom: 4px;
}

.myo-principles-card__title {
	margin: 0 0 5px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.myo-principles-card__text {
	margin: 0 0 8px;
	font-size: 12.5px;
	color: var(--ink-2);
	line-height: 1.55;
}

/* Block 2: 2단 카테고리 그리드 */
.myo-two-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.myo-two-cols.is-single {
	grid-template-columns: minmax(0, 1fr);
}

.myo-cat-box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 14px;
	box-shadow: var(--shadow);
	min-width: 0;
}

.myo-cat-lead__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.myo-cat-lead__title {
	margin: 10px 0 6px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.36;
}

.myo-cat-lead__ex {
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--ink-2);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.myo-cat-textlist {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.myo-cat-textlist li {
	position: relative;
	padding: 0 0 10px 14px;
	border-bottom: 1px solid var(--line);
}

.myo-cat-textlist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--news);
}

.myo-cat-textlist li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.myo-cat-textlist__title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 3px;
}

/* Block 3: 데이터 리포트 와이드 배너 */
.myo-data-banner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--data);
	border-radius: 6px;
	padding: 16px;
	align-items: center;
	box-shadow: var(--shadow);
}

.myo-data-banner__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
}

.myo-data-banner__title {
	margin: 8px 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.36;
}

.myo-data-banner__ex {
	margin: 0 0 10px;
	font-size: 13.5px;
	color: var(--ink-2);
}

/* Block 4: 최신 기사 세로 피드 */
.myo-feed-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.myo-feed-card {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 14px;
	box-shadow: var(--shadow);
}

.myo-feed-card > div {
	min-width: 0;
}

.myo-feed-card__img {
	width: 220px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.myo-feed-card__title {
	margin: 6px 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.38;
}

.myo-feed-card__ex {
	margin: 0 0 8px;
	font-size: 13.5px;
	color: var(--ink-2);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.myo-meta {
	font-size: 12px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

/* 우측 사이드바 */
.myo-side-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 14px;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
}

.myo-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

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

.myo-sec-list li {
	border-bottom: 1px solid var(--line);
}

.myo-sec-list li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	font-size: 13.5px;
	font-weight: 600;
}

.myo-sec-list li a.is-empty {
	color: var(--muted);
	font-weight: 500;
}

.myo-sec-list li:last-child {
	border-bottom: 0;
}

.myo-sec-list li:last-child a {
	padding-bottom: 0;
}

.myo-count-pill {
	background: var(--surface-alt);
	border: 1px solid var(--line);
	color: var(--muted);
	border-radius: 99px;
	font-size: 11.5px;
	padding: 1px 8px;
	font-variant-numeric: tabular-nums;
}

.myo-count-pill.is-empty {
	background: transparent;
	border-style: dashed;
	color: var(--muted);
}

.myo-tip-box {
	background: var(--surface-alt);
	border: 1px solid var(--line);
	border-top: 3px solid var(--navy);
	border-radius: 6px;
	padding: 16px;
}

.myo-tip-box h3 {
	margin: 0 0 8px;
	font-size: 15.5px;
}

.myo-tip-box p {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--ink-2);
}

.myo-tip-box__contact {
	font-weight: 700;
	color: var(--ink);
}

/* ---------- 10. 하단 4칸 카드 스트립 ---------- */
.myo-strip-wrap {
	padding: 4px 16px 26px;
}

.myo-strip-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.myo-strip-card {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #141a24;
	box-shadow: var(--shadow);
}

.myo-strip-card img,
.myo-strip-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.myo-strip-card__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(14, 19, 28, 0.92) 0%, rgba(14, 19, 28, 0.5) 55%, rgba(14, 19, 28, 0.05) 100%);
	padding: 14px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #ffffff;
}

.myo-strip-card__title {
	margin: 6px 0 4px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	color: #ffffff;
}

.myo-strip-card__title a:hover {
	color: #ffd5ca;
}

/* ---------- 11. 비보도 분리 띠 (편집규약 준수) ---------- */
.myo-nonnews-wrap {
	padding: 0 16px 28px;
}

.myo-nonnews {
	background: var(--surface-alt);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 18px;
}

.myo-nonnews__note {
	margin: 0 0 14px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--muted);
}

.myo-nonnews__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.myo-nonnews__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 14px;
	display: flex;
	gap: 14px;
	align-items: center;
	min-width: 0;
}

.myo-nonnews__card .myo-img-wrap {
	flex: none;
}

.myo-nonnews__thumb {
	width: 184px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	flex: none;
}

.myo-nonnews__body {
	min-width: 0;
}

.myo-nonnews__title {
	font-size: 16px;
	margin-top: 6px;
}

/* ---------- 12. 단일 글 · 정책 페이지 · 아카이브 · 검색 ---------- */
.single .site-main,
.page .site-main,
.archive .site-main,
.blog .site-main,
.search .site-main,
.error404 .site-main {
	max-width: 760px;
	margin: 0 auto;
	padding: 8px 0 28px;
}

body .inside-article {
	padding: 24px 16px 12px !important;
}

.entry-header {
	margin-bottom: 0;
}

.myo-kicker {
	margin: 0 0 8px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.myo-sub {
	color: var(--muted);
	font-weight: 700;
}

.myo-draft {
	color: var(--news);
	border: 1px dashed var(--news);
	padding: 0 6px;
	border-radius: 3px;
	font-size: 12px;
}

.entry-title {
	font-size: clamp(26px, 6vw, 36px);
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0 0 12px;
}

.archive .entry-title,
.blog .entry-title,
.search .entry-title {
	font-size: 21px;
	line-height: 1.4;
}

.entry-title a {
	color: var(--ink);
}

.myo-standfirst {
	font-size: 17.5px;
	line-height: 1.65;
	color: var(--ink-2);
	margin: 0 0 14px;
	padding-left: 12px;
	border-left: 3px solid var(--line);
}

.myo-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	padding: 10px 0;
	margin-bottom: 20px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.myo-author {
	color: var(--ink);
	font-weight: 700;
}

.myo-role {
	color: var(--muted);
}

.myo-ai-by {
	color: var(--ai);
	font-weight: 700;
}

.myo-meta-small {
	font-size: 13px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	margin-bottom: 12px;
}

.myo-article-figure {
	margin: 0 0 22px;
}

.myo-article-hero-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 6px;
}

.myo-article-figcaption {
	margin-top: 7px;
	font-size: 13px;
	color: var(--muted);
}

.myo-archive-thumb {
	margin-bottom: 14px;
	border-radius: 6px;
}

.myo-archive-thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.entry-content {
	font-size: 17.5px;
	line-height: 1.85;
	color: var(--ink);
}

.entry-content a {
	color: var(--link);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content p {
	margin-bottom: 1.25em;
}

.entry-content h2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	margin: 1.8em 0 0.6em;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.entry-content h3 {
	font-size: 19px;
	font-weight: 700;
	margin: 1.5em 0 0.5em;
	color: var(--ink);
}

.entry-content blockquote {
	border-left: 3px solid var(--line);
	margin: 1.4em 0;
	padding: 2px 0 2px 16px;
	color: var(--ink-2);
	font-style: normal;
}

.entry-content figcaption,
.wp-element-caption {
	font-size: 14px;
	color: var(--muted);
	text-align: left;
}

.entry-content table {
	border-collapse: collapse;
	width: 100%;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--line);
	padding: 8px 10px;
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--surface-alt);
	color: var(--ink);
	white-space: nowrap;
}

.entry-summary {
	font-size: 16px;
	color: var(--ink-2);
}

.myo-archive-item {
	margin: 0 16px 14px;
}

.page-header {
	padding: 24px 16px 12px;
	background: transparent;
}

.page-header .page-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--ink);
	margin: 0 0 6px;
}

.taxonomy-description,
.author-info {
	color: var(--ink-2);
}

/* 빈 섹션·검색 없음·404·이어서 볼 기사 */
.myo-empty-wrap {
	padding: 20px 16px 12px;
}

.myo-state-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 4px solid var(--navy);
	border-radius: 6px;
	padding: 26px 24px;
	margin-bottom: 28px;
	box-shadow: var(--shadow);
}

.myo-state-card__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	color: var(--news);
	margin-bottom: 8px;
}

.myo-state-card__title {
	margin: 0 0 10px;
	font-size: clamp(22px, 4vw, 28px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.myo-state-card__desc {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-2);
}

.myo-state-card__msg {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ink-2);
}

.myo-inline-search {
	display: flex;
	gap: 8px;
	margin: 0 0 18px;
	max-width: 460px;
}

.myo-inline-search input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	font-size: 16px;
	padding: 8px 12px;
	background-color: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 4px;
}

.myo-inline-search input[type="search"]::placeholder {
	color: var(--muted);
}

.myo-inline-search button {
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 4px;
	background-color: var(--navy);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	flex: none;
}

.myo-inline-search button:hover,
.myo-inline-search button:focus {
	background-color: var(--news);
	color: #ffffff;
}

.myo-state-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.myo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 4px;
	background: var(--navy);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	border: 1px solid var(--navy);
}

.myo-btn:hover,
.myo-btn:focus {
	background: var(--news);
	border-color: var(--news);
	color: #ffffff;
	text-decoration: none;
}

.myo-btn--ghost {
	background: var(--surface-alt);
	color: var(--ink);
	border-color: var(--line);
}

.myo-btn--ghost:hover,
.myo-btn--ghost:focus {
	background: var(--surface);
	border-color: var(--ink);
	color: var(--ink);
}

.myo-related {
	margin: 28px 0 8px;
}

.myo-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.myo-related__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-shadow: var(--shadow);
	min-width: 0;
}

.myo-related__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.myo-related__body {
	min-width: 0;
}

.myo-related__title {
	margin: 6px 0 5px;
	font-size: 14.5px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--ink);
}

.myo-related__title a {
	color: var(--ink);
}

.myo-related__title a:hover {
	color: var(--accent-hover);
}

.myo-empty {
	color: var(--muted);
	font-size: 15px;
	padding: 12px 0;
	margin: 0;
}

/* 섹션별 글 화면 차이 */
.myo-sec-magazine .entry-header,
.myo-sec-opinion .entry-header {
	text-align: center;
}

.myo-sec-magazine .myo-kicker,
.myo-sec-opinion .myo-kicker,
.myo-sec-magazine .myo-byline,
.myo-sec-opinion .myo-byline {
	justify-content: center;
}

.myo-sec-magazine .myo-standfirst,
.myo-sec-opinion .myo-standfirst {
	border-left: 0;
	padding-left: 0;
}

.myo-sec-ai .inside-article {
	border-top: 4px solid var(--ai);
}

.myo-sec-brand .inside-article {
	border-top: 4px solid var(--brand);
}

.myo-sec-data .entry-content table {
	font-variant-numeric: tabular-nums;
}

/* 고지 상자 */
.myo-box {
	margin: 0 0 22px;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.65;
}

.myo-box strong {
	display: block;
	font-size: 13px;
	letter-spacing: 0.02em;
	margin-bottom: 3px;
}

.myo-box p {
	margin: 0;
}

.myo-box--ai { background: var(--ai-bg); border-left: 4px solid var(--ai); }
.myo-box--ai strong { color: var(--ai); }
.myo-box--brand { background: var(--brand-bg); border-left: 4px solid var(--brand); }
.myo-box--brand strong { color: var(--brand); }
.myo-box--correction { background: var(--corr-bg); border-left: 4px solid var(--news); }
.myo-box--correction strong { color: var(--news); }
.myo-box--interest { background: var(--note-bg); border-left: 4px solid var(--muted); }

.myo-ai-note {
	font-size: 14px;
	color: var(--muted);
	border-top: 1px dashed var(--line);
	padding-top: 10px;
}

.myo-revlog {
	margin: 24px 0 0;
	padding: 10px 14px;
	background: var(--note-bg);
	border-radius: 6px;
	font-size: 14px;
	color: var(--ink-2);
}

.myo-revlog ul {
	margin: 4px 0 0 1.1em;
}

.myo-authorbox {
	margin: 28px 0 10px;
	padding: 14px 0;
	border-top: 2px solid var(--ink);
}

.myo-authorbox__name {
	margin: 0 0 4px;
	font-size: 16px;
}

.myo-authorbox__bio {
	margin: 0;
	font-size: 14px;
	color: var(--ink-2);
}

.myo-after-note {
	font-size: 14px;
	color: var(--muted);
	margin: 6px 0 24px;
}

.myo-after-note a {
	color: var(--link);
}

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

.myo-corrections li {
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.myo-corrections span {
	display: block;
	font-size: 13px;
	color: var(--muted);
}

/* 정책 페이지 */
.page .entry-content {
	font-size: 17px;
	line-height: 1.8;
}

.page .entry-content h2 {
	font-size: 20px;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.page .entry-content ol,
.page .entry-content ul {
	margin-left: 1.3em;
}

/* GeneratePress 기본 요소 정리 */
.read-more-container,
.comments-area,
.post-navigation,
.site-footer,
.site-info {
	display: none;
}

/* ---------- 13. 법정 표기 푸터 (myo-legal 유지) ---------- */
.myo-legal {
	margin-top: 8px;
	background: var(--surface);
	border-top: 3px double var(--ink);
	padding: 22px 16px 32px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--ink-2);
}

.myo-legal__links {
	max-width: var(--maxw);
	margin: 0 auto 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.myo-legal__links a {
	color: var(--ink-2);
}

.myo-legal__links a:hover {
	color: var(--accent-hover);
	text-decoration: underline;
}

.myo-legal__facts {
	max-width: var(--maxw);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 18px;
}

.myo-legal__facts div {
	display: flex;
	gap: 8px;
}

.myo-legal__facts dt {
	flex: none;
	color: var(--muted);
	font-weight: 700;
}

.myo-legal__facts dd {
	margin: 0;
	word-break: keep-all;
}

.myo-legal__wide,
.myo-legal__email {
	grid-column: 1 / -1;
}

.myo-legal__email a {
	white-space: nowrap;
}

.myo-legal__copy {
	max-width: var(--maxw);
	margin: 14px auto 0;
	color: var(--muted);
}

@media (min-width: 768px) {
	.myo-legal__facts {
		grid-template-columns: repeat(4, auto);
		justify-content: start;
	}
	.myo-legal__wide {
		grid-column: span 2;
	}
	.myo-legal__email {
		grid-column: auto;
	}
}

/* ---------- 14. 반응형 (<= 960px / <= 720px) ---------- */
@media (max-width: 960px) {
	.myo-hero,
	.myo-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.myo-strip-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.myo-nonnews__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	.myo-topbar__links {
		display: none;
	}
	.myo-theme-toggle {
		min-height: 44px;
		padding: 6px 12px;
	}
	.myo-masthead__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px 16px;
	}
	.myo-reg-box {
		width: 100%;
		text-align: left;
	}
	.myo-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		padding-bottom: 8px;
	}
	.myo-nav__links a {
		min-height: 44px;
		padding: 10px 12px;
	}
	.myo-search-form {
		width: 100%;
		min-height: 44px;
	}
	.myo-search-form input {
		width: 100%;
		font-size: 16px;
		min-height: 36px;
	}
	.myo-search-btn {
		min-width: 44px;
		min-height: 44px;
	}
	.myo-chip {
		min-height: 44px;
		padding: 8px 12px;
	}
	.myo-icon-btn {
		width: 44px;
		height: 44px;
	}
	.myo-sec-list li a {
		min-height: 44px;
	}
	.myo-tabs button {
		min-height: 44px;
	}
	.myo-featured-grid,
	.myo-two-cols,
	.myo-data-banner,
	.myo-feed-card {
		grid-template-columns: minmax(0, 1fr);
	}
	.myo-feed-card__img {
		width: 100%;
	}
	.myo-nonnews__card {
		flex-direction: column;
		align-items: flex-start;
	}
	.myo-nonnews__card .myo-img-wrap,
	.myo-nonnews__thumb {
		width: 100%;
	}
	.myo-slider {
		aspect-ratio: 16 / 9;
		min-height: 205px;
		height: auto;
		width: 100%;
	}
	.myo-slide {
		min-height: 0;
	}
	.myo-slide__scrim {
		padding: 14px 16px 18px;
	}
	.myo-slider__arrow {
		top: 30%;
		width: 32px;
		height: 34px;
		font-size: 18px;
	}
	.myo-slide__title {
		font-size: 16.5px;
		margin: 6px 0 4px;
	}
	.myo-strip-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.myo-slide {
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
}


/* 핵심 요약 · FAQ */
.myo-summary {
	margin: 18px 0 24px;
	padding: 16px 18px;
	background: var(--surface-alt);
	border-left: 4px solid var(--data);
	border-radius: 6px;
}

.myo-summary strong {
	display: block;
	font-size: 14px;
	color: var(--navy);
	margin-bottom: 8px;
}

[data-theme="dark"] .myo-summary strong {
	color: var(--ink);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .myo-summary strong {
		color: var(--ink);
	}
}

.myo-summary ul {
	margin: 0;
	padding-left: 18px;
}

.myo-summary li {
	margin: 4px 0;
	color: var(--ink-2);
	line-height: 1.65;
}

.myo-faq {
	margin: 16px 0 24px;
	padding: 16px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 6px;
}

.myo-faq p {
	margin: 0 0 10px;
}

.myo-faq p:last-child {
	margin-bottom: 0;
}
