/*
Theme Name: Necveal News Pluto
Theme URI: https://example.com/necveal-news-pluto
Author: Necveal News Pluto
Description: Tema WordPress portal berita yang cepat, responsif, dan dioptimalkan untuk Google News & Google Discover. Slot iklan semua jaringan (bisa on/off), widget kustom, dan warna dasar yang dapat diubah dari Customizer. Mode gelap otomatis.
Version: 1.0.0
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: necveal-news-pluto
Tags: news, blog, two-columns, right-sidebar, left-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* =========================================================
   1. Variabel & reset
   (nilai warna ditimpa oleh Customizer lewat inline CSS)
   ========================================================= */
:root {
	--bp-primary: #c8102e;
	--bp-primary-dark: #9d0c23;
	--bp-on-primary: #fff;
	--bp-nav-bg: #c8102e;
	--bp-nav-text: #fff;
	--bp-topbar-bg: #111827;
	--bp-topbar-text: #fff;
	--bp-header-bg: #fff;
	--bp-footer-bg: #111827;
	--bp-footer-text: #cbd5e1;
	--bp-bg: #f4f5f7;
	--bp-surface: #fff;
	--bp-text: #1a1a1a;
	--bp-muted: #667085;
	--bp-border: #e4e7ec;
	--bp-container: 1200px;
	--bp-radius: 10px;
	--bp-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--bp-font-head: var(--bp-font);
	--bp-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--bp-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--bp-text);
	background: var(--bp-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bp-primary); }
h1, h2, h3, h4 { font-family: var(--bp-font-head); line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--bp-primary); outline-offset: 2px; }

.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; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 18px;
	background: #fff; color: #000; z-index: 100000; top: 8px; left: 8px;
}

.bp-container { width: 100%; max-width: var(--bp-container); margin: 0 auto; padding: 0 16px; }
.bp-main { padding-bottom: 32px; min-height: 50vh; }

/* =========================================================
   2. Top bar, header, menu
   ========================================================= */
.bp-topbar { background: var(--bp-topbar-bg); color: var(--bp-topbar-text); font-size: 13px; }
.bp-topbar__in { display: flex; align-items: center; gap: 16px; min-height: 38px; }
.bp-topbar__date { white-space: nowrap; opacity: .9; }
.bp-topmenu { flex: 1; overflow: hidden; }
.bp-topmenu__list { display: flex; gap: 14px; list-style: none; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.bp-topmenu__list a { opacity: .85; }
.bp-topmenu__list a:hover { opacity: 1; color: inherit; text-decoration: underline; }
.bp-topbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.bp-theme-toggle {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
	background: transparent; color: inherit; font-size: 12px; line-height: 1.4;
}
.bp-theme-toggle:hover { background: rgba(255, 255, 255, .12); }

.bp-social { display: flex; gap: 6px; flex-wrap: wrap; }
.bp-soc {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 26px; height: 26px; padding: 0 6px; border-radius: 50%;
	background: rgba(255, 255, 255, .14); color: inherit; font-size: 10px; font-weight: 700; letter-spacing: .02em;
}
.bp-soc:hover { background: var(--bp-primary); color: var(--bp-on-primary); }
.bp-social--lg .bp-soc { min-width: 38px; height: 38px; font-size: 12px; background: var(--bp-border); color: var(--bp-text); }
.bp-footer .bp-social--lg .bp-soc { background: rgba(255, 255, 255, .1); color: #fff; }
.bp-social--lg .bp-soc:hover, .bp-footer .bp-social--lg .bp-soc:hover { background: var(--bp-primary); color: var(--bp-on-primary); }

.bp-brandbar { background: var(--bp-header-bg); border-bottom: 1px solid var(--bp-border); }
.bp-brandbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.bp-brand .custom-logo { max-height: 56px; width: auto; }
.bp-brand__name { margin: 0; font-family: var(--bp-font-head); font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--bp-primary); line-height: 1.1; }
.bp-brand__name a:hover { color: var(--bp-primary-dark); }
.bp-brand__tag { margin: 2px 0 0; font-size: 13px; color: var(--bp-muted); }
.bp-brandbar__ad { flex: 0 1 728px; min-width: 0; }
.bp-brandbar__ad .bp-ad { margin: 0 auto; }

.bp-navbar { background: var(--bp-nav-bg); color: var(--bp-nav-text); position: relative; z-index: 50; }
.has-sticky-header .bp-navbar { position: sticky; top: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.admin-bar.has-sticky-header .bp-navbar { top: 32px; }
@media (max-width: 782px) { .admin-bar.has-sticky-header .bp-navbar { top: 46px; } }
.bp-navbar__in { display: flex; align-items: center; min-height: 48px; gap: 8px; }

.bp-nav { flex: 1; min-width: 0; }
.bp-menu { display: flex; flex-wrap: wrap; list-style: none; }
.bp-menu li { position: relative; list-style: none; }
.bp-menu > li > a, .bp-menu > li.menu-item > a {
	display: block; padding: 13px 14px; font-weight: 600; font-size: 15px; color: var(--bp-nav-text);
}
.bp-menu > li:hover > a, .bp-menu > li:focus-within > a, .bp-menu > li.current-menu-item > a, .bp-menu > li.current-cat > a {
	background: rgba(0, 0, 0, .18); color: var(--bp-nav-text);
}
.bp-menu .sub-menu, .bp-menu .children {
	position: absolute; left: 0; top: 100%; min-width: 200px; margin: 0; padding: 6px 0; list-style: none;
	background: var(--bp-surface); color: var(--bp-text); border-radius: 0 0 var(--bp-radius) var(--bp-radius);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .2); display: none; z-index: 10;
}
.bp-menu li:hover > .sub-menu, .bp-menu li:focus-within > .sub-menu, .bp-menu li:hover > .children { display: block; }
.bp-menu .sub-menu a, .bp-menu .children a { display: block; padding: 9px 16px; font-size: 14px; color: var(--bp-text); }
.bp-menu .sub-menu a:hover, .bp-menu .children a:hover { background: var(--bp-bg); color: var(--bp-primary); }

.bp-search-toggle, .bp-burger {
	background: transparent; border: 0; color: var(--bp-nav-text); width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center; border-radius: 6px;
}
.bp-search-toggle { margin-left: auto; }
.bp-search-toggle:hover, .bp-burger:hover { background: rgba(0, 0, 0, .18); }
.bp-burger { display: none; flex-direction: column; gap: 5px; }
.bp-burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.bp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bp-searchbar { background: var(--bp-surface); padding: 12px 0; border-bottom: 1px solid var(--bp-border); }
.bp-searchbar[hidden] { display: none; }
.bp-searchform { display: flex; gap: 8px; }
.bp-searchform__input {
	flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--bp-border); border-radius: 8px;
	background: var(--bp-surface); color: var(--bp-text); font: inherit;
}
.bp-btn, .bp-searchform button, .comment-form .submit {
	display: inline-block; padding: 10px 18px; border: 0; border-radius: 8px;
	background: var(--bp-primary); color: var(--bp-on-primary); font-weight: 700; font-size: 15px;
}
.bp-btn:hover, .bp-searchform button:hover, .comment-form .submit:hover { background: var(--bp-primary-dark); color: var(--bp-on-primary); }

.bp-ticker { background: var(--bp-surface); border-bottom: 1px solid var(--bp-border); font-size: 14px; }
.bp-ticker__in { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.bp-ticker__label { flex: none; background: var(--bp-primary); color: var(--bp-on-primary); font-weight: 700; font-size: 12px; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; }
.bp-ticker__list { display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.bp-ticker__list::-webkit-scrollbar, .bp-topmenu__list::-webkit-scrollbar { display: none; }
.bp-ticker__list a { font-weight: 600; }

/* =========================================================
   3. Layout
   ========================================================= */
.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 24px; align-items: start; }
.sidebar-left .bp-layout { grid-template-columns: 340px minmax(0, 1fr); }
.sidebar-left .bp-sidebar { order: -1; }
.bp-primary { min-width: 0; }
.bp-sidebar { min-width: 0; }
.has-sticky-header .bp-sidebar > :last-child { position: static; }

/* =========================================================
   4. Hero / headline
   ========================================================= */
.bp-hero { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr); gap: 18px; margin-top: 20px; align-items: start; }
.bp-hero__left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bp-hero__main .bp-big__link { aspect-ratio: 2.25 / 1; }
.bp-hero__main .bp-big__title { font-size: clamp(20px, 2.4vw, 30px); }

.bp-hashtags { background: var(--bp-surface); border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); padding: 8px 10px 10px; }
.bp-hashtags__title { margin: 0 0 6px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bp-text); }
.bp-topics--hero { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bp-topics--hero .bp-topic { aspect-ratio: 16 / 10; }

/* Kolom kanan: tinggi natural (tanpa direnggangkan), rapat seperti desain */
.bp-hero__side { display: block; background: var(--bp-surface); border-radius: var(--bp-radius); padding: 4px 14px; box-shadow: var(--bp-shadow); min-width: 0; }
.bp-hero__side .bp-item { align-items: start; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
.bp-hero__side .bp-item + .bp-item { border-top: 1px solid var(--bp-border); }
.bp-hero__side .bp-item__thumb { align-self: start; }
.bp-hero__side .bp-item__excerpt { display: none; }
.bp-hero__side .bp-item__title { font-size: 15px; line-height: 1.4; -webkit-line-clamp: 3; margin: 0 0 4px; }

.bp-big { position: relative; border-radius: var(--bp-radius); overflow: hidden; background: #222; }
.bp-big__link { display: block; position: relative; aspect-ratio: 16 / 9; color: #fff; }
.bp-big__link img, .bp-big .bp-noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center center; transition: transform .4s; }
.bp-big__link:hover img { transform: scale(1.03); }
.bp-big__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .25) 55%, transparent 100%); }
.bp-big__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bp-big__title { font-family: var(--bp-font-head); font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp-big__link:hover { color: #fff; }
.bp-big__link:hover .bp-big__title { text-decoration: underline; }
.bp-big__meta { font-size: 13px; opacity: .85; }
.bp-block__lead .bp-big__title { font-size: clamp(18px, 2.2vw, 24px); }

.bp-badge {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	color: var(--bp-primary); line-height: 1.2; margin-bottom: 4px;
}
.bp-badge:hover { color: var(--bp-primary-dark); }
.bp-badge--solid { background: var(--bp-primary); color: var(--bp-on-primary); padding: 4px 9px; border-radius: 4px; margin: 0; }

/* =========================================================
   5. Kartu & daftar
   ========================================================= */
.bp-noimg { display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--bp-border), var(--bp-bg)); }

.bp-list { display: flex; flex-direction: column; gap: 0; background: var(--bp-surface); border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); padding: 4px 16px; }
.bp-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.bp-list .bp-item + .bp-item, .bp-list .bp-ad + .bp-item { border-top: 1px solid var(--bp-border); }
.bp-item__thumb { display: block; position: relative; overflow: hidden; border-radius: 8px; background: var(--bp-border); aspect-ratio: 16 / 9; align-self: center; }
.bp-item__thumb img, .bp-item__thumb .bp-noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center center; transition: transform .3s; }
.bp-item__thumb:hover img { transform: scale(1.05); }
.bp-item__title {
	font-size: 19px; font-weight: 700; margin: 0 0 6px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bp-item__excerpt { font-size: 14px; color: var(--bp-muted); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-meta, .bp-meta time { font-size: 12.5px; color: var(--bp-muted); }

.bp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bp-card { background: var(--bp-surface); border-radius: var(--bp-radius); overflow: hidden; box-shadow: var(--bp-shadow); }
.bp-card__thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bp-border); }
.bp-card__thumb img, .bp-card__thumb .bp-noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center center; transition: transform .3s; }
.bp-card__thumb:hover img { transform: scale(1.05); }
.bp-card__body { padding: 12px 14px 14px; }
.bp-card__title { font-size: 16px; font-weight: 700; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.bp-block { margin-top: 28px; }
.bp-block__head { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 14px; border-bottom: 2px solid var(--bp-border); }
.bp-primary > .bp-block__head:first-child { margin-top: 0; }
.bp-block__title { font-size: 20px; font-weight: 800; margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--bp-primary); margin-bottom: -2px; text-transform: uppercase; letter-spacing: .01em; }
.bp-block__more { font-size: 13px; font-weight: 700; color: var(--bp-primary); }
.bp-block__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.bp-block__rest { background: var(--bp-surface); border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); padding: 4px 14px; }
.bp-block__rest .bp-item { grid-template-columns: 110px 1fr; padding: 12px 0; gap: 12px; }
.bp-block__rest .bp-item + .bp-item { border-top: 1px solid var(--bp-border); }
.bp-block__rest .bp-item__excerpt { display: none; }
.bp-block__rest .bp-item__title { font-size: 15px; }
.bp-related { margin-top: 32px; }
.bp-home-widgets { margin-top: 24px; }
.bp-home-widgets > .bp-widget { margin-bottom: 24px; }

/* Pagination */
.pagination, .navigation.pagination { margin: 24px 0; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { padding: 8px 14px; background: var(--bp-surface); border: 1px solid var(--bp-border); border-radius: 8px; font-weight: 600; font-size: 14px; }
.page-numbers.current, a.page-numbers:hover { background: var(--bp-primary); border-color: var(--bp-primary); color: var(--bp-on-primary); }

/* Archive head */
.bp-archive-head { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 20px; background: var(--bp-surface); border-radius: var(--bp-radius); border-left: 5px solid var(--bp-primary); box-shadow: var(--bp-shadow); }
.bp-archive-head__title { font-size: clamp(22px, 3vw, 30px); margin: 0 0 4px; }
.bp-archive-head__desc { color: var(--bp-muted); font-size: 14px; }
.bp-archive-head__avatar img { border-radius: 50%; }
.bp-search-again { margin-bottom: 16px; }

/* =========================================================
   6. Artikel
   ========================================================= */
.bp-article { background: var(--bp-surface); border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); padding: 24px 28px 28px; }
.bp-breadcrumb { font-size: 13px; color: var(--bp-muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bp-article__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.01em; margin: 6px 0 14px; }
.bp-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13.5px; color: var(--bp-muted); padding-bottom: 14px; border-bottom: 1px solid var(--bp-border); }
.bp-byline__author { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bp-text); }
.bp-byline__author img { border-radius: 50%; }
.bp-byline__dates { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bp-article__figure { margin: 18px -28px 0; }
.bp-article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bp-article__figure figcaption { padding: 8px 28px 0; font-size: 13px; color: var(--bp-muted); font-style: italic; }
.bp-article--page .bp-article__figure { margin-top: 0; }

.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; }
.bp-share__label { font-size: 13px; font-weight: 700; color: var(--bp-muted); }
.bp-share__btn { display: inline-flex; padding: 6px 12px; font-size: 13px; font-weight: 600; border-radius: 6px; border: 0; color: #fff; background: #667085; }
.bp-share__btn:hover { color: #fff; filter: brightness(1.1); }
.bp-share--wa { background: #25d366; }
.bp-share--fb { background: #1877f2; }
.bp-share--x { background: #111; }
.bp-share--tg { background: #229ed9; }
.bp-share--copy { background: var(--bp-text); color: var(--bp-surface); }
.bp-share--copy:hover { color: var(--bp-surface); }

.bp-content { font-size: 18px; line-height: 1.8; overflow-wrap: break-word; word-wrap: break-word; }
.bp-content > * { max-width: 100%; }
.bp-content h2, .bp-content h3, .bp-content h4 { margin: 1.6em 0 .6em; }
.bp-content h2 { font-size: 1.5em; }
.bp-content h3 { font-size: 1.25em; }
.bp-content a { color: var(--bp-primary); text-decoration: underline; text-underline-offset: 2px; }
.bp-content ul, .bp-content ol { padding-left: 1.4em; margin: 0 0 1em; }
.bp-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--bp-primary); font-style: italic; color: var(--bp-muted); }
.bp-content img { border-radius: 6px; }
.bp-content figure { margin: 1.2em 0; }
.bp-content figcaption, .wp-caption-text { font-size: 13px; color: var(--bp-muted); margin-top: 6px; }
.bp-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.bp-content th, .bp-content td { border: 1px solid var(--bp-border); padding: 8px 10px; }
.bp-content iframe { max-width: 100%; }
.alignleft { float: left; margin: 0 1.2em .6em 0; }
.alignright { float: right; margin: 0 0 .6em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { margin-left: -28px; margin-right: -28px; }
.alignfull { margin-left: -28px; margin-right: -28px; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { display: block; }
.bp-pagelinks { margin: 1em 0; font-weight: 700; }

.bp-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 6px; font-size: 14px; }
.bp-tags span { font-weight: 700; }
.bp-tags a { padding: 4px 12px; background: var(--bp-bg); border: 1px solid var(--bp-border); border-radius: 999px; font-size: 13px; }
.bp-tags a:hover { background: var(--bp-primary); color: var(--bp-on-primary); border-color: var(--bp-primary); }

.bp-authorbox { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 16px; background: var(--bp-bg); border-radius: var(--bp-radius); }
.bp-authorbox img { border-radius: 50%; flex: none; }
.bp-authorbox__label { margin: 0; font-size: 12px; color: var(--bp-muted); text-transform: uppercase; letter-spacing: .05em; }
.bp-authorbox__name { margin: 0; font-weight: 800; font-size: 18px; }
.bp-authorbox__bio { margin: 4px 0 0; font-size: 14px; color: var(--bp-muted); }
.bp-article-widgets { margin-top: 24px; }

.bp-comments { margin-top: 28px; background: var(--bp-surface); border-radius: var(--bp-radius); padding: 22px 28px; box-shadow: var(--bp-shadow); }
.bp-comments__list, .bp-comments .children { list-style: none; }
.bp-comments .children { margin-left: 24px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--bp-border); }
.comment-meta { font-size: 13px; color: var(--bp-muted); }
.comment-author img { float: left; margin-right: 12px; border-radius: 50%; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid var(--bp-border); border-radius: 8px; background: var(--bp-bg); color: var(--bp-text); font: inherit;
}

.bp-404 { text-align: center; padding: 56px 16px 32px; }
.bp-404__code { font-size: clamp(72px, 16vw, 140px); font-weight: 900; color: var(--bp-primary); line-height: 1; margin: 0; }
.bp-404 .bp-searchform { max-width: 480px; margin: 16px auto; }

/* =========================================================
   7. Sidebar & widget
   ========================================================= */
.bp-widget { background: var(--bp-surface); border-radius: var(--bp-radius); box-shadow: var(--bp-shadow); padding: 16px; margin-bottom: 20px; }
.bp-widget--ad { background: transparent; box-shadow: none; padding: 0; }
.bp-widget__title { font-size: 17px; font-weight: 800; text-transform: uppercase; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--bp-border); }
.bp-widget__title span { display: inline-block; padding-bottom: 8px; margin-bottom: -10px; border-bottom: 3px solid var(--bp-primary); }
.bp-widget ul { list-style: none; }
.bp-widget li { padding: 6px 0; border-bottom: 1px solid var(--bp-border); }
.bp-widget li:last-child { border-bottom: 0; }
.bp-widget select, .bp-widget input[type="text"], .bp-widget input[type="search"] { max-width: 100%; }

.bp-wi__title { font-size: 15.5px; font-weight: 700; line-height: 1.35; margin: 0 0 4px; }
.bp-wi__thumb { display: block; overflow: hidden; border-radius: 8px; background: var(--bp-border); }
.bp-wi__thumb { position: relative; }
.bp-wi__thumb img, .bp-wi__thumb .bp-noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center center; }
.bp-wi + .bp-wi { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bp-border); }
.bp-wi--list { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: start; }
.bp-wi--list .bp-wi__thumb { aspect-ratio: 1 / 1; }
.bp-wi--num { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.bp-wi__rank { font-size: 26px; font-weight: 900; line-height: 1; color: var(--bp-primary); opacity: .9; }
.bp-wi--first .bp-wi__thumb { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.bp-wi--first .bp-wi__title { font-size: 18px; }
.bp-wi--card .bp-wi__thumb { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.bp-wp--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bp-wp--grid .bp-wi + .bp-wi { margin: 0; padding: 0; border: 0; }
.bp-home-widgets .bp-wp--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bp-wp--carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.bp-wp--carousel .bp-wi { flex: 0 0 min(260px, 72%); scroll-snap-align: start; margin: 0; padding: 0; border: 0; }
.bp-wp__more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--bp-primary); }
.bp-widget .bp-wp--text .bp-wi__title { font-size: 15px; }

.bp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-chip { padding: 5px 12px; border: 1px solid var(--bp-border); background: var(--bp-bg); border-radius: 999px; font-size: 13px; font-weight: 600; }
.bp-chip small { opacity: .6; margin-left: 4px; }
.bp-chip:hover { background: var(--bp-primary); border-color: var(--bp-primary); color: var(--bp-on-primary); }
.bp-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bp-topic { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: #222; color: #fff; }
.bp-topic img, .bp-topic .bp-noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center center; }
.bp-topic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent 70%); }
.bp-topic__txt { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; display: flex; flex-direction: column; line-height: 1.25; }
.bp-topic__txt small { font-size: 11px; opacity: .85; }
.bp-topic:hover { color: #fff; }
.bp-home-widgets .bp-topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* =========================================================
   8. Iklan
   ========================================================= */
.bp-ad { position: relative; margin: 18px auto; text-align: center; max-width: 100%; overflow: hidden; clear: both; }
.bp-ad__label { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--bp-muted); margin-bottom: 4px; }
.bp-ad__body { display: flex; justify-content: center; align-items: center; max-width: 100%; }
.bp-ad__body > * { max-width: 100%; }
.bp-ad ins, .bp-ad iframe { max-width: 100%; }
.bp-ad--below-nav, .bp-ad--footer-top { max-width: var(--bp-container); padding: 0 16px; }
.bp-ad--in-loop { border-top: 1px solid var(--bp-border); border-bottom: 1px solid var(--bp-border); padding: 12px 0; margin: 0; }
.bp-ad--sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; margin: 0; padding: 6px 28px 6px;
	background: var(--bp-surface); border-top: 1px solid var(--bp-border); box-shadow: 0 -4px 16px rgba(0, 0, 0, .12); overflow: visible;
}
.bp-ad__close {
	position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 6px 6px 0 0;
	background: var(--bp-surface); color: var(--bp-text); font-size: 18px; line-height: 1; box-shadow: 0 -2px 6px rgba(0, 0, 0, .1);
}
.bp-ad--desktop { display: block; }
.bp-ad--mobile { display: none; }
@media (max-width: 768px) {
	.bp-ad--desktop { display: none; }
	.bp-ad--mobile { display: block; }
}
.bp-ad.is-closed { display: none; }

/* =========================================================
   9. Footer
   ========================================================= */
.bp-footer { background: var(--bp-footer-bg); color: var(--bp-footer-text); margin-top: 32px; padding-top: 40px; font-size: 14px; }
.bp-footer a:hover { color: #fff; }
.bp-footer__top { display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.bp-footer__name { font-size: 24px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.bp-footer__about { margin-bottom: 14px; }
.bp-footer .custom-logo { max-height: 48px; width: auto; margin-bottom: 10px; filter: none; }
.bp-footer__title, .bp-footer .bp-widget__title { color: #fff; font-size: 15px; text-transform: uppercase; margin: 0 0 12px; border-bottom: 0; padding: 0; }
.bp-footer .bp-widget__title span { border: 0; margin: 0; padding: 0; }
.bp-footer .bp-widget { background: transparent; box-shadow: none; padding: 0; }
.bp-footer .bp-widget li, .bp-footer .bp-wi + .bp-wi { border-color: rgba(255, 255, 255, .12); }
.bp-footer .bp-wi__title { color: #fff; }
.bp-footer .bp-meta, .bp-footer .bp-meta time { color: var(--bp-footer-text); }
.bp-footer__menu { list-style: none; display: grid; gap: 8px; }
.bp-footer__note { margin-top: 24px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; font-size: 13px; }
.bp-footer__note p:last-child { margin: 0; }
.bp-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 28px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.bp-totop { font-weight: 700; }
body:has(.bp-ad--sticky:not(.is-closed)) .bp-footer { padding-bottom: 70px; }

/* =========================================================
   10. Responsif
   ========================================================= */
@media (max-width: 1100px) {
	.bp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bp-home-widgets .bp-wp--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bp-home-widgets .bp-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
	.bp-layout, .sidebar-left .bp-layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar-left .bp-sidebar { order: 0; }
	.bp-hero { grid-template-columns: minmax(0, 1fr); }
	.bp-hero__main .bp-big__link { aspect-ratio: 16 / 9; }
	.bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bp-home-widgets .bp-wp--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bp-home-widgets .bp-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bp-brandbar__ad { display: none; }

	/* Menu mobile */
	.bp-burger { display: inline-flex; }
	.bp-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: var(--bp-surface); color: var(--bp-text);
		max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
	}
	.bp-nav.is-open { max-height: calc(100vh - 100px); overflow-y: auto; }
	.bp-menu { flex-direction: column; flex-wrap: nowrap; }
	.bp-menu > li > a, .bp-menu > li.menu-item > a { color: var(--bp-text); padding: 14px 18px; border-bottom: 1px solid var(--bp-border); }
	.bp-menu > li:hover > a, .bp-menu > li:focus-within > a { background: var(--bp-bg); color: var(--bp-primary); }
	.bp-menu .sub-menu, .bp-menu .children { position: static; display: block; box-shadow: none; padding: 0 0 0 16px; background: var(--bp-bg); border-radius: 0; }
	.bp-menu li:hover > .sub-menu { display: block; }
	.bp-nav { order: 3; }
}

@media (max-width: 680px) {
	body { font-size: 15.5px; }
	.bp-topbar__date { display: none; }
	.bp-topmenu { display: none; }
	.bp-topbar__right { margin-left: 0; width: 100%; justify-content: space-between; }
	.bp-brandbar__in { padding-top: 10px; padding-bottom: 10px; }
	.bp-brand .custom-logo { max-height: 44px; }

	.bp-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
	.bp-item__excerpt { display: none; }
	.bp-item__title { font-size: 15.5px; -webkit-line-clamp: 4; margin-bottom: 4px; }
	.bp-list { padding: 2px 12px; }
	.bp-hero__side { padding: 4px 12px; }
	.bp-hero__side .bp-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
	.bp-topics--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.bp-block__grid { grid-template-columns: minmax(0, 1fr); }
	.bp-block__title { font-size: 18px; }

	.bp-big__text { padding: 14px; }
	.bp-big__title { font-size: 19px; }

	.bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bp-card__body { padding: 10px; }
	.bp-card__title { font-size: 14px; }

	.bp-article { padding: 16px 16px 20px; border-radius: 0; margin: 0 -16px; }
	.bp-article__figure { margin: 14px -16px 0; }
	.bp-article__figure figcaption { padding: 8px 16px 0; }
	.bp-content { font-size: 17px; line-height: 1.75; }
	.alignwide, .alignfull { margin-left: -16px; margin-right: -16px; }
	.alignleft, .alignright { float: none; display: block; margin: 0 auto 1em; }
	.bp-comments { padding: 16px; }
	.bp-authorbox { flex-direction: column; text-align: center; }
	.bp-share__btn { flex: 1 1 auto; justify-content: center; }
	.bp-archive-head { padding: 14px; }

	.bp-footer__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.bp-home-widgets .bp-wp--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bp-home-widgets .bp-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bp-wp--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (max-width: 380px) {
	.bp-grid, .bp-wp--grid, .bp-home-widgets .bp-wp--grid { grid-template-columns: minmax(0, 1fr); }
}

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

@media print {
	.bp-topbar, .bp-navbar, .bp-ticker, .bp-sidebar, .bp-ad, .bp-share, .bp-footer, .bp-related, .bp-comments { display: none !important; }
	.bp-layout { display: block; }
	.bp-article { box-shadow: none; }
}
