/* =========================================================
   PORTAL BERITA — main.css
   Design tokens dulu (CSS custom properties), lalu base,
   layout, komponen, dan responsive. --pb-primary & --pb-ink
   bisa dioverride dari Customizer (lihat inc/customizer.php).
   ========================================================= */

:root {
	--pb-primary: #D89A16;
	--pb-primary-dark: #A8730D;
	--pb-accent-soft: #F7E7BE;
	--pb-chip-bg: #2B3038;
	--pb-chip-text: #FFFFFF;
	--pb-ink: #14171C;
	--pb-bg: #F7F6F3;
	--pb-surface: #FFFFFF;
	--pb-muted: #6B7280;
	--pb-border: #E5E2DC;
	--pb-gold: #F0B52B;

	/* Satu warna kategori agar selaras dengan identitas Warta Publik. */
	--pb-cat: #D89A16;

	--pb-font-display: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
	--pb-font-body: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
	--pb-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--pb-radius: 6px;
	--pb-container: 1200px;
	--pb-shadow: 0 1px 2px rgba(20, 23, 28, 0.06), 0 2px 8px rgba(20, 23, 28, 0.04);
	--pb-shadow-hover: 0 4px 16px rgba(20, 23, 28, 0.10);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--pb-bg);
	color: var(--pb-ink);
	font-family: var(--pb-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--pb-font-display); font-weight: 800; letter-spacing: -0.01em; color: #171A1F; }
p { margin: 0 0 0.75em; }

/* Editorial hierarchy: amber is an accent only; article titles stay dark. */
.pb-featured__title,
.pb-featured__title a,
.pb-featured__item-title,
.pb-featured__item-title a,
.pb-card__title,
.pb-card__title a,
.pb-single__title,
.pb-section-title,
.pb-widget .widget-title {
	color: #171A1F !important;
}
.pb-featured__title a:hover,
.pb-featured__item-title a:hover,
.pb-card__title a:hover,
.pb-single__title a:hover { color: var(--pb-primary) !important; }

button { font: inherit; cursor: pointer; }
input, button { font-family: var(--pb-font-body); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.skip-link {
	position: absolute;
	top: -50px; left: 0;
	background: var(--pb-primary);
	color: #fff;
	padding: 10px 16px;
	z-index: 1000;
	transition: top .2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
	outline: 3px solid var(--pb-gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.pb-container {
	max-width: var(--pb-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* ============ TOP BAR ============ */
.pb-topbar {
	background: var(--pb-ink);
	color: rgba(255,255,255,0.75);
	font-size: 13px;
}
.pb-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 34px;
	font-family: var(--pb-font-mono);
}
.pb-topbar__link { color: rgba(255,255,255,0.85); }
.pb-topbar__link:hover { color: #fff; }

/* ============ HEADER / NAVBAR ============ */
.pb-header {
	background: var(--pb-surface);
	border-bottom: 1px solid var(--pb-border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.pb-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 72px;
}
.pb-branding {
	margin-right: auto;
	min-width: 0;
	flex: 0 0 auto;
}

/* WordPress Custom Logo: selalu dibatasi agar logo besar tidak merusak header. */
.pb-branding .custom-logo-link {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: var(--pb-logo-width, 200px);
	height: var(--pb-logo-height, 60px);
	max-width: 100%;
	overflow: hidden;
}
.pb-branding .custom-logo {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain;
	object-position: left center;
}
.pb-logo-text {
	font-family: var(--pb-font-display);
	font-weight: 900;
	font-size: 26px;
	letter-spacing: -0.03em;
	color: var(--pb-ink);
}
.pb-logo-text::first-letter { color: var(--pb-primary); }
.pb-tagline { margin: 0; font-size: 12px; color: var(--pb-muted); font-family: var(--pb-font-mono); }

.pb-nav {
	min-width: 0;
	margin-left: auto;
}
.pb-nav .nav-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 26px;
	flex-wrap: nowrap;
}
.pb-nav .nav-menu > li {
	position: relative;
	flex: 0 0 auto;
}
.pb-nav .nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	font-size: 14.5px;
	padding: 10px 0;
	position: relative;
	white-space: nowrap;
}
.pb-nav .nav-menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	margin-left: 3px;
}
.pb-nav .nav-menu > li:not(.menu-item-has-children) > a::after,
.pb-nav .nav-menu > li.menu-item-has-children > a::before {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--pb-primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .18s ease;
}
.pb-nav .nav-menu > li.menu-item-has-children > a::before {
	content: "";
}
.pb-nav .nav-menu > li > a:hover::before,
.pb-nav .nav-menu > li.current-menu-item > a::before,
.pb-nav .nav-menu > li.current-menu-ancestor > a::before {
	transform: scaleX(1);
}

/* Dropdown kategori: submenu tidak boleh ikut flex utama atau tampil sebagai kolom. */
.pb-nav .nav-menu .sub-menu {
	position: absolute;
	top: calc(100% + 1px);
	left: 50%;
	transform: translateX(-50%) translateY(6px);
	display: block;
	visibility: hidden;
	opacity: 0;
	min-width: 190px;
	padding: 8px;
	background: var(--pb-surface);
	border: 1px solid var(--pb-border);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(20,23,28,.14);
	z-index: 120;
	transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.pb-nav .nav-menu > li:last-child .sub-menu {
	left: auto;
	right: 0;
	transform: translateY(6px);
}
.pb-nav .nav-menu .sub-menu li {
	position: relative;
}
.pb-nav .nav-menu .sub-menu a {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	padding: 9px 11px;
	border-radius: 5px;
	white-space: nowrap;
	color: var(--pb-ink);
}
.pb-nav .nav-menu .sub-menu a:hover,
.pb-nav .nav-menu .sub-menu .current-menu-item > a {
	background: var(--pb-bg);
	color: var(--pb-primary-dark);
}
.pb-nav .nav-menu > li:hover > .sub-menu,
.pb-nav .nav-menu > li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
.pb-nav .nav-menu > li:last-child:hover > .sub-menu,
.pb-nav .nav-menu > li:last-child:focus-within > .sub-menu {
	transform: translateY(0);
}

.pb-header__actions { display: flex; align-items: center; gap: 6px; }
.pb-search-toggle, .pb-menu-toggle {
	background: none;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	color: var(--pb-ink);
}
.pb-menu-toggle { display: none; flex-direction: column; gap: 4px; }
.pb-menu-toggle span { width: 18px; height: 2px; background: var(--pb-ink); display: block; }

.pb-header__inner .pb-nav {
	flex: 1 1 auto;
}

.pb-search-panel {
	border-top: 1px solid var(--pb-border);
	padding: 14px 0;
	background: var(--pb-surface);
}
.pb-search-form { display: flex; gap: 8px; max-width: 480px; }
.pb-search-form__field {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-bg);
}
.pb-search-form__submit {
	background: var(--pb-primary);
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: var(--pb-radius);
	font-weight: 700;
}

/* ============ CATEGORY STRIP ============ */
.pb-cat-strip {
	background: var(--pb-surface);
	border-bottom: 1px solid var(--pb-border);
}
.pb-cat-strip__scroll {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 10px 20px;
}
.pb-cat-strip__scroll::-webkit-scrollbar { display: none; }
.pb-cat-strip__item {
	flex: none;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--pb-muted);
	padding: 6px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.pb-cat-strip__item:hover { background: var(--pb-bg); color: var(--pb-ink); }
.pb-cat-strip__item--home { color: var(--pb-primary); font-weight: 800; }

/* ============ BREAKING NEWS TICKER (signature element) ============ */
.pb-breaking {
	background: var(--pb-primary);
	color: #fff;
}
.pb-breaking__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 44px;
}
.pb-breaking__badge {
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--pb-font-mono);
	font-weight: 700;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	background: rgba(0,0,0,0.18);
	padding: 5px 10px;
	border-radius: 3px;
}
.pb-breaking__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--pb-gold);
	animation: pb-pulse 1.4s ease-in-out infinite;
}
@keyframes pb-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.75); }
}
.pb-breaking__viewport {
	flex: 1;
	overflow: hidden;
	position: relative;
	height: 100%;
}
.pb-breaking__track {
	display: flex;
	align-items: center;
	gap: 48px;
	position: absolute;
	white-space: nowrap;
	will-change: transform;
	height: 100%;
}
.pb-breaking__item a { font-size: 14px; font-weight: 500; }
.pb-breaking__item a:hover { text-decoration: underline; }
.pb-breaking__controls { flex: none; display: flex; gap: 4px; }
.pb-breaking__btn {
	background: rgba(255,255,255,0.15);
	border: none;
	color: #fff;
	width: 26px; height: 26px;
	border-radius: 50%;
	font-size: 16px;
	line-height: 1;
}
.pb-breaking__btn:hover { background: rgba(255,255,255,0.3); }

/* ============ FEATURED / HERO ============ */
.pb-featured {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
	padding: 28px 20px;
}
.pb-featured__main {
	background: var(--pb-surface);
	border-radius: var(--pb-radius);
	overflow: hidden;
	box-shadow: var(--pb-shadow);
}
.pb-featured__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--pb-border); }
.pb-featured__media .pb-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pb-featured__main:hover .pb-img { transform: scale(1.03); }
.pb-featured__body { padding: 20px 22px 24px; }
.pb-featured__title { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 10px 0 12px; }
.pb-featured__title a:hover { color: var(--pb-primary); }
.pb-featured__excerpt { color: var(--pb-muted); font-size: 15.5px; }

.pb-featured__list { display: flex; flex-direction: column; gap: 14px; }
.pb-featured__item {
	display: flex;
	gap: 12px;
	background: var(--pb-surface);
	border-radius: var(--pb-radius);
	padding: 10px;
	box-shadow: var(--pb-shadow);
}
.pb-featured__item-media { flex: none; width: 84px; height: 84px; border-radius: 4px; overflow: hidden; background: var(--pb-border); }
.pb-featured__item-media .pb-img { width: 100%; height: 100%; object-fit: cover; }
.pb-featured__item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pb-featured__item-title { font-size: 14.5px; line-height: 1.3; }
.pb-featured__item-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pb-featured__item-title a:hover { color: var(--pb-primary); }

/* ============ CHIPS / META ============ */
.pb-chip {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 9px;
	border-radius: 999px;
	color: #fff;
	margin-bottom: 8px;
}
.pb-chip,
.pb-chip--0,
.pb-chip--1,
.pb-chip--2,
.pb-chip--3,
.pb-chip--4,
.pb-chip--5 {
	background: var(--pb-chip-bg) !important;
	color: var(--pb-chip-text) !important;
	border: 1px solid rgba(255,255,255,.08);
}
.pb-chip:hover,
.pb-chip:focus,
.pb-chip:active,
.pb-chip:visited {
	background: var(--pb-primary) !important;
	color: #fff !important;
}

.pb-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--pb-muted);
	font-family: var(--pb-font-mono);
}
.pb-meta img { border-radius: 50%; }
.pb-meta--sm { font-size: 12px; margin-top: 8px; }
.pb-meta__sep { opacity: 0.5; }

/* ============ LAYOUT: content + sidebar ============ */
.pb-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 28px;
	padding: 8px 20px 48px;
	align-items: start;
}
.pb-layout--full { grid-template-columns: 1fr; }

.pb-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pb-section-title {
	font-size: 22px;
	padding-left: 14px;
	border-left: 5px solid var(--pb-primary);
}

/* ============ GRID / CARDS ============ */
.pb-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.pb-card {
	background: var(--pb-surface);
	border-radius: var(--pb-radius);
	overflow: hidden;
	box-shadow: var(--pb-shadow);
	transition: box-shadow .2s ease, transform .2s ease;
}
.pb-card:hover { box-shadow: var(--pb-shadow-hover); transform: translateY(-2px); }
.pb-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--pb-border); }
.pb-card__media .pb-img { width: 100%; height: 100%; object-fit: cover; }
.pb-card__body { padding: 14px 16px 18px; }
.pb-card__title { font-size: 16.5px; line-height: 1.3; margin-bottom: 6px; }
.pb-card__title a:hover { color: var(--pb-primary) !important; }
.pb-card__excerpt { font-size: 13.5px; color: var(--pb-muted); margin-bottom: 0; }

.pb-empty { color: var(--pb-muted); padding: 40px 0; text-align: center; }

/* ============ PAGINATION ============ */
.pb-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pb-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
	background: var(--pb-surface);
	font-size: 13.5px; font-weight: 700;
}
.pb-pagination .page-numbers.current { background: var(--pb-primary); color: #fff; border-color: var(--pb-primary); }
.pb-pagination .page-numbers:hover:not(.current) { border-color: var(--pb-primary); color: var(--pb-primary); }

/* ============ SIDEBAR ============ */
.pb-sidebar { display: flex; flex-direction: column; gap: 20px; }
.pb-widget {
	background: var(--pb-surface);
	border-radius: var(--pb-radius);
	box-shadow: var(--pb-shadow);
	padding: 18px;
}
.widget-title {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding-bottom: 10px;
	margin-bottom: 14px;
	border-bottom: 2px solid var(--pb-ink);
}

.pb-popular__list { display: flex; flex-direction: column; gap: 14px; }
.pb-popular__item { display: flex; gap: 12px; align-items: flex-start; }
.pb-popular__rank {
	font-family: var(--pb-font-mono);
	font-weight: 800;
	font-size: 20px;
	color: var(--pb-border);
	-webkit-text-stroke: 1px var(--pb-primary);
	color: transparent;
	line-height: 1;
}
.pb-popular__title { font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.pb-popular__title a:hover { color: var(--pb-primary); }

.pb-cat-widget__list li { border-bottom: 1px dashed var(--pb-border); }
.pb-cat-widget__list li:last-child { border-bottom: none; }
.pb-cat-widget__list a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 9px 0; font-size: 14px; font-weight: 600;
}
.pb-cat-widget__list a:hover { color: var(--pb-primary); }
.pb-cat-widget__count {
	font-family: var(--pb-font-mono);
	font-size: 12px;
	color: var(--pb-muted);
	background: var(--pb-bg);
	padding: 2px 7px;
	border-radius: 999px;
}

.pb-newsletter p { font-size: 13.5px; color: var(--pb-muted); }
.pb-newsletter__form { display: flex; flex-direction: column; gap: 8px; }
.pb-newsletter__form input {
	padding: 10px 12px;
	border: 1px solid var(--pb-border);
	border-radius: var(--pb-radius);
}
.pb-newsletter__form button {
	background: var(--pb-ink);
	color: #fff;
	border: none;
	padding: 10px 12px;
	border-radius: var(--pb-radius);
	font-weight: 700;
}
.pb-newsletter__form button:hover { background: var(--pb-primary); }

/* ============ SINGLE POST ============ */
.pb-single__title { font-size: clamp(26px, 4vw, 38px); line-height: 1.18; margin: 10px 0 14px; }
.pb-single__media { margin: 18px 0; border-radius: var(--pb-radius); overflow: hidden; }
.pb-single__content { font-size: 17px; line-height: 1.75; max-width: 760px; }
.pb-single__content p { margin-bottom: 1.2em; }
.pb-single__content img { border-radius: var(--pb-radius); margin: 1.2em 0; }
.pb-single__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.pb-tag { background: var(--pb-bg); border: 1px solid var(--pb-border); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.pb-tag:hover { border-color: var(--pb-primary); color: var(--pb-primary); }

.pb-comments { margin-top: 40px; max-width: 760px; }
.pb-comments__title { font-size: 20px; margin-bottom: 18px; }

/* ============ 404 ============ */
.pb-404 { text-align: center; padding: 90px 20px; }
.pb-404 h1 { font-size: 90px; color: var(--pb-primary); }
.pb-btn {
	display: inline-block;
	margin-top: 18px;
	background: var(--pb-primary);
	color: #fff;
	padding: 12px 24px;
	border-radius: var(--pb-radius);
	font-weight: 700;
}
.pb-404__search { max-width: 400px; margin: 24px auto 0; }

/* ============ FOOTER ============ */
.pb-footer { background: var(--pb-ink); color: rgba(255,255,255,0.72); margin-top: 40px; }
.pb-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	align-items: start;
	gap: clamp(48px, 7vw, 110px);
	padding: 46px 20px 38px;
}
.pb-footer .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.pb-footer a:hover { color: #fff; }
.pb-footer ul li { padding: 7px 0; font-size: 14px; }

/* Footer logo: jaga rasio asli dan jangan pernah dipaksa memenuhi kotak. */
.pb-footer__brand {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.pb-footer__logo {
	display: block;
	width: 180px;
	height: 90px;
	margin: 0 0 14px;
	overflow: hidden;
}
.pb-footer__logo a,
.pb-footer__logo .custom-logo-link {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
}
.pb-footer__logo img,
.pb-footer__logo .custom-logo {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 180px !important;
	max-height: 90px !important;
	object-fit: contain;
	object-position: left top;
}
.pb-footer__site-name {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 900;
	letter-spacing: .02em;
	color: #fff;
	margin: 0;
}
.pb-footer__col { min-width: 0; }
.pb-footer__col .widget-title {
	font-size: 18px;
	line-height: 1.25;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	position: relative;
}
.pb-footer__col .widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 48px;
	height: 3px;
	background: var(--pb-primary);
}
.pb-footer__info ul li {
	border-bottom: 1px solid rgba(255,255,255,0.10);
}
.pb-footer__info ul li:last-child { border-bottom: 0; }
.pb-footer__info a,
.pb-footer__contact a,
.pb-contact-list span { color: rgba(255,255,255,0.72); }
.pb-footer__info a:hover,
.pb-footer__contact a:hover { color: #fff; }
.pb-contact-list { display: flex; flex-direction: column; gap: 12px; }
.pb-contact-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 5px 0 !important;
}
.pb-contact-icon {
	width: 22px;
	flex: 0 0 22px;
	color: var(--pb-primary);
	font-size: 18px;
	text-align: center;
}
.pb-logo-text--footer { font-size: 22px; font-weight: 900; color: #fff; }
.pb-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.pb-footer__bottom-inner {
	display: flex; justify-content: center; align-items: center;
	padding: 16px 20px; font-size: 13px; text-align: center;
}
.pb-back-to-top {
	background: rgba(255,255,255,0.1);
	color: #fff;
	border: none;
	width: 34px; height: 34px;
	border-radius: 50%;
}
.pb-back-to-top:hover { background: var(--pb-primary); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
	.pb-featured { grid-template-columns: 1fr; }
	.pb-layout { grid-template-columns: 1fr; }
	.pb-sidebar { order: 3; }
	.pb-grid { grid-template-columns: repeat(2, 1fr); }
	.pb-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.pb-topbar__date { font-size: 11px; }
	.pb-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: 78%;
		max-width: 320px;
		background: var(--pb-surface);
		padding: 90px 24px 24px;
		transform: translateX(100%);
		transition: transform .25s ease;
		box-shadow: -8px 0 24px rgba(0,0,0,0.12);
		z-index: 99;
	}
	.pb-nav.is-open { transform: translateX(0); }
	.pb-nav .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.pb-nav .nav-menu > li > a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--pb-border); }
	.pb-nav .nav-menu .sub-menu { position: static; transform: none !important; visibility: visible; opacity: 1; min-width: 0; padding: 0 0 6px 14px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
	.pb-nav .nav-menu .sub-menu a { padding: 9px 0; font-weight: 500; background: transparent; }
	.pb-menu-toggle { display: flex; }

	.pb-grid { grid-template-columns: 1fr; }
	.pb-footer__grid { grid-template-columns: 1fr; }
	.pb-featured__item-media { width: 68px; height: 68px; }
}

@media (max-width: 480px) {
	.pb-container { padding: 0 14px; }
	.pb-header__inner { min-height: 60px; gap: 12px; }
	.pb-branding .custom-logo-link {
		width: min(var(--pb-logo-width, 200px), 150px);
		height: 50px;
	}
	.pb-logo-text { font-size: 21px; }
	.pb-featured__body { padding: 16px; }
}

/* Footer responsive alignment */
@media (max-width: 960px) {
	.pb-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.pb-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.pb-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 36px; }
	.pb-footer__brand { grid-column: auto; }
	.pb-footer__logo { width: 160px; height: 80px; }
	.pb-footer__logo img, .pb-footer__logo .custom-logo { max-width: 160px !important; max-height: 80px !important; }
	.pb-footer__site-name { font-size: 20px; }
}


/* FINAL EDITORIAL COLOR OVERRIDES — v1.3.0 */
.pb-card__title, .pb-card__title a, .pb-featured__title, .pb-featured__title a,
.pb-featured__item-title, .pb-featured__item-title a, .pb-single__title,
.pb-single__title a, .pb-section-title, .pb-widget .widget-title {
  color: #171A1F !important;
}
.pb-chip, .pb-chip.pb-chip--0, .pb-chip.pb-chip--1, .pb-chip.pb-chip--2,
.pb-chip.pb-chip--3, .pb-chip.pb-chip--4, .pb-chip.pb-chip--5 {
  background: #2B3038 !important;
  color: #FFFFFF !important;
}
.pb-chip:hover, .pb-chip:focus, .pb-chip:active {
  background: #D89A16 !important;
  color: #FFFFFF !important;
}
