/* ==========================================================================
   ForexWatch — theme.css
   ========================================================================== */

:root {
	--bg: #f4f5f7;
	--surface: #ffffff;
	--surface-2: #eef1f5;
	--ink: #0b1726;
	--ink-2: #3a4757;
	--muted: #6b7686;
	--line: #dde2e8;
	--brand: #0b1726;
	--brand-ink: #ffffff;
	--accent: #c8961e;
	--accent-soft: #fbf3df;
	--link: #0d5bb5;
	--up: #0f8a5f;
	--down: #c8372d;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(11, 23, 38, .06), 0 4px 16px rgba(11, 23, 38, .05);
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--container: 1200px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0a111b;
		--surface: #111b28;
		--surface-2: #172334;
		--ink: #e7ecf2;
		--ink-2: #c3ccd7;
		--muted: #8b97a7;
		--line: #23324a;
		--brand: #060c14;
		--accent: #e2b545;
		--accent-soft: #2a2312;
		--link: #6aa9f0;
		--up: #33c48d;
		--down: #ef6a60;
		--shadow: none;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #0a111b;
	--surface: #111b28;
	--surface-2: #172334;
	--ink: #e7ecf2;
	--ink-2: #c3ccd7;
	--muted: #8b97a7;
	--line: #23324a;
	--brand: #060c14;
	--accent: #e2b545;
	--accent-soft: #2a2312;
	--link: #6aa9f0;
	--up: #33c48d;
	--down: #ef6a60;
	--shadow: none;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--accent); color: #111; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.dot { margin: 0 .4em; color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand); color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; gap: 16px; min-height: 34px; white-space: nowrap; overflow: hidden; }
.topbar__sessions { display: none; gap: 10px; }
.topbar__sessions .s { display: inline-flex; align-items: center; gap: 5px; }
.topbar__sessions .s::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.topbar__sessions .s.is-open { color: #fff; }
.topbar__sessions .s.is-open::before { background: #33c48d; box-shadow: 0 0 0 3px rgba(51, 196, 141, .22); }
@media (min-width: 768px) { .topbar__sessions { display: inline-flex; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
	display: inline-flex; align-items: center; gap: 8px;
	font: 700 22px/1 var(--font-serif); color: var(--ink); letter-spacing: -.01em;
}
.brand__name:hover { text-decoration: none; }
.brand__mark {
	display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
	background: var(--brand); color: var(--accent);
}
.brand__tagline { margin: 3px 0 0; font: 500 11.5px/1.2 var(--font-sans); color: var(--muted); letter-spacing: .02em; }
.custom-logo { max-height: 44px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a {
	display: block; padding: 8px 12px; border-radius: var(--radius-sm);
	color: var(--ink-2); font-weight: 600; font-size: 14.5px;
}
.primary-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-cat > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; top: 100%; min-width: 220px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; gap: 4px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-2);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .i-sun { display: block; }
	:root:not([data-theme="light"]) .i-moon { display: none; }
}
.menu-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); padding: 14px 0; background: var(--surface); }

@media (max-width: 960px) {
	.menu-toggle { display: inline-grid; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); z-index: 60;
		background: var(--surface); border-left: 1px solid var(--line); padding: 80px 16px 24px;
		clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .25s ease, visibility 0s .25s; overflow-y: auto;
	}
	.primary-nav.is-open { clip-path: inset(0 0 0 -100vw); visibility: visible; transition: clip-path .25s ease; box-shadow: -20px 0 60px rgba(0, 0, 0, .25); }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav a { padding: 12px; font-size: 16px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding-left: 12px; }
	.header-actions { margin-left: auto; }
	.brand__tagline { display: none; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 55; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line); min-height: 46px; overflow: hidden; }
.ticker__fallback { font-size: 13px; color: var(--muted); line-height: 46px; }
.ticker .tradingview-widget-container { height: 46px; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; max-width: 640px; }
.search-form__input {
	flex: 1; min-width: 0; padding: 11px 14px; font: inherit; color: var(--ink);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.search-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-form__btn {
	padding: 11px 18px; border: 0; border-radius: var(--radius-sm);
	background: var(--brand); color: #fff; font-weight: 600;
}
[data-theme="dark"] .search-form__btn { background: var(--accent); color: #111; }

/* ---------- Chips & meta ---------- */
.chip {
	display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px;
	background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 70%, var(--ink));
	font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.chip:hover { text-decoration: none; filter: brightness(.97); }
.chip--trading-education { background: color-mix(in srgb, var(--up) 14%, transparent); color: var(--up); }
.chip--market-analysis { background: color-mix(in srgb, var(--link) 14%, transparent); color: var(--link); }
.meta { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; }

/* ---------- Layout ---------- */
.home { padding-top: 24px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 8px 0 48px; }
@media (min-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
	.no-sidebar .layout { grid-template-columns: minmax(0, 1fr); }
}
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.list { display: grid; gap: 0; }

/* ---------- Blocks ---------- */
.block { margin-bottom: 40px; }
.block__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 20px;
}
.block__title { margin: 0; font: 700 21px/1.2 var(--font-serif); }
.block__title a { color: inherit; }
.block__more { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.section-label {
	margin: 0 0 4px; font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Cards ---------- */
.card { position: relative; min-width: 0; }
.card__title { font: 700 18px/1.3 var(--font-serif); margin: 0 0 8px; letter-spacing: -.005em; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--link); text-decoration: none; }
.card__excerpt { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }

.thumb {
	display: block; position: relative; overflow: hidden; border-radius: var(--radius);
	aspect-ratio: 16 / 9; background: var(--surface-2);
}
.thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb__img { transform: scale(1.03); }
.thumb__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--muted); opacity: .5; }

.card--grid { display: flex; flex-direction: column; }
.card--grid .thumb { margin-bottom: 12px; }

.card--lead .thumb { margin-bottom: 16px; }
.card--lead .card__title { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.18; letter-spacing: -.015em; }
.card--lead .card__excerpt { font-size: 16.5px; }

.card--row {
	display: grid; grid-template-columns: 1fr; gap: 14px;
	padding: 18px 0; border-bottom: 1px solid var(--line);
}
.card--row:first-child { padding-top: 0; }
@media (min-width: 560px) { .card--row { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; } }

.card--mini {
	display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: start;
	padding: 14px 0; border-bottom: 1px solid var(--line);
}
.card--mini:last-child { border-bottom: 0; }
.card--mini .thumb { order: 2; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.card--mini .card__title { font-size: 16px; margin-bottom: 6px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .hero { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; } }
.hero__side { display: flex; flex-direction: column; }

/* ---------- Sidebar & widgets ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 88px; align-self: start; } }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.widget-title {
	margin: 0 0 14px; font: 700 13px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
	display: flex; align-items: center; gap: 8px;
}
.widget-title::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--accent); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--ink); font-weight: 500; }
.widget a:hover { color: var(--link); }

.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(rank); grid-row: span 2; font: 700 24px/1 var(--font-serif); color: var(--accent); }
.ranked li a { font: 600 15px/1.35 var(--font-serif); }
.ranked .meta { margin-top: 4px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.widget .pill-list li { padding: 0; border: 0; }
.pill-list a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.pill-list a:hover { background: var(--accent-soft); text-decoration: none; }

.sessions li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.sessions li span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.sessions li span:first-child::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.sessions li.is-open span:first-child::before { background: var(--up); box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 25%, transparent); }
.sessions li span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.sessions__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 6px; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Article ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
@media (min-width: 768px) { .article { padding: 36px 44px; } }
.article__title { font: 700 clamp(27px, 4vw, 40px)/1.15 var(--font-serif); letter-spacing: -.02em; margin: 0 0 14px; }
.article__dek { font-size: 18.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 18px; }
.article__head { margin-bottom: 22px; }
.article__figure { margin: 0 0 26px; }
.article__figure .thumb__img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

.byline { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.byline__avatar { border-radius: 50%; }
.byline__text { display: flex; flex-direction: column; font-size: 13.5px; color: var(--muted); }
.byline__author { color: var(--ink-2); }
.byline__author a { color: var(--ink); font-weight: 700; }

.toc { margin: 0 0 28px; padding: 16px 20px; background: var(--surface-2); border-radius: var(--radius); border-left: 4px solid var(--accent); }
.toc summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.toc ol { margin: 10px 0 0; padding-left: 0; list-style: none; counter-reset: toc; }
.toc li { margin: 5px 0; font-size: 15px; }
.toc .toc__l2 { counter-increment: toc; }
.toc .toc__l2::before { content: counter(toc) ". "; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc .toc__l3 { margin-left: 22px; font-size: 14px; }
.toc .toc__l3::before { content: "– "; color: var(--muted); }
.toc a { color: var(--ink-2); }

/* Typography of post content */
.entry-content { font-size: 17.5px; line-height: 1.75; color: var(--ink); }
.entry-content > * { margin: 0 0 1.15em; }
.entry-content h2 { font: 700 26px/1.25 var(--font-serif); margin: 1.8em 0 .6em; letter-spacing: -.01em; }
.entry-content h3 { font: 700 21px/1.3 var(--font-serif); margin: 1.5em 0 .5em; }
.entry-content h4 { font-size: 18px; margin: 1.3em 0 .4em; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin: .35em 0; }
.entry-content strong { font-weight: 700; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; text-align: center; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent);
	font: 600 20px/1.5 var(--font-serif); color: var(--ink-2);
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.entry-content th { background: var(--surface-2); font-weight: 700; }
.entry-content tr:nth-child(even) td { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.entry-content code { font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content .alignwide { margin-left: -2vw; margin-right: -2vw; }
.entry-content .wp-block-image.aligncenter { text-align: center; }

.disclaimer {
	margin: 32px 0 0; padding: 16px 18px; border-radius: var(--radius);
	background: color-mix(in srgb, var(--down) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--down) 25%, transparent);
	font-size: 13.5px; line-height: 1.6; color: var(--ink-2);
}
.disclaimer strong { display: block; margin-bottom: 4px; color: var(--down); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.disclaimer p { margin: 0; }

.article__foot { margin-top: 28px; display: grid; gap: 22px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.tags a::before { content: "#"; color: var(--muted); }
.tags a:hover { border-color: var(--accent); text-decoration: none; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-weight: 700; font-size: 13.5px; margin-right: 4px; }
.share__btn {
	padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
	color: var(--ink-2); font-size: 13px; font-weight: 600;
}
.share__btn:hover { text-decoration: none; border-color: var(--ink-2); color: var(--ink); }
.share__btn--whatsapp:hover { border-color: #25d366; color: #128c4a; }
.share__btn--telegram:hover { border-color: #229ed9; color: #1a7fb0; }

.author-box { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface-2); }
.author-box img { border-radius: 50%; flex: none; }
.author-box__label { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.author-box__name { font: 700 18px/1.3 var(--font-serif); color: var(--ink); }
.author-box__bio { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }

.post-nav { margin: 24px 0 40px; }
.post-nav .nav-links { display: grid; gap: 12px; }
@media (min-width: 640px) { .post-nav .nav-links { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-nav a:hover { border-color: var(--accent); text-decoration: none; }
.post-nav .nav-next { text-align: right; }
.post-nav__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.post-nav__title { font: 600 16px/1.35 var(--font-serif); color: var(--ink); }

/* ---------- Archive ---------- */
.archive-head { padding: 12px 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.archive-head__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.archive-head__title { font: 700 clamp(28px, 4vw, 40px)/1.15 var(--font-serif); margin: 0; letter-spacing: -.02em; }
.archive-head__desc { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }
.archive-head__desc p { margin: 0; }
.archive-head__author { display: flex; gap: 18px; align-items: center; }
.archive-head__author img { border-radius: 50%; }
.archive-head .search-form { margin-top: 18px; }
.layout__main > .card--lead { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }

.pagination { margin-top: 36px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px;
}
.pagination a.page-numbers:hover { border-color: var(--ink-2); text-decoration: none; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

.empty { padding: 40px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .search-form { margin: 16px auto 0; }

.error-404 { padding: 48px 16px 24px; text-align: center; }
.error-404 .search-form { margin: 18px auto 36px; }
.error-404 .block { text-align: left; }
.error-404__code { margin: 0; font: 700 96px/1 var(--font-serif); color: var(--accent); }

/* ---------- Comments ---------- */
.comments { margin-top: 32px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment-author img { float: left; margin-right: 10px; border-radius: 50%; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.comment-form .submit { padding: 11px 20px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand); color: rgba(255, 255, 255, .7); font-size: 14.5px; margin-top: 24px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.brand__name--footer { color: #fff; font-size: 22px; margin-bottom: 10px; }
.site-footer .widget-title { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer__disclaimer { padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.site-footer__disclaimer p { margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav li { padding: 0; }

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center;
	border-radius: 50%; background: var(--brand); color: #fff; font-size: 18px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transition: .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .ticker, .sidebar, .share, .post-nav, .related, .comments, .site-footer, .to-top, .reading-progress { display: none !important; }
	.layout { display: block; }
	.article { border: 0; padding: 0; }
}

/* ==========================================================================
   Tentang Kami (page-tentang-kami.php)
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm);
	font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #14100a; }
.btn--accent:hover { filter: brightness(1.06); }
.btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

.about-kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

.about-hero {
	position: relative; overflow: hidden; color: rgba(255, 255, 255, .78);
	background:
		radial-gradient(900px 400px at 85% 10%, rgba(200, 150, 30, .18), transparent 60%),
		linear-gradient(160deg, #0b1726 0%, #10243c 60%, #0b1726 100%);
	padding: 8px 0 72px;
}
.about-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.about-hero__inner { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .about-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
.about-hero .breadcrumbs, .about-hero .breadcrumbs a { color: rgba(255, 255, 255, .55); }
.about-hero .breadcrumbs [aria-current] { color: rgba(255, 255, 255, .8); }
.about-hero .breadcrumbs { margin-bottom: 28px; }
.about-hero__title { color: #fff; font: 700 clamp(32px, 4.6vw, 52px)/1.1 var(--font-serif); letter-spacing: -.02em; margin: 0 0 18px; max-width: 18ch; }
.about-hero__lead { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; max-width: 56ch; margin: 0 0 28px; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.about-hero__art { position: relative; color: var(--accent); }
.about-chart { width: 100%; height: auto; overflow: visible; }
.about-chart__grid line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.about-chart__candles .up { fill: #33c48d; stroke: #33c48d; stroke-width: 1.5; opacity: .75; }
.about-chart__candles .down { fill: #ef6a60; stroke: #ef6a60; stroke-width: 1.5; opacity: .75; }
.about-chart__line { stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 4px 14px rgba(200, 150, 30, .45)); }
.about-pill {
	position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px;
	background: rgba(17, 27, 40, .82); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px);
	font-size: 12px; color: rgba(255, 255, 255, .7); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.about-pill b { font-size: 15px; font-variant-numeric: tabular-nums; }
.about-pill .up { color: #33c48d; }
.about-pill .down { color: #ef6a60; }
.about-pill--1 { top: 2%; left: 4%; }
.about-pill--2 { bottom: 4%; right: 2%; }

.about-stats {
	position: relative; z-index: 2; margin: -40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(11, 23, 38, .1); overflow: hidden;
}
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about-stats > div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-stats dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.about-stats dd { margin: 4px 0 0; font: 700 34px/1.1 var(--font-serif); color: var(--ink); font-variant-numeric: tabular-nums; }

.about-section { padding-top: 64px; }
.about-section__head { max-width: 680px; margin-bottom: 28px; }
.about-section__title { font: 700 clamp(25px, 3vw, 34px)/1.2 var(--font-serif); letter-spacing: -.015em; margin: 0; }

.about-cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .about-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.about-card {
	display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.about-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.about-card__title { margin: 4px 0 2px; font: 700 20px/1.3 var(--font-serif); }
.about-card--link { transition: .18s; border-top: 3px solid var(--accent); }
.about-card--link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 23, 38, .1); }
.about-card__count { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.about-card__more { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14px; color: var(--link); }

.about-coverage { display: grid; gap: 24px; margin-top: 28px; padding: 26px; border-radius: 14px; background: var(--surface-2); }
@media (min-width: 768px) { .about-coverage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-coverage h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.about-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }

.about-band { margin-top: 64px; padding-bottom: 64px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 768px) { .about-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.about-steps li { position: relative; counter-increment: step; padding-top: 58px; }
.about-steps li::before {
	content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
	background: var(--brand); color: var(--accent); font: 700 16px/1 var(--font-sans);
}
@media (min-width: 768px) {
	.about-steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
}
.about-steps h3 { font: 700 19px/1.3 var(--font-serif); margin: 0 0 6px; }
.about-steps p { margin: 0; font-size: 15px; color: var(--ink-2); }

.about-principles { display: grid; gap: 20px; }
@media (min-width: 640px) { .about-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .about-principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 75%, var(--ink)); margin-bottom: 8px; }

.about-story { max-width: 760px; margin: 0 auto; padding: 36px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
@media (max-width: 640px) { .about-story { padding: 24px 20px; } }

.grid--3 { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.about-cta {
	display: grid; gap: 24px; align-items: center; margin-bottom: 56px; padding: 36px; border-radius: 16px;
	background: linear-gradient(135deg, #0b1726, #15304f); color: rgba(255, 255, 255, .62);
}
@media (min-width: 860px) { .about-cta { grid-template-columns: minmax(0, 1fr) auto; padding: 40px 48px; } }
.about-cta h2 { color: #fff; font: 700 28px/1.2 var(--font-serif); margin: 0 0 10px; }
.about-cta p { margin: 0; font-size: 13.5px; line-height: 1.6; max-width: 70ch; }
