/*
Theme Name: Infopasundan
Theme URI: https://infopasundan.id
Author: Infopasundan.id
Description: Tema portal berita untuk Infopasundan.id dengan tata letak bersih ala media nasional, warna biru khas Persib, BACA JUGA otomatis, halaman wajib media siber (Redaksi, Kontak, Tentang Kami, Karir, Pedoman Media Siber, Kebijakan Privasi, Saran dan Kritik), ramah desktop dan mobile.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
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: infopasundan
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images
*/

/* ===================== Tokens ===================== */
:root {
	--biru: #0053a0;          /* Biru Persib */
	--biru-tua: #003a75;
	--navy: #001c40;
	--biru-terang: #2f7fd3;
	--biru-muda: #eaf2fb;
	--ink: #111418;
	--ink-2: #3c4350;
	--muted: #6b7380;
	--line: #e4e7ec;
	--bg: #ffffff;
	--bg-soft: #f5f7fa;
	--radius: 10px;
	--font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-read: "Source Serif 4", Georgia, "Times New Roman", serif;
	--container: 1200px;
	--gutter: 16px;
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--biru); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--biru-terang); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--biru); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ===================== Topbar ===================== */
.topbar { background: var(--navy); color: #c9d6ea; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 34px; }
.topbar .today { font-weight: 500; }
.top-links { margin-left: auto; }
.top-links .menu, .menu { list-style: none; margin: 0; padding: 0; }
.top-links .menu { display: flex; gap: 18px; }
.top-links a:hover { color: #fff; }
.social { display: flex; gap: 6px; align-items: center; }
.social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; }
.social .icon { width: 16px; height: 16px; }
.social-top a { color: #c9d6ea; }
.social-top a:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ===================== Masthead ===================== */
.masthead { background: #fff; }
.masthead-inner { display: flex; align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 14px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; }
.brand-link { display: block; }
.site-logo-img { height: 66px; width: auto; }
.slogan { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--biru); margin-top: 4px; padding-left: 2px; }
.masthead-ad { flex: 1; display: flex; justify-content: center; min-width: 0; }
.masthead-ad img { max-height: 90px; width: auto; }
.head-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; width: 280px; background: var(--bg-soft); transition: border-color .2s, background .2s; }
.head-search:focus-within { border-color: var(--biru); background: #fff; }
.head-search input { border: 0; background: transparent; flex: 1; font: inherit; font-size: 14px; outline: none; min-width: 0; }
.head-search button { border: 0; background: var(--biru); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.head-search button .icon { width: 16px; height: 16px; }
.icon-btn { display: none; border: 0; background: transparent; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); color: var(--biru); }

/* ===================== Channel nav ===================== */
.catnav { background: var(--biru); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.admin-bar .catnav { top: 32px; }
.catnav .menu { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.catnav .menu::-webkit-scrollbar { display: none; }
.catnav li { flex-shrink: 0; }
.catnav a { display: block; padding: 13px 14px; color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; position: relative; opacity: .92; }
.catnav a:hover { color: #fff; opacity: 1; background: rgba(255,255,255,.08); }
.catnav .current-menu-item > a, .catnav .current-category-ancestor > a { opacity: 1; }
.catnav .current-menu-item > a::after, .catnav .current-category-ancestor > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: #fff; border-radius: 3px 3px 0 0; }
.scrolled .catnav { box-shadow: 0 6px 18px rgba(0,28,64,.18); }

/* ===================== Ticker ===================== */
.ticker { border-bottom: 1px solid var(--line); background: #fff; }
.ticker-inner { display: flex; align-items: center; gap: 14px; height: 42px; overflow: hidden; }
.ticker-label { flex-shrink: 0; background: var(--biru-muda); color: var(--biru); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; display: flex; align-items: center; gap: 6px; }
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0362c; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 40px; width: max-content; animation: ticker 60s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move a { font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.ticker-move a::before { content: "•"; color: var(--biru); margin-right: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } html { scroll-behavior: auto; } }

/* ===================== Labels & titles ===================== */
.cat-label { display: inline-block; color: var(--biru); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.cat-label:hover { color: var(--biru-tua); }
.section-title { font-size: 20px; font-weight: 800; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; letter-spacing: -.01em; }
.section-title span { position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--biru); border-radius: 2px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); margin-bottom: 18px; position: relative; }
.section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; background: var(--biru); }
.section-head .section-title { border: 0; margin: 0; }
.section-head .section-title::after { display: none; }
.more { font-size: 13px; font-weight: 700; color: var(--biru); padding-bottom: 12px; display: inline-flex; align-items: center; gap: 4px; }
.more .icon { width: 16px; height: 16px; }

/* ===================== Cards ===================== */
.card { position: relative; }
.card-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--biru-muda); aspect-ratio: 16 / 9; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.32; margin: 0; letter-spacing: -.01em; }
.card-title a:hover { color: var(--biru); }
.card-excerpt { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.card-card .card-body { padding-top: 12px; }

.card-lead .card-media { border-radius: 12px; }
.card-lead .card-body { padding-top: 16px; }
.card-lead .card-title { font-size: 32px; line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
.card-lead .card-excerpt { font-size: 16px; -webkit-line-clamp: 3; }

.card-hero .card-body { padding-top: 14px; }
.card-hero .card-title { font-size: 24px; line-height: 1.22; font-weight: 800; }

.card-list { display: grid; grid-template-columns: 1fr 200px; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.card-list .card-media { order: 2; }
.card-list .card-body { order: 1; }
.card-list .card-title { font-size: 19px; }
.card-list:first-child { padding-top: 0; }

.card-mini .card-title { font-size: 15px; }

/* ===================== Layout ===================== */
.site-main { padding: 24px 0 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.content { min-width: 0; }
.sidebar { position: relative; }
.sticky-side { position: sticky; top: 72px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; align-content: start; }
.hero-side .card-title { font-size: 15.5px; }

/* Category sections */
.cat-section { margin-top: 48px; }
.cat-feature .cat-posts { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0 32px; }
.cat-feature .card-hero { grid-row: span 3; }
.cat-feature .card-list { grid-template-columns: 1fr 140px; padding: 14px 0; }
.cat-feature .card-list:nth-child(2) { padding-top: 0; }
.cat-feature .card-list .card-title { font-size: 16px; }
.cat-feature .card-list:last-child { border-bottom: 0; }
.cat-grid .cat-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--biru); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 14.5px; transition: background .2s; }
.btn:hover { background: var(--biru-tua); color: #fff; }
.btn-outline { background: #fff; color: var(--biru); border: 1.5px solid var(--biru); }
.btn-outline:hover { background: var(--biru); color: #fff; }
.btn-block { width: 100%; margin-top: 24px; }
.btn .icon { width: 18px; height: 18px; }

/* Popular */
.widget { margin-bottom: 32px; }
.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.popular-list li { counter-increment: pop; border-bottom: 1px solid var(--line); }
.popular-list li:last-child { border-bottom: 0; }
.popular-list a { display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; gap: 4px 0; }
.popular-list a::before { content: counter(pop); grid-row: span 2; font-size: 30px; font-weight: 800; color: var(--biru); line-height: 1; opacity: .9; }
.pop-title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.pop-meta { font-size: 12px; color: var(--muted); }
.ad-slot { text-align: center; margin: 0 auto 24px; }
.ad-slot img { margin: 0 auto; }

/* ===================== Archive ===================== */
.archive-head { padding: 8px 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--biru); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.archive-title { font-size: 36px; font-weight: 800; margin: 4px 0 6px; letter-spacing: -.02em; }
.archive-desc { color: var(--muted); }
.archive-page .card-lead { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.big-search { display: flex; gap: 8px; margin-top: 16px; max-width: 560px; }
.big-search input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; min-width: 0; }
.big-search input:focus { border-color: var(--biru); outline: none; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-flex; min-width: 40px; height: 40px; padding: 0 12px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.page-numbers.current, .page-numbers:hover { background: var(--biru); border-color: var(--biru); color: #fff; }
.empty { padding: 40px 0; }

/* ===================== Single ===================== */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--biru), var(--biru-terang)); transform-origin: 0 50%; transform: scaleX(0); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--biru); }
.article-head { margin-bottom: 20px; }
.article-title { font-size: 38px; line-height: 1.16; font-weight: 800; margin: 4px 0 14px; letter-spacing: -.025em; }
.article-lead { font-family: var(--font-read); font-size: 20px; line-height: 1.5; color: var(--ink-2); margin: 0 0 18px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline { display: flex; gap: 10px; align-items: center; }
.byline .avatar { border-radius: 50%; width: 40px; height: 40px; }
.byline .author { display: block; font-weight: 700; font-size: 14px; }
.byline .author a { color: var(--biru); }
.byline .date { display: block; font-size: 13px; color: var(--muted); }
.byline .date .icon { width: 14px; height: 14px; margin-top: -2px; }
.share { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.share-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .2s; }
.share .icon { width: 18px; height: 18px; }
.share a:hover, .share button:hover { background: var(--biru); color: #fff; border-color: var(--biru); }
.share .sh-wa:hover { background: #1fa855; border-color: #1fa855; }
.share .sh-copy.copied { background: #1fa855; color: #fff; border-color: #1fa855; }
.share .sh-native { width: auto; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; display: none; }
.article-figure { margin: 0 0 24px; }
.article-figure img { width: 100%; border-radius: 12px; }
.article-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

.entry-content { font-family: var(--font-read); font-size: 19px; line-height: 1.75; color: #1d2128; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-ui); line-height: 1.3; letter-spacing: -.01em; margin-top: 1.6em; margin-bottom: .6em; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 22px; }
.entry-content a { color: var(--biru); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--biru); font-style: italic; color: var(--ink-2); }
.entry-content img { border-radius: 8px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-element-caption { font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.entry-content iframe { max-width: 100%; }

/* BACA JUGA */
.baca-juga { font-family: var(--font-ui); margin: 1.6em 0; padding: 14px 16px; background: var(--biru-muda); border-left: 4px solid var(--biru); border-radius: 0 10px 10px 0; }
.bj-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--biru); margin-bottom: 8px; }
.entry-content .bj-link { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.bj-thumb { display: block; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; background: #cfe0f4; }
.entry-content .bj-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bj-title { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.entry-content .bj-link:hover .bj-title { color: var(--biru); text-decoration: underline; }

.article-foot { margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.tags span { font-weight: 700; font-size: 14px; margin-right: 4px; }
.tags a { font-size: 13.5px; font-weight: 600; padding: 6px 12px; background: var(--bg-soft); border-radius: 999px; color: var(--ink-2); }
.tags a:hover { background: var(--biru); color: #fff; }
.share-bottom { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.editor-note { font-size: 14px; color: var(--ink-2); background: var(--bg-soft); padding: 14px 16px; border-radius: 10px; }
.editor-note a { color: var(--biru); font-weight: 700; }
.related { margin-top: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-grid .card-title { font-size: 16px; }

/* Comments */
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-metadata { font-size: 12px; color: var(--muted); }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea,
.ipd-form input, .ipd-form select, .ipd-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.comment-form textarea:focus, .comment-form input:focus, .ipd-form input:focus, .ipd-form select:focus, .ipd-form textarea:focus { border-color: var(--biru); outline: none; }
.comment-form .submit { background: var(--biru); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font-weight: 700; }

/* ===================== Static pages ===================== */
.page-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; max-width: 1040px; }
.page-side { position: sticky; top: 72px; align-self: start; }
.page-side-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.page-side .menu a { display: block; padding: 10px 14px; border-left: 3px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.page-side .menu a:hover { color: var(--biru); border-left-color: var(--biru-terang); }
.page-side .current-menu-item a, .page-side .current_page_item a { color: var(--biru); border-left-color: var(--biru); background: var(--biru-muda); }
.page-title { font-size: 38px; font-weight: 800; margin: 0 0 20px; letter-spacing: -.02em; }
.page-article .entry-content { font-family: var(--font-ui); font-size: 17px; line-height: 1.7; }
.page-updated { font-size: 13px; color: var(--muted); margin-top: 32px; }
.contact-card { font-family: var(--font-ui); background: var(--bg-soft); border-radius: 12px; padding: 20px; margin: 1.2em 0; }
.contact-card p { margin: 0 0 10px; font-size: 16px; }
.contact-card p span { display: block; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.entry-content .contact-card a { text-decoration: none; font-weight: 700; }
.social-dark a { background: #fff; color: var(--biru); border: 1px solid var(--line); }
.entry-content .social-dark a { text-decoration: none; }
.social-dark a:hover { background: var(--biru); color: #fff; }

/* Forms */
.saran-wrap { scroll-margin-top: 80px; }
.ipd-form { font-family: var(--font-ui); display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.ipd-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.ipd-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ipd-form .btn { justify-self: start; }
.ipd-form .hp { position: absolute; left: -9999px; }
.form-alert { font-family: var(--font-ui); padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.form-alert.ok { background: #e6f6ec; color: #136c35; }
.form-alert.err { background: #fdecea; color: #a52a1f; }

/* 404 */
.notfound { text-align: center; padding: 40px 0 20px; max-width: 560px; margin: 0 auto; }
.nf-code { font-size: 96px; font-weight: 800; color: var(--biru); margin: 0; line-height: 1; }
.notfound .big-search { margin: 20px auto; }

/* ===================== Search overlay & drawer ===================== */
.search-overlay { position: fixed; inset: 0; background: rgba(0, 28, 64, .94); z-index: 200; padding-top: 18vh; opacity: 0; transition: opacity .2s; }
.search-overlay.show { opacity: 1; }
.overlay-form { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid rgba(255,255,255,.5); }
.overlay-form input { flex: 1; background: transparent; border: 0; color: #fff; font: inherit; font-size: 26px; font-weight: 700; padding: 14px 0; outline: none; min-width: 0; }
.overlay-form input::placeholder { color: rgba(255,255,255,.55); }
.overlay-form .icon-btn { display: inline-flex; color: #fff; }
.overlay-form .icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 20, 45, .5); z-index: 150; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #fff; z-index: 160; transform: translateX(-102%); transition: transform .28s ease; overflow-y: auto; padding: 0 0 100px; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-logo img { height: 38px; width: auto; }
.drawer-head .icon-btn { display: inline-flex; }
.drawer-search { display: flex; margin: 16px 18px; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 3px 3px 14px; }
.drawer-search input { flex: 1; border: 0; font: inherit; font-size: 15px; outline: none; min-width: 0; }
.drawer-search button { border: 0; background: var(--biru); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.drawer-title { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 18px 6px; }
.drawer-nav .menu a { display: block; padding: 12px 18px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--bg-soft); }
.drawer-nav .menu a:hover, .drawer-nav .current-menu-item > a { color: var(--biru); background: var(--biru-muda); }
.drawer-nav .sub-menu { list-style: none; padding: 0; }
.drawer-nav .sub-menu a { padding-left: 34px; font-weight: 600; font-size: 15px; }
.drawer-pages .menu a { font-weight: 600; font-size: 15px; color: var(--ink-2); }
.drawer .social { padding: 18px; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy); color: #b9c8de; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.footer-logo img { height: 52px; width: auto; }
.footer-slogan { color: #fff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; margin: 10px 0 12px; }
.footer-about { font-size: 14px; line-height: 1.6; margin: 0 0 16px; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 14px; }
.footer-col .menu li { margin-bottom: 9px; }
.footer-col .menu a { font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.footer-col .menu a:hover, .site-footer a:hover { color: #fff; }
.footer-col .icon { width: 16px; height: 16px; }
.social-footer a { background: rgba(255,255,255,.08); color: #fff; width: 36px; height: 36px; }
.social-footer a:hover { background: var(--biru); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; font-size: 13px; }
.to-top { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.to-top .icon { width: 18px; height: 18px; }

.bottom-nav { display: none; }

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
	.layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
	.head-search { width: 220px; }
	.masthead-ad { display: none; }
	.masthead-inner { justify-content: space-between; }
}

@media (max-width: 900px) {
	.topbar { display: none; }
	.masthead-inner { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
	.icon-btn { display: inline-flex; }
	.head-search { display: none; }
	.brand { align-items: center; flex: 1; }
	.site-logo-img { height: 44px; }
	.slogan { font-size: 9.5px; margin-top: 2px; }
	.catnav a { padding: 11px 12px; font-size: 14px; }
	.admin-bar .catnav { top: 0; }

	.layout { grid-template-columns: 1fr; gap: 36px; }
	.sticky-side { position: static; }

	.hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; margin-bottom: 24px; }
	.card-lead .card-title { font-size: 26px; }
	.hero-side { gap: 20px 14px; }

	.cat-feature .cat-posts { grid-template-columns: 1fr; }
	.cat-feature .card-hero { grid-row: auto; margin-bottom: 14px; }
	.cat-feature .card-list:nth-child(2) { padding-top: 14px; border-top: 1px solid var(--line); }
	.cat-grid .cat-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
	.cat-section { margin-top: 36px; }

	.page-wrap { grid-template-columns: 1fr; gap: 20px; }
	.page-side { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 20px; }
	.page-title { font-size: 30px; }

	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.footer-brand { grid-column: 1 / -1; }

	/* bottom nav */
	body { padding-bottom: 64px; }
	.bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,28,64,.06); padding-bottom: env(safe-area-inset-bottom); }
	.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 58px; background: none; border: 0; color: var(--muted); font-size: 11px; font-weight: 700; }
	.bottom-nav .active, .bottom-nav a:hover, .bottom-nav button:hover { color: var(--biru); }
	.bottom-nav .icon { width: 22px; height: 22px; }

	.share .sh-native { display: inline-flex; }
}

@media (max-width: 600px) {
	:root { --gutter: 14px; }
	.site-main { padding-top: 16px; }
	.hero-side { grid-template-columns: 1fr; gap: 0; }
	.hero-side .card { display: grid; grid-template-columns: 1fr 120px; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
	.hero-side .card-media { order: 2; aspect-ratio: 4 / 3; border-radius: 8px; }
	.hero-side .card-body { order: 1; padding: 0; }
	.card-lead .card-title { font-size: 23px; }
	.card-lead .card-excerpt { font-size: 15px; }

	.card-list { grid-template-columns: 1fr 112px; gap: 12px; padding: 14px 0; }
	.card-list .card-media { aspect-ratio: 4 / 3; border-radius: 8px; }
	.card-list .card-title, .cat-feature .card-list .card-title { font-size: 15.5px; }
	.card-list .card-excerpt { display: none; }
	.cat-feature .card-list { grid-template-columns: 1fr 112px; }
	.card-hero .card-title { font-size: 20px; }

	.cat-grid .cat-posts { grid-template-columns: 1fr 1fr; }
	.cat-grid .card-title { font-size: 14.5px; }

	.archive-title { font-size: 28px; }
	.article-title { font-size: 27px; line-height: 1.22; }
	.article-lead { font-size: 17.5px; }
	.entry-content { font-size: 17.5px; line-height: 1.72; }
	.entry-content h2 { font-size: 22px; }
	.article-meta { flex-direction: column; align-items: flex-start; }
	.article-figure { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.article-figure img { border-radius: 0; }
	.article-figure figcaption { padding: 0 var(--gutter); }
	.entry-content .bj-link { grid-template-columns: 80px 1fr; gap: 12px; }
	.bj-title { font-size: 15px; }
	.related-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
	.related-grid .card-title { font-size: 14.5px; }

	.ipd-form .row-2 { grid-template-columns: 1fr; }
	.ipd-form { padding: 16px; }
	.footer-grid { grid-template-columns: 1fr 1fr; padding-top: 36px; }
	.footer-col:last-child { grid-column: 1 / -1; }
	.overlay-form input { font-size: 20px; }
}

/* Default widgets */
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget h2, .sidebar .wp-block-heading { font-size: 18px; font-weight: 800; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.wp-block-search__label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.wp-block-search__input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; min-width: 0; }
.wp-block-search__button { background: var(--biru); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.wp-block-latest-comments { padding: 0; }

/* WordPress core alignment */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }
