/*
Theme Name: OneulJigap (오늘지갑)
Description: 오늘의 돈 이슈를 간결하게 전하는 Kadence 자식 테마
Author: 오늘지갑
Template: kadence
Version: 1.0.0
Text Domain: oneuljigap
*/

:root {
	--oj-navy: #0f1b2d;
	--oj-navy-soft: #1b2b43;
	--oj-orange: #f45b0a;
	--oj-orange-soft: #fff0e7;
	--oj-ink: #172033;
	--oj-muted: #667085;
	--oj-line: #e5e9f0;
	--oj-surface: #ffffff;
	--oj-canvas: #f4f6f9;
	--oj-success: #087e5b;
	--oj-radius: 18px;
	--oj-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
	margin: 0;
	background: var(--oj-canvas);
	color: var(--oj-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid #ffb27d;
	outline-offset: 3px;
}

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

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--oj-surface);
	color: var(--oj-navy);
	font-weight: 800;
	white-space: normal;
}

.oj-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(229, 233, 240, 0.9);
	background: rgba(255, 255, 255, 0.96);
}

.oj-header-inner,
.oj-main,
.oj-footer-inner {
	width: min(100% - 32px, 1160px);
	margin-inline: auto;
}

.oj-header-inner {
	display: flex;
	flex-wrap: wrap;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
}

.oj-brand {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: 10px;
	color: var(--oj-navy);
	text-decoration: none;
}

.oj-brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	border-radius: 13px;
	background: var(--oj-orange);
	color: #ffffff;
	font-size: 19px;
	font-weight: 900;
}

.oj-brand-copy {
	display: grid;
	line-height: 1.15;
}

.oj-wordmark {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.04em;
}

.oj-slogan {
	display: none;
	margin-top: 5px;
	color: var(--oj-muted);
	font-size: 12px;
	font-weight: 650;
}

.oj-primary-nav {
	display: none;
}

.oj-mobile-nav {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(15, 27, 45, 0.3) transparent;
}

.oj-mobile-nav::-webkit-scrollbar {
	height: 4px;
}

.oj-mobile-nav::-webkit-scrollbar-track {
	background: transparent;
}

.oj-mobile-nav::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(15, 27, 45, 0.3);
}

.oj-mobile-menu {
	display: flex;
	gap: 8px;
	padding: 0 16px 10px 0;
	margin: 0;
	list-style: none;
	white-space: nowrap;
}

.oj-mobile-menu a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--oj-orange-soft);
	color: #b83d00;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.oj-menu {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.oj-menu a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 750;
	text-decoration: none;
}

.oj-menu a:hover {
	background: var(--oj-orange-soft);
	color: #c94700;
}

.oj-main {
	padding-block: 24px 52px;
}

.oj-home {
	display: grid;
	gap: 34px;
}

.oj-section {
	min-width: 0;
}

.oj-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.oj-section-title {
	margin: 0;
	color: var(--oj-navy);
	font-size: clamp(23px, 7vw, 32px);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1.2;
	/* P2: 단어 중간 줄바꿈 방지 — 섹션 타이틀에만 scoped. */
	word-break: keep-all;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.oj-section-note {
	margin: 6px 0 0;
	color: var(--oj-muted);
	font-size: 14px;
}

.oj-card {
	border: 1px solid var(--oj-line);
	border-radius: var(--oj-radius);
	background: var(--oj-surface);
	box-shadow: var(--oj-shadow);
}

.oj-badge {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--oj-orange-soft);
	color: #b83d00;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: -0.02em;
}

.oj-badge--dark {
	background: var(--oj-orange);
	color: var(--oj-ink);
}

.oj-badge--muted {
	background: #e9edf3;
	color: #475467;
}

.oj-hero-card {
	position: relative;
	overflow: hidden;
	padding: 26px 22px;
	border: 0;
	background: linear-gradient(145deg, var(--oj-navy) 0%, var(--oj-navy-soft) 70%, #263f61 100%);
	color: #ffffff;
}

.oj-hero-card::after {
	position: absolute;
	right: -62px;
	bottom: -86px;
	width: 190px;
	height: 190px;
	border: 35px solid rgba(255, 107, 26, 0.22);
	border-radius: 50%;
	content: "";
}

/* A) 히어로 H1 대비 — 다크 히어로 위 명시적 white (부모 상속 불신, 스크린샷 기준). */
.oj-hero-card .oj-hero-title,
.oj-hero-card .oj-hero-title a {
	color: #ffffff;
}

.oj-hero-card .oj-hero-title a:hover,
.oj-hero-card .oj-hero-title a:focus {
	color: #ffd9c2;
}

.oj-hero-kicker {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 34px;
	color: #cbd5e1;
	font-size: 13px;
	font-weight: 750;
}

.oj-hero-title {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0;
	font-size: clamp(29px, 9vw, 52px);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1.16;
	/* P2: 단어 중간 줄바꿈 방지 — hero 타이틀에만 scoped. */
	word-break: keep-all;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.oj-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 650px;
	margin: 16px 0 0;
	color: #d7deea;
	font-size: 15px;
}

.oj-hero-chips {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 22px 0 0;
	list-style: none;
}

.oj-hero-chip {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	text-decoration: none;
}

.oj-hero-chip strong {
	font-size: 15px;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.oj-hero-chip span {
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 700;
}

.oj-hero-link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	padding: 10px 16px;
	border-radius: 13px;
	background: #ffffff;
	color: var(--oj-navy);
	font-size: 14px;
	font-weight: 850;
}

.oj-market-grid,
.oj-policy-grid,
.oj-stat-grid,
.oj-news-grid {
	display: grid;
	gap: 12px;
}

.oj-market-card {
	padding: 14px;
}

.oj-card-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.oj-card-label {
	margin: 0;
	color: var(--oj-muted);
	font-size: 14px;
	font-weight: 750;
}

.oj-market-value {
	margin: 16px 0 2px;
	color: var(--oj-navy);
	font-size: clamp(28px, 9vw, 42px);
	font-variant-numeric: tabular-nums;
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1;
}

.oj-market-status {
	margin: 6px 0 0;
	color: var(--oj-muted);
	font-size: 13px;
}

.oj-policy-card {
	padding: 22px;
}

.oj-policy-icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--oj-orange-soft);
	color: #c94700;
	font-size: 18px;
	font-weight: 900;
}

.oj-card-title {
	margin: 16px 0 8px;
	color: var(--oj-navy);
	font-size: 20px;
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.35;
}

.oj-card-copy {
	margin: 0;
	color: var(--oj-muted);
	font-size: 14px;
}

.oj-wallet-list,
.oj-news-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.oj-wallet-list {
	display: grid;
	gap: 10px;
}

.oj-wallet-item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 12px;
	padding: 18px;
}

.oj-wallet-number {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 11px;
	background: var(--oj-navy);
	color: #ffffff;
	font-size: 13px;
	font-weight: 850;
}

.oj-wallet-copy {
	margin: 2px 0 0;
	font-weight: 750;
	letter-spacing: -0.025em;
}

.oj-wallet-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.oj-impact-card {
	padding: 22px;
}

.oj-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	padding: 0;
	margin: 22px 0;
	list-style: none;
}

.oj-chip {
	min-height: 44px;
	padding: 9px 15px;
	border: 1px solid #ccd3dd;
	border-radius: 999px;
	background: #ffffff;
	color: var(--oj-navy);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: default;
	opacity: 1;
}

.oj-chip--active {
	border-color: var(--oj-navy);
	background: var(--oj-navy);
	color: #ffffff;
}

.oj-impact-result {
	display: flex;
	min-height: 96px;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px;
	border-radius: 14px;
	background: var(--oj-canvas);
}

.oj-impact-result p {
	margin: 0;
	color: var(--oj-muted);
	font-size: 14px;
}

.oj-stat-card {
	min-height: 150px;
	padding: 19px;
}

.oj-stat-value {
	margin: 30px 0 6px;
	color: var(--oj-navy);
	font-size: 40px;
	font-variant-numeric: tabular-nums;
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
}

.oj-stat-caption {
	margin: 0;
	color: var(--oj-muted);
	font-size: 13px;
}

.oj-weekly-card {
	display: grid;
	overflow: hidden;
	border-color: #d8dee8;
}

.oj-weekly-main {
	padding: 24px 22px;
}

.oj-weekly-title {
	margin: 26px 0 10px;
	color: var(--oj-navy);
	font-size: clamp(26px, 8vw, 38px);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1.2;
	/* P2: 단어 중간 줄바꿈 방지 — 주간 타이틀에만 scoped. */
	word-break: keep-all;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.oj-weekly-points {
	display: grid;
	gap: 12px;
	padding: 22px;
	margin: 0;
	background: var(--oj-navy);
	color: #e6edf6;
	list-style: none;
}

.oj-weekly-points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.oj-weekly-points li::before {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: var(--oj-orange);
	content: "";
}

/* B) 주간 다크 패널 링크 대비 — 네이비 배경 위 밝은 링크. */
.oj-weekly-points li a {
	color: #ffffff;
}

.oj-weekly-points li a:hover,
.oj-weekly-points li a:focus {
	color: #ffb27d;
}

.oj-news-column {
	padding: 16px;
}

.oj-news-column-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 11px;
	margin: 0;
	border-bottom: 1px solid var(--oj-line);
	color: var(--oj-navy);
	font-size: 19px;
	font-weight: 900;
}

.oj-news-list li {
	padding: 10px 0;
	border-bottom: 1px solid var(--oj-line);
}

.oj-news-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

/* F) 카테고리 행 — 카테고리별 최신 1건 제목을 기존 쿼리로 안전하게 노출. */
.oj-cat-latest {
	display: block;
	margin-top: 5px;
	color: var(--oj-muted);
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}

.oj-cat-latest:hover,
.oj-cat-latest:focus {
	color: #c94700;
}

.oj-news-placeholder {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 12px;
}

.oj-news-placeholder strong {
	font-size: 15px;
	letter-spacing: -0.025em;
	line-height: 1.45;
}

.oj-news-placeholder .oj-badge {
	flex: 0 0 auto;
}

.oj-site-footer {
	border-top: 1px solid var(--oj-line);
	background: var(--oj-surface);
}

.oj-footer-inner {
	display: grid;
	gap: 16px;
	padding-block: 28px;
}

.oj-footer-brand {
	margin: 0;
	color: var(--oj-navy);
	font-size: 18px;
	font-weight: 900;
}

.oj-footer-copy,
.oj-copyright-placeholder {
	margin: 4px 0 0;
	color: var(--oj-muted);
	font-size: 13px;
}

.oj-copyright-placeholder {
	display: flex;
	align-items: center;
	gap: 8px;
}

.oj-article-wrap {
	max-width: 800px;
	margin-inline: auto;
}

.oj-article {
	overflow: hidden;
	padding: 24px 20px;
}

.oj-article-category {
	margin: 0 0 14px;
}

.oj-article-title {
	margin: 0;
	color: var(--oj-navy);
	font-size: clamp(32px, 10vw, 54px);
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 1.18;
	text-wrap: balance;
	/* P2: 단어 중간 줄바꿈 방지 — 아티클 타이틀에만 scoped. */
	word-break: keep-all;
	overflow-wrap: break-word;
}

.oj-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding-bottom: 22px;
	margin: 18px 0 24px;
	border-bottom: 1px solid var(--oj-line);
	color: var(--oj-muted);
	font-size: 13px;
}

.oj-article-thumbnail {
	overflow: hidden;
	margin: 0 0 28px;
	border-radius: 14px;
}

.oj-article-thumbnail img {
	width: 100%;
}

.oj-article-content {
	color: #263246;
	font-size: 17px;
	line-height: 1.85;
}

.oj-article-content > *:first-child {
	margin-top: 0;
}

.oj-article-content h2,
.oj-article-content h3 {
	color: var(--oj-navy);
	letter-spacing: -0.04em;
	line-height: 1.35;
}

.oj-article-content a {
	color: #c94700;
	font-weight: 750;
}

.oj-article-content blockquote {
	padding: 16px 18px;
	margin-inline: 0;
	border-left: 4px solid var(--oj-orange);
	border-radius: 0 12px 12px 0;
	background: var(--oj-orange-soft);
}

.oj-article-content .oj-h2-summary {
	padding: 18px 20px;
	margin: 0 0 18px;
	border: 1px solid #d8e6df;
	border-radius: 16px;
	background: #f0f7f3;
	color: var(--oj-success);
	font-size: 15px;
	letter-spacing: -0.02em;
}

.oj-article-content .oj-h2-summary + p {
	padding: 0 4px;
	margin: -6px 0 26px;
	border-left: 3px solid var(--oj-success);
	border-radius: 0 10px 10px 0;
	background: #f0f7f3;
	color: #1f3a33;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.75;
}

.oj-article-content .oj-h2-check {
	padding: 14px 18px;
	margin: 30px 0 16px;
	border-radius: 14px;
	background: var(--oj-orange-soft);
	color: #b83d00;
	font-size: 16px;
	letter-spacing: -0.02em;
}

.oj-article-content .oj-h2-check + ul {
	padding: 16px 18px 16px 40px;
	margin: -6px 0 26px;
	border: 1px solid #f3d9c8;
	border-radius: 14px;
	background: #fffaf5;
}

.oj-article-content .oj-h2-sources {
	padding: 14px 18px;
	margin: 30px 0 16px;
	border-radius: 14px;
	background: var(--oj-navy);
	color: #ffffff;
	font-size: 16px;
	letter-spacing: -0.02em;
}

.oj-article-content .oj-h2-sources + p {
	padding: 16px 18px;
	margin: -6px 0 0;
	border: 1px solid #d8dee8;
	border-radius: 14px;
	background: #f8fafc;
	font-size: 14px;
	line-height: 1.8;
	word-break: break-word;
}

.oj-article-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.oj-back-home {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	padding: 10px 16px;
	border-radius: 13px;
	background: var(--oj-navy);
	color: #ffffff;
	font-weight: 800;
	text-decoration: none;
}

.oj-empty-state {
	padding: 32px 20px;
	text-align: center;
}

@media (min-width: 768px) {
	.oj-header-inner,
	.oj-main,
	.oj-footer-inner {
		width: min(100% - 56px, 1160px);
	}

	.oj-slogan {
		display: block;
	}

	.oj-main {
		padding-block: 34px 64px;
	}

	.oj-home {
		gap: 47px;
	}

	.oj-hero-card {
		padding: 38px 36px;
	}

	.oj-market-grid,
	.oj-policy-grid,
	.oj-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oj-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oj-wallet-item {
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
	}

	.oj-wallet-meta {
		margin-top: 0;
	}

	.oj-weekly-card {
		grid-template-columns: 1.35fr 0.65fr;
	}

	.oj-weekly-main,
	.oj-weekly-points {
		padding: 32px;
	}

	.oj-footer-inner {
		grid-template-columns: 1fr auto;
		align-items: end;
	}

	.oj-article {
		padding: 44px 48px;
	}
}

@media (min-width: 1024px) {
	.oj-primary-nav {
		display: block;
	}

	.oj-mobile-nav {
		display: none;
	}

	.oj-hero-card {
		min-height: 430px;
		padding: 48px;
	}

	.oj-hero-kicker {
		margin-bottom: 74px;
	}

	.oj-market-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.oj-policy-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.oj-stat-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.oj-card {
		transition: transform 160ms ease, box-shadow 160ms ease;
	}

	.oj-card:hover {
		transform: translateY(-2px);
		box-shadow: 0 14px 36px rgba(15, 27, 45, 0.12);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.oj-card {
		transition: none;
	}
}

/* ============================================================
   UI_V31_CSS_20260815 — 밀도(density) 조정
   원본 기준값 대비: D 마감카드 패딩/날짜폰트 -20~30%,
   E 섹션 간격 -15~20% (비영), F 최신/카테고리 컴팩트.
   데스크톱 3열(.oj-market-grid) 구조는 변경하지 않음.
   ============================================================ */
.oj-market-card {
	padding: 11px;
}

.oj-market-value {
	margin: 12px 0 2px;
	font-size: clamp(22px, 7vw, 34px);
}

.oj-market-status {
	margin: 5px 0 0;
}

.oj-main {
	padding-block: 20px 42px;
}

.oj-home {
	gap: 28px;
}

.oj-section-head {
	margin-bottom: 13px;
}

.oj-news-grid {
	gap: 10px;
}

.oj-news-column {
	padding: 13px;
}

.oj-news-column-title {
	padding-bottom: 9px;
}

.oj-news-list li {
	padding: 8px 0;
}

.oj-cat-latest {
	margin-top: 4px;
}

@media (min-width: 768px) {
	.oj-main {
		padding-block: 28px 52px;
	}

	.oj-home {
		gap: 39px;
	}
}
/* END UI_V31_CSS_20260815 */

/* ============================================================
   UI_V3_RESUME_20260815_2256 — 최소 수정 4건
   1) .oj-badge--dark 대비: 오렌지 배경 위 네이비 텍스트 (5.7:1)
   2) 모바일 nav: 얇은 스크롤바 노출 + 우측 여백 (잘림/발견성)
   3) 히어로 H1 한국어 어절 단위 줄바꿈 (keep-all, 모바일)
   4) 360/390 히어로 칩/카드 세로 밀도 축소 (탭 타깃 44px 유지)
   ============================================================ */
@media (max-width: 767px) {
	.oj-hero-title {
		overflow-wrap: break-word;
		word-break: keep-all;
	}
}

@media (max-width: 430px) {
	.oj-hero-card {
		padding: 20px 18px;
	}

	.oj-hero-kicker {
		margin-bottom: 20px;
	}

	.oj-hero-copy {
		margin-top: 12px;
	}

	.oj-hero-chips {
		gap: 6px;
		margin-top: 14px;
	}

	.oj-hero-chip {
		padding: 6px 12px;
	}

	.oj-hero-link {
		margin-top: 16px;
	}
}
/* END UI_V3_RESUME_20260815_2256 */

/* ============================================================
   TODAYWALLET_MOBILE_V2_PHASE1_20260819
   모바일 가독성 V2 Phase1: 카테고리/전체글 카드 목록 + 본문 타이포.
   기존 --oj-* 토큰만 사용. 데스크톱 레이아웃은 변경하지 않음.
   ============================================================ */
.oj-category-head,
.oj-all-posts-head {
	margin-bottom: 18px;
}

.oj-category-title,
.oj-all-posts-title {
	margin: 0;
	color: var(--oj-navy);
	font-size: clamp(24px, 7vw, 34px);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1.25;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.oj-category-description,
.oj-all-posts-description {
	margin: 8px 0 0;
	color: var(--oj-muted);
	font-size: 14px;
	line-height: 1.6;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.oj-category-grid,
.oj-all-posts-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.oj-category-card,
.oj-all-posts-card {
	padding: 18px;
}

.oj-category-card .oj-card-title,
.oj-all-posts-card .oj-card-title {
	margin: 0 0 8px;
}

.oj-category-card .oj-card-title a,
.oj-all-posts-card .oj-card-title a {
	display: inline-block;
	min-height: 44px;
	text-decoration: none;
}

.oj-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

.oj-card-date {
	color: var(--oj-muted);
	font-size: 14px;
	font-weight: 650;
}

.oj-pagination {
	margin-top: 24px;
}

.oj-pagination .page-numbers {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 12px;
	background: var(--oj-surface);
	color: var(--oj-navy);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.oj-pagination .page-numbers.current {
	background: var(--oj-navy);
	color: #ffffff;
}

.oj-all-posts-cta-section {
	margin-top: 4px;
}

.oj-all-posts-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 22px;
}

.oj-all-posts-cta-title {
	margin: 0;
	color: var(--oj-navy);
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.3;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.oj-all-posts-cta-copy {
	margin: 6px 0 0;
	color: var(--oj-muted);
	font-size: 14px;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.oj-all-posts-cta-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 13px;
	background: var(--oj-orange);
	color: #ffffff;
	font-size: 15px;
	font-weight: 850;
	text-decoration: none;
}

@media (max-width: 600px) {
	.oj-category-page,
	.oj-all-posts-page {
		padding-inline: 16px;
	}

	.oj-category-card,
	.oj-all-posts-card {
		padding: 18px;
	}

	.oj-category-card .oj-card-title,
	.oj-all-posts-card .oj-card-title {
		font-size: 19px;
		font-weight: 750;
		line-height: 1.38;
		word-break: keep-all;
		overflow-wrap: anywhere;
	}

	.oj-category-card .oj-card-copy,
	.oj-all-posts-card .oj-card-copy {
		font-size: 16px;
		line-height: 1.65;
		word-break: keep-all;
		overflow-wrap: anywhere;
	}

	.oj-category-card .oj-card-meta,
	.oj-all-posts-card .oj-card-meta {
		font-size: 14px;
	}

	.oj-category-card .oj-card-date,
	.oj-all-posts-card .oj-card-date {
		font-size: 14px;
	}

	.oj-article-content {
		font-size: 18px;
		line-height: 1.78;
	}

	.oj-article-content p {
		margin: 0 0 1em;
	}

	.oj-article-content h2 {
		font-size: 23px;
		line-height: 1.4;
	}

	.oj-article-content ul,
	.oj-article-content ol {
		font-size: 17px;
		line-height: 1.7;
	}
}
/* END TODAYWALLET_MOBILE_V2_PHASE1_20260819 */
