/*
Theme Name: Steward Theme
Theme URI: https://stewardlib.com
Author: Steward
Author URI: https://stewardlib.com
Description: Ultra-fast, SEO-optimized editorial magazine theme for pension, ETF, and economic analysis.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steward_theme
Tags: blog, news, two-columns, right-sidebar, left-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
*/

/* ==========================================================================
   1. Design Tokens (Light / Dark)
   ========================================================================== */

:root {
	--st-primary: #c12664;
	--st-primary-soft: color-mix(in srgb, var(--st-primary) 9%, transparent);
	--st-btn-hover: color-mix(in srgb, var(--st-primary) 82%, #000000);
	--st-accent: var(--st-primary);
	--st-link: var(--st-primary);
	--st-text: #292929;
	--st-heading: #161616;
	--st-meta: #666666; /* 연회색(#f6f7f9) 배경에서도 대비 4.5:1 이상 (WCAG AA) */
	--st-line: #ebebeb;
	--st-bg: #ffffff;
	--st-card: #ffffff;
	--st-soft: #f6f7f9;
	--st-overlay: rgba(10, 14, 24, 0.55);
	--st-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	--st-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.14);
	--st-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", Roboto, "Helvetica Neue", Arial, sans-serif;
	--st-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--st-radius: 6px;
	--st-radius-sm: 3px;
	--st-container: 1200px;
	--st-gutter: 20px;
	--st-sidebar: 320px;
	--st-nav-h: 54px;
	--st-mobile-h: 58px;
	--st-sticky-offset: var(--st-nav-h);
	--st-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
	color-scheme: light;
}

[data-theme="dark"] {
	--st-link: color-mix(in srgb, var(--st-primary) 55%, #ffffff);
	--st-accent: color-mix(in srgb, var(--st-primary) 70%, #ffffff);
	--st-primary-soft: color-mix(in srgb, var(--st-primary) 22%, transparent);
	--st-text: #e1e1e1;
	--st-heading: #f3f3f3;
	--st-meta: #9b9b9b;
	--st-line: #2d2d2d;
	--st-bg: #121212;
	--st-card: #1e1e1e;
	--st-soft: #1a1a1a;
	--st-overlay: rgba(0, 0, 0, 0.7);
	--st-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	--st-shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.5);
	color-scheme: dark;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--st-sticky-offset) + 16px);
}

body {
	margin: 0;
	background: var(--st-bg);
	color: var(--st-text);
	font-family: var(--st-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	word-break: keep-all;
	overflow-wrap: break-word;
	transition: background-color 0.2s ease, color 0.2s ease;
}

body.is-locked {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
	border-style: none;
}

a {
	color: var(--st-link);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--st-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--st-heading);
	font-family: var(--st-font);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--st-primary);
	outline-offset: 2px;
}

.icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--st-card);
	color: var(--st-heading);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow-lg);
}

.container {
	width: 100%;
	max-width: calc(var(--st-container) + var(--st-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--st-gutter);
}

.container--narrow {
	max-width: calc(680px + var(--st-gutter) * 2);
}

.site-content {
	display: block;
	padding-bottom: 60px;
	outline: none;
}

/* ==========================================================================
   3. Buttons & Utilities
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: var(--st-radius);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn--primary {
	background: var(--st-primary);
	color: #fff;
}

.btn--primary:hover {
	background: var(--st-btn-hover);
	color: #fff;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--st-primary) 35%, transparent);
	transform: translateY(-1px);
}

.btn--outline {
	border-color: var(--st-primary);
	background: transparent;
	color: var(--st-primary);
}

.btn--outline:hover {
	background: var(--st-primary);
	color: #fff;
}

.calc-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.calc-card:hover {
	border-color: var(--st-primary);
	transform: translateY(-1px);
}

.calc-card__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--st-primary) 12%, transparent);
	color: var(--st-primary);
}

.calc-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.calc-card__title {
	font-size: 15px;
	font-weight: 800;
}

.calc-card__desc {
	color: var(--st-meta);
	font-size: 13px;
	line-height: 1.5;
}

.calc-card__arrow {
	flex: none;
	color: var(--st-primary);
}

/* 모바일/태블릿(≤991px): 헤더 바로 아래 계산기 카드, 사이드바 카드는 숨김 */
.mobile-calc {
	display: none;
}

.mobile-calc__inner {
	display: grid;
	gap: 10px;
}

@media (max-width: 991px) {
	.mobile-calc {
		display: block;
		padding: 12px 0 0;
	}

	.widget--calc {
		display: none;
	}
}

/* 태블릿 폭에서는 계산기·노후 점수 카드를 나란히 */
@media (min-width: 600px) and (max-width: 991px) {
	.mobile-calc__inner:has(> .calc-card + .calc-card) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 데스크톱 좁은 폭: 메뉴가 밀리지 않도록 노후 점수 버튼은 아이콘만 */
@media (min-width: 992px) and (max-width: 1199px) {
	.rscore-btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.btn--sm {
	padding: 8px 14px;
	font-size: 13px;
}

.btn--block {
	display: flex;
	width: 100%;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--st-heading);
	transition: background-color 0.2s ease;
}

.icon-btn:hover {
	background: var(--st-soft);
}

/* ==========================================================================
   4. Category badge & post meta
   ========================================================================== */

.cat-badge {
	display: inline-block;
	margin-bottom: 8px;
	padding: 0;
	background: none;
	color: var(--st-accent);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.cat-badge:hover {
	color: var(--st-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 이미지 위(Hero·Overlay) 카테고리: SmartMag 방식대로 흰 글자 + 자두색 밑줄 포인트 */
.cat-badge--solid,
.cat-badge--solid:hover {
	text-decoration: none;
	padding-bottom: 3px;
	border-bottom: 2px solid var(--st-primary);
	color: #fff;
}

.cat-badge--text {
	margin-bottom: 4px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	color: var(--st-meta);
	font-size: 13px;
	line-height: 1.5;
}

.post-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.post-meta__item + .post-meta__item::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 9px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
}

.post-meta__author {
	color: var(--st-heading);
	font-weight: 600;
}

.post-meta__avatar {
	width: 28px;
	height: 28px;
	margin-right: 4px;
	border-radius: 50%;
}

.post-meta--light,
.post-meta--light .post-meta__author {
	color: rgba(255, 255, 255, 0.88);
}

.post-meta--single {
	font-size: 14px;
}

/* ==========================================================================
   5. Thumbnails (hover zoom 1.04 / 0.3s)
   ========================================================================== */

.post-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--st-radius);
	background: var(--st-soft);
}

.post-thumb--16x9 {
	aspect-ratio: 16 / 9;
}

.post-thumb--16x10 {
	aspect-ratio: 16 / 10;
}

.post-thumb--3x2 {
	aspect-ratio: 3 / 2;
}

.post-thumb--fill {
	height: 100%;
}

.post-thumb__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-thumb:hover .post-thumb__img,
.card-list:hover .post-thumb__img,
.card-grid:hover .post-thumb__img,
.card-focus:hover .post-thumb__img,
.card-overlay:hover .post-thumb__img,
.mega-post:hover .post-thumb__img {
	transform: scale(1.04);
}

.post-thumb__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 55%, #1a0610));
	color: rgba(255, 255, 255, 0.85);
	font-size: 32px;
	font-weight: 800;
}

/* ==========================================================================
   6. Top Bar & Ticker
   ========================================================================== */

.topbar {
	border-bottom: 1px solid var(--st-line);
	background: var(--st-bg);
	font-size: 12.5px;
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 38px;
}

.topbar__date {
	flex-shrink: 0;
	color: var(--st-meta);
	font-weight: 600;
}

.ticker {
	display: flex;
	flex: 1;
	align-items: center;
	min-width: 0;
	gap: 12px;
}

.ticker__label {
	flex-shrink: 0;
	padding: 3px 8px;
	border-radius: var(--st-radius-sm);
	background: var(--st-primary);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: steward-ticker var(--ticker-duration, 40s) linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
	animation-play-state: paused;
}

.ticker__list {
	display: flex;
	list-style: none;
}

.ticker__item {
	padding-right: 36px;
	white-space: nowrap;
}

.ticker__item a,
.ticker__item span {
	color: var(--st-text);
	font-weight: 500;
}

.ticker__item a:hover {
	color: var(--st-primary);
}

@keyframes steward-ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.topbar__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--st-meta);
	transition: color 0.2s ease, background-color 0.2s ease;
}

.social-links a:hover {
	background: var(--st-primary-soft);
	color: var(--st-primary);
}

.social-links--footer a,
.social-links--offcanvas a {
	width: 36px;
	height: 36px;
	border: 1px solid var(--st-line);
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--st-line);
	border-radius: 50%;
	background: transparent;
	color: var(--st-heading);
}

.theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle .icon-moon {
	display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
	display: inline-block;
}

/* ==========================================================================
   7. Main Header
   ========================================================================== */

.site-header__main {
	background-color: var(--st-bg);
}

.site-header__main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 120px;
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-branding {
	flex-shrink: 0;
}

.site-logo {
	margin: 0;
	line-height: 1;
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	width: auto;
	max-height: 64px;
}

.site-title {
	margin: 0;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.site-title a {
	color: var(--st-heading);
}

.site-description {
	margin: 6px 0 0;
	color: var(--st-meta);
	font-size: 13px;
}

.site-header__ad {
	flex: 0 1 728px;
	min-width: 0;
}

.site-header__ad .ad-slot-wrapper {
	margin: 0;
}

/* ==========================================================================
   8. Sticky Navigation & Mega Menu
   ========================================================================== */

.site-nav {
	position: sticky;
	top: 0;
	z-index: 900;
	border-top: 1px solid var(--st-line);
	border-bottom: 1px solid var(--st-line);
	background: var(--st-bg);
	transition: box-shadow 0.25s ease;
}

.admin-bar .site-nav {
	top: 32px;
}

.site-nav.is-stuck {
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.site-nav__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--st-nav-h);
}

.primary-nav {
	flex: 1;
	min-width: 0;
}

.primary-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.primary-menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	height: var(--st-nav-h);
	padding: 0 14px;
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.primary-menu > li:first-child > a {
	padding-left: 0;
}

.primary-menu > li > a .icon-chevron-down {
	opacity: 0.55;
	transition: transform 0.2s ease;
}

.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a,
.primary-menu > li.is-open > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li.current-category-ancestor > a {
	color: var(--st-primary);
}

.primary-menu > li:not(.has-mega-menu.current-menu-item):hover > a .icon-chevron-down,
.primary-menu > li.is-open > a .icon-chevron-down {
	transform: rotate(180deg);
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 230px;
	padding: 8px 0;
	list-style: none;
	border: 1px solid var(--st-line);
	border-top: 2px solid var(--st-primary);
	border-radius: 0 0 var(--st-radius) var(--st-radius);
	background: var(--st-card);
	box-shadow: var(--st-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.primary-menu .sub-menu .sub-menu {
	top: -9px;
	left: 100%;
	border-top-width: 1px;
	border-radius: var(--st-radius);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	color: var(--st-text);
	font-size: 14px;
	font-weight: 500;
}

.primary-menu .sub-menu a:hover {
	background: var(--st-soft);
	color: var(--st-primary);
}

.primary-menu > li.has-mega-menu {
	position: static;
}

.primary-menu > li.has-mega-menu > .sub-menu {
	display: none;
}

.mega-menu__panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	border: 1px solid var(--st-line);
	border-top: 2px solid var(--st-primary);
	border-radius: 0 0 var(--st-radius) var(--st-radius);
	background: var(--st-card);
	box-shadow: var(--st-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* 현재 보고 있는 카테고리 메뉴는 마우스 호버로 열지 않음 (이미 진입한 곳). 키보드 포커스·터치 탭으로는 열림. */
.primary-menu > li.has-mega-menu:not(.current-menu-item):hover > .mega-menu__panel,
.primary-menu > li.has-mega-menu:not(.current-menu-item):focus-within > .mega-menu__panel,
.primary-menu > li.has-mega-menu.is-open > .mega-menu__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* 메가메뉴 안 링크를 클릭하면(main.js) 짧게 페이드아웃하며 즉시 닫힘. 호버·포커스 규칙보다 우선. */
.primary-menu > li.has-mega-menu.is-dismissed > .mega-menu__panel {
	opacity: 0 !important;
	visibility: hidden !important;
	transform: none !important;
	transition: opacity 0.12s ease, visibility 0s linear 0.12s !important;
}

/* :has() 미지원 브라우저에서 위 규칙까지 무시되지 않도록 분리. */
.primary-menu > li.has-mega-menu.current-menu-item:has(:focus-visible) > .mega-menu__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mega-menu__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 24px;
	padding: 22px 24px;
}

.mega-menu__inner.has-subcats {
	grid-template-columns: 180px minmax(0, 1fr);
}

.mega-menu__subcats {
	grid-row: span 2;
	padding-right: 20px;
	border-right: 1px solid var(--st-line);
	list-style: none;
}

.mega-menu__subcats a {
	display: block;
	padding: 7px 0;
	color: var(--st-text);
	font-size: 14px;
	font-weight: 600;
}

.mega-menu__subcats a:hover {
	color: var(--st-primary);
}

.mega-menu__posts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.mega-post .post-thumb {
	margin-bottom: 10px;
}

.mega-post__title {
	margin: 0 0 6px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.45;
}

.mega-post__title a {
	color: var(--st-heading);
}

.mega-post__title a:hover {
	color: var(--st-primary);
}

.mega-post__date {
	color: var(--st-meta);
	font-size: 12px;
}

/* 하단 줄: 왼쪽 주요 태그 · 오른쪽 전체 글 보기 */
.mega-menu__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
	padding-top: 14px;
	border-top: 1px solid var(--st-line);
}

.mega-menu__tags {
	display: flex;
	flex-wrap: nowrap;
	gap: 0 18px;
	min-width: 0;
	margin: 0;
	padding: 3px 2px;
	overflow: hidden;
	list-style: none;
}

.mega-menu__tags li {
	flex: 0 0 auto;
}

.mega-menu__tags a {
	color: var(--st-accent);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.mega-menu__tags a:hover {
	color: var(--st-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mega-menu__more {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.site-nav__actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 8px;
}

/* ==========================================================================
   9. Mobile Header, Off-canvas, Search Modal
   ========================================================================== */

.mobile-header {
	display: none;
	position: sticky;
	top: 0;
	z-index: 900;
	border-bottom: 1px solid var(--st-line);
	background: var(--st-bg);
	transition: box-shadow 0.25s ease;
}

.mobile-header.is-stuck {
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.mobile-header__inner {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	min-height: var(--st-mobile-h);
	padding-left: 8px;
	padding-right: 8px;
}

.site-branding--mobile {
	text-align: center;
}

.site-branding--mobile .custom-logo {
	max-height: 36px;
}

.site-branding--mobile .site-title {
	font-size: 22px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.offcanvas-overlay {
	position: fixed;
	inset: 0;
	z-index: 9990;
	background: var(--st-overlay);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.offcanvas-overlay[hidden] {
	display: none;
}

.offcanvas-overlay.is-visible {
	opacity: 1;
}

.offcanvas {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 9991;
	display: flex;
	flex-direction: column;
	width: min(86vw, 360px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--st-card);
	box-shadow: var(--st-shadow-lg);
	visibility: hidden;
	transform: translateX(-100%);
	transition: transform 0.32s var(--st-ease), visibility 0.32s;
}

.offcanvas.is-open {
	visibility: visible;
	transform: translateX(0);
}

.offcanvas__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px 14px 20px;
	border-bottom: 1px solid var(--st-line);
}

.site-branding--offcanvas .custom-logo {
	max-height: 34px;
}

.site-branding--offcanvas .site-title {
	font-size: 20px;
}

.offcanvas__nav {
	flex: 1;
	padding: 8px 0;
}

.offcanvas-menu,
.offcanvas-menu .sub-menu {
	list-style: none;
}

.offcanvas-menu li {
	position: relative;
}

.offcanvas-menu a {
	display: block;
	padding: 13px 56px 13px 20px;
	border-bottom: 1px solid var(--st-line);
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 700;
}

.offcanvas-menu .sub-menu {
	display: none;
	background: var(--st-soft);
}

.offcanvas-menu li.is-open > .sub-menu {
	display: block;
}

.offcanvas-menu .sub-menu a {
	padding-left: 34px;
	font-size: 14px;
	font-weight: 500;
}

.offcanvas-menu .sub-menu .sub-menu a {
	padding-left: 48px;
}

/* 카테고리별 주요 태그 묶음 (∨ 로 펼침, inc/class-offcanvas-walker.php) */
.offcanvas-menu .offcanvas-topics {
	padding: 8px 20px 12px 34px;
	border-bottom: 1px solid var(--st-line);
}

.offcanvas-topics__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.offcanvas-menu .offcanvas-topics a {
	display: inline-block;
	padding: 8px 0;
	border-bottom: 0;
	color: var(--st-accent);
	font-size: 14px;
	font-weight: 700;
}

.offcanvas-menu .offcanvas-topics .offcanvas-topics__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 2px;
	font-size: 13px;
}

.submenu-toggle {
	position: absolute;
	top: 3px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--st-meta);
}

.submenu-toggle .icon {
	transition: transform 0.25s ease;
}

li.is-open > .submenu-toggle .icon {
	transform: rotate(180deg);
}

.offcanvas__foot {
	display: grid;
	gap: 18px;
	padding: 20px;
	border-top: 1px solid var(--st-line);
}

.offcanvas__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.offcanvas__label {
	color: var(--st-heading);
	font-size: 14px;
	font-weight: 700;
}

.switch {
	position: relative;
	width: 48px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 28px;
	background: var(--st-line);
	transition: background-color 0.25s ease;
}

.switch__knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s var(--st-ease);
}

[data-theme="dark"] .switch {
	background: var(--st-primary);
}

[data-theme="dark"] .switch__knob {
	transform: translateX(20px);
}

.search-modal {
	position: fixed;
	inset: 0;
	z-index: 9995;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 16vh;
	padding-bottom: 40px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: color-mix(in srgb, var(--st-bg) 97%, transparent);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
}

.search-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.search-modal__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 48px;
	height: 48px;
}

.search-modal__inner {
	max-width: 760px;
	transform: translateY(-12px);
	transition: transform 0.3s var(--st-ease);
}

.search-modal.is-open .search-modal__inner {
	transform: translateY(0);
}

.search-modal__title {
	margin-bottom: 18px;
	color: var(--st-heading);
	font-size: clamp(22px, 4vw, 32px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.search-modal .search-form__input {
	height: 64px;
	font-size: 20px;
}

.search-modal__suggest {
	margin-top: 26px;
}

.search-modal__suggest-label {
	display: block;
	margin-bottom: 6px;
	color: var(--st-meta);
	font-size: 13px;
	font-weight: 700;
}

.search-modal__suggest + .search-modal__suggest {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--st-line);
}

.search-modal__toptags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-modal__browse {
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-modal__browse li {
	display: grid;
	grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 16px;
	padding: 8px 0;
	border-bottom: 1px solid var(--st-line);
}

.search-modal__browse li:last-child {
	border-bottom: 0;
}

.search-modal__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
}

.search-modal__suggest a {
	display: inline-block;
	padding: 2px 0;
	background: none;
	color: var(--st-accent);
	font-size: 14px;
	font-weight: 700;
	transition: opacity 0.2s ease;
}

.search-modal__tags a {
	font-size: 13px;
}

.search-modal__count {
	margin-left: 5px;
	color: var(--st-meta);
	font-size: 12px;
	font-weight: 600;
}

.search-modal__suggest a:hover {
	color: var(--st-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Search form */
.search-form {
	position: relative;
	display: flex;
	width: 100%;
}

.search-form__input {
	width: 100%;
	height: 48px;
	padding: 0 56px 0 18px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-card);
	color: var(--st-heading);
	font-size: 15px;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form__input:focus {
	border-color: var(--st-primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.search-form__submit {
	position: absolute;
	top: 50%;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: var(--st-radius);
	background: transparent;
	color: var(--st-heading);
	transform: translateY(-50%);
}

.search-form__submit:hover {
	color: var(--st-primary);
}

/* ==========================================================================
   10. Layout (Sidebar)
   ========================================================================== */

.layout-wrap {
	padding-top: 36px;
}

.layout-wrap.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--st-sidebar);
	gap: 48px;
	align-items: start;
}

.layout-left_sidebar .layout-wrap.has-sidebar {
	grid-template-columns: var(--st-sidebar) minmax(0, 1fr);
}

.layout-left_sidebar .layout-wrap.has-sidebar .sidebar {
	order: -1;
}

.layout-wrap.has-sidebar .sidebar {
	align-self: stretch;
}

.layout-main {
	min-width: 0;
}

.layout-wrap.no-sidebar .single-article,
.layout-wrap.no-sidebar .page-article {
	max-width: 800px;
	margin: 0 auto;
}

/* Section heading (SmartMag block heading) */
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 22px;
	border-bottom: 1px solid var(--st-line);
}

.section-head__title {
	position: relative;
	margin: 0;
	padding-bottom: 10px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.section-head__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 44px;
	height: 3px;
	background: var(--st-primary);
}

.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding-bottom: 10px;
	color: var(--st-meta);
	font-size: 13px;
	font-weight: 600;
}

/* ==========================================================================
   11. Feeds & Cards
   ========================================================================== */

.feed {
	margin-bottom: 36px;
}

/* 11.1 Classic list */
.feed--list {
	display: grid;
	gap: 0;
}

.card-list {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
	padding: 26px 0;
	border-bottom: 1px solid var(--st-line);
}

/* PC: 썸네일을 카드(글 내용) 높이의 세로 가운데에 배치 */
@media (min-width: 768px) {
	.card-list {
		align-items: center;
	}
}

.feed--list .card-list:first-child {
	padding-top: 0;
}

.card-list__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.38;
}

.card-list__title a,
.card-grid__title a,
.card-focus__title a {
	color: var(--st-heading);
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size 0.3s ease, color 0.2s ease;
}

.card-list__title a:hover,
.card-grid__title a:hover,
.card-focus__title a:hover {
	color: var(--st-primary);
	background-size: 100% 1px;
}

.card-list__excerpt,
.card-grid__excerpt,
.card-focus__excerpt {
	margin: 12px 0 0;
	color: var(--st-meta);
	font-size: 15px;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.card-list--compact {
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
}

.card-list--compact .card-list__title {
	font-size: 15px;
	line-height: 1.45;
}

/* 11.2 Grid cards */
.feed--grid {
	display: grid;
	gap: 34px 28px;
}

.feed--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.card-grid__media {
	margin-bottom: 14px;
}

.card-grid__title {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.4;
}

.feed--cols-3 .card-grid__title,
.feed--related .card-grid__title {
	font-size: 16.5px;
}

.card-grid__excerpt {
	-webkit-line-clamp: 2;
	font-size: 14.5px;
}

/* 11.3 Focus magazine */
.feed--focus {
	display: grid;
	gap: 34px;
}

.card-focus {
	padding-bottom: 30px;
	border-bottom: 1px solid var(--st-line);
}

.card-focus__media {
	margin-bottom: 20px;
}

.card-focus__title {
	margin: 0 0 12px;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.3;
}

.card-focus__excerpt {
	margin: 0 0 16px;
	font-size: 16px;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.feed--focus__rest {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 28px;
}

/* 11.4 Overlay cards */
.card-overlay {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 240px;
	overflow: hidden;
	border-radius: var(--st-radius);
	background: #0e1422;
	isolation: isolate;
	transition: box-shadow 0.3s ease;
}

.card-overlay:hover {
	box-shadow: var(--st-shadow);
}

.card-overlay__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 0;
}

.card-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.82) 100%);
	pointer-events: none;
}

.card-overlay__body {
	width: 100%;
	padding: 22px;
	color: #fff;
}

.card-overlay .cat-badge {
	position: relative;
	z-index: 2;
}

.card-overlay__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.35;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.card-overlay__link,
.card-overlay__link:hover {
	color: #fff;
}

.card-overlay__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card-overlay .post-meta a {
	position: relative;
	z-index: 2;
}

.card-overlay--large {
	min-height: 480px;
}

.card-overlay--large .card-overlay__body {
	padding: 32px;
}

.card-overlay--large .card-overlay__title {
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.28;
}

.card-overlay--small {
	min-height: 232px;
}

.card-overlay--highlight {
	min-height: 280px;
}

/* ==========================================================================
   12. Hero (front page) & Category Highlights
   ========================================================================== */

.hero {
	padding-top: 30px;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hero__grid .card-overlay--large {
	grid-row: 1 / span 2;
}

.hero__grid--1 {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto;
}

.hero__grid--1 .card-overlay--large {
	grid-row: auto;
}

.hero__grid--2 {
	grid-template-rows: auto;
}

.hero__grid--2 .card-overlay--large {
	grid-row: auto;
}

.hero__grid--2 .card-overlay--small {
	min-height: 480px;
}

.category-header {
	padding: 20px 0 18px;
	border-bottom: 1px solid var(--st-line);
	background: var(--st-soft);
}

.category-header__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
}

.category-header__parent {
	color: var(--st-meta);
	font-size: 14px;
}

.category-header__parent::after {
	content: "/";
	margin-left: 12px;
	opacity: 0.5;
}

.category-header__parent:hover {
	color: var(--st-primary);
}

.category-header__title {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.category-header__count {
	color: var(--st-meta);
	font-size: 14px;
}

.category-header__desc {
	max-width: 760px;
	margin-top: 6px;
	color: var(--st-meta);
	font-size: 15px;
	line-height: 1.6;
}

.category-header__desc p:last-child {
	margin-bottom: 0;
}

.category-header__children,
.category-header__topics ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.category-header__children {
	gap: 4px 14px;
	font-size: 14px;
}

.category-header__children a {
	color: var(--st-meta);
}

.category-header__children a:hover {
	color: var(--st-primary);
}

.category-header__topics ul {
	gap: 4px 18px;
	margin-top: 8px;
}

.category-header__topics a {
	display: inline-block;
	padding: 2px 0;
	background: none;
	color: var(--st-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-underline-offset: 5px;
}

.category-header__topics a:hover {
	color: var(--st-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.category-header__topics a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.highlights {
	padding-top: 34px;
}

.highlights__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

/* Category strip: 카테고리별 최신 글 (헤더 아래, 원형 썸네일) */
.cat-strip {
	padding: 22px 0;
	border-bottom: 1px solid var(--st-line);
	background: var(--st-soft);
}

.cat-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cat-strip__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cat-strip__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cat-strip__grid--1 {
	grid-template-columns: minmax(0, 1fr);
}

.cat-strip__item {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	padding: 0 22px;
}

.cat-strip__item + .cat-strip__item {
	border-left: 1px solid var(--st-line);
}

.cat-strip__item:first-child {
	padding-left: 0;
}

.cat-strip__item:last-child {
	padding-right: 0;
}

.cat-strip__body {
	flex: 1;
	min-width: 0;
}

.cat-strip .cat-badge {
	margin-bottom: 6px;
}

.cat-strip__title {
	margin: 0;
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.cat-strip__title a {
	color: var(--st-heading);
}

.cat-strip__title a:hover {
	color: var(--st-primary);
}

.cat-strip__thumb {
	display: block;
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--st-line);
}

.cat-strip__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.cat-strip__item:hover .cat-strip__img {
	transform: scale(1.04);
}

.cat-strip__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 55%, #1a0610));
	color: rgba(255, 255, 255, 0.9);
	font-size: 24px;
	font-weight: 800;
}

@media (max-width: 1100px) {
	.cat-strip__grid,
	.cat-strip__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 18px;
	}

	.cat-strip__item,
	.cat-strip__item:first-child,
	.cat-strip__item:last-child {
		padding: 0 22px;
	}

	.cat-strip__item:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.cat-strip__item:nth-child(even) {
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	.cat-strip {
		padding: 6px 0;
	}

	.cat-strip__grid,
	.cat-strip__grid--2,
	.cat-strip__grid--3 {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.cat-strip__item,
	.cat-strip__item:first-child,
	.cat-strip__item:last-child,
	.cat-strip__item:nth-child(odd),
	.cat-strip__item:nth-child(even) {
		padding: 14px 0;
		border-left: 0;
	}

	.cat-strip__item + .cat-strip__item {
		border-top: 1px solid var(--st-line);
	}

	/* 모바일은 최대 3개까지만 */
	.cat-strip__item:nth-child(n + 4) {
		display: none;
	}

	/* 모바일 헤더 광고가 있으면 첫 화면 확보를 위해 2개까지만 */
	.has-mobile-header-ad .cat-strip__item:nth-child(n + 3) {
		display: none;
	}

	.cat-strip__title {
		font-size: 16px;
	}

	.cat-strip__thumb {
		width: 84px;
		height: 84px;
	}
}

/* Archive header */
.archive-header {
	margin-bottom: 30px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--st-line);
}

.archive-header__label {
	display: inline-block;
	margin-bottom: 6px;
	color: var(--st-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.archive-header__title {
	margin: 0 0 8px;
	font-size: clamp(26px, 3.6vw, 36px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.archive-header__desc,
.archive-header__count {
	color: var(--st-meta);
	font-size: 15px;
}

.archive-header__author {
	display: flex;
	align-items: center;
	gap: 16px;
}

.archive-header__avatar {
	border-radius: 50%;
}

.archive-header__search {
	max-width: 520px;
	margin-top: 16px;
}

/* ==========================================================================
   13. Breadcrumbs & Pagination
   ========================================================================== */

.breadcrumbs {
	margin-bottom: 16px;
	color: var(--st-meta);
	font-size: 13px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.breadcrumbs li + li::before {
	content: "/";
	margin: 0 8px;
	opacity: 0.5;
}

.breadcrumbs a {
	color: var(--st-meta);
}

.breadcrumbs a:hover {
	color: var(--st-primary);
}

.breadcrumbs [aria-current="page"] {
	max-width: 36ch;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--st-text);
}

.breadcrumbs p {
	margin: 0;
}

.pagination {
	margin-top: 10px;
}

.pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	list-style: none;
}

.pagination .page-numbers li {
	display: flex;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-card);
	color: var(--st-heading);
	font-size: 14px;
	font-weight: 700;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pagination a.page-numbers:hover {
	border-color: var(--st-primary);
	color: var(--st-primary);
}

.pagination span.page-numbers.current {
	border-color: var(--st-primary);
	background: var(--st-primary);
	color: #fff;
}

.pagination span.page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

/* ==========================================================================
   14. Single Post
   ========================================================================== */

.single-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(380px, 62vh, 620px);
	overflow: hidden;
	background: #0e1422;
	isolation: isolate;
}

.single-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 0;
}

.single-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.85) 100%);
}

.single-hero__body {
	width: 100%;
	padding: 60px 0 42px;
	color: #fff;
}

.single-hero__inner {
	max-width: calc(900px + var(--st-gutter) * 2);
	margin-left: auto;
	margin-right: auto;
}

.single-hero__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(28px, 4.6vw, 46px);
	font-weight: 800;
	line-height: 1.24;
	letter-spacing: -0.03em;
}

.entry-header {
	margin-bottom: 26px;
}

.entry-title {
	margin: 0 0 14px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.03em;
}

.entry-subtitle {
	margin: 0 0 18px;
	color: var(--st-meta);
	font-size: 18px;
	line-height: 1.6;
}

.entry-featured {
	margin: 0 0 30px;
}

.entry-featured figcaption {
	margin-top: 8px;
	color: var(--st-meta);
	font-size: 13px;
	text-align: center;
}

/* 14.1 Entry content typography (17px / 1.75 / #292929) */
.entry-content {
	color: var(--st-text);
	font-size: 17px;
	line-height: 1.75;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.entry-content h2 {
	margin-top: 2.1em;
	margin-bottom: 0.8em;
	padding-bottom: 0.4em;
	border-bottom: 1px solid var(--st-line);
	font-size: 26px;
	font-weight: 800;
}

.entry-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.7em;
	font-size: 21px;
	font-weight: 700;
}

.entry-content h4 {
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	font-size: 18px;
}

.entry-content a {
	color: var(--st-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-content li::marker {
	color: var(--st-primary);
	font-weight: 700;
}

.entry-content strong {
	color: var(--st-heading);
	font-weight: 700;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 18px 24px;
	border-left: 4px solid var(--st-primary);
	border-radius: 0 var(--st-radius) var(--st-radius) 0;
	background: var(--st-soft);
	color: var(--st-heading);
	font-size: 18px;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 8px;
	color: var(--st-meta);
	font-size: 14px;
	font-style: normal;
}

.entry-content img {
	border-radius: var(--st-radius);
}

.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 8px;
	color: var(--st-meta);
	font-size: 13.5px;
	text-align: center;
}

.entry-content hr {
	height: 1px;
	margin: 2.5em 0;
	border: 0;
	background: var(--st-line);
}

.entry-content code {
	padding: 2px 6px;
	border-radius: var(--st-radius-sm);
	background: var(--st-soft);
	font-family: var(--st-mono);
	font-size: 0.88em;
}

.entry-content pre {
	overflow-x: auto;
	padding: 18px;
	border-radius: var(--st-radius);
	background: var(--st-soft);
	font-family: var(--st-mono);
	font-size: 14px;
	line-height: 1.6;
}

.entry-content pre code {
	padding: 0;
	background: none;
}

/* Financial data tables */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
}

.entry-content > table {
	display: block;
	overflow-x: auto;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--st-line);
	text-align: left;
	vertical-align: top;
	/* 긴 제목·값도 줄바꿈 (한국어는 단어 단위). 일반 표는 단어를 쪼개지 않고 넓으면 가로 스크롤 */
	white-space: normal;
	word-break: keep-all;
	overflow-wrap: break-word;
}

/* 블록 에디터 "고정 너비 셀" 표: 칸 폭이 고정이므로 칸보다 긴 단어는 칸 안에서 분리 (겹침 방지) */
.entry-content table.has-fixed-layout th,
.entry-content table.has-fixed-layout td {
	overflow-wrap: anywhere;
}

.entry-content thead th,
.entry-content th {
	background: var(--st-soft);
	color: var(--st-heading);
	font-weight: 700;
	line-height: 1.45;
	vertical-align: middle;
}

.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--st-soft);
}

.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
}

.no-sidebar .entry-content .alignwide {
	width: min(1000px, calc(100vw - var(--st-gutter) * 2));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.no-sidebar .entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
	border-radius: 0;
}

.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

.entry-content .wp-block-button__link {
	border-radius: var(--st-radius);
	background: var(--st-primary);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

/* 14.2 TOC */
.toc-box {
	margin: 0 0 2em;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-soft);
}

.toc-box__title {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 20px;
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.toc-box__title::-webkit-details-marker {
	display: none;
}

.toc-box__title::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid var(--st-meta);
	border-bottom: 2px solid var(--st-meta);
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.toc-box[open] .toc-box__title::after {
	transform: rotate(-135deg);
}

.toc-box__nav {
	padding: 0 20px 16px;
}

.entry-content .toc-box__list,
.entry-content .toc-box__sub {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.entry-content .toc-box__list > li {
	counter-increment: toc;
	margin: 0;
	padding: 5px 0;
	font-size: 15px;
	line-height: 1.5;
}

.entry-content .toc-box__list > li > a::before {
	content: counter(toc, decimal-leading-zero) ".";
	margin-right: 8px;
	color: var(--st-primary);
	font-weight: 700;
}

.entry-content .toc-box__sub {
	padding-left: 30px;
}

.entry-content .toc-box__sub li {
	margin: 0;
	padding: 3px 0;
	font-size: 14px;
}

.entry-content .toc-box a {
	color: var(--st-text);
	text-decoration: none;
}

/* 번호가 붙는 1단계(H2) 항목 제목은 볼드 */
.entry-content .toc-box__list > li > a {
	color: var(--st-heading);
	font-weight: 700;
}

.entry-content .toc-box a:hover {
	color: var(--st-primary);
}

/* 14.3 Slideshow (multi-page) */
.slideshow-counter {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 24px;
}

.slideshow-counter__badge {
	flex-shrink: 0;
	padding: 6px 12px;
	border-radius: 30px;
	background: var(--st-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.slideshow-counter__bar {
	flex: 1;
	height: 4px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--st-line);
}

.slideshow-counter__bar span {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--st-primary);
}

.slideshow-nav {
	margin: 32px 0;
}

.slideshow-nav__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.slideshow-nav__btn {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 84px;
	padding: 18px 22px;
	border: 1px solid var(--st-primary);
	border-radius: var(--st-radius);
	background: var(--st-primary);
	color: #fff;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.slideshow-nav__btn--next {
	justify-content: flex-end;
	text-align: right;
}

a.slideshow-nav__btn:hover {
	border-color: var(--st-btn-hover);
	background: var(--st-btn-hover);
	color: #fff;
	box-shadow: var(--st-shadow);
	transform: translateY(-2px);
}

.slideshow-nav__btn.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.slideshow-nav__btn.is-disabled {
	border-color: var(--st-line);
	background: var(--st-soft);
	color: var(--st-meta);
}

.slideshow-nav__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.slideshow-nav__text small {
	font-size: 12px;
	font-weight: 600;
}

.slideshow-nav__text strong {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.slideshow-nav__pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 16px;
	list-style: none;
}

.slideshow-nav__pages a,
.slideshow-nav__pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	border: 1px solid var(--st-line);
	border-radius: 50%;
	color: var(--st-text);
	font-size: 13px;
	font-weight: 700;
}

.slideshow-nav__pages a:hover {
	border-color: var(--st-primary);
	color: var(--st-primary);
}

.slideshow-nav__pages .is-current {
	border-color: var(--st-primary);
	background: var(--st-primary);
	color: #fff;
}

/* 14.3.1 Share buttons */
.share-box {
	position: relative;
	margin: 30px 0;
}

.share-box--bottom {
	padding: 22px 0;
	border-top: 1px solid var(--st-line);
	border-bottom: 1px solid var(--st-line);
	text-align: center;
}

.share-box--top {
	margin: 0 0 24px;
}

/* 제목 아래: 작성자·날짜(왼쪽)와 공유 아이콘(오른쪽)을 같은 줄에. 좁으면 다음 줄로 */
.entry-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

.entry-meta-row .share-box--top {
	margin: 0;
}

.entry-meta-row .share-box--top .share-box__list {
	gap: 6px;
}

.entry-meta-row .share-box--top .share-btn__icon {
	width: 34px;
	height: 34px;
}

.entry-meta-row .share-box--top .share-box__toast,
.entry-meta-row .share-box--top .share-box__toast.is-visible {
	left: auto;
	right: 0;
	transform: none;
}

.page-header--center .share-box--top .share-box__list {
	justify-content: center;
}

.share-box__title {
	margin: 0 0 16px;
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 700;
}

.share-box__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	list-style: none;
}

.share-box--bottom .share-box__list {
	justify-content: center;
}

.share-box--top .share-box__list {
	gap: 8px;
}

.share-box__list li[hidden] {
	display: none;
}

.share-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--st-meta);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.share-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--st-line);
	border-radius: 50%;
	background: var(--st-card);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.share-box--top .share-btn__icon {
	width: 36px;
	height: 36px;
}

.share-btn:hover .share-btn__icon,
.share-btn:focus-visible .share-btn__icon {
	border-color: currentColor;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.share-btn__label {
	color: var(--st-meta);
}

/* 각 서비스 고유 색상 (카카오톡은 브랜드 가이드대로 노란 원 + 검정 말풍선) */
.share-btn--kakao .share-btn__icon {
	border-color: #fee500;
	background: #fee500;
	color: #191919;
}

.share-btn--kakao:hover .share-btn__icon {
	border-color: #fee500;
}

.share-btn--telegram .share-btn__icon {
	color: #26a5e4;
}

.share-btn--sms .share-btn__icon {
	color: #34c759;
}

.share-btn--facebook .share-btn__icon {
	color: #1877f2;
}

.share-btn--x .share-btn__icon {
	color: var(--st-heading);
}

.share-btn--naver .share-btn__icon {
	color: #03c75a;
}

.share-btn--copy .share-btn__icon,
.share-btn--native .share-btn__icon {
	color: var(--st-accent);
}

/* 문자 공유는 모바일·태블릿에서만 */
@media (min-width: 992px) {
	.share-box__item--mobile {
		display: none;
	}
}

.share-box__toast {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	z-index: 5;
	padding: 9px 14px;
	border-radius: var(--st-radius);
	background: var(--st-heading);
	color: var(--st-bg);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, 6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-box__toast:empty {
	display: none;
}

.share-box__toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.share-box--top .share-box__toast {
	left: 0;
	transform: translate(0, 6px);
}

.share-box--top .share-box__toast.is-visible {
	transform: translate(0, 0);
}

@media (max-width: 420px) {
	.share-box__toast {
		white-space: normal;
		width: max-content;
		max-width: calc(100vw - 40px);
		text-align: center;
	}
}

/* 14.4 Disclaimer (YMYL) */
.disclaimer-box {
	display: flex;
	gap: 14px;
	margin: 34px 0;
	padding: 20px 22px;
	border: 1px solid var(--st-line);
	border-left: 4px solid var(--st-primary);
	border-radius: var(--st-radius);
	background: var(--st-card);
}

.disclaimer-box__icon {
	flex-shrink: 0;
	color: var(--st-primary);
}

[data-theme="dark"] .disclaimer-box__icon {
	color: var(--st-link);
}

.disclaimer-box__title {
	margin: 0 0 6px;
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 800;
}

.disclaimer-box__body p {
	margin: 0 0 6px;
	color: var(--st-text);
	font-size: 14px;
	line-height: 1.7;
}

.disclaimer-box__body p:last-child {
	margin-bottom: 0;
}

/* 14.5 Tags, post navigation */
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 34px;
}

.entry-tags a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: var(--st-radius-sm);
	background: none;
	color: var(--st-accent);
	font-size: 13px;
	font-weight: 700;
	transition: opacity 0.2s ease;
}

.entry-tags a:hover {
	color: var(--st-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-navigation {
	margin: 34px 0;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-navigation a:hover {
	border-color: var(--st-primary);
	box-shadow: var(--st-shadow);
}

.post-nav__label {
	color: var(--st-meta);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.post-nav__title {
	color: var(--st-heading);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.related-posts {
	margin: 40px 0;
}

/* ==========================================================================
   15. Author card
   ========================================================================== */

.author-card {
	display: flex;
	gap: 18px;
}

.author-card--single {
	align-items: center;
	gap: 14px;
	margin: 34px 0;
	padding: 16px 20px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-card);
}

.author-card--single .brand-avatar,
.author-card--single .avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.author-card--single .author-card__body {
	min-width: 0;
}

.author-card__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin: 0 0 2px;
	line-height: 1.4;
}

.author-card__byline .author-card__eyebrow {
	display: inline;
	margin: 0;
	color: var(--st-meta);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.author-card__byline .author-card__name {
	color: var(--st-heading);
	font-size: 17px;
	font-weight: 800;
}

a.author-card__name:hover {
	color: var(--st-primary);
}

.author-card--single .author-card__role {
	margin: 0;
	color: var(--st-meta);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.author-card--sidebar {
	flex-direction: column;
	align-items: center;
	padding: 26px 22px 22px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-card);
	text-align: center;
}

/* 메뉴 카테고리 글 수 */
.menu-count {
	display: inline-block;
	margin-left: 2px;
	color: var(--st-meta);
	font-size: 11px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	vertical-align: 1px;
}

.primary-menu > li:hover > a .menu-count,
.primary-menu > li.current-menu-item > a .menu-count {
	color: var(--st-accent);
}

.offcanvas-menu .menu-count {
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 20px;
	background: var(--st-soft);
	font-size: 12px;
	vertical-align: 2px;
}

.offcanvas-menu .sub-menu .menu-count {
	background: var(--st-card);
}

/* 관리자 전용 방문 통계 상자 */
.widget--admin-stats {
	padding: 16px;
	border: 1px dashed var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-soft);
}

.widget--admin-stats .widget-title {
	margin-bottom: 8px;
}

.admin-stats__note {
	margin: 0 0 12px;
	color: var(--st-meta);
	font-size: 12px;
}

.admin-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 12px;
}

.admin-stats__grid > div {
	padding: 10px 12px;
	border-radius: var(--st-radius-sm);
	background: var(--st-card);
}

.admin-stats__grid dt {
	color: var(--st-meta);
	font-size: 12px;
	font-weight: 600;
}

.admin-stats__grid dd {
	margin: 2px 0 0;
	color: var(--st-heading);
	font-size: 20px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
}

.admin-stats__grid .is-accent dd {
	color: var(--st-accent);
}

.admin-stats__more {
	font-size: 13px;
	font-weight: 700;
}

/* 모바일 메뉴 "앱으로 설치" (PWA): 다크 모드 행과 같은 컴팩트 행 */
.pwa-install[hidden] {
	display: none;
}

/* Dark Mode 스위치(48×28)와 같은 크기의 아이콘 전용 버튼 */
.pwa-install__btn {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 28px;
	background: var(--st-primary);
	color: #fff;
	transition: background-color 0.2s ease;
}

.pwa-install__btn:hover {
	background: var(--st-btn-hover);
}

/* 설치 안내 팝업 (아이폰 사파리 / 앱 안의 브라우저) */
.pwa-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pwa-modal[hidden] {
	display: none;
}

.pwa-modal__backdrop {
	position: absolute;
	inset: 0;
	background: var(--st-overlay);
	animation: steward-fade 0.2s ease;
}

.pwa-modal__card {
	position: relative;
	width: 100%;
	max-width: 340px;
	padding: 28px 22px 20px;
	border-radius: 14px;
	background: var(--st-card);
	box-shadow: var(--st-shadow-lg);
	text-align: center;
	outline: none;
	animation: steward-pop 0.22s var(--st-ease);
}

.pwa-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 36px;
	height: 36px;
	color: var(--st-meta);
}

.pwa-modal__icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.pwa-modal__title {
	margin: 14px 0 18px;
	color: var(--st-heading);
	font-size: 17px;
	font-weight: 800;
}

.pwa-modal__steps {
	display: grid;
	gap: 12px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.pwa-modal__steps li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--st-text);
	font-size: 14px;
	line-height: 1.55;
}

.pwa-modal__steps li[hidden],
.pwa-modal__steps[hidden],
.pwa-modal__inapp[hidden] {
	display: none;
}

.pwa-modal__num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--st-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.pwa-modal__glyph {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin: 0 2px;
	border: 1px solid var(--st-line);
	border-radius: 6px;
	background: var(--st-soft);
	color: #007aff;
	vertical-align: middle;
}

.pwa-modal__inapp {
	margin: 0 0 20px;
	color: var(--st-text);
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}

.pwa-modal__inapp p {
	margin: 0 0 8px;
}

@keyframes steward-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes steward-pop {
	from { opacity: 0; transform: translateY(12px) scale(0.97); }
	to { opacity: 1; transform: none; }
}

/* 모바일 메뉴(오프캔버스) 하단 심플 프로필: 아이콘 + 이름 | 우측 SNS 아이콘 */
.author-card--offcanvas {
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--st-line);
}

.author-card__mini {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--st-heading);
}

.profile-social {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	list-style: none;
}

/* 프로필 SNS(모바일 메뉴·사이드바·글 하단 저자 박스): 흰 원 + 테두리, 원 안의 아이콘만 각 앱 고유 색상 */
.brand-link,
.social-links .brand-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--st-line);
	border-radius: 50%;
	background: var(--st-card);
	color: var(--st-meta);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-link:hover,
.brand-link:focus-visible,
.social-links .brand-link:hover {
	border-color: currentColor;
	background: var(--st-card);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.brand-link--youtube,
.social-links .brand-link--youtube,
.social-links .brand-link--youtube:hover {
	color: #ff0000;
}

.brand-link--instagram,
.social-links .brand-link--instagram,
.social-links .brand-link--instagram:hover {
	color: #d6249f;
}

.brand-link--facebook,
.social-links .brand-link--facebook,
.social-links .brand-link--facebook:hover {
	color: #1877f2;
}

.brand-link--telegram,
.social-links .brand-link--telegram,
.social-links .brand-link--telegram:hover {
	color: #26a5e4;
}

.brand-link--linkedin,
.social-links .brand-link--linkedin,
.social-links .brand-link--linkedin:hover {
	color: #0a66c2;
}

.brand-link--x,
.brand-link--threads,
.social-links .brand-link--x,
.social-links .brand-link--x:hover,
.social-links .brand-link--threads,
.social-links .brand-link--threads:hover {
	color: var(--st-heading);
}

.brand-link--blog,
.social-links .brand-link--blog,
.social-links .brand-link--blog:hover {
	color: var(--st-accent);
}

.social-links--author {
	gap: 8px;
}

a.author-card__mini:hover {
	color: var(--st-primary);
}

.author-card--offcanvas .brand-avatar {
	width: 44px;
	height: 44px;
	box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.author-card--offcanvas .author-card__name {
	margin: 0;
	color: inherit;
	font-size: 16px;
	font-weight: 800;
}

.author-card__avatar {
	flex-shrink: 0;
}

.brand-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--st-primary-soft);
}

.author-card__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--st-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

[data-theme="dark"] .author-card__eyebrow {
	color: var(--st-link);
}

.author-card__name {
	margin: 0 0 4px;
	color: var(--st-heading);
	font-size: 20px;
	font-weight: 800;
}

.author-card__name a {
	color: var(--st-heading);
}

.author-card__role {
	margin: 0 0 10px;
	color: var(--st-heading);
	font-size: 14px;
	font-weight: 600;
}

.author-card__bio {
	margin: 0 0 12px;
	color: var(--st-meta);
	font-size: 14px;
	line-height: 1.7;
}

.author-card--sidebar .social-links {
	justify-content: center;
}

/* ==========================================================================
   16. Ad slots (CLS 0 - min-height pre-allocation)
   ========================================================================== */

.ad-slot-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 30px auto;
	text-align: center;
	contain: layout;
}

.ad-slot-label {
	display: block;
	margin-bottom: 6px;
	color: var(--st-meta);
	font-size: 10px;
	line-height: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.ad-slot-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	border-radius: var(--st-radius-sm);
	background-color: var(--st-soft);
	background-image: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--st-line) 60%, transparent) 10px 11px);
}

.ad-slot-inner > *,
.ad-slot-inner .ad-widget,
.ad-slot-inner ins {
	max-width: 100%;
}

.ad-slot-inner .ad-widget {
	width: 100%;
}

.ad-slot-wrapper--728x90 .ad-slot-inner {
	max-width: 728px;
	min-height: 90px;
}

.ad-slot-wrapper--320x100 .ad-slot-inner {
	max-width: 320px;
	min-height: 100px;
}

/* 모바일 헤더 아래 광고: 모바일·태블릿(<992px)에서만 표시 */
.mobile-header-ad {
	display: none;
}

@media (max-width: 991px) {
	.mobile-header-ad {
		display: block;
		padding: 10px var(--st-gutter) 12px;
		border-bottom: 1px solid var(--st-line);
		background: var(--st-bg);
	}

	.mobile-header-ad .ad-slot-wrapper {
		margin: 0 auto;
	}
}

.ad-slot-wrapper--300x250 .ad-slot-inner {
	max-width: 300px;
	min-height: 250px;
}

.ad-slot-wrapper--sidebar .ad-slot-inner {
	max-width: 300px;
	min-height: 250px;
}

.ad-slot-wrapper--responsive .ad-slot-inner {
	min-height: 280px;
}

.sidebar__sticky {
	position: sticky;
	top: calc(var(--st-sticky-offset) + 20px);
}

.admin-bar .sidebar__sticky {
	top: calc(var(--st-sticky-offset) + 52px);
}

.sidebar__sticky .ad-slot-wrapper {
	margin: 0;
}

/* ==========================================================================
   17. Sidebar & Widgets
   ========================================================================== */

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 34px;
	min-width: 0;
}

.widget {
	min-width: 0;
	font-size: 15px;
}

.widget-title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--st-line);
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 36px;
	height: 3px;
	background: var(--st-primary);
}

.widget ul {
	list-style: none;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--st-line);
}

.widget ul li:last-child {
	border-bottom: 0;
}

.widget a {
	color: var(--st-text);
}

.widget a:hover {
	color: var(--st-primary);
}

.widget select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-card);
}

.popular-list {
	list-style: none;
	counter-reset: none;
}

.widget .popular-list__item,
.popular-list__item {
	display: flex;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--st-line);
}

.popular-list__item:first-child {
	padding-top: 0;
}

.popular-list__item:last-child {
	border-bottom: 0;
}

.popular-list__num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--st-primary-soft);
	color: var(--st-primary);
	font-size: 14px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .popular-list__num {
	color: var(--st-link);
}

.popular-list__item:first-child .popular-list__num {
	background: var(--st-primary);
	color: #fff;
}

.popular-list__body {
	min-width: 0;
}

.popular-list__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.popular-list__title a {
	color: var(--st-heading);
}

.popular-list__title a:hover {
	color: var(--st-primary);
}

.popular-list__date {
	color: var(--st-meta);
	font-size: 12px;
}

.newsletter-card {
	padding: 26px 22px;
	border-radius: var(--st-radius);
	background: linear-gradient(145deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 60%, #1a0610));
	color: #fff;
	text-align: center;
}

.newsletter-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.newsletter-card__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 19px;
	font-weight: 800;
}

.newsletter-card__desc {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
	line-height: 1.6;
}

.newsletter-card .btn--primary {
	background: color-mix(in srgb, var(--st-primary) 45%, #000000);
	color: #fff;
}

.newsletter-card .btn--primary:hover {
	background: color-mix(in srgb, var(--st-primary) 30%, #000000);
	color: #fff;
}

/* ==========================================================================
   18. Pages (policy / about), templates
   ========================================================================== */

.page-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--st-line);
}

.page-header--center {
	text-align: center;
}

.page-header--center .post-meta {
	justify-content: center;
}

.page-header__title {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.page-header__meta {
	margin: 0;
	color: var(--st-meta);
	font-size: 14px;
}

.entry-content--page h2 {
	font-size: 22px;
}

.entry-content--page h3 {
	font-size: 18px;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 24px 0;
	font-weight: 700;
}

.builder-content {
	width: 100%;
}

.fullwidth-article__header {
	padding-top: 30px;
}

.narrow-article {
	padding-top: 36px;
}

.narrow-article .entry-content {
	font-size: 18px;
	line-height: 1.8;
}

/* ==========================================================================
   19. Comments
   ========================================================================== */

.comments-area {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--st-line);
}

.comments-title,
.comment-reply-title {
	font-size: 20px;
	font-weight: 800;
}

.comment-list,
.comment-list .children {
	list-style: none;
}

.comment-list .children {
	padding-left: 28px;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--st-line);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-bottom: 8px;
	font-size: 13px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--st-heading);
	font-weight: 700;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata a {
	color: var(--st-meta);
}

.comment-content {
	font-size: 15px;
}

.reply a {
	font-size: 13px;
	font-weight: 700;
}

.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: 12px 14px;
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	background: var(--st-card);
	color: var(--st-heading);
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--st-primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--st-primary-soft);
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* ==========================================================================
   20. 404 & No results
   ========================================================================== */

.error-404 {
	padding-top: 60px;
	text-align: center;
}

.error-404__code {
	margin: 0;
	color: var(--st-primary);
	font-size: clamp(80px, 16vw, 140px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
}

.error-404__title {
	font-size: clamp(24px, 3.4vw, 32px);
	font-weight: 800;
}

.error-404__desc {
	color: var(--st-meta);
}

.error-404__search {
	max-width: 520px;
	margin: 26px auto 60px;
}

.error-404 .section-head,
.error-404 .feed {
	text-align: left;
}

.no-results {
	padding: 30px;
	border: 1px dashed var(--st-line);
	border-radius: var(--st-radius);
	text-align: center;
}

.no-results__title {
	color: var(--st-heading);
	font-size: 20px;
	font-weight: 800;
}

.no-results .search-form {
	max-width: 480px;
	margin: 16px auto 0;
}

/* ==========================================================================
   21. Footer
   ========================================================================== */

.site-footer {
	border-top: 1px solid var(--st-line);
	background: var(--st-soft);
	font-size: 14px;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 44px;
}

.site-branding--footer .custom-logo {
	max-height: 44px;
}

.site-branding--footer .site-title {
	font-size: 24px;
}

.site-footer__desc {
	margin: 14px 0 18px;
	color: var(--st-meta);
	line-height: 1.7;
}

/* 푸터 위젯(Footer Column 1~3)이 없으면 사이트 소개가 전체 폭을 사용 → 소개 문구가 불필요하게 줄바꿈되지 않음 */
.site-footer__about:only-child {
	grid-column: 1 / -1;
}

.site-footer .widget-title {
	font-size: 14px;
}

.site-footer__bottom {
	border-top: 1px solid var(--st-line);
}

/* 하단: 정책 메뉴(소개·개인정보처리방침 등) 위, 저작권 문구 아래 - 가운데 정렬 */
.site-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-top: 22px;
	padding-bottom: 22px;
	text-align: center;
}

/* PC: 한 줄 배치 - 정책 메뉴 왼쪽, 저작권 문구 오른쪽 */
@media (min-width: 768px) {
	.site-footer__bottom-inner {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 10px 24px;
		text-align: left;
	}

	.site-footer__bottom-inner .footer-menu {
		justify-content: flex-start;
	}

	.site-footer__bottom-inner .site-footer__copyright {
		margin-left: auto;
		text-align: right;
	}
}

.site-footer__copyright {
	margin: 0;
	color: var(--st-meta);
	font-size: 13px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	list-style: none;
}

.footer-menu a {
	color: var(--st-text);
	font-size: 13px;
	font-weight: 600;
}

.footer-menu a:hover {
	color: var(--st-primary);
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--st-primary);
	color: #fff;
	box-shadow: var(--st-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* ==========================================================================
   22. WordPress core classes
   ========================================================================== */

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	color: var(--st-meta);
	font-size: 13px;
	text-align: center;
}

.sticky {
	position: relative;
}

.bypostauthor {
	display: block;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   23. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	:root {
		--st-sidebar: 300px;
	}

	.layout-wrap.has-sidebar {
		gap: 36px;
	}

	.feed--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mega-menu__posts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mega-menu__posts .mega-post:nth-child(4),
	.mega-menu__tags li:nth-child(5) {
		display: none;
	}

	.card-list {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 20px;
	}

	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	:root {
		--st-sticky-offset: var(--st-mobile-h);
	}

	.site-header,
	.site-nav {
		display: none;
	}

	.mobile-header {
		display: block;
	}

	.admin-bar .mobile-header {
		top: 46px;
	}

	.hero__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
	}

	.hero__grid .card-overlay--large {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 400px;
	}

	.hero__grid--2 .card-overlay--small {
		grid-column: 1 / -1;
		min-height: 260px;
	}

	.highlights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.highlights__grid .card-overlay:first-child {
		grid-column: 1 / -1;
	}
}

/* 태블릿(768~991px): 사이드바를 본문 옆에 유지하고, 좁아진 본문에 맞춰 카드 크기 조정 */
@media (min-width: 768px) and (max-width: 991px) {
	.layout-wrap.has-sidebar {
		gap: 24px;
	}

	.card-list {
		grid-template-columns: 160px minmax(0, 1fr);
		gap: 16px;
		padding: 20px 0;
	}

	.card-list .post-thumb--16x10 {
		aspect-ratio: 4 / 3;
	}

	.card-list__title {
		font-size: 17px;
		line-height: 1.45;
	}

	.feed--cols-2,
	.feed--focus__rest {
		grid-template-columns: minmax(0, 1fr);
	}

	.feed--grid {
		gap: 26px 20px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-nav {
		top: 46px;
	}
}

@media (max-width: 767px) {
	:root {
		--st-gutter: 16px;
	}

	/* 휴대폰: 사이드바는 본문 아래로 */
	.layout-wrap.has-sidebar,
	.layout-left_sidebar .layout-wrap.has-sidebar {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.layout-left_sidebar .layout-wrap.has-sidebar .sidebar {
		order: 0;
	}

	.sidebar__sticky {
		position: static;
	}

	.layout-wrap {
		padding-top: 24px;
	}

	.hero {
		padding-top: 16px;
	}

	.hero__grid,
	.highlights__grid,
	.feed--cols-2,
	.feed--cols-3,
	.feed--focus__rest {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__grid .card-overlay--large {
		min-height: 340px;
	}

	.hero__grid .card-overlay--small,
	.card-overlay--highlight {
		min-height: 220px;
	}

	.card-overlay--large .card-overlay__body {
		padding: 22px;
	}

	.card-list {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 14px;
		padding: 18px 0;
	}

	.card-list .post-thumb--16x10 {
		aspect-ratio: 1 / 1;
	}

	.card-list__title {
		font-size: 16.5px;
		line-height: 1.45;
	}

	.card-list__excerpt {
		display: none;
	}

	.card-list .post-meta__item--author,
	.card-list .post-meta__item--reading {
		display: none;
	}

	.card-list .post-meta__item + .post-meta__item::before {
		display: none;
	}

	.feed--grid {
		gap: 28px;
	}

	.entry-content {
		font-size: 17px;
	}

	.entry-content h2 {
		font-size: 22px;
	}

	.entry-content h3 {
		font-size: 19px;
	}

	.slideshow-nav__btn {
		min-height: 72px;
		padding: 14px 16px;
	}

	.slideshow-nav__text strong {
		font-size: 15px;
	}

	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation .nav-next {
		grid-column: auto;
	}

	.author-card--single {
		padding: 14px 16px;
	}

	.single-hero__body {
		padding: 40px 0 28px;
	}

	.site-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		padding-top: 40px;
	}


	.ad-slot-wrapper--728x90 .ad-slot-inner {
		min-height: 100px;
	}

	.ad-slot-wrapper--responsive .ad-slot-inner {
		min-height: 280px;
	}

	/* 검색창 (모바일 최적화 · 태블릿 768px 이상은 PC와 동일) */
	.search-modal {
		padding-top: 68px;
		padding-bottom: 32px;
	}

	.search-modal__close {
		top: 10px;
		right: 8px;
	}

	.search-modal__title {
		margin-bottom: 12px;
		font-size: 21px;
	}

	.search-modal .search-form__input {
		height: 54px;
		font-size: 17px; /* 16px 이상: iOS 입력 시 자동 확대 방지 */
	}

	.search-modal__suggest {
		margin-top: 20px;
	}

	.search-modal__suggest-label {
		margin-bottom: 2px;
	}

	/* 많이 쓰인 태그: 한 줄 가로 스와이프 (오른쪽 끝 흐림으로 더 있음을 표시) */
	.search-modal__toptags {
		flex-wrap: nowrap;
		gap: 0 18px;
		margin-right: calc(var(--st-gutter, 16px) * -1);
		padding-right: 56px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
		mask-image: linear-gradient(to right, #000 82%, transparent);
	}

	.search-modal__toptags::-webkit-scrollbar {
		display: none;
	}

	.search-modal__toptags li {
		flex: 0 0 auto;
	}

	/* 카테고리별: 이름 아래 태그 줄 */
	.search-modal__browse li {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding: 6px 0;
	}

	/* 손가락으로 누르기 쉬운 높이 */
	.search-modal__suggest a {
		padding: 8px 0;
		font-size: 15px;
	}

	.search-modal__tags {
		gap: 0 16px;
	}

	.search-modal__tags a {
		padding: 4px 0 6px;
		font-size: 14px;
	}

	.no-sidebar .entry-content .alignwide {
		width: 100%;
		margin-left: 0;
		transform: none;
	}
}

@media (max-width: 600px) {
	.admin-bar .mobile-header,
	.admin-bar .site-nav {
		top: 0;
	}
}

@media (max-width: 420px) {
	.card-list {
		grid-template-columns: 100px minmax(0, 1fr);
	}

	.slideshow-nav__buttons {
		gap: 8px;
	}

	.slideshow-nav__btn .icon {
		display: none;
	}
}

/* ==========================================================================
   24. Motion & Print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.ticker__track {
		animation: none;
	}

	.ticker__list[aria-hidden="true"] {
		display: none;
	}

	.post-thumb:hover .post-thumb__img,
	.card-list:hover .post-thumb__img,
	.card-grid:hover .post-thumb__img,
	.card-focus:hover .post-thumb__img,
	.card-overlay:hover .post-thumb__img {
		transform: none;
	}
}

@media print {
	.topbar,
	.site-nav,
	.mobile-header,
	.sidebar,
	.ad-slot-wrapper,
	.site-footer,
	.back-to-top,
	.offcanvas,
	.offcanvas-overlay,
	.search-modal,
	.related-posts,
	.post-navigation,
	.comments-area,
	.slideshow-nav {
		display: none !important;
	}

	.layout-wrap.has-sidebar {
		display: block;
	}

	body {
		background: #fff;
		color: #000;
	}
}
