/*
Theme Name: Investify News
Theme URI: https://josephinewadmandesigns.com/
Author: Investify Indo
Description: Tema portal berita investasi yang cepat, modern, dan SEO-ready. Headline + sorotan, kanal per kategori, ticker pasar (IHSG, kurs, emas, kripto), berita terkini berjalan, artikel terpopuler, daftar isi otomatis, mode gelap, serta meta tag lengkap (Open Graph, Twitter Card, schema NewsArticle, breadcrumb) dan Google News sitemap. Kompatibel dengan Yoast SEO / Rank Math tanpa duplikasi tag.
Version: 1.1.1
Requires at least: 5.9
Tested up to: 7.1
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: investify-news
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options
*/

/* ==========================================================================
   Font (self-hosted, SIL OFL)
   ========================================================================== */
@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Token warna & ukuran
   ========================================================================== */
:root {
	--c-navy: #0b1f3a;
	--c-navy-2: #12294b;
	--c-navy-3: #1b3a66;
	--c-accent: #12b76a;
	--c-accent-ink: #067a47;
	--c-accent-soft: #e6f7ee;
	--c-down: #e5484d;
	--c-gold: #d4a017;

	--c-bg: #f3f5f8;
	--c-surface: #ffffff;
	--c-surface-2: #f7f9fb;
	--c-text: #0f172a;
	--c-text-2: #334155;
	--c-muted: #5f6b7d;
	--c-border: #e3e8ef;
	--c-header: #ffffff;

	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

	--container: 1240px;
	--gutter: 20px;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 20px rgba(15, 23, 42, .06);
	--shadow-lg: 0 12px 40px rgba(11, 31, 58, .18);
	--nav-h: 52px;
	--top-offset: 0px;
}
.admin-bar { --top-offset: 32px; }
@media (max-width: 782px) { .admin-bar { --top-offset: 46px; } }
@media (max-width: 600px) { .admin-bar { --top-offset: 0px; } }

[data-theme="dark"] {
	--c-bg: #07111f;
	--c-surface: #0d1b2e;
	--c-surface-2: #11233a;
	--c-text: #e7edf5;
	--c-text-2: #c3cedc;
	--c-muted: #93a3b8;
	--c-border: #1d3150;
	--c-header: #0b1829;
	--c-accent-ink: #3ddc97;
	--c-accent-soft: rgba(18, 183, 106, .14);
	--shadow: 0 1px 2px rgba(0, 0, 0, .3);
	color-scheme: dark;
}

/* ==========================================================================
   Dasar
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent-ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
.icon { flex: none; vertical-align: middle; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 10000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--c-surface); color: var(--c-text); border-radius: 8px; box-shadow: var(--shadow-lg);
}

.btn {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--c-accent); color: #04140b; font-weight: 700; font-size: .95rem;
	padding: 11px 20px; border-radius: 999px; border: 0; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { color: #04140b; background: #16c776; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(18, 183, 106, .3); }
.btn--ghost { background: transparent; color: var(--c-text); border: 1.5px solid var(--c-border); }
.btn--ghost:hover { background: var(--c-surface); color: var(--c-accent-ink); border-color: var(--c-accent); box-shadow: none; }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; background: transparent; border-radius: 10px; color: var(--c-text);
}
.icon-btn:hover { background: var(--c-surface-2); color: var(--c-accent-ink); }

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar { background: var(--c-navy); color: #c9d5e6; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.topbar__date { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #e6edf6; }
.topbar__menu { flex: 1; }
.topbar__menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.topbar__menu a:hover { color: #fff; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; transition: background .15s, color .15s; }
.social--topbar a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.theme-toggle {
	display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .18);
	background: transparent; color: #e6edf6; border-radius: 999px; padding: 4px 9px; height: 28px;
}
.theme-toggle:hover { background: rgba(255, 255, 255, .1); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: var(--c-header); border-bottom: 1px solid var(--c-border); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 92px; padding-block: 12px; }
.site-branding { display: flex; align-items: center; gap: 16px; min-width: 0; }
.site-title { margin: 0; font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.site-title__text { color: var(--c-navy); }
[data-theme="dark"] .site-title__text { color: #fff; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { height: 64px; width: auto; max-width: 260px; object-fit: contain; border-radius: 10px; }
.site-description {
	margin: 0; padding-left: 16px; border-left: 2px solid var(--c-border);
	color: var(--c-muted); font-size: .85rem; font-weight: 600; max-width: 220px; line-height: 1.35;
}
.header-ad { margin-left: auto; max-width: 728px; flex: 1; display: flex; justify-content: flex-end; }
.header-ad .ad-slot { margin: 0; }
.menu-toggle, .search-toggle { display: none; }

/* ==========================================================================
   Navigasi utama (menempel)
   ========================================================================== */
.nav-bar {
	position: sticky; top: var(--top-offset); z-index: 90;
	background: var(--c-navy); color: #fff; transition: box-shadow .2s;
}
.nav-bar.is-stuck { box-shadow: 0 6px 24px rgba(3, 12, 26, .35); }
.nav-bar__inner { display: flex; align-items: stretch; min-height: var(--nav-h); }
.main-navigation { display: flex; align-items: stretch; flex: 1; min-width: 0; }
.nav-home { display: inline-grid; place-items: center; width: 48px; color: #fff; border-right: 1px solid rgba(255, 255, 255, .08); }
.nav-home:hover, .nav-home.is-active { background: var(--c-accent); color: #04140b; }
.main-navigation .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.main-navigation .menu > li { position: relative; display: flex; }
.main-navigation .menu > li > a {
	display: flex; align-items: center; padding: 0 16px; font-weight: 700; font-size: .9rem;
	letter-spacing: .01em; color: #e8eef7; position: relative; white-space: nowrap;
}
.main-navigation .menu > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
	background: var(--c-accent); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .2s;
}
.main-navigation .menu > li > a:hover, .main-navigation .menu > .current-menu-item > a,
.main-navigation .menu > .current-menu-ancestor > a, .main-navigation .menu > .current-post-ancestor > a { color: #fff; }
.main-navigation .menu > li > a:hover::after, .main-navigation .menu > .current-menu-item > a::after,
.main-navigation .menu > .current-menu-ancestor > a::after, .main-navigation .menu > .current-post-ancestor > a::after { transform: scaleX(1); }
.main-navigation .menu-item-has-children > a { padding-right: 26px; }
.main-navigation .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7;
}
.main-navigation .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px;
	background: var(--c-surface); color: var(--c-text); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 20;
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.main-navigation .sub-menu a:hover { background: var(--c-accent-soft); color: var(--c-accent-ink); }

.nav-search {
	display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 16px;
	background: rgba(255, 255, 255, .06); border: 0; color: #e8eef7; font-weight: 700; font-size: .88rem;
}
.nav-search:hover { background: var(--c-accent); color: #04140b; }

/* ==========================================================================
   Ticker pasar & berita terkini
   ========================================================================== */
.market-ticker {
	display: flex; align-items: center; background: #081629; border-bottom: 1px solid rgba(255, 255, 255, .06);
	min-height: 46px; overflow: hidden;
}
.market-ticker__widget { flex: 1; min-width: 0; height: 46px; }
.market-ticker__widget iframe { display: block; }
.market-ticker__credit {
	flex: none; padding: 0 14px; font-size: .68rem; color: #7f93ad; white-space: nowrap; border-left: 1px solid rgba(255, 255, 255, .08);
	align-self: stretch; display: flex; align-items: center;
}
.market-ticker__credit:hover { color: #fff; }

.breaking { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.breaking__inner { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.breaking__label {
	flex: none; display: inline-flex; align-items: center; gap: 6px; background: var(--c-down); color: #fff;
	font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
}
.breaking__label .icon { animation: inv-pulse 1.6s ease-in-out infinite; }
.breaking__viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.breaking__track { display: flex; width: max-content; animation: inv-marquee 60s linear infinite; }
.breaking__viewport:hover .breaking__track, .breaking__viewport:focus-within .breaking__track { animation-play-state: paused; }
.breaking__track ul { list-style: none; margin: 0; padding: 0; display: flex; }
.breaking__track li { display: flex; align-items: center; gap: 8px; padding-right: 36px; white-space: nowrap; font-size: .9rem; font-weight: 600; }
.breaking__track li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.breaking__track time { color: var(--c-accent-ink); font-weight: 800; font-size: .8rem; }
@keyframes inv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes inv-pulse { 50% { opacity: .35; } }

/* ==========================================================================
   Tata letak
   ========================================================================== */
.site-main { padding-bottom: 56px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; margin-top: 28px; }
.content-col { min-width: 0; }

.block { margin-bottom: 40px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--c-border); margin-bottom: 20px; }
.block-title {
	position: relative; margin: 0; padding-bottom: 10px; font-size: 1.15rem; font-weight: 800;
	text-transform: uppercase; letter-spacing: .03em;
}
.block-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--cat, var(--c-accent)); border-radius: 3px; }
.block-more { display: inline-flex; align-items: center; gap: 4px; padding-bottom: 10px; font-size: .85rem; font-weight: 700; color: var(--c-muted); }
.block-more:hover { color: var(--c-accent-ink); }
.block-foot { margin: 22px 0 0; text-align: center; }

.ad-row { margin-top: 24px; display: flex; justify-content: center; }
.ad-slot { margin: 0 auto; text-align: center; }
.ad-slot__label { display: block; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }

/* ==========================================================================
   Kartu artikel
   ========================================================================== */
.card { position: relative; min-width: 0; }
.card__media { display: block; position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--c-surface-2); aspect-ratio: 16 / 9; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 8px;
	background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--cat, #12b76a) 55%, transparent) 0%, transparent 55%), linear-gradient(135deg, #0b1f3a, #1b3a66);
}
.card__placeholder .icon { color: var(--cat, #12b76a); }
.card__title { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s, color .15s; }
.card__title a:hover { background-size: 100% 1.5px; }
.card__excerpt { margin: 8px 0 0; color: var(--c-text-2); font-size: .93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--c-muted); font-size: .78rem; font-weight: 600; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.badge {
	--cat-ink: color-mix(in srgb, var(--cat, #12b76a) 62%, #000);
	display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 6px;
	font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.4;
	color: var(--c-accent-ink); color: var(--cat-ink);
	background: var(--c-accent-soft); background: color-mix(in srgb, var(--cat, #12b76a) 13%, transparent);
}
.badge:hover { color: var(--cat-ink); background: color-mix(in srgb, var(--cat, #12b76a) 22%, transparent); }
[data-theme="dark"] .badge { --cat-ink: color-mix(in srgb, var(--cat, #12b76a) 72%, #fff); }

/* Lead (headline) */
.card--lead { height: 100%; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--c-navy); isolation: isolate; }
.card--lead .card__media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.card--lead .card__body {
	position: absolute; inset: auto 0 0 0; padding: 32px; color: #fff; z-index: 1;
	background: linear-gradient(180deg, rgba(5, 14, 28, 0) 0%, rgba(5, 14, 28, .78) 38%, rgba(5, 14, 28, .95) 100%);
}
.card--lead .badge { background: var(--cat, #12b76a); color: #06121f; }
.card--lead .card__title { font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.18; letter-spacing: -.02em; }
.card--lead .card__title a:hover { color: #fff; }
.card--lead .card__excerpt { color: #d5deea; font-size: 1rem; max-width: 62ch; }
.card--lead .card__meta { color: #b3c1d4; }

/* Grid (gambar di atas) */
.card--grid .card__media { margin-bottom: 14px; }
.card--grid .card__title { font-size: 1.12rem; }

/* Row (daftar) */
.card--row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--c-border); }
.list .card--row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.card--row .card__title { font-size: 1.2rem; }

/* Side (thumbnail kecil) */
.card--side { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.card--side .card__media { aspect-ratio: 3 / 2; border-radius: 8px; }
.card--side .card__title { font-size: .95rem; line-height: 1.35; }
.card--side .card__meta { margin-top: 6px; }
.card--side .card__placeholder span { display: none; }

/* Mini */
.card--mini .badge { margin-bottom: 4px; padding: 0; background: none; font-size: .66rem; }
.card--mini .card__title { font-size: .95rem; line-height: 1.38; }
.card--mini .card__meta { margin-top: 5px; }

/* ==========================================================================
   Beranda
   ========================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; }
.hero__lead { min-width: 0; }
.hero__side {
	display: flex; flex-direction: column; gap: 16px; padding: 22px; background: var(--c-surface);
	border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--c-border);
}
.hero__side-title { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent-ink); }
.hero__side .card--side + .card--side { padding-top: 16px; border-top: 1px dashed var(--c-border); }

.list, .cat-block { background: var(--c-surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.cat-block { padding: 22px 24px 24px; }
.cat-block__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.cat-block__list { display: flex; flex-direction: column; gap: 16px; }
.cat-block__list .card--side + .card--side { padding-top: 16px; border-top: 1px dashed var(--c-border); }
.block > .list { margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.empty-state { margin-top: 40px; }
.empty-state__card {
	max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 32px; background: var(--c-surface);
	border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--c-border);
}
.empty-state__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--c-accent-soft); color: var(--c-accent-ink); margin-bottom: 16px; }
.empty-state__card h2 { font-size: 1.6rem; }
.empty-state__card p { color: var(--c-text-2); }
.empty-state__tips { text-align: left; margin: 28px auto 0; padding: 20px 20px 20px 40px; background: var(--c-surface-2); border-radius: 12px; color: var(--c-text-2); font-size: .92rem; max-width: 600px; }
.empty-state__tips li + li { margin-top: 6px; }

/* ==========================================================================
   Sidebar & widget
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--top-offset) + var(--nav-h) + 20px); }
.widget { background: var(--c-surface); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.widget-title, .widget h2.wp-block-heading, .widget .wp-block-search__label {
	display: flex; align-items: center; gap: 8px; position: relative; margin: 0 0 16px; padding-bottom: 10px;
	font-size: .95rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-bottom: 2px solid var(--c-border);
}
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 3px; background: var(--c-accent); border-radius: 3px; }
.widget-title span { display: inline-flex; align-items: center; gap: 8px; }
.widget-title .icon { color: var(--c-accent-ink); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--c-border); }
.widget li:last-child { border-bottom: 0; }
.widget a:hover { color: var(--c-accent-ink); }
.widget .wp-block-latest-posts__post-date { display: block; font-size: .78rem; color: var(--c-muted); }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.widget .wp-block-search__input { flex: 1; border: 1.5px solid var(--c-border); border-radius: 10px; padding: 9px 12px; background: var(--c-surface-2); color: var(--c-text); font: inherit; }
.widget .wp-block-search__button { border: 0; border-radius: 10px; padding: 0 14px; background: var(--c-navy); color: #fff; font-weight: 700; }

.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--c-border); counter-increment: pop; }
.popular-list li:first-child { padding-top: 0; }
.popular-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.popular-list li::before {
	content: counter(pop); font-size: 1.9rem; font-weight: 800; line-height: 1; color: transparent;
	-webkit-text-stroke: 1.5px var(--c-accent); font-variant-numeric: tabular-nums;
}
.popular-list li:first-child::before { color: var(--c-accent); }

.channel-list li { padding: 0; }
.channel-list a, .drawer__list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 700; }
.channel-list__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--cat, var(--c-accent)); flex: none; }
.channel-list__count { margin-left: auto; font-size: .75rem; font-weight: 700; color: var(--c-muted); background: var(--c-surface-2); padding: 2px 8px; border-radius: 999px; }

/* ==========================================================================
   Arsip
   ========================================================================== */
.archive-header { margin-top: 28px; padding: 28px 30px; background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--c-border); border-top: 4px solid var(--cat, var(--c-accent)); }
.archive-header--author { display: grid; grid-template-columns: auto 1fr; gap: 0 22px; align-items: start; }
.archive-header--author .breadcrumbs { grid-column: 1 / -1; }
.archive-header__avatar img { border-radius: 50%; }
.archive-header__eyebrow { margin: 0 0 4px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); }
.archive-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.archive-title__page { font-size: .55em; color: var(--c-muted); font-weight: 700; }
.archive-description { margin-top: 10px; color: var(--c-text-2); max-width: 75ch; }
.archive-description p:last-child { margin: 0; }
.archive-count { margin: 10px 0 0; font-size: .85rem; font-weight: 700; color: var(--c-muted); }
.archive-search { margin-top: 16px; max-width: 520px; }
.no-results { background: var(--c-surface); padding: 28px; border-radius: var(--radius); border: 1px solid var(--c-border); }

.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 10px; background: var(--c-surface); border: 1px solid var(--c-border); font-weight: 700; font-size: .9rem;
}
.pagination .page-numbers.current { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.pagination a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }

/* ==========================================================================
   Form pencarian
   ========================================================================== */
.search-form { display: flex; align-items: center; background: var(--c-surface-2); border: 1.5px solid var(--c-border); border-radius: 999px; padding: 4px 4px 4px 16px; }
.search-form:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.search-form__input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--c-text); font: inherit; font-size: 1rem; padding: 8px 4px; outline: none; }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form__btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--c-navy); color: #fff; }
.search-form__btn:hover { background: var(--c-accent); color: #04140b; }

/* ==========================================================================
   Artikel
   ========================================================================== */
.reading-progress { position: fixed; top: var(--top-offset); left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), #4ade80); transform-origin: 0 50%; transform: scaleX(0); }

.article { background: var(--c-surface); border-radius: var(--radius); padding: 32px 40px 36px; box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.breadcrumbs { margin-bottom: 14px; font-size: .8rem; font-weight: 600; color: var(--c-muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.breadcrumbs li[aria-current] span { display: inline-block; max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.breadcrumbs a:hover { color: var(--c-accent-ink); }
.breadcrumbs .icon { opacity: .6; }

.entry-header .badge { margin-bottom: 12px; }
.entry-title { margin: 0 0 14px; font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 800; line-height: 1.18; letter-spacing: -.025em; }
.entry-dek { font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.55; color: var(--c-text-2); margin: 0 0 18px; }
.entry-meta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	padding: 14px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); font-size: .83rem; color: var(--c-muted);
}
.entry-meta__author { display: flex; align-items: center; gap: 12px; }
.entry-meta__author img { border-radius: 50%; }
.entry-meta__by { display: block; color: var(--c-text); font-weight: 700; font-size: .92rem; }
.entry-meta__by a:hover { color: var(--c-accent-ink); }
.entry-meta__dates { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.meta-item { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.meta-item--updated { color: var(--c-accent-ink); }
.meta-item--read { background: var(--c-surface-2); padding: 5px 11px; border-radius: 999px; color: var(--c-text-2); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share--top { margin-top: 16px; }
.share__title { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-right: 4px; }
.share__btn {
	display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 0; color: #fff;
	transition: transform .15s, filter .15s;
}
.share__btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.share__btn--whatsapp { background: #25d366; }
.share__btn--facebook { background: #1877f2; }
.share__btn--x { background: #0f1419; }
.share__btn--telegram { background: #229ed9; }
.share__btn--linkedin { background: #0a66c2; }
.share__btn--copy { background: var(--c-surface-2); color: var(--c-text); border: 1px solid var(--c-border); }
.share__btn--copy:hover { color: var(--c-accent-ink); }
.share__btn--copy .icon-check { display: none; }
.share__btn--copy.is-copied { background: var(--c-accent); color: #04140b; }
.share__btn--copy.is-copied .icon-link { display: none; }
.share__btn--copy.is-copied .icon-check { display: inline; }
[data-theme="dark"] .share__btn--x { background: #2a3442; }

.entry-media { margin: 24px -40px 8px; }
.entry-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-media figcaption { padding: 10px 40px 0; font-size: .82rem; color: var(--c-muted); }

/* Isi artikel */
.entry-content { font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.8; color: var(--c-text); margin-top: 26px; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-sans); font-weight: 800; scroll-margin-top: calc(var(--top-offset) + var(--nav-h) + 16px); }
.entry-content h2 { font-size: 1.55rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.28rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.1rem; margin-top: 1.4em; }
.entry-content a { color: var(--c-accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--c-accent); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--c-accent-ink); font-family: var(--font-sans); font-weight: 700; }
.entry-content strong { font-weight: 700; }
.entry-content img { border-radius: 10px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-family: var(--font-sans); font-size: .82rem; color: var(--c-muted); text-align: center; margin-top: 8px; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-inline: 0; padding: 18px 24px; border-left: 4px solid var(--c-accent); background: var(--c-surface-2);
	border-radius: 0 12px 12px 0; font-size: 1.15rem; font-style: italic; color: var(--c-text-2);
}
.entry-content blockquote p:last-child { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--font-sans); font-size: .85rem; font-weight: 700; color: var(--c-muted); }
.entry-content .wp-block-pullquote { border-top: 3px solid var(--c-accent); border-bottom: 3px solid var(--c-accent); padding: 24px 0; text-align: center; }
.entry-content hr { border: 0; height: 1px; background: var(--c-border); margin: 2em 0; }
.entry-content code, .entry-content kbd { font-size: .88em; background: var(--c-surface-2); padding: 2px 6px; border-radius: 5px; }
.entry-content pre { background: #0b1f3a; color: #e6edf6; padding: 18px; border-radius: 12px; overflow-x: auto; font-size: .9rem; }
.entry-content pre code { background: none; padding: 0; }
.entry-content iframe { max-width: 100%; }
.entry-content .alignwide, .entry-content .alignfull { margin-inline: 0; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }

/* Tabel data keuangan */
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-sans); font-size: .92rem; font-variant-numeric: tabular-nums; }
.entry-content .wp-block-table, .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4em; }
.entry-content th { background: var(--c-navy); color: #fff; font-weight: 700; text-align: left; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--c-border); }
.entry-content tbody tr:nth-child(even) { background: var(--c-surface-2); }
.entry-content .wp-block-table thead { border-bottom: 0; }

/* Daftar isi */
.toc { margin: 1.6em 0; border: 1px solid var(--c-border); border-radius: 12px; background: var(--c-surface-2); font-family: var(--font-sans); font-size: .95rem; }
.toc summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 800; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.toc details[open] summary::after { transform: rotate(-135deg); }
.toc summary .icon { color: var(--c-accent-ink); }
.toc ol { margin: 0; padding: 0 18px 16px 18px; list-style: none; counter-reset: toc; }
.toc li { margin: 5px 0; display: flex; gap: 8px; }
.toc li::before { flex: none; color: var(--c-accent-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.toc .toc__l2 { counter-increment: toc; }
.toc .toc__l2::before { content: counter(toc) "."; min-width: 1.4em; }
.toc .toc__l3 { padding-left: 2em; font-size: .9rem; }
.toc .toc__l3::before { content: "–"; }
.entry-content .toc a { color: var(--c-text-2); text-decoration: none; }
.entry-content .toc a:hover { color: var(--c-accent-ink); text-decoration: underline; }

.disclaimer {
	display: flex; gap: 12px; margin: 30px 0 0; padding: 16px 18px; border-radius: 12px;
	background: color-mix(in srgb, var(--c-gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c-gold) 35%, transparent);
	font-size: .86rem; color: var(--c-text-2); line-height: 1.55;
}
.disclaimer .icon { color: var(--c-gold); margin-top: 1px; }
.disclaimer p { margin: 0; }

.entry-footer { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tags__label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-right: 4px; }
.tags a { padding: 6px 12px; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: .85rem; font-weight: 700; }
.tags a:hover { border-color: var(--c-accent); color: var(--c-accent-ink); }

.author-box { display: flex; gap: 18px; margin-top: 28px; padding: 22px; border-radius: 14px; background: var(--c-surface-2); border: 1px solid var(--c-border); }
.author-box__avatar img { border-radius: 50%; }
.author-box__label { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-ink); }
.author-box__name { margin: 2px 0 6px; font-size: 1.15rem; }
.author-box__bio { margin: 0 0 8px; color: var(--c-text-2); font-size: .93rem; }
.author-box__more { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--c-accent-ink); }
.after-content { margin-top: 24px; }

.related { margin-top: 32px; }
.related .card--grid .card__title { font-size: 1rem; }

.post-navigation { margin: 8px 0 32px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 16px 18px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 12px; box-shadow: var(--shadow); }
.post-navigation a:hover { border-color: var(--c-accent); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.nav-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-ink); margin-bottom: 4px; }
.nav-title { font-weight: 700; line-height: 1.35; }

.page-links { display: flex; gap: 6px; align-items: center; font-family: var(--font-sans); font-size: .9rem; font-weight: 700; }
.page-links a, .page-links > .post-page-numbers { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--c-border); }

/* Komentar */
.comments { background: var(--c-surface); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.comments__title, .comment-reply-title { font-size: 1.2rem; font-weight: 800; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--c-border); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .78rem; color: var(--c-muted); margin: 2px 0 8px 54px; }
.comment-content { margin-left: 54px; }
.reply { margin-left: 54px; font-size: .85rem; font-weight: 700; }
.reply a { color: var(--c-accent-ink); }
.comment-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; border: 1.5px solid var(--c-border); border-radius: 10px; background: var(--c-surface-2); color: var(--c-text); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; }
.comment-form-cookies-consent label { font-weight: 500; }

/* 404 */
.error-404 { margin-top: 32px; text-align: center; background: var(--c-surface); padding: 48px 24px; border-radius: 20px; border: 1px solid var(--c-border); box-shadow: var(--shadow); margin-bottom: 40px; }
.error-404__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--c-accent), var(--c-navy-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .search-form { max-width: 480px; margin: 0 auto 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; margin-top: 8px; background: #0b1f3a; color: #b6c3d6; font-size: .92rem; }
.site-footer::before {
	content: ""; display: block; height: 4px;
	background: linear-gradient(90deg, #f97316 0%, #a3c93a 28%, #12b76a 50%, #0ea5e9 75%, #2563eb 100%);
}
.site-footer a:hover { color: #fff; }

/* Pita CTA pencarian */
.footer-cta {
	position: relative; overflow: hidden; padding: 44px 0;
	background-color: #0e2546;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200' preserveAspectRatio='none'%3E%3Cpolygon points='0,200 0,170 60,150 110,160 170,112 230,126 290,82 350,96 410,52 470,66 530,26 600,36 600,200' fill='%2312b76a' fill-opacity='.07'/%3E%3Cpolyline points='0,170 60,150 110,160 170,112 230,126 290,82 350,96 410,52 470,66 530,26 600,36' fill='none' stroke='%2312b76a' stroke-opacity='.5' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 60% 100%, 32px 32px, 32px 32px;
	background-position: right bottom, 0 0, 0 0;
	background-repeat: no-repeat, repeat, repeat;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.footer-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.footer-cta__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #3ddc97; }
.footer-cta__title { margin: 0; color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; max-width: 22ch; }
.site-footer .search-form { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); padding: 5px 5px 5px 20px; }
.site-footer .search-form:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(18, 183, 106, .18); }
.site-footer .search-form__input { color: #fff; padding: 10px 4px; }
.site-footer .search-form__input::placeholder { color: #8ea0b8; }
.site-footer .search-form__btn { width: 46px; height: 46px; background: var(--c-accent); color: #04140b; }
.site-footer .search-form__btn:hover { background: #16c776; }
.footer-cta__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.footer-cta__tags a {
	display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #d6e0ee;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .15s, border-color .15s;
}
.footer-cta__tags a:hover { background: color-mix(in srgb, var(--cat, #12b76a) 22%, transparent); border-color: var(--cat, #12b76a); }

/* Kolom utama */
.footer-main {
	display: flow-root; padding-bottom: 8px;
	background-color: #0b1f3a;
	background-image:
		radial-gradient(700px 360px at 0% 0%, rgba(18, 183, 106, .09), transparent 65%),
		radial-gradient(700px 360px at 100% 100%, rgba(14, 165, 233, .09), transparent 65%);
}
.footer-grid { display: grid; gap: 40px; padding-top: 52px; padding-bottom: 36px; grid-template-columns: 1.6fr 1fr 1fr; }
.footer-grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1.35fr; }
.footer-grid--5 { grid-template-columns: 1.4fr 1fr 1fr 1.25fr 1.25fr; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 60px; width: auto; max-width: 240px; object-fit: contain; }
.footer-logo--badge img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 28px rgba(0, 0, 0, .3); }
.footer-brand { margin: 0; font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.footer-about { margin: 18px 0 0; line-height: 1.7; max-width: 46ch; }
.footer-follow { margin: 20px 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.social--footer { gap: 8px; }
.social--footer a { background: rgba(255, 255, 255, .08); color: #fff; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .08); }
.social--footer a:hover { background: var(--c-accent); color: #04140b; transform: translateY(-2px); }

.footer-title { position: relative; margin: 6px 0 18px; padding-bottom: 12px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #12b76a, #0ea5e9); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; transition: color .15s, transform .15s; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links--channels a { font-weight: 600; color: #d6e0ee; }

.footer-news { list-style: none; margin: 0; padding: 0; }
.footer-news li { padding: 0 0 12px; margin-bottom: 12px; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.footer-news li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.footer-news a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #e6edf6; font-weight: 700; line-height: 1.4; }
.footer-news time { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; font-size: .75rem; color: #8ea0b8; }

.site-footer .widget { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); box-shadow: none; color: #b6c3d6; }
.site-footer .widget-title { color: #fff; border-color: rgba(255, 255, 255, .1); }

.footer-bottom { background: #06142a; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; font-size: .82rem; color: #8ea0b8; }
.footer-bottom p { margin: 0; }
.footer-bottom p a { color: #d6e0ee; font-weight: 700; }

/* ==========================================================================
   Drawer, overlay pencarian, tombol ke atas
   ========================================================================== */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(4, 12, 24, .55); z-index: 998; backdrop-filter: blur(2px); }
.drawer {
	position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); z-index: 999; background: var(--c-surface);
	transform: translateX(-102%); transition: transform .25s ease, visibility .25s; visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 20px; background: var(--c-navy); color: #fff; }
.drawer__head .icon-btn { color: #fff; }
.drawer__head .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.drawer__brand { font-weight: 800; font-size: 1.1rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 20px 28px; }
.drawer__title { margin: 22px 0 4px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid var(--c-border); }
.drawer__list .icon { color: var(--c-accent-ink); }
.drawer__list--small { margin-top: 18px; }
.drawer__list--small a { font-weight: 600; font-size: .9rem; color: var(--c-text-2); padding: 8px 0; }
.drawer__foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.drawer__foot .social a { background: var(--c-surface-2); }
.theme-toggle--drawer { color: var(--c-text); border-color: var(--c-border); height: 36px; padding: 0 14px; font-weight: 700; font-size: .85rem; }
.theme-toggle--drawer:hover { background: var(--c-surface-2); }

.search-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(4, 12, 24, .72); backdrop-filter: blur(6px); padding-top: calc(var(--top-offset) + 12vh); }
.search-overlay[hidden] { display: none; }
.search-overlay__inner { position: relative; max-width: 720px; background: var(--c-surface); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.search-overlay__close { position: absolute; top: 10px; right: 10px; }
.search-overlay__title { margin: 0 0 14px; font-weight: 800; font-size: 1.2rem; }
.search-overlay .search-form { padding-left: 20px; }
.search-overlay .search-form__input { font-size: 1.15rem; padding: 12px 4px; }
.search-overlay__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.search-overlay__tags a { padding: 5px 12px; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: .85rem; font-weight: 700; }

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 46px; height: 46px; border-radius: 999px; border: 0;
	background: var(--c-navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-accent); color: #04140b; }

/* ==========================================================================
   WordPress core
   ========================================================================== */
.alignleft { float: left; margin-right: 1.4em; }
.alignright { float: right; margin-left: 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .82rem; color: var(--c-muted); }
.sticky, .bypostauthor { position: relative; }
.wp-block-image img { height: auto; }
.has-navy-color { color: #0b1f3a; } .has-navy-background-color { background-color: #0b1f3a; }
.has-hijau-color { color: #12b76a; } .has-hijau-background-color { background-color: #12b76a; }
.has-merah-color { color: #e5484d; } .has-merah-background-color { background-color: #e5484d; }
.has-emas-color { color: #d4a017; } .has-emas-background-color { background-color: #d4a017; }
.has-abu-color { color: #64748b; } .has-abu-background-color { background-color: #64748b; }
.has-latar-color { color: #f3f5f8; } .has-latar-background-color { background-color: #f3f5f8; }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1180px) {
	.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
	.card--row { grid-template-columns: 220px minmax(0, 1fr); }
	.site-description { display: none; }
}

@media (max-width: 1024px) {
	:root { --nav-h: 46px; }
	.topbar__menu { display: none; }
	.site-header__inner { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; min-height: 64px; padding-block: 8px; }
	.menu-toggle, .search-toggle { display: inline-grid; }
	.site-branding { justify-content: center; }
	.custom-logo { height: 46px; max-width: 200px; }
	.site-title { font-size: 1.4rem; text-align: center; }
	.header-ad { display: none; }

	/* Menu jadi strip geser horizontal */
	.nav-bar__inner { padding-inline: 0; }
	.main-navigation { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.main-navigation::-webkit-scrollbar { display: none; }
	.main-navigation .menu { flex-wrap: nowrap; }
	.main-navigation .menu > li > a { padding: 0 13px; font-size: .86rem; }
	.main-navigation .menu-item-has-children > a { padding-right: 13px; }
	.main-navigation .menu-item-has-children > a::before { display: none; }
	.main-navigation .sub-menu { display: none; }
	.nav-search { display: none; }

	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; }
	.hero { grid-template-columns: minmax(0, 1fr); }
	.card--lead { min-height: 0; aspect-ratio: 4 / 3; }
	.hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
	.hero__side-title { grid-column: 1 / -1; }
	.hero__side .card--side + .card--side { padding-top: 0; border-top: 0; }
	.footer-cta__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.footer-cta { background-size: 100% 70%, 32px 32px, 32px 32px; }
	.footer-grid, .footer-grid--4, .footer-grid--5 { grid-template-columns: 1fr 1fr; }
	.footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.topbar { display: none; }
	.article { padding: 22px 18px 26px; border-radius: 0; border-inline: 0; margin-inline: calc(var(--gutter) * -1); }
	.entry-media { margin-inline: -18px; }
	.entry-media figcaption { padding-inline: 18px; }
	.entry-content { font-size: 1.1rem; line-height: 1.75; }
	.card--row { grid-template-columns: 130px minmax(0, 1fr); gap: 14px; }
	.card--row .card__media { aspect-ratio: 4 / 3; }
	.card--row .card__title { font-size: 1rem; }
	.card--row .card__excerpt { display: none; }
	.card--row .badge { margin-bottom: 4px; }
	.cat-block__grid { grid-template-columns: minmax(0, 1fr); }
	.grid--3 { grid-template-columns: minmax(0, 1fr); }
	.grid--3 .card--grid { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; }
	.grid--3 .card--grid .card__media { margin: 0; aspect-ratio: 4 / 3; }
	.grid--3 .card--grid .card__title { font-size: .98rem; }
	.list, .cat-block { padding: 18px; }
	.archive-header { padding: 22px 20px; }
	.comments { padding: 22px 18px; }
	.post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); }
	.post-navigation .nav-next { grid-column: auto; }
}

@media (max-width: 560px) {
	:root { --gutter: 16px; }
	.hero { margin-top: 16px; gap: 16px; }
	.hero__lead { margin-inline: calc(var(--gutter) * -1); }
	.card--lead { border-radius: 0; aspect-ratio: auto; min-height: 380px; }
	.card--lead .card__body { padding: 20px var(--gutter); }
	.card--lead .card__excerpt { display: none; }
	.hero__side { grid-template-columns: minmax(0, 1fr); padding: 18px; }
	.hero__side .card--side + .card--side { padding-top: 14px; border-top: 1px dashed var(--c-border); }
	.card--side { grid-template-columns: 96px minmax(0, 1fr); }
	.breaking__label span, .breaking__label { font-size: .65rem; }
	.market-ticker__credit { display: none; }
	.footer-cta { padding: 32px 0; }
	.footer-grid, .footer-grid--4, .footer-grid--5 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 20px; padding-top: 40px; }
	.footer-col--brand, .footer-col--latest, .footer-col--widgets { grid-column: 1 / -1; }
	.footer-bottom__inner { flex-direction: column; justify-content: center; padding-block: 16px; text-align: center; }
	.footer-logo img { height: 52px; }
	.author-box { flex-direction: column; }
	.archive-header--author { grid-template-columns: minmax(0, 1fr); }
	.search-overlay__inner { margin-inline: 12px; width: auto; padding: 24px 18px; }
	.entry-meta { align-items: flex-start; }
	.empty-state__card { padding: 36px 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.breaking__viewport { overflow-x: auto; }
	.breaking__track ul[aria-hidden] { display: none; }
}

@media print {
	.topbar, .nav-bar, .market-ticker, .breaking, .sidebar, .share, .site-footer, .to-top, .drawer, .search-overlay, .related, .post-navigation, .comments, .reading-progress { display: none !important; }
	.layout { display: block; }
	.article { box-shadow: none; border: 0; padding: 0; }
	body { background: #fff; color: #000; }
}
