/*
Theme Name: Bright Nusantara
Theme URI: https://brightadvisor.co.id/
Author: Bright Advisor
Author URI: https://brightadvisor.co.id/
Description: Theme portal berita berbasis kategori oleh Bright Advisor (brightadvisor.co.id). Beranda berisi banyak blok kategori yang rapi (otomatis dari Menu Utama, di-cache), halaman kategori dengan sub-kanal, bar menu gelap. Satu font Plus Jakarta Sans disimpan di theme, tanpa jQuery, satu file CSS dan satu file JS kecil. Berita berjalan, menu samping, footer 4 kolom manual + peta situs, mode gelap, Baca Juga otomatis, slot iklan, views aman cache, schema NewsArticle.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 6.9
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: bright-advisor-magazine
Tags: news, blog, portal, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, dark-mode
*/

/* ---------- Font: Plus Jakarta Sans (disimpan di theme, Latin saja) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); }

/* ---------- Token ---------- */
:root {
	--accent: #16181d;
	--bg: #ffffff;
	--paper: #f4f4f1;
	--ink: #16181d;
	--ink-2: #4b5059;
	--muted: #80858e;
	--line: #e9e8e3;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--r: 10px;
	--r-lg: 14px;
	color-scheme: light;
}
html.dark {
	--accent: #f1f0ec;
	--bg: #111214;
	--paper: #1b1c1f;
	--ink: #f1f0ec;
	--ink-2: #c1c3c8;
	--muted: #8d9199;
	--line: #2a2b2f;
	color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.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: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--bg); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 24px; } }
.narrow { max-width: 820px; }
.icon { width: 20px; height: 20px; }

/* ---------- Top bar + berita berjalan ---------- */
.topbar { background: var(--paper); font-size: 13px; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.today { flex: none; white-space: nowrap; }
.top-menu { flex: none; list-style: none; display: flex; gap: 16px; white-space: nowrap; }
.top-menu a:hover { color: var(--ink); }
@media (max-width: 1023px) { .top-menu { display: none; } }
@media (max-width: 767px) { .today { display: none; } }
.ticker { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 40px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ticker-track { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
/* Selalu berjalan; berhenti hanya saat disorot / tombol jeda. */
.ticker-list { list-style: none; display: flex; flex: none; animation: ticker 75s linear infinite; will-change: transform; }
.ticker-track:hover .ticker-list, .ticker.is-paused .ticker-list { animation-play-state: paused; }
.ticker-list li { white-space: nowrap; padding-right: 32px; position: relative; }
.ticker-list li::after { content: ""; position: absolute; right: 13px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--line); }
.ticker-list a { color: var(--ink); font-weight: 600; }
.ticker-list a:hover { color: var(--muted); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.ticker-pause { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--muted); cursor: pointer; }
.ticker-pause:hover { color: var(--ink); border-color: var(--ink); }
.ticker-pause .tp-play, .ticker.is-paused .tp-pause { display: none; }
.ticker.is-paused .tp-play { display: inline; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 22px 12px; }
.mh-side { display: flex; align-items: center; gap: 6px; }
.mh-right { justify-content: flex-end; }
.brand { text-align: center; min-width: 0; }
.site-title { margin: 0; font: 800 clamp(1.9rem, 4.6vw, 3rem)/1 var(--font); letter-spacing: -0.045em; color: var(--ink); }
.site-title a:hover { color: var(--ink); }
.site-desc { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.custom-logo { max-height: 68px; width: auto; margin-inline: auto; }
.icon-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.icon-sun, html.dark .icon-moon { display: none; }
html.dark .icon-sun { display: block; }

.mainnav .wrap { overflow-x: auto; scrollbar-width: none; }
.mainnav .wrap::-webkit-scrollbar { display: none; }
.nav-menu { list-style: none; display: flex; gap: 4px; justify-content: center; white-space: nowrap; width: max-content; min-width: 100%; padding-bottom: 12px; }
.nav-menu > li > a { display: block; padding: 8px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.nav-menu > li > a:hover { background: var(--paper); color: var(--ink); }
.nav-menu > .current-menu-item > a, .nav-menu > .current-post-ancestor > a, .nav-menu > .current-menu-parent > a, .nav-menu > .current-category-ancestor > a { background: var(--ink); color: var(--bg); }
.nav-menu .sub-menu { display: none; }
@media (min-width: 1024px) {
	.mainnav .wrap { overflow: visible; }
	.nav-menu li { position: relative; }
	.nav-menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 210px; padding: 8px; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
	.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { display: block; }
	.nav-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; }
	.nav-menu .sub-menu a:hover { background: var(--paper); }
}
@media (max-width: 767px) {
	.masthead { grid-template-columns: auto minmax(0, 1fr) auto; padding-block: 14px 8px; gap: 4px; }
	.mh-side { gap: 0; }
	.icon-btn { width: 36px; height: 36px; }
	.site-title { font-size: clamp(1.4rem, 6.6vw, 2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.site-desc { display: none; }
	.custom-logo { max-height: 42px; }
	.nav-menu { justify-content: flex-start; padding-bottom: 10px; }
	.nav-menu > li > a { padding: 7px 13px; font-size: 14px; }
	.mainnav .wrap { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}

.stickybar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-105%); transition: transform .2s ease; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.stickybar[hidden] { display: none; }
.is-stuck .stickybar { transform: none; }
.admin-bar .stickybar { top: 32px; }
@media (max-width: 782px) { .admin-bar .stickybar { top: 46px; } }
.stickybar-inner { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 56px; }
.stickybar-title { text-align: center; font: 800 1.3rem/1 var(--font); letter-spacing: -0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.no-scroll { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(10,10,12,.45); opacity: 0; transition: opacity .2s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); overflow-y: auto; background: var(--bg); padding: 16px 22px 32px; transform: translateX(-100%); transition: transform .22s ease; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.drawer.is-open .drawer-overlay { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-title { font: 800 1.3rem/1 var(--font); letter-spacing: -0.04em; }
.drawer .search-form { margin-bottom: 16px; }
.drawer-menu { list-style: none; display: grid; gap: 2px; }
.drawer-menu > li > a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.drawer-menu > li > a:hover { background: var(--paper); color: var(--ink); }
.drawer-menu .sub-menu { list-style: none; padding: 2px 0 10px 24px; display: grid; gap: 6px; }
.drawer-menu .sub-menu a { font-size: 15px; color: var(--ink-2); }
.drawer .footer-sitemap { columns: 2 140px; padding-block: 22px 0; margin-top: 16px; border-top: 1px solid var(--line); }
.drawer .sitemap-head { font-size: 14px; }
.drawer .sitemap-group li a { font-size: 14.5px; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-overlay, .stickybar { transition: none; } }

.search-panel { padding-block: 14px; border-top: 1px solid var(--line); background: var(--bg); }
.search-form { display: flex; gap: 8px; max-width: 640px; margin-inline: auto; }
.search-field { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.search-field:focus { outline: none; border-color: var(--ink); background: var(--bg); }
.search-submit, .more-btn, .comment-form .submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; }
.search-submit:hover, .more-btn:hover, .comment-form .submit:hover { opacity: .85; color: var(--bg); }

/* ---------- Kartu ---------- */
.card { position: relative; min-width: 0; }
.thumb { display: block; overflow: hidden; border-radius: var(--r); background: var(--paper); aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.03); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: var(--paper); }
.ph span { font: 800 clamp(1.25rem, 5vw, 2.75rem)/1 var(--font); color: var(--line); }
.cat-label { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cat-label:hover { background: var(--ink); color: var(--bg); }
.card-title { font-weight: 800; letter-spacing: -0.02em; text-wrap: pretty; color: var(--ink); }
.card-title a:hover { color: var(--muted); }
.card-excerpt { color: var(--ink-2); margin: 8px 0 0; font-size: 15px; line-height: 1.55; }
.card-meta { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* Cover story */
.card-cover { display: grid; gap: 20px; }
.card-cover .thumb { border-radius: var(--r-lg); aspect-ratio: 16 / 10; }
.card-cover .card-title { font-size: clamp(1.75rem, 3.1vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.card-cover .card-body > .cat-label { align-self: flex-start; }
.card-cover .card-excerpt { font-size: 17px; margin-top: 14px; }
.card-cover .card-meta { margin-top: 16px; }
@media (min-width: 900px) {
	.card-cover { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; align-items: stretch; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
	.card-cover .thumb { border-radius: 0; aspect-ratio: auto; min-height: 440px; height: 100%; }
	.card-cover .card-body { display: flex; flex-direction: column; justify-content: center; padding: 44px 48px; }
	.card-cover .cat-label { background: var(--bg); }
}

.card-lead .thumb { margin-bottom: 14px; }
.card-lead .card-title { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -0.03em; }
.card-stack .thumb { margin-bottom: 14px; }
.card-stack .card-title { font-size: 1.12rem; line-height: 1.32; }
.card-row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.card-row .thumb { aspect-ratio: 1; border-radius: 12px; }
.card-row .card-title { font-size: 1.05rem; line-height: 1.32; }
.card-row .card-excerpt { display: none; }
.card-row .cat-label { margin-bottom: 6px; }
@media (min-width: 768px) {
	.card-row { grid-template-columns: 240px 1fr; gap: 24px; }
	.card-row .thumb { aspect-ratio: 4 / 3; border-radius: var(--r); }
	.card-row .card-title { font-size: 1.3rem; }
	.card-row .card-excerpt { display: block; }
}
.card-mini { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.card-mini .thumb { aspect-ratio: 1; border-radius: 10px; }
.card-mini .card-title { font-size: .98rem; line-height: 1.32; }
.card-mini .card-meta { margin-top: 4px; }
.list-num { counter-reset: n; }
.card-num { display: grid; grid-template-columns: 40px 1fr; gap: 10px; counter-increment: n; }
.card-num::before { content: counter(n, decimal-leading-zero); font: 800 1.35rem/1.15 var(--font); color: var(--muted); letter-spacing: -0.03em; }
.card-num .card-title, .card-text .card-title { font-size: 1rem; line-height: 1.35; }
.card-num .card-meta, .card-text .card-meta { margin-top: 6px; }
.card-time { display: grid; grid-template-columns: 50px 1fr; gap: 12px; }
.tl-time { font-size: 13px; font-weight: 800; color: var(--muted); padding-top: 2px; }
.card-time .card-title { font-size: 1rem; line-height: 1.35; }
.card-time .cat-label { margin-bottom: 6px; }

.list { display: grid; }
.list > .card { padding-block: 16px; border-top: 1px solid var(--line); }
.list > .card:first-child { padding-top: 0; border-top: 0; }
.list-row > .card { padding-block: 22px; }

.grid-3, .grid-4 { display: grid; gap: 32px 28px; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) {
	.grid-3 > .card + .card, .grid-4 > .card + .card { display: grid; grid-template-columns: 1fr 104px; gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); margin-top: -12px; }
	.grid-3 > .card + .card .thumb, .grid-4 > .card + .card .thumb { order: 2; margin: 0; aspect-ratio: 1; border-radius: 12px; }
	.grid-3 > .card + .card .card-excerpt, .grid-4 > .card + .card .card-excerpt { display: none; }
}

/* ---------- Judul bagian ---------- */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sec-title, .widget-title { font: 800 24px/1.15 var(--font); color: var(--ink); letter-spacing: -0.03em; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sec-more:hover { border-color: var(--ink); color: var(--ink); }
.sec-more .icon { width: 15px; height: 15px; }

/* ---------- Beranda ---------- */
.cover { padding-top: 28px; }
.popular-strip, .picks, .catblock { padding-top: 52px; }
.strip { display: grid; gap: 18px 28px; }
@media (min-width: 640px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip > .card { padding-top: 16px; border-top: 2px solid var(--ink); }
.layout { display: grid; gap: 44px; padding-block: 52px 24px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; } .no-sidebar .layout { grid-template-columns: minmax(0, 1fr); } }
.main-col > section + section { margin-top: 44px; }
.more-btn { margin-top: 18px; }
.more-btn .icon { width: 17px; height: 17px; }
.catblock:last-of-type { padding-bottom: 24px; }

/* ---------- Iklan ---------- */
.ad { display: flex; justify-content: center; margin-block: 24px; overflow: hidden; }
.ad img { margin-inline: auto; }

/* ---------- Sidebar & widget ---------- */
.sidebar { min-width: 0; }
.widget { margin-bottom: 36px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); }
.widget .widget-title { font-size: 19px; margin-bottom: 18px; }
.widget .list > .card { border-color: var(--line); }
html:not(.dark) .widget .list > .card { border-color: #e2e1db; }
.widget .cat-label { background: var(--bg); }
.widget ul:not(.list) { list-style: none; }
.widget li:not(.card) { padding-block: 8px; border-top: 1px solid var(--line); }
.widget li:not(.card):first-child { border-top: 0; padding-top: 0; }

/* ---------- Arsip ---------- */
.archive-head { padding-block: 36px 28px; text-align: center; }
.kicker { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.archive-title { font: 800 clamp(2rem, 5vw, 3.2rem)/1.05 var(--font); letter-spacing: -0.04em; }
.archive-desc { max-width: 680px; margin: 12px auto 0; color: var(--ink-2); }
.archive-desc p:last-child { margin: 0; }
.archive-head .search-form { margin-top: 18px; }
.archive-head .chips { justify-content: center; }
.archive-lead { padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.archive-lead + .list-row > .card:first-child { padding-top: 22px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--paper); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chips a:hover { background: var(--ink); color: var(--bg); }
.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 14.5px; }
.page-numbers.current { background: var(--ink); color: var(--bg); }
.page-numbers.dots { background: none; }
.empty, .notfound { padding: 48px 0; text-align: center; }
.empty .search-form, .notfound .search-form { margin: 20px auto 0; }
.notfound-code { font: 800 clamp(5rem, 18vw, 9rem)/1 var(--font); color: var(--line); margin: 0; letter-spacing: -0.06em; }
.notfound h1 { font: 800 1.75rem/1.2 var(--font); margin: 8px 0 10px; letter-spacing: -0.03em; }

/* ---------- Artikel ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .progress { top: 32px; }
.single-article { min-width: 0; }
.single-article > .entry-header { max-width: 900px; padding-block: 36px 8px; text-align: center; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs li:last-child a { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.entry-title { margin-top: 16px; font: 800 clamp(2rem, 4.6vw, 3.4rem)/1.08 var(--font); letter-spacing: -0.04em; text-wrap: balance; }
.entry-dek { max-width: 720px; margin: 18px auto 0; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); }
.entry-meta { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; text-align: left; }
.meta-avatar { border-radius: 50%; }
.meta-text { display: grid; font-size: 13.5px; line-height: 1.45; }
.meta-author { font-weight: 800; }
.meta-line { color: var(--muted); }
.meta-line .dot { margin-inline: 4px; }
.entry-figure { margin: 28px auto 0; }
.entry-figure img { width: 100%; border-radius: var(--r-lg); }
@media (min-width: 900px) { .entry-figure img { aspect-ratio: 2 / 1; object-fit: cover; } }
.entry-figure figcaption, .wp-caption-text, .wp-element-caption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; text-align: center; }
.single-layout { padding-top: 32px; }
.single-main { min-width: 0; max-width: 760px; }
.single-main > .share-compact { margin-bottom: 8px; }

.entry-content { margin-top: 18px; font-size: 1.1rem; line-height: 1.8; color: var(--ink); overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.35em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-weight: 800; letter-spacing: -0.025em; margin-top: 1.7em; margin-bottom: .6em; line-height: 1.25; }
.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.3rem; }
.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-bottom: .4em; }
.entry-content img { border-radius: var(--r); }
.entry-content figure { margin-inline: 0; }
.entry-content blockquote { margin-inline: 0; padding: 22px 26px; border-radius: var(--r-lg); background: var(--paper); font-size: 1.28rem; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; }
.entry-content blockquote::before { content: "\201C"; display: block; height: .55em; font-size: 3rem; line-height: 1; font-weight: 800; color: var(--muted); }
.entry-content blockquote p { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content pre { overflow-x: auto; padding: 16px; background: var(--paper); border-radius: var(--r); font-size: 14px; }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: .3em 1.2em .8em 0; }
.alignright { float: right; margin: .3em 0 .8em 1.2em; }
.read-also { display: grid; gap: 4px; margin-block: 0 1.35em !important; padding: 16px 20px; border-radius: var(--r); background: var(--paper); }
.read-also span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.entry-content .read-also a { text-decoration: none; font-weight: 800; font-size: 1.05rem; line-height: 1.35; letter-spacing: -0.015em; }
.entry-content .read-also a:hover { color: var(--muted); }
.page-links { font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.entry-footer { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.tags { margin-top: 0; }
.tags a::before { content: "#"; }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 13.5px; font-weight: 600; line-height: 1; transition: background .15s, color .15s; }
.share-btn .icon { width: 18px; height: 18px; flex: none; }
.share-btn[hidden] { display: none; }
.share-btn:hover { color: #fff; }
.s-wa:hover { background: #1fa855; }
.s-fb:hover { background: #1877f2; }
.s-x:hover, .s-threads:hover { background: #111; }
.s-tg:hover { background: #229ed9; }
.s-line:hover { background: #06b84f; }
.s-more:hover, .s-copy:hover { background: var(--ink); color: var(--bg); }
.share-compact { gap: 6px; }
.share-compact .share-btn { width: 38px; height: 38px; padding: 0; }
.share-compact .share-btn span, .share-compact .s-copy { display: none; }
.share-dock { display: none; }
@media (max-width: 767px) {
	.share-dock { display: flex; flex-wrap: nowrap; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
	.share-dock.is-on { transform: none; }
	.share-dock .share-btn { width: 44px; height: 44px; padding: 0; flex: none; }
	.share-dock .share-btn span { display: none; }
	.share-dock .s-wa { flex: 1; width: auto; padding: 0 16px; background: var(--ink); color: var(--bg); }
	.share-dock .s-wa span { display: inline; font-size: 15px; }
	.single .site-footer { padding-bottom: 64px; }
}

.author-box { display: flex; gap: 16px; margin-top: 32px; padding: 22px; border-radius: var(--r-lg); background: var(--paper); }
.author-box img { border-radius: 50%; flex: none; }
.author-name { margin: 0 0 4px; font-weight: 800; }
.author-bio { margin: 0; font-size: 15px; color: var(--ink-2); }
.related { margin-top: 48px; }

/* ---------- Komentar ---------- */
.comments { margin-top: 48px; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; border-left: 1px solid var(--line); }
.comment-body { padding-block: 16px; border-top: 1px solid var(--line); font-size: 15.5px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px 50px; }
.comment-content { margin-left: 50px; }
.reply { margin-left: 50px; font-size: 13.5px; font-weight: 600; }
.comment-reply-title { font: 800 1.35rem var(--font); letter-spacing: -0.03em; margin: 24px 0 12px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Footer (flat & netral) ---------- */
.site-footer { position: relative; margin-top: 56px; background: var(--paper); color: var(--ink); font-size: 15.5px; }
.footer-head { display: grid; gap: 32px; padding-block: 48px 36px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .footer-head { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
@media (min-width: 768px) { .footer-head.has-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-head.has-cols { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; } }
.footer-name { margin: 0 0 10px; font: 800 1.8rem/1 var(--font); letter-spacing: -0.045em; }
.site-footer .custom-logo, .footer-brand img { margin-inline: 0; max-width: 220px; height: auto; }
.footer-about { max-width: 380px; margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.footer-brand .widget + .widget { margin-top: 14px; }
.footer-brand .widget p, .footer-col .widget p { margin: 0 0 .6em; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.footer-col .widget + .widget { margin-top: 24px; }
.site-footer .widget { margin-bottom: 0; padding: 0; background: none; border-radius: 0; }
.site-footer .widget-title { font-size: 15px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 14px; }
.footer-col .widget li:not(.card) { padding-block: 5px; border: 0; }
.footer-col .widget li:not(.card) a { color: var(--ink-2); }
.footer-col .widget li:not(.card) a:hover { color: var(--ink); }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg); color: var(--ink-2); }
.footer-social a:hover { background: var(--ink); color: var(--bg); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-h { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--ink); }
.footer-follow-text { margin: -4px 0 12px; font-size: 14.5px; color: var(--ink-2); }
.follow-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.follow-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 14px; background: var(--ink); color: var(--bg); border-radius: 999px; line-height: 1.1; }
.follow-btn:hover { opacity: .85; color: var(--bg); }
.follow-btn .icon { width: 22px; height: 22px; }
.follow-btn span { display: grid; font-size: 14px; font-weight: 800; }
.follow-btn small { font-size: 10.5px; font-weight: 400; opacity: .8; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.footer-contact .icon { flex: none; width: 18px; height: 18px; color: var(--muted); margin-top: 1px; }
.footer-sitemap { columns: 2 150px; column-gap: 28px; padding-block: 36px 12px; }
@media (min-width: 768px) { .footer-sitemap { columns: 4 170px; } }
@media (min-width: 1100px) { .footer-sitemap { columns: 6 160px; } }
.sitemap-group { break-inside: avoid; margin-bottom: 26px; }
.sitemap-head { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--ink); }
.sitemap-head a { color: inherit; }
.sitemap-group ul { list-style: none; display: grid; gap: 8px; }
.sitemap-group li a { color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.sitemap-group li a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 18px 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; flex-basis: 100%; }
.footer-menu a { color: var(--ink-2); }
.footer-menu a:hover { color: var(--ink); }
.copyright, .credit { margin: 0; }
.credit a { color: var(--ink); font-weight: 800; }
.to-top { position: absolute; right: 24px; top: -21px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.to-top:hover { color: var(--bg); opacity: .85; }
@media (max-width: 767px) { .single .to-top { display: none; } }

/* ---------- Blok WP ---------- */
.wp-block-image figcaption { text-align: left; }
.wp-block-embed { margin-inline: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .share-dock { transition: none; } .thumb img { transition: none; } }


/* =========================================================
   Bright Nusantara — gaya portal berita berbasis kategori
   ========================================================= */
body { font-size: 16px; }

/* Bar menu gelap */
.site-header { border-bottom: 0; }
.masthead { padding-block: 20px 18px; }
.mainnav { background: #16181d; }
html.dark .mainnav { background: #000; border-block: 1px solid var(--line); }
.nav-menu { gap: 0; padding-bottom: 0; }
.nav-menu > li > a { padding: 14px 15px; border-radius: 0; color: #e6e7ea; font-weight: 600; font-size: 14.5px; }
.nav-menu > li > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-menu > .current-menu-item > a, .nav-menu > .current-post-ancestor > a,
.nav-menu > .current-menu-parent > a, .nav-menu > .current-category-ancestor > a { background: rgba(255,255,255,.14); color: #fff; }
.nav-menu .sub-menu a { color: var(--ink); }
@media (max-width: 767px) {
	.nav-menu > li > a { padding: 12px 13px; font-size: 14px; }
	.mainnav .wrap { padding-inline: 8px; }
}

/* Kepala blok */
.sec-head { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.sec-title, .widget-title { font-size: 21px; letter-spacing: -0.025em; }
.sec-title::before { content: ""; display: inline-block; width: 6px; height: .85em; margin-right: 10px; border-radius: 2px; background: var(--ink); vertical-align: -1px; }
.sec-title a:hover { color: var(--muted); }
.cat-head { flex-wrap: wrap; justify-content: flex-start; gap: 6px 18px; }
.cat-head .sec-more { margin-left: auto; height: auto; padding: 0; border: 0; font-size: 13.5px; }
.cat-head .sec-more:hover { color: var(--ink); }
.sec-subs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; font-weight: 600; }
.sec-subs a { color: var(--muted); }
.sec-subs a:hover { color: var(--ink); }
@media (max-width: 639px) { .sec-subs { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; scrollbar-width: none; } }
.widget .widget-title::before { display: none; }

/* Kartu lebih rapat */
.thumb { aspect-ratio: 16 / 10; }
.cat-label { padding: 0; background: none; border-radius: 0; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cat-label:hover { background: none; color: var(--ink); }
.card-stack .card-title { font-size: 1.06rem; line-height: 1.3; }
.card-stack .thumb { margin-bottom: 10px; }
.card-mini { grid-template-columns: 1fr 96px; }
.card-mini .thumb { order: 2; aspect-ratio: 4 / 3; border-radius: 8px; }
.card-mini .card-title { font-size: .98rem; }
.list > .card { padding-block: 13px; }
.list-text > .card { padding-block: 11px; }
.list-text .card-title { font-size: .98rem; line-height: 1.35; }

/* Berita utama */
.headline { display: grid; gap: 24px; padding-top: 26px; }
.hl-lead .card-title { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.12; }
.hl-lead .thumb { aspect-ratio: 16 / 9; margin-bottom: 14px; }
@media (min-width: 900px) { .headline { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; } }
@media (min-width: 1180px) {
	.headline { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 290px; }
	.hl-pop { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (min-width: 900px) and (max-width: 1179px) { .hl-pop { grid-column: 1 / -1; } }
.hl-pop .sec-head { border-bottom-width: 2px; }

/* Blok kategori */
.catsec, .catpair { margin-top: 44px; }
.catpair > .catsec { margin-top: 0; }
.cs-feature { display: grid; gap: 22px; }
@media (min-width: 768px) {
	.cs-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
	.cs-feature > .card-stack .card-title { font-size: 1.45rem; line-height: 1.22; }
	.cs-feature > .card-stack .thumb { aspect-ratio: 16 / 9; }
}
.catpair { display: grid; gap: 44px 40px; }
@media (min-width: 768px) { .catpair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .subcats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.catsec-half > .card-stack { padding-bottom: 6px; }
.catsec-half .list-text { border-top: 1px solid var(--line); margin-top: 8px; }
.catsec-half .list-text > .card:first-child { padding-top: 11px; }
.grid-4 { gap: 28px 24px; }
.grid-2 { display: grid; gap: 22px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }

/* Halaman kategori */
.cat-hero { text-align: left; padding-block: 30px 6px; }
.cat-hero .archive-desc { margin-inline: 0; }
.cat-hero .chips { justify-content: flex-start; }
.cat-top { padding-top: 18px; }
@media (min-width: 900px) { .cat-top { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.subcats { margin-top: 40px; }
.layout { padding-top: 44px; }
.widget { border-radius: var(--r-lg); }
.catsec-half .cat-label { display: none; }
.catsec-half > .card-stack .thumb { aspect-ratio: 2 / 1; }
.catsec-half > .card-stack .card-title { font-size: 1.15rem; }
.catsec-half .list-text .card-meta { margin-top: 4px; }
@media (max-width: 767px) { .site-title { font-size: clamp(1.05rem, 5vw, 2rem); letter-spacing: -0.035em; } }
