:root {
	--bs-navy: #072569;
	--bs-red: #d01e27;
	--bs-red-dark: #ab1018;
	--bs-gold: #fdb446;
	--bs-soft-red: #ffe8e9;
	--bs-footer-bg: #e3e3e3;
	--bs-ad-bg: #f4f4f4;
	--bs-text: #232323;
	--bs-muted: #747474;
	--bs-line: #e5e5e5;
	--bs-surface: #ffffff;
	--bs-container: 1080px;
	--bs-sidebar: 320px;
	--bs-radius: 8px;
	--bs-shadow: 0 8px 28px rgba(7, 37, 105, .10);
	--bs-sticky-header-height: 72px;
	--bs-sticky-stack-offset: 156px;
	--bs-sticky-bottom-height: 0px;
	--bs-mobile-header-height: 58px;
	--bs-mobile-nav-height: 44px;
	--bs-mobile-sticky-spacer-height: 102px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
body {
	background: #fff;
	color: var(--bs-text);
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.admin-bar { --admin-offset: 32px; }
.mobile-sticky-spacer { display: none; height: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bs-red); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; width: 100%; height: 100%; }
.site { min-height: 100vh; }
.container { width: min(100% - 32px, var(--bs-container)); margin-inline: auto; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 16px;
	left: 12px; top: 12px; background: #fff; color: #111; z-index: 99999; box-shadow: var(--bs-shadow);
}

/* Brand and header */
.site-header { background: var(--bs-surface); position: relative; z-index: 1300; }
.beritasatu-sticky-header .site-header { position: sticky; top: var(--admin-offset, 0px); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.desktop-header { border-bottom: 1px solid var(--bs-line); }
.header-grid {
	display: grid;
	grid-template-columns: minmax(180px, 245px) minmax(250px, 1fr) minmax(275px, 330px);
	align-items: center;
	min-height: 72px;
}
.beritasatu-logo { min-width: 0; overflow: hidden; }
.beritasatu-logo .custom-logo-link { display: inline-flex; align-items: center; max-width: 100%; }
.beritasatu-logo .custom-logo { width: auto; max-width: min(100%, 245px); max-height: 48px; display: block; object-fit: contain; }
.site-brand-link {
	display: inline-flex; align-items: center; justify-content: center; max-width: 100%; overflow: visible;
	white-space: nowrap; text-overflow: ellipsis; color: var(--bs-navy); font-size: clamp(25px, 2.2vw, 34px);
	font-weight: 900; letter-spacing: -.8px; line-height: 1; text-decoration: none;
}
.site-brand-link:hover { color: var(--bs-navy); }
.brand-logo-lockup { display: inline-flex; align-items: stretch; border: 2px solid #111; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.brand-block { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; font-weight: 900; line-height: 1; letter-spacing: -.6px; }
.brand-banter, .brand-berita { background: #e31f26; color: #fff; }
.brand-satu { background: #fff; color: #000; }
.header-search { padding: 0 24px; }
.beritasatu-search-form { position: relative; width: 100%; margin: 0; }
.beritasatu-search-form input[type="search"] {
	width: 100%; height: 40px; border: 1px solid #d4d4d4; border-radius: 999px; background: #fff;
	padding: 9px 50px 9px 17px; color: #222; outline: none; font-size: 13px;
}
.beritasatu-search-form input[type="search"]:focus { border-color: var(--bs-navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-navy) 13%, transparent); }
.beritasatu-search-form button {
	position: absolute; right: 1px; top: 1px; width: 44px; height: 38px; padding: 9px 11px;
	border: 0; border-radius: 999px; background: transparent; color: var(--bs-navy);
}
.header-actions { height: 72px; display: flex; justify-content: flex-end; border-left: 1px solid var(--bs-line); }
.header-action {
	min-width: 74px; padding: 6px 10px; border: 0; border-right: 1px solid var(--bs-line); background: transparent;
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
	color: var(--bs-navy); text-align: center; font-size: 10px; font-weight: 700; line-height: 1.1;
}
.header-action:hover { color: var(--bs-red); background: #fafafa; }
.action-icon { width: 24px; height: 24px; }
.header-action-live .action-icon { color: var(--bs-red); }
.dark-mode-toggle .icon-sun { display: none; }
.dark-theme .dark-mode-toggle .icon-moon { display: none; }
.dark-theme .dark-mode-toggle .icon-sun { display: block; }
.mobile-header { display: none; }

/* Navigation */
.navigation-wrap {
	position: relative; z-index: 999;
	background: linear-gradient(to right, var(--bs-navy) 0 50%, var(--bs-red) 50% 100%);
	box-shadow: 0 3px 10px rgba(0,0,0,.14);
}
.beritasatu-sticky-menu .navigation-wrap { position: sticky; top: calc(var(--admin-offset, 0px) + var(--bs-sticky-header-height, 0px)); z-index: 1290; }
.main-navigation { background: transparent; }
.nav-container { min-height: 40px; background: var(--bs-red); position: relative; }
.primary-menu, .secondary-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: stretch; min-height: 40px; }
.primary-menu > li { min-width: 0; flex: 1 1 auto; position: static; }
.menu-link-row { height: 100%; display: flex; align-items: stretch; justify-content: center; }
.primary-menu > li > .menu-link-row > a,
.primary-menu-fallback > li > a {
	display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 13px;
	color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.primary-menu > li:hover > .menu-link-row,
.primary-menu > li.current-menu-item > .menu-link-row { background: var(--bs-red-dark); }
.primary-menu > li.current-menu-item > .menu-link-row > a { color: var(--bs-gold); }
.menu-item-home { flex: 0 0 54px !important; }
.home-menu-link { min-width: 54px; padding-inline: 16px !important; }
.home-menu-icon { display: block; width: 19px; height: 19px; color: var(--bs-gold); }
.mega-toggle { display: none; width: 28px; border: 0; padding: 8px 7px; background: transparent; color: #fff; }
.mega-panel {
	display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 18px 8px 22px;
	background: var(--bs-navy); color: #fff; box-shadow: 0 14px 28px rgba(0,0,0,.22); z-index: 100;
}
.has-mega-menu:hover > .mega-panel,
.has-mega-menu:focus-within > .mega-panel,
.has-mega-menu.mega-open > .mega-panel { display: block; }
.mega-panel-inner { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 28px; min-height: 270px; }
.mega-links { border-right: 1px solid rgba(255,255,255,.62); padding: 2px 22px 0 0; }
.mega-links ul { list-style: none; margin: 0; padding: 0; max-height: 315px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--bs-red) rgba(255,255,255,.08); }
.mega-links li + li { margin-top: 6px; }
.mega-links a { display: block; padding: 6px 8px; border-radius: 4px; color: #fff; font-size: 14px; font-weight: 700; }
.mega-links a:hover, .mega-links a:focus { background: rgba(255,255,255,.12); color: var(--bs-gold); }
.mega-content { min-width: 0; }
.mega-heading { margin: 0 0 16px; padding-left: 12px; border-left: 5px solid var(--bs-red); color: #fff; font-size: 15px; line-height: 1.55; font-weight: 900; text-transform: uppercase; }
.mega-posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.mega-post-media { display: block; aspect-ratio: 16/9; border-radius: 7px; overflow: hidden; background: #d9d9d9; }
.mega-post-media img, .mega-post-media .beritasatu-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.mega-post:hover .mega-post-media img { transform: scale(1.035); }
.mega-post h4 { margin: 9px 0 7px; font-size: 15px; line-height: 1.35; color: #fff; }
.mega-post h4 a:hover { color: var(--bs-gold); }
.mega-post-time { color: rgba(255,255,255,.82); font-size: 10px; }
.secondary-navigation { background: var(--bs-navy); }
.secondary-navigation .container { overflow-x: auto; scrollbar-width: thin; }
.secondary-menu { display: flex; align-items: center; min-width: max-content; }
.secondary-menu a { display: block; padding: 8px 14px; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.secondary-menu a:hover { color: var(--bs-gold); }

/* Breaking news */
.breaking-bar { display: block; position: relative; z-index: 1100; width: 100%; background: #fff; border-bottom: 1px solid var(--bs-line); }
.breaking-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: stretch; min-height: 34px; overflow: hidden; }
.breaking-label { position: relative; z-index: 2; display: flex; align-items: center; padding: 7px 12px; background: var(--bs-red); color: #fff; font-size: 11px; white-space: nowrap; }
.breaking-track { min-width: 0; display: flex; align-items: center; overflow: hidden; padding: 0 14px; }
.breaking-marquee { --breaking-translate: 0px; --breaking-duration: 36s; display: flex; width: max-content; min-width: 100%; will-change: transform; }
.breaking-track.is-running .breaking-marquee { animation: beritasatu-breaking-scroll var(--breaking-duration) linear infinite; }
.breaking-track:hover .breaking-marquee, .breaking-track:focus-within .breaking-marquee { animation-play-state: paused; }
.breaking-group { display: flex; flex: 0 0 auto; align-items: center; gap: 30px; padding-right: 30px; }
.breaking-group a, .breaking-group span { flex: 0 0 auto; font-size: 12px; color: var(--bs-navy); font-weight: 700; white-space: nowrap; }
.breaking-group a::after { content: "•"; display: inline-block; margin-left: 30px; color: var(--bs-red); }
@keyframes beritasatu-breaking-scroll { to { transform: translate3d(var(--breaking-translate), 0, 0); } }

/* BANTERSATU 1.6.5: configurable Breaking News visibility and sticky behavior. */
.breaking-device-mobile { display: none; }
body.beritasatu-breaking-sticky .breaking-bar {
	position: sticky;
	top: calc(var(--admin-offset, 0px) + var(--bs-sticky-stack-height, 0px));
	z-index: 1285;
	box-shadow: 0 3px 10px rgba(0,0,0,.08);
}
body.beritasatu-breaking-sticky.mobile-sticky-active .breaking-bar {
	top: calc(var(--admin-offset, 0px) + var(--bs-mobile-header-height, 0px) + var(--bs-mobile-nav-height, 0px));
	z-index: 4980;
}
body.beritasatu-breaking-sticky .breaking-bar + .beritasatu-ad { scroll-margin-top: calc(var(--admin-offset, 0px) + var(--bs-sticky-stack-height, 0px) + 40px); }
@media (max-width: 900px) {
	.breaking-device-desktop { display: none !important; }
	.breaking-device-mobile { display: block; }
}
@media (min-width: 901px) {
	.breaking-device-mobile { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.breaking-track { overflow-x: auto; }
	.breaking-track.is-running .breaking-marquee { animation: none; }
}

/* Mobile drawer and scroll-gate are activated inside the mobile breakpoint. */
.mobile-drawer, .ad-slot-mobile_scroll_gate { display: none; }

/* Advertisement system */
.beritasatu-ad { position: relative; width: 100%; margin: 0 auto 18px; text-align: center; background: var(--bs-ad-bg); overflow: hidden; }
.beritasatu-ad .ad-label { display: block; padding: 5px 8px 2px; color: #666; font-size: 9px; letter-spacing: .3px; }
.beritasatu-ad .ad-content { display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 8px; }
.beritasatu-ad .ad-content > * { max-width: 100%; }
.beritasatu-ad img { display: block; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }
.ad-slot-top_billboard { margin-bottom: 0; min-height: 105px; }
.ad-slot-top_billboard .ad-content { min-height: 94px; }
.ad-slot-header_banner { background: #fff; margin-bottom: 10px; }
.ad-slot-after_menu, .ad-slot-home_after_headline { width: min(100% - 32px, var(--bs-container)); margin-top: 18px; }
.ad-close {
	position: absolute; right: 4px; top: 4px; z-index: 5; width: 26px; height: 26px; padding: 5px;
	border: 1px solid rgba(0,0,0,.12); border-radius: 50%; background: rgba(255,255,255,.92); color: #222;
}
.ad-slot-floating_left, .ad-slot-floating_right {
	position: fixed;
	top: calc(var(--admin-offset, 0px) + var(--bs-sticky-stack-offset, 156px));
	width: clamp(72px, calc((100vw - var(--bs-container)) / 2 - 10px), 160px);
	max-height: calc(100vh - var(--admin-offset, 0px) - var(--bs-sticky-stack-offset, 156px) - 12px);
	margin: 0; z-index: 1180; background: transparent; overflow: visible;
}
.ad-slot-floating_left { left: 6px; right: auto; }
.ad-slot-floating_right { right: 6px; left: auto; }
.ad-slot-floating_left .ad-content, .ad-slot-floating_right .ad-content {
	padding: 0; min-height: 0; max-height: inherit; background: transparent;
}
.ad-slot-floating_left img, .ad-slot-floating_right img { width: 100%; max-height: inherit; object-fit: contain; }
.ad-slot-sticky_bottom {
	position: fixed; z-index: 1500; left: 50%; bottom: 0; transform: translateX(-50%);
	display: block; width: min(970px, calc(100% - 20px)); max-height: 112px; margin: 0;
	background: #fff; box-shadow: 0 -3px 16px rgba(0,0,0,.18); overflow: visible;
}
.ad-slot-sticky_bottom .ad-content { min-height: 0; max-height: 108px; padding: 4px 34px 4px 4px; }
.ad-slot-sticky_bottom img { max-height: 100px; width: auto; }
body.has-sticky-bottom-ad { padding-bottom: var(--bs-sticky-bottom-height, 0px); }
.ad-slot-header_banner, .ad-slot-after_menu, .ad-slot-home_after_headline, .ad-slot-footer_banner {
	width: min(100% - 32px, var(--bs-container));
}
.ad-slot-header_banner { margin: 10px auto; }
.ad-slot-footer_banner { margin-top: 28px; margin-bottom: 0; }
.ad-slot-between_posts { margin: 20px 0; }
.ad-slot-sidebar_top, .ad-slot-sidebar_bottom { border-radius: 6px; }
.single-wrap { position: relative; min-width: 0; }
.single-wrap.has-article-sticky-ad {
	display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: start; gap: 20px;
}
.single-wrap.has-article-sticky-ad .article-content { grid-column: 1; min-width: 0; }
.ad-slot-article_sticky_right {
	grid-column: 2; grid-row: 1; float: none; position: sticky;
	top: calc(var(--admin-offset, 0px) + var(--bs-sticky-stack-offset, 156px));
	width: 120px; max-height: min(600px, calc(100vh - var(--admin-offset, 0px) - var(--bs-sticky-stack-offset, 156px) - 12px));
	margin: 0; background: transparent; overflow: visible; z-index: 20;
}
.ad-slot-article_sticky_right .ad-content { min-height: 0; max-height: inherit; padding: 0; }
.ad-slot-article_sticky_right img { width: 100%; max-height: inherit; object-fit: contain; }
.ad-slot-after_related { margin-top: 26px; }
.ad-slot-popup {
	position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; width: 100%; height: 100%;
	margin: 0; padding: 16px; background: transparent; overflow: auto;
}
.ad-popup-backdrop { position: absolute; inset: 0; background: rgba(2,13,42,.72); backdrop-filter: blur(2px); }
.ad-popup-dialog {
	position: relative; z-index: 1; width: min(340px, calc(100vw - 32px)); padding: 10px;
	border-radius: 9px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.38);
}
.ad-popup-dialog .ad-label { padding-top: 2px; }
.ad-popup-dialog .ad-content { min-height: 0; padding: 6px; }
.ad-popup-dialog .ad-close { right: -9px; top: -9px; width: 31px; height: 31px; background: #fff; }
.ad-device-mobile { display: none; }

/* Homepage and generic content */
.site-main { padding: 24px 0 52px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; border-left: 4px solid var(--bs-red); padding-left: 10px; }
.section-heading h2 { margin: 0; color: var(--bs-navy); font-size: 18px; line-height: 1.2; font-weight: 900; letter-spacing: -.2px; text-transform: uppercase; }
.section-heading > a { color: var(--bs-red); font-size: 12px; font-weight: 700; }
.headline-module { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 12px; margin-bottom: 24px; }
.headline-lead, .headline-side-card { position: relative; min-height: 0; border-radius: var(--bs-radius); overflow: hidden; background: #dcdcdc; }
.headline-lead { grid-row: span 2; aspect-ratio: 16/9; }
.headline-side { display: grid; grid-template-rows: repeat(2, minmax(0,1fr)); gap: 12px; }
.headline-side-card { aspect-ratio: 16/8.2; }
.headline-media { position: absolute; inset: 0; display: block; }
.headline-media img, .headline-media .beritasatu-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.headline-lead:hover .headline-media img, .headline-side-card:hover .headline-media img { transform: scale(1.03); }
.headline-gradient { position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.headline-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; color: #fff; }
.headline-content h1, .headline-content h2 { margin: 7px 0 4px; line-height: 1.2; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.headline-content h1 { font-size: clamp(24px, 3vw, 36px); }
.headline-content h2 { font-size: 17px; }
.headline-content a:hover { color: #fff; }
.subheadline-row { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 2px; }
.news-card { min-width: 0; }
.news-card-media { display: block; aspect-ratio: 16/9; border-radius: var(--bs-radius); overflow: hidden; background: #dedede; }
.news-card-media img, .news-card-media .beritasatu-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card:hover .news-card-media img { transform: scale(1.035); }
.beritasatu-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d7dce8, #f0f2f7); color: var(--bs-navy); font-weight: 900; }
.beritasatu-placeholder span { opacity: .42; }
.news-card-body { padding-top: 9px; }
.news-card h3 { margin: 5px 0 5px; font-size: 15px; line-height: 1.42; font-weight: 800; }
.news-card p { margin: 5px 0; color: var(--bs-muted); font-size: 13px; }
.post-category-badge { display: inline-flex; width: max-content; padding: 3px 7px; border-radius: 3px; background: var(--bs-soft-red); color: var(--bs-red); font-size: 10px; line-height: 1.25; font-weight: 800; }
.post-category-badge:hover { color: var(--bs-red-dark); }
.post-time { color: var(--bs-muted); font-size: 10px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) var(--bs-sidebar); gap: 28px; align-items: stretch; }
.content-grid-no-sidebar { grid-template-columns: minmax(0,1fr); }
.content-column { min-width: 0; }
.recommend-grid, .home-category-grid, .related-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 30px; }
.home-category-grid, .related-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.latest-list { margin-bottom: 32px; }
.news-list-item { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 18px; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--bs-line); }
.news-list-media { display: block; aspect-ratio: 16/9; border-radius: var(--bs-radius); overflow: hidden; background: #dedede; }
.news-list-media img, .news-list-media .beritasatu-placeholder { width: 100%; height: 100%; object-fit: cover; }
.news-list-body h2 { margin: 6px 0; color: var(--bs-text); font-size: 20px; line-height: 1.35; }
.news-list-body p { margin: 5px 0 8px; color: var(--bs-muted); font-size: 13px; }
.home-widget-area { margin: 24px 0; }
.archive-header { margin: 0 0 24px; padding-bottom: 12px; border-bottom: 3px solid var(--bs-navy); }
.archive-header h1 { margin: 0; color: var(--bs-navy); font-size: 28px; }
.archive-description { color: var(--bs-muted); }
.navigation.pagination { margin-top: 26px; }
.nav-links { display: flex; gap: 7px; flex-wrap: wrap; }
.page-numbers { min-width: 36px; height: 36px; padding: 7px 10px; border: 1px solid var(--bs-line); border-radius: 5px; text-align: center; }
.page-numbers.current { border-color: var(--bs-navy); background: var(--bs-navy); color: #fff; }

/* Sidebar */
.site-sidebar { min-width: 0; height: 100%; }
.sidebar-inner { min-height: 100%; }
.beritasatu-sticky-sidebar .sidebar-inner { position: relative; }
.beritasatu-sticky-sidebar .ad-slot-sidebar_bottom {
	position: sticky; top: calc(var(--admin-offset, 0px) + var(--bs-sticky-stack-offset, 156px)); z-index: 18;
	max-height: calc(100vh - var(--admin-offset, 0px) - var(--bs-sticky-stack-offset, 156px) - 12px); overflow: visible;
}
.beritasatu-sticky-sidebar .ad-slot-sidebar_bottom .ad-content { max-height: inherit; min-height: 0; }
.beritasatu-sticky-sidebar .ad-slot-sidebar_bottom img { max-height: inherit; object-fit: contain; }
.widget { margin: 0 0 24px; }
.widget-title { margin: 0 0 13px; padding: 0 0 8px; border-bottom: 3px solid var(--bs-navy); color: var(--bs-navy); font-size: 17px; font-weight: 900; text-transform: uppercase; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { padding: 6px 9px; border-radius: 4px; background: #f1f3f7; color: var(--bs-navy); font-weight: 700; }
.popular-post-list { list-style: none; margin: 0; padding: 0; counter-reset: popular; }
.popular-post-list li { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 10px; align-items: start; padding: 13px 0; border-bottom: 1px dashed #c9c9c9; }
.popular-number { color: var(--bs-navy); font-size: 31px; line-height: 1; font-weight: 900; letter-spacing: -2px; }
.popular-post-list h4 { margin: 5px 0 0; font-size: 14px; line-height: 1.38; }

/* Article */
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; color: var(--bs-muted); font-size: 12px; }
.breadcrumbs a { color: var(--bs-navy); font-weight: 700; }
.breadcrumb-separator { color: #aaa; }
.single-article { min-width: 0; }
.article-header { margin-bottom: 18px; }
.article-header h1 { margin: 8px 0 12px; color: var(--bs-text); font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.8px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--bs-muted); font-size: 12px; }
.share-buttons { display: flex; align-items: center; gap: 8px; margin: 17px 0; }
.share-buttons a, .share-buttons button { width: 38px; height: 38px; padding: 9px; border: 0; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.share-facebook { background: #1877f2; }
.share-x { background: #111; }
.share-whatsapp { background: #20b95a; }
.share-copy { background: var(--bs-navy); }
.share-copy.copied { box-shadow: 0 0 0 4px rgba(7,37,105,.18); }
.article-featured { margin: 0 0 20px; }
.article-featured img { display: block; width: 100%; border-radius: var(--bs-radius); }
.article-featured figcaption { padding-top: 7px; color: var(--bs-muted); font-size: 11px; }
.article-content { color: #252525; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.85; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--bs-navy); font-family: "Open Sans", Arial, sans-serif; line-height: 1.3; }
.article-content a { color: var(--bs-red); text-decoration: underline; text-underline-offset: 2px; }
.article-content blockquote { margin: 24px 0; padding: 14px 20px; border-left: 4px solid var(--bs-red); background: #f7f7f7; font-style: italic; }
.article-content iframe { max-width: 100%; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 24px 0; padding: 14px; background: #f5f6f8; }
.article-tags a { padding: 5px 9px; border-radius: 4px; background: #fff; color: var(--bs-navy); font-size: 12px; font-weight: 700; }
.related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.comments-area { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--bs-line); }
.comment-list { padding-left: 20px; }
.comment-body { margin-bottom: 18px; padding: 16px; background: #f7f7f7; border-radius: var(--bs-radius); }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--bs-line); border-radius: 4px; }
.comment-form .submit, .button { display: inline-flex; padding: 10px 16px; border: 0; border-radius: 5px; background: var(--bs-red); color: #fff; font-weight: 700; }

/* Footer */
.site-footer { margin-top: 20px; background: var(--bs-footer-bg); color: #252525; }
.footer-widget-wide { padding-top: 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0,1fr)); gap: 34px; padding: 42px 0 30px; }
.footer-logo .site-brand-link { font-size: 30px; }
.footer-intro { margin: 14px 0 20px; color: #4c4c4c; font-size: 13px; }
.footer-brand h3, .footer-column .widget-title { margin: 0 0 12px; padding: 0; border: 0; color: var(--bs-navy); font-size: 14px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bs-navy); color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.app-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.app-buttons a { min-width: 116px; padding: 7px 10px; border-radius: 6px; background: #111; color: #fff; display: flex; flex-direction: column; line-height: 1.05; }
.app-buttons small { font-size: 8px; }
.app-buttons strong { font-size: 13px; }
.footer-column .widget li + li { margin-top: 7px; }
.footer-column a { font-size: 13px; }
.footer-bottom-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid rgba(0,0,0,.15); font-size: 11px; }
.footer-bottom-row p { margin: 0; }

/* Utility */
.error-404 { max-width: 680px; padding: 70px 16px; text-align: center; }
.error-404 > span { color: var(--bs-red); font-size: 100px; line-height: 1; font-weight: 900; }
.no-results { padding: 30px; background: #f5f5f5; border-radius: var(--bs-radius); }

/* Dark mode */
body.dark-theme { --bs-surface: #121826; --bs-text: #f2f4f8; --bs-muted: #aeb6c3; --bs-line: #2d3543; --bs-ad-bg: #1c2330; background: #0d121c; color: var(--bs-text); }
.dark-theme .site-header, .dark-theme .desktop-header, .dark-theme .breaking-bar { background: var(--bs-surface); }
.dark-theme .beritasatu-search-form input[type="search"] { border-color: #394253; background: #1b2230; color: #fff; }
.dark-theme .header-action:hover { background: #1a2230; }
.dark-theme .breaking-track a, .dark-theme .news-list-body h2, .dark-theme .article-header h1 { color: var(--bs-text); }
.dark-theme .news-card-media, .dark-theme .news-list-media, .dark-theme .beritasatu-placeholder { background: #263043; }
.dark-theme .tag-cloud a, .dark-theme .article-tags, .dark-theme .comment-body, .dark-theme .article-content blockquote, .dark-theme .no-results { background: #192131; }
.dark-theme .article-content { color: #e6e9ef; }
.dark-theme .article-tags a { background: #273044; color: #fff; }
.dark-theme .site-footer { background: #151c28; color: #e7e9ee; }
.dark-theme .mobile-drawer { background: var(--bs-surface); color: var(--bs-text); }
.dark-theme .mobile-drawer-heading, .dark-theme .mobile-drawer-close { color: var(--bs-text); }
.dark-theme .mobile-drawer-card { background: #151c28; color: #fff; border-color: #536987; }
.dark-theme .mobile-drawer-menu > li > a { color: #fff; }
.dark-theme .footer-intro { color: #b6beca; }

@media (max-width: 1240px) {
	.ad-slot-floating_left, .ad-slot-floating_right { display: none !important; }
}

@media (max-width: 1080px) {
	.header-grid { grid-template-columns: minmax(165px, 220px) minmax(220px,1fr) minmax(245px,285px); }
	.header-search { padding: 0 14px; }
	.header-action { min-width: 64px; padding-inline: 6px; }
	.content-grid { gap: 20px; }
	.news-list-item { grid-template-columns: 220px minmax(0,1fr); }
}

@media (max-width: 900px) {
	body.admin-bar { --admin-offset: 46px; }
	.container { width: min(100% - 24px, var(--bs-container)); }
	.desktop-header { display: none; }
	.mobile-header { display: block; background: var(--bs-surface); border-bottom: 1px solid var(--bs-line); }
	.mobile-header-row { position: relative; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
	.mobile-logo { position: absolute; left: 50%; top: 50%; width: min(55vw, 220px); text-align: center; transform: translate(-50%, -50%); }
	.mobile-logo .site-brand-link { font-size: 25px; }
	.mobile-logo .custom-logo-link { justify-content: center; width: 100%; }
	.mobile-logo .custom-logo { max-height: 38px; max-width: 210px; }
	.mobile-menu-toggle { width: 38px; height: 38px; padding: 8px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
	.mobile-menu-toggle span { display: block; height: 2px; width: 22px; background: var(--bs-navy); transition: .2s; }
	.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
	.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.mobile-tools { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-left: auto; }
	.mobile-tools button, .mobile-tools a { width: 39px; height: 39px; padding: 8px; border: 0; background: transparent; color: var(--bs-navy); }
	.mobile-tools .dark-toggle-slot-mobile { display: inline-flex; align-items: center; justify-content: center; }
	.mobile-tools .dark-mode-toggle { display: grid; place-items: center; width: 39px; height: 39px; padding: 7px; border: 0; border-radius: 50%; background: transparent; color: var(--bs-navy); cursor: pointer; }
	.mobile-tools .dark-mode-toggle:hover { background: rgba(7,37,105,.08); }
	.mobile-tools .dark-mode-toggle svg { width: 27px; height: 27px; display: block; }
	.dark-theme .mobile-tools .dark-mode-toggle { color: #f7c948; }
	.mobile-live-slot { display: inline-flex; }
	.mobile-live-action { display: grid; place-items: center; padding: 4px !important; }
	.mobile-live-action span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: var(--bs-red); color: #fff; font-size: 8px; font-weight: 900; }
	.mobile-search-panel { padding: 10px 0; background: var(--bs-surface); border-top: 1px solid var(--bs-line); }
	.navigation-wrap { position: relative; background: var(--bs-red); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
	/* Mobile uses a JS-assisted fixed stack because position:sticky is unreliable
	 * in several Android browsers when a large scroll-gate precedes the header. */
	.beritasatu-sticky-header .site-header,
	.beritasatu-sticky-menu .navigation-wrap { position: relative; top: auto; }
	body.mobile-sticky-active.beritasatu-sticky-header .site-header {
		position: fixed; top: var(--admin-offset, 0px); left: 0; right: 0; width: 100%; z-index: 5000;
		box-shadow: 0 2px 10px rgba(0,0,0,.12);
	}
	body.mobile-sticky-active.beritasatu-sticky-menu .navigation-wrap {
		position: fixed; top: calc(var(--admin-offset, 0px) + var(--bs-mobile-header-height, 58px));
		left: 0; right: 0; width: 100%; z-index: 4990;
	}
	.mobile-sticky-spacer { display: block; width: 100%; height: 0; pointer-events: none; }
	body.mobile-sticky-active .mobile-sticky-spacer { height: var(--bs-mobile-sticky-spacer-height, 102px); }
	.main-navigation { display: block; position: static; background: var(--bs-red); box-shadow: none; overflow: visible; }
	.nav-container { width: 100%; min-height: 44px; padding: 0; overflow-x: auto; scrollbar-width: none; }
	.nav-container::-webkit-scrollbar { display: none; }
	.primary-menu { display: flex; align-items: stretch; width: max-content; min-width: 100%; min-height: 44px; }
	.primary-menu > li { display: block; position: static; flex: 0 0 auto; }
	.menu-link-row { justify-content: center; }
	.primary-menu > li > .menu-link-row > a, .primary-menu-fallback > li > a { flex: none; justify-content: center; min-height: 44px; padding: 10px 20px; font-size: 15px; }
	.menu-item-home { flex-basis: 52px !important; }
	.home-menu-link { min-width: 52px; padding-inline: 16px !important; }
	.mega-toggle, .mega-panel { display: none !important; }
	.secondary-navigation { display: none; }
	.breaking-bar { display: block; position: relative; z-index: 1200; width: 100%; background: var(--bs-surface); }
	.breaking-inner { width: 100%; min-height: 36px; padding: 0; grid-template-columns: auto minmax(0,1fr); }
	.breaking-label { padding: 7px 10px; font-size: 10px; }
	.breaking-track { min-width: 0; overflow: hidden; padding: 0 10px; }
	.breaking-marquee { min-width: max-content; }
	.breaking-track.is-running .breaking-marquee { animation: beritasatu-breaking-scroll var(--breaking-duration) linear infinite; }
	.breaking-group { gap: 22px; padding-right: 22px; }
	.breaking-group a, .breaking-group span { font-size: 11px; }
	.breaking-group a::after { margin-left: 22px; }

	.menu-open { overflow: hidden; }
	.mobile-drawer {
		display: block; position: fixed; inset: 0; z-index: 6000; overflow-y: auto; overscroll-behavior: contain;
		background: var(--bs-surface); color: var(--bs-navy); transform: translate3d(-100%,0,0); visibility: hidden;
		transition: transform .28s ease, visibility 0s linear .28s;
	}
	.menu-open .mobile-drawer { transform: translate3d(0,0,0); visibility: visible; transition-delay: 0s; }
	.mobile-drawer-inner { min-height: 100%; padding: 28px 24px calc(40px + var(--bs-sticky-bottom-height, 0px)); }
	.mobile-drawer-close { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 24px; padding: 8px; border: 0; background: transparent; color: #111; }
	.mobile-drawer-section + .mobile-drawer-section { margin-top: 34px; }
	.mobile-drawer-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: #232323; font-size: 20px; font-weight: 900; }
	.mobile-drawer-heading::after { content: ""; flex: 1; border-top: 1px dashed #777; }
	.mobile-drawer-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
	.mobile-drawer-card { min-height: 132px; border: 1px solid var(--bs-navy); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: #fff; color: var(--bs-navy); text-align: center; }
	.mobile-drawer-card:hover { color: var(--bs-red); }
	.mobile-drawer-card strong { font-size: 13px; line-height: 1.15; }
	.mobile-drawer-network { grid-column: 1 / -1; min-height: 76px; flex-direction: row; }
	.drawer-live-badge, .drawer-network-badge { display: grid; place-items: center; border-radius: 50%; background: var(--bs-red); color: #fff; font-weight: 900; }
	.drawer-live-badge { width: 54px; height: 54px; font-size: 12px; }
	.drawer-network-badge { width: 49px; height: 49px; font-size: 26px; }
	.drawer-card-icon { width: 35px; height: 35px; color: var(--bs-red); }
	.mobile-drawer-network strong { font-size: 20px; text-transform: uppercase; }
	.mobile-drawer-menu, .mobile-drawer-menu ul { list-style: none; margin: 0; padding: 0; }
	.mobile-drawer-menu > li > a { display: block; padding: 10px 0 10px 28px; color: var(--bs-navy); font-size: 20px; font-weight: 800; }
	.mobile-drawer-menu .sub-menu { padding-left: 12px; }
	.mobile-drawer-menu .sub-menu a { display: block; padding: 7px 0 7px 32px; color: #d74754; font-size: 17px; font-weight: 800; }

	.ad-slot-mobile_scroll_gate { display: block; width: 100%; margin: 0; background: #fff; overflow: hidden; }
	.ad-slot-mobile_scroll_gate .mobile-scroll-gate-creative { width: 100%; background: #f4f4f4; }
	.ad-slot-mobile_scroll_gate .ad-content { display: block; width: 100%; min-height: 0; padding: 0; }
	.ad-slot-mobile_scroll_gate .ad-content > *, .ad-slot-mobile_scroll_gate .ad-content a { display: block; width: 100%; }
	.ad-slot-mobile_scroll_gate img { display: block; width: 100%; height: auto; max-height: none; object-fit: cover; }
	.ad-slot-mobile_scroll_gate .mobile-scroll-gate-close { position: absolute; top: 6px; right: 6px; z-index: 4; width: 38px; height: 38px; border-radius: 0; border: 0; background: rgba(32,35,38,.82); color: #fff; }
	.mobile-scroll-gate-swipe { width: 100%; min-height: 41px; border: 0; background: var(--bs-red); color: #fff; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 700; }
	.headline-module { grid-template-columns: minmax(0,1.7fr) minmax(200px,1fr); }
	.content-grid { grid-template-columns: minmax(0,1fr); }
	.site-sidebar { margin-top: 12px; }
	.beritasatu-sticky-sidebar .sidebar-inner,
	.beritasatu-sticky-sidebar .ad-slot-sidebar_bottom { position: static; max-height: none; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.ad-device-desktop { display: none !important; }
	.ad-device-mobile { display: block; }
	.ad-slot-top_billboard { min-height: 0; }
	.ad-slot-top_billboard .ad-content { min-height: 0; }
	.ad-slot-header_banner, .ad-slot-after_menu, .ad-slot-home_after_headline, .ad-slot-footer_banner { width: calc(100% - 24px); }
	.single-wrap.has-article-sticky-ad { display: block; }
	.ad-slot-article_sticky_right { display: none !important; }
}

@media (max-width: 782px) {
	body.admin-bar { --admin-offset: 46px; }
}

@media (max-width: 680px) {
	.site-main { padding-top: 18px; }
	.section-heading h2 { font-size: 16px; }
	.headline-module { display: block; }
	.headline-lead { aspect-ratio: 16/10; margin-bottom: 10px; }
	.headline-side { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: none; gap: 10px; }
	.headline-side-card { aspect-ratio: 1/1; }
	.headline-content { padding: 13px; }
	.headline-content h1 { font-size: 23px; }
	.headline-content h2 { font-size: 13px; }
	.subheadline-row, .recommend-grid { display: flex; overflow-x: auto; gap: 11px; padding: 0 1px 8px; scroll-snap-type: x mandatory; }
	.subheadline-card, .recommend-card { flex: 0 0 72%; scroll-snap-align: start; }
	.home-category-grid { grid-template-columns: 1fr; }
	.home-category-card { display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 12px; }
	.home-category-card .news-card-media { aspect-ratio: 16/10; }
	.home-category-card .news-card-body { padding-top: 0; }
	.news-list-item { grid-template-columns: 132px minmax(0,1fr); gap: 12px; padding-bottom: 14px; margin-bottom: 14px; }
	.news-list-body h2 { font-size: 15px; margin: 4px 0; line-height: 1.3; }
	.news-list-body p { display: none; }
	.post-category-badge { font-size: 9px; }
	.article-header h1 { font-size: 30px; }
	.article-content { font-size: 17px; line-height: 1.78; }
	.related-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 32px; }
	.footer-bottom-row { display: block; text-align: center; }
	.footer-bottom-row p + p { margin-top: 5px; }
	.mega-posts { display: none; }
	.ad-slot-sticky_bottom { width: calc(100% - 8px); }
	.ad-slot-sticky_bottom .ad-content { min-height: 0; padding: 3px 34px 3px 3px; }
	.ad-slot-popup { padding: 12px; }
}

@media (max-width: 420px) {
	.container { width: min(100% - 20px, var(--bs-container)); }
	.breaking-label { padding-inline: 8px; font-size: 9px; }
	.headline-side-card { aspect-ratio: 1/1.12; }
	.subheadline-card, .recommend-card { flex-basis: 82%; }
	.home-category-card { grid-template-columns: 118px minmax(0,1fr); }
	.news-list-item { grid-template-columns: 112px minmax(0,1fr); }
	.news-list-body h2 { font-size: 14px; }
	.related-grid { grid-template-columns: 1fr; }
}

@media print {
	.site-header, .navigation-wrap, .breaking-bar, .site-sidebar, .site-footer, .beritasatu-ad, .share-buttons { display: none !important; }
	.content-grid { display: block; }
	.article-content { font-size: 12pt; color: #000; }
}

/* Customizer-ready component wrappers */
.header-action-slot,
.dark-toggle-slot-desktop {
	display: flex;
	height: 100%;
}
.header-action-slot .header-action,
.dark-toggle-slot-desktop .header-action {
	height: 100%;
}
.mobile-search-toggle-slot,
.dark-toggle-slot-mobile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.home-customizer-module,
.header-action-slot,
.dark-toggle-slot,
.footer-brand,
.footer-column,
.footer-widget-wide,
.beritasatu-ad,
.breaking-bar,
.main-navigation,
.secondary-navigation {
	position: relative;
}
.beritasatu-customizer-placeholder {
	min-height: 56px;
	margin: 10px 0;
	padding: 16px;
	border: 2px dashed #b8c1cf;
	border-radius: 7px;
	background: rgba(244, 247, 251, .92);
	color: #526071;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}
.header-action-slot .beritasatu-customizer-placeholder,
.dark-toggle-slot .beritasatu-customizer-placeholder,
.mobile-search-toggle-slot .beritasatu-customizer-placeholder {
	min-height: 44px;
	min-width: 70px;
	margin: 4px;
	padding: 6px;
	font-size: 9px;
}
.customize-partial-edit-shortcut {
	z-index: 10050;
}

/* BeritaSatu 1.6.0: centered footer matching the portal reference. */
.site-footer {
	margin-top: 20px;
	padding: 0;
	background: var(--bs-footer-bg);
	color: #343434;
}
.footer-container { width: min(100% - 32px, 1120px); }
.footer-shell { padding: 42px 0 30px; text-align: center; }
.footer-brand-centered { display: flex; justify-content: center; padding: 0 0 30px; }
.footer-brand-centered .footer-logo { width: 100%; text-align: center; overflow: visible; }
.footer-brand-centered .site-brand-link,
.footer-brand-centered .custom-logo-link { justify-content: center; margin-inline: auto; }
.footer-brand-centered .site-brand-link { font-size: clamp(34px, 4vw, 52px); }
.footer-brand-centered .brand-block { min-height: 56px; padding: 0 22px; }
.footer-brand-centered .custom-logo { width: auto; max-width: min(100%, 360px); max-height: 76px; object-fit: contain; }
.footer-information { padding: 28px 0 34px; border-top: 1px solid rgba(0,0,0,.16); border-bottom: 1px solid rgba(0,0,0,.16); }
.footer-information h2,
.footer-social-block h2 { margin: 0 0 12px; color: #222; font-size: clamp(19px, 2vw, 25px); line-height: 1.25; font-weight: 900; }
.footer-information-menu { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.footer-information-menu li { display: inline-flex; align-items: center; }
.footer-information-menu li:not(:last-child)::after { content: "|"; margin: 0 10px; color: #5b5b5b; }
.footer-information-menu a { color: #505050; font-size: clamp(14px, 1.65vw, 21px); line-height: 1.55; }
.footer-information-menu a:hover { color: var(--bs-red); }
.footer-social-block { padding: 42px 0 24px; }
.footer-socials { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-socials a,
.footer-socials .footer-social-placeholder {
	display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
	background: #202020; color: #fff; transition: transform .2s ease, background .2s ease;
}
.footer-socials a:hover { transform: translateY(-2px); filter: brightness(.96); color: #fff; }
.footer-socials .social-facebook { background: #1877f2; }
.footer-socials .social-x { background: #111; }
.footer-socials .social-instagram { background: #d62976; }
.footer-socials .social-youtube { background: #ff0000; }
.footer-socials .social-tiktok { background: #0f0f0f; }
.footer-socials .social-link, .footer-socials .footer-social-placeholder { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.footer-socials svg { width: 27px; height: 27px; }
.footer-bottom-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 24px 0 0; border: 0; font-size: clamp(14px, 1.6vw, 20px); }
.footer-bottom-row p { margin: 0; }
.footer-credit { font-size: 12px; }
.legacy-footer-column, .app-buttons { display: none !important; }
.back-to-top {
	position: fixed; right: 14px; bottom: calc(var(--bs-sticky-bottom-height, 0px) + 14px + env(safe-area-inset-bottom));
	z-index: 1650; width: 52px; height: 52px; border: 0; border-radius: 7px; background: var(--bs-red);
	color: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.18); font-size: 20px; line-height: 1;
	transition: opacity .2s ease, transform .2s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--bs-red-dark); transform: translateY(-2px); }

/* Public /indeks page. */
.index-page-main { padding-top: 38px; }
.index-page-container { width: min(100% - 32px, 820px); }
.index-filter-panel { margin: 0 0 36px; padding: 26px; background: #f7f8fa; }
.index-filter-form { display: grid; gap: 16px; }
.index-select-wrap { position: relative; }
.index-select-wrap::after {
	content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px;
	border-right: 2px solid #333; border-bottom: 2px solid #333; transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.index-filter-form select,
.index-filter-form input[type="date"] {
	width: 100%; height: 48px; padding: 8px 48px 8px 20px; border: 1px solid #d5d9df;
	border-radius: 999px; background: #fff; color: #333; outline: none; appearance: none;
}
.index-filter-form select:focus,
.index-filter-form input[type="date"]:focus { border-color: var(--bs-red); box-shadow: 0 0 0 3px rgba(208,30,39,.1); }
.index-date-row { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.index-date-row input[type="date"] { border-radius: 999px 0 0 999px; padding-right: 16px; }
.index-date-row button {
	min-width: 118px; height: 48px; padding: 8px 22px; border: 0; border-radius: 0 999px 999px 0;
	background: var(--bs-red); color: #fff; font-weight: 700;
}
.index-date-row button:hover { background: var(--bs-red-dark); }
.index-results { min-height: 240px; }
.index-news-item { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 20px; align-items: center; margin-bottom: 28px; }
.index-news-media { display: block; width: 160px; aspect-ratio: 1/1; overflow: hidden; border-radius: 8px; background: #ddd; }
.index-news-media img,
.index-news-media .beritasatu-placeholder { width: 100%; height: 100%; object-fit: cover; }
.index-news-body h2 { margin: 0 0 14px; color: var(--bs-text); font-size: 23px; line-height: 1.28; font-weight: 800; }
.index-news-body h2 a:hover { color: var(--bs-red); }
.index-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.index-news-meta .post-category-badge { padding: 6px 12px; border-radius: 999px; font-size: 11px; text-transform: uppercase; }
.index-news-meta .post-time { font-size: 12px; }
.index-empty { padding: 34px; border-radius: 8px; background: #f7f8fa; text-align: center; }
.index-results .page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 30px 0 0; padding: 0; list-style: none; }
.index-results .page-numbers li { margin: 0; }
.index-results .page-numbers a,
.index-results .page-numbers span { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 5px; background: #f1f2f4; color: var(--bs-navy); font-weight: 700; }
.index-results .page-numbers .current { background: var(--bs-red); color: #fff; }
.index-results > .beritasatu-ad { margin: 4px auto 28px; }

.dark-theme .footer-information h2,
.dark-theme .footer-social-block h2 { color: #f1f3f7; }
.dark-theme .footer-information { border-color: rgba(255,255,255,.18); }
.dark-theme .footer-information-menu a { color: #c6ccd7; }
.dark-theme .index-filter-panel,
.dark-theme .index-empty { background: #151c28; }
.dark-theme .index-filter-form select,
.dark-theme .index-filter-form input[type="date"] { border-color: #3c4657; background: #1b2230; color: #fff; }
.dark-theme .index-select-wrap::after { border-color: #fff; }

@media (max-width: 680px) {
	.footer-shell { padding: 28px 0 24px; }
	.footer-brand-centered { padding-bottom: 24px; }
	.footer-brand-centered .custom-logo { max-width: 255px; max-height: 58px; }
	.footer-brand-centered .site-brand-link { font-size: 34px; }
	.footer-information { padding: 24px 8px 28px; }
	.footer-information-menu li:not(:last-child)::after { margin: 0 6px; }
	.footer-information-menu a { font-size: 14px; }
	.footer-social-block { padding: 34px 0 18px; }
	.footer-socials { gap: 10px; }
	.footer-socials a,
	.footer-socials .footer-social-placeholder { width: 48px; height: 48px; }
	.footer-socials svg { width: 26px; height: 26px; }
	.footer-bottom-row { font-size: 15px; }
	.back-to-top { width: 46px; height: 46px; right: 10px; }

	.index-page-main { padding-top: 40px; }
	.index-page-container { width: min(100% - 36px, 820px); }
	.index-filter-panel { margin-bottom: 36px; padding: 20px 24px 28px; }
	.index-filter-form { gap: 16px; }
	.index-filter-form select,
	.index-filter-form input[type="date"],
	.index-date-row button { height: 46px; }
	.index-date-row button { min-width: 112px; padding-inline: 16px; }
	.index-news-item { grid-template-columns: 154px minmax(0,1fr); gap: 18px; margin-bottom: 36px; }
	.index-news-media { width: 154px; border-radius: 8px; }
	.index-news-body h2 { margin-bottom: 13px; font-size: 20px; line-height: 1.28; }
	.index-news-meta { gap: 10px; }
	.index-news-meta .post-category-badge { padding: 6px 11px; font-size: 10px; }
	.index-news-meta .post-time { font-size: 11px; }
}

@media (max-width: 480px) {
	.index-page-container { width: min(100% - 28px, 820px); }
	.index-filter-panel { margin-inline: -2px; padding: 20px 20px 26px; }
	.index-news-item { grid-template-columns: 124px minmax(0,1fr); gap: 14px; margin-bottom: 30px; }
	.index-news-media { width: 124px; }
	.index-news-body h2 { font-size: 17px; line-height: 1.3; }
	.index-news-meta { gap: 8px; }
}

.footer-information,
.footer-social-block,
.index-filter-panel,
.index-results { position: relative; }

@media (max-width: 991px) {
  .brand-block { min-height: 40px; padding: 0 12px; }
  .mobile-logo .site-brand-link { font-size: 0; }
  .mobile-logo .brand-logo-lockup { border-width: 1.5px; border-radius: 8px; }
  .mobile-logo .brand-block { min-height: 34px; padding: 0 10px; font-size: 24px; }
}
