@charset "UTF-8";
/* ==========================================================================
   Hery Bery — kerangka situs & beranda
   Dimuat setelah modern.css. Semua kelas berawalan .hb- agar tidak bentrok
   dengan gaya lama yang masih dipakai halaman dalam (isi.php).
   ========================================================================== */

.hb-site {
	--hb-bg: #f5f8f6;
	--hb-card: #ffffff;
	--hb-ink: #132a3a;
	--hb-ink-2: #34495a;
	--hb-muted: #5b6f7e;
	--hb-line: #e2eae5;
	--hb-line-2: #eef3f0;
	--hb-brand: #0f6b4f;
	--hb-brand-2: #0a5640;
	--hb-brand-soft: #e7f4ed;
	--hb-brand-tint: #f2faf5;
	--hb-gold: #f4b740;
	--hb-gold-soft: #fff4dc;
	--hb-r-sm: 10px;
	--hb-r: 14px;
	--hb-r-lg: 20px;
	--hb-shadow-sm: 0 1px 2px rgba(19, 42, 58, .05), 0 2px 8px rgba(19, 42, 58, .04);
	--hb-shadow: 0 12px 32px -14px rgba(15, 75, 58, .28);
	--hb-header-h: 64px;
	--hb-gutter: 16px;
	--hb-ease: cubic-bezier(.2, .7, .2, 1);

	background: var(--hb-bg) !important;
	color: var(--hb-ink) !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}

.hb-site [hidden] { display: none !important; }
.hb-site main:focus { outline: 0 !important; box-shadow: none !important; }
body.hb-lock { overflow: hidden !important; }

.hb-ico {
	width: 1em; height: 1em; flex: none;
	fill: none; stroke: currentColor; stroke-width: 2;
	stroke-linecap: round; stroke-linejoin: round;
	vertical-align: -.125em;
}

.hb-container {
	width: min(100% - 2 * var(--hb-gutter), 1200px);
	margin-inline: auto;
}

/* Judul: timpa gaya heading lama (modern.css memakai !important) */
.hb-site .hb-header h2, .hb-site .hb-hero h1, .hb-site .hb-section h2, .hb-site .hb-section h3,
.hb-site .hb-side h2, .hb-site .hb-footer h2 {
	margin: 0 !important; padding: 0;
	font-family: inherit !important;
	letter-spacing: -.015em !important;
	text-shadow: none;
}

/* --------------------------------------------------------------------------
   Tombol, chip, badge, meta
   -------------------------------------------------------------------------- */

.hb-btn {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	min-height: 42px; margin: 0; padding: 0 18px;
	border: 1px solid transparent; border-radius: 12px;
	font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1;
	text-decoration: none !important; white-space: nowrap; cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.hb-btn--primary { background: var(--hb-brand); color: #fff !important; }
.hb-btn--primary:hover { background: var(--hb-brand-2); color: #fff !important; }
.hb-btn--ghost { border-color: var(--hb-line); background: #fff; color: var(--hb-ink) !important; }
.hb-btn--ghost:hover { border-color: #c9d8cf; background: var(--hb-brand-tint); }
.hb-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }

.hb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 !important; }
.hb-chips__label { margin-right: 2px; color: var(--hb-muted); font-size: 13px; font-weight: 600; }
.hb-chip {
	display: inline-flex; align-items: center;
	min-height: 30px; padding: 0 11px;
	border: 1px solid var(--hb-line); border-radius: 999px;
	background: #fff; color: var(--hb-ink-2) !important;
	font-size: 13px; font-weight: 600; line-height: 1;
	text-decoration: none !important;
	transition: border-color .18s, background-color .18s, color .18s;
}
.hb-chip:hover { border-color: #b7d9c6; background: var(--hb-brand-soft); color: var(--hb-brand-2) !important; }

.hb-badge {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center; align-self: flex-start;
	min-height: 24px; padding: 0 9px;
	border-radius: 999px;
	background: var(--hb-brand-soft); color: var(--hb-brand-2) !important;
	font-size: 11.5px; font-weight: 700; letter-spacing: .02em; line-height: 1;
	text-decoration: none !important; text-transform: uppercase;
}
a.hb-badge:hover { background: #d3ecdf; }
.hb-badge--img {
	position: absolute; top: 10px; left: 10px;
	background: rgba(255, 255, 255, .92); color: var(--hb-brand-2) !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.hb-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
	margin: 0 !important;
	color: var(--hb-muted) !important; font-size: 12.5px !important; line-height: 1.4 !important;
}
.hb-meta > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.hb-meta .hb-ico { font-size: 13px; opacity: .8; }

/* Tautan menutupi seluruh kartu */
.hb-stretch { color: inherit !important; text-decoration: none !important; }
.hb-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hb-stretch:focus-visible { outline: 0 !important; box-shadow: none !important; }
.hb-stretch:focus-visible::after { outline: 3px solid var(--hb-brand); outline-offset: 2px; }

.hb-ph {
	display: grid; place-items: center;
	width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--hb-brand-soft), #f7f1df);
	color: #8fb7a2; font-size: 28px;
}

.hb-empty { margin: 0 !important; color: var(--hb-muted); font-size: 14px; }

/* --------------------------------------------------------------------------
   Header & navigasi
   -------------------------------------------------------------------------- */

.hb-header {
	position: sticky; top: 0; z-index: 1000;
	border-bottom: 1px solid rgba(15, 107, 79, .1);
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	transition: box-shadow .2s;
}
.hb-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(19, 42, 58, .35); }
.hb-header__bar { display: flex; align-items: center; gap: 12px; min-height: var(--hb-header-h); }

.hb-brand {
	display: inline-flex; align-items: center; gap: 10px; flex: none;
	min-width: 0; color: var(--hb-ink) !important; text-decoration: none !important;
}
.hb-brand__logo {
	display: block; flex: none; width: 40px !important; height: 40px !important;
	border: 1px solid rgba(15, 107, 79, .12); border-radius: 12px;
	background: #fff; object-fit: contain;
}
.hb-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.hb-brand__text strong { font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.hb-brand__text small { margin-top: 3px; color: var(--hb-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }

.hb-nav__list { margin: 0 !important; padding: 0 !important; list-style: none; }
.hb-nav__item { position: relative; margin: 0 !important; list-style: none; }
.hb-nav__link {
	display: flex; align-items: center;
	color: var(--hb-ink-2) !important; font-weight: 600; text-decoration: none !important;
	border-radius: 10px;
	transition: background-color .18s, color .18s;
}
.hb-nav__link:hover { background: var(--hb-brand-tint); color: var(--hb-brand-2) !important; }
.hb-nav__item.is-current > .hb-nav__link { background: var(--hb-brand-soft); color: var(--hb-brand-2) !important; }
.hb-nav__sub-btn {
	-webkit-appearance: none; appearance: none;
	display: grid; place-items: center;
	margin: 0; padding: 0; border: 0; border-radius: 8px;
	background: transparent; color: var(--hb-muted); cursor: pointer;
}
.hb-nav__sub-btn:hover { background: var(--hb-brand-tint); color: var(--hb-brand-2); }
.hb-nav__sub-btn .hb-ico { transition: transform .2s; }
.hb-nav__item.is-open > .hb-nav__sub-btn .hb-ico { transform: rotate(180deg); }
.hb-nav__sub { margin: 0 !important; padding: 6px !important; list-style: none; }
.hb-nav__sub li { margin: 0 !important; list-style: none; }
.hb-nav__sub a {
	display: block; padding: 9px 12px; border-radius: 9px;
	color: var(--hb-ink-2) !important; font-size: 14px; font-weight: 550; text-decoration: none !important;
}
.hb-nav__sub a:hover,
.hb-nav__sub a[aria-current] { background: var(--hb-brand-tint); color: var(--hb-brand-2) !important; }

.hb-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hb-clock {
	display: none; align-items: center; gap: 6px;
	margin-right: 4px; padding: 0 12px; min-height: 34px;
	border: 1px solid var(--hb-line); border-radius: 999px;
	color: var(--hb-muted); font-size: 12.5px; font-weight: 600; white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.hb-clock .hb-ico { color: var(--hb-brand); }
.hb-clock__sep { color: #a9b8b0; }

.hb-icon-btn {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 42px; height: 42px; margin: 0; padding: 0 11px;
	border: 1px solid var(--hb-line); border-radius: 12px;
	background: #fff; color: var(--hb-ink); font-size: 19px; cursor: pointer;
	transition: background-color .18s, border-color .18s;
}
.hb-icon-btn:hover,
.hb-icon-btn[aria-expanded="true"] { border-color: #c4dccf; background: var(--hb-brand-tint); color: var(--hb-brand-2); }
.hb-kbd {
	display: none; min-width: 20px; padding: 1px 6px;
	border: 1px solid var(--hb-line); border-bottom-width: 2px; border-radius: 6px;
	color: var(--hb-muted); font: 600 11px/1.4 ui-monospace, Consolas, monospace;
}
.hb-menu-btn .hb-ico--tutup,
.hb-header.is-nav-open .hb-menu-btn .hb-ico--buka { display: none; }
.hb-header.is-nav-open .hb-menu-btn .hb-ico--tutup { display: inline; }

/* Panel pencarian di bawah header */
.hb-searchbar {
	position: absolute; top: 100%; left: 0; right: 0;
	padding: 14px 0 16px;
	border-bottom: 1px solid var(--hb-line);
	background: #fff;
	box-shadow: 0 18px 30px -20px rgba(19, 42, 58, .35);
	animation: hb-turun .2s var(--hb-ease);
}
.hb-searchbar .hb-chips { margin-top: 12px !important; }
@keyframes hb-turun { from { opacity: 0; transform: translateY(-6px); } }

/* Form pencarian (header & hero) */
.hb-search {
	position: relative;
	display: flex; align-items: center; gap: 6px;
	margin: 0 !important; padding: 5px;
	border: 1px solid #d5e2da; border-radius: 14px;
	background: #fff;
	box-shadow: var(--hb-shadow-sm);
	transition: border-color .18s, box-shadow .18s;
}
.hb-search:focus-within { border-color: #7fbf9f; box-shadow: 0 0 0 4px rgba(15, 107, 79, .12); }
.hb-search > .hb-ico { margin-left: 10px; color: var(--hb-muted); font-size: 18px; }
.hb-search input[type="search"] {
	flex: 1; min-width: 0; height: 40px; margin: 0; padding: 0 4px;
	border: 0 !important; background: transparent !important; box-shadow: none !important;
	color: var(--hb-ink); font-size: 15px; outline: 0 !important;
}
.hb-search input::placeholder { color: #8b9ba6; }
.hb-search input::-webkit-search-cancel-button { cursor: pointer; }

/* --------------------------------------------------------------------------
   Hero (beranda)
   -------------------------------------------------------------------------- */

.hb-hero { padding: 20px 0 0; }
.hb-hero__card {
	position: relative; overflow: hidden;
	border: 1px solid rgba(15, 107, 79, .1); border-radius: 24px;
	background:
		radial-gradient(circle at 92% 12%, rgba(244, 183, 64, .22), transparent 14rem),
		radial-gradient(circle at 70% 110%, rgba(64, 176, 150, .18), transparent 16rem),
		#fbfaf5;
	box-shadow: var(--hb-shadow-sm);
}
.hb-hero__media { display: none; }
.hb-hero__body { position: relative; z-index: 1; padding: 26px 20px 18px; }
.hb-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 12px !important; padding: 5px 11px;
	border: 1px solid rgba(15, 107, 79, .14); border-radius: 999px;
	background: rgba(255, 255, 255, .85);
	color: var(--hb-brand-2) !important; font-size: 11.5px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.hb-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #ef765f; box-shadow: 0 0 0 3px rgba(239, 118, 95, .18); }
.hb-site .hb-hero__title {
	color: var(--hb-ink) !important;
	font-size: clamp(28px, 4.4vw, 48px) !important; font-weight: 850 !important;
	line-height: 1.06 !important; letter-spacing: -.04em !important;
}
.hb-hero__title span { color: var(--hb-brand); }
.hb-hero__lead { max-width: 34rem; margin: 12px 0 18px !important; color: var(--hb-ink-2) !important; font-size: 15.5px !important; line-height: 1.6 !important; }
.hb-search--hero { max-width: 31rem; }
.hb-hero .hb-chips { margin-top: 14px !important; }
.hb-hero .hb-chip { background: rgba(255, 255, 255, .8); }

.hb-hero__stats {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: repeat(3, 1fr);
	margin: 0 !important; padding: 0;
	border-top: 1px solid rgba(15, 107, 79, .1);
	background: rgba(255, 255, 255, .6);
}
.hb-hero__stats div { padding: 12px 8px; text-align: center; }
.hb-hero__stats div + div { border-left: 1px solid rgba(15, 107, 79, .1); }
.hb-hero__stats dt { order: 2; color: var(--hb-muted); font-size: 12px; font-weight: 600; }
.hb-hero__stats dd { margin: 0 !important; color: var(--hb-ink); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hb-hero__stats div { display: flex; flex-direction: column-reverse; }

@media (min-width: 640px) {
	.hb-hero__media {
		display: block; width: 100%; height: 170px;
		object-fit: cover; object-position: 78% 55%;
	}
	.hb-hero__body { padding: 24px 28px 20px; }
}

@media (min-width: 900px) {
	.hb-hero { padding-top: 24px; }
	.hb-hero__card { display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
	.hb-hero__media {
		position: absolute; inset: 0; height: 100%;
		object-position: right 55%;
	}
	.hb-hero__card::before {
		content: ""; position: absolute; inset: 0; z-index: 0;
		background: linear-gradient(90deg, #fbfaf5 0%, rgba(251, 250, 245, .96) 36%, rgba(251, 250, 245, .55) 54%, rgba(251, 250, 245, 0) 68%);
	}
	.hb-hero__body { max-width: 700px; padding: 34px 44px 18px; }
	.hb-hero__stats {
		align-self: flex-start;
		margin: 0 44px 30px !important;
		grid-template-columns: repeat(3, auto);
		border: 1px solid rgba(15, 107, 79, .1); border-radius: 14px;
		background: rgba(255, 255, 255, .78);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	}
	.hb-hero__stats div { padding: 8px 18px; text-align: left; }
	.hb-hero__stats dd { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   Tata letak halaman
   -------------------------------------------------------------------------- */

.hb-page { padding: 24px 0 48px; }
.hb-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.hb-main { container: hbmain / inline-size; min-width: 0; }
.hb-side { display: grid; gap: 16px; min-width: 0; align-content: start; }

/* Tablet: widget dalam 2 kolom bertingkat (tanpa ruang kosong antar-baris) */
@media (min-width: 680px) and (max-width: 1023.98px) {
	.hb-side { display: block; columns: 2; column-gap: 16px; }
	.hb-side > .hb-widget { margin-bottom: 16px; break-inside: avoid; }
}
@media (min-width: 1024px) {
	.hb-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}

/* --------------------------------------------------------------------------
   Seksi beranda
   -------------------------------------------------------------------------- */

.hb-section + .hb-section { margin-top: 36px; }
.hb-section__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-bottom: 14px;
}
.hb-site .hb-section__head h2 {
	display: flex; align-items: center; gap: 8px;
	color: var(--hb-ink) !important; font-size: 21px !important; font-weight: 800 !important; line-height: 1.2 !important;
}
.hb-section__head h2 .hb-ico { color: var(--hb-brand); font-size: 19px; }
.hb-more {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	min-height: 34px; padding: 0 12px;
	border-radius: 999px;
	color: var(--hb-brand-2) !important; font-size: 13.5px; font-weight: 700; text-decoration: none !important;
	transition: background-color .18s;
}
.hb-more:hover { background: var(--hb-brand-soft); }
.hb-more .hb-ico { transition: transform .18s; }
.hb-more:hover .hb-ico { transform: translateX(3px); }

/* Tulisan pilihan: kartu unggulan */
.hb-featured { display: grid; gap: 14px; }
.hb-lead {
	position: relative; display: flex; flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--hb-line); border-radius: var(--hb-r-lg);
	background: var(--hb-card);
	box-shadow: var(--hb-shadow-sm);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hb-lead:hover { border-color: #c9ddd1; box-shadow: var(--hb-shadow); transform: translateY(-2px); }
.hb-lead__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--hb-line-2); }
.hb-lead__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hb-ease); }
.hb-lead:hover .hb-lead__media img,
.hb-card:hover .hb-card__media img,
.hb-mini:hover .hb-mini__media img { transform: scale(1.04); }
.hb-lead__body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 16px 18px 18px; }
.hb-site .hb-lead__title { font-size: 20px !important; font-weight: 800 !important; line-height: 1.3 !important; }
.hb-lead__title a:hover { color: var(--hb-brand-2) !important; }
.hb-lead__excerpt {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
	margin: 0 !important; color: var(--hb-ink-2) !important; font-size: 14.5px !important; line-height: 1.6 !important;
}
.hb-lead .hb-meta { margin-top: auto !important; padding-top: 4px; }

/* Tulisan pilihan: daftar ringkas */
.hb-minis { display: grid; gap: 10px; align-content: start; }
.hb-mini {
	position: relative;
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center;
	padding: 10px;
	border: 1px solid var(--hb-line); border-radius: var(--hb-r);
	background: var(--hb-card);
	transition: border-color .2s, box-shadow .2s;
}
.hb-mini:hover { border-color: #c9ddd1; box-shadow: var(--hb-shadow); }
.hb-mini__media { width: 96px; height: 76px; overflow: hidden; border-radius: 10px; background: var(--hb-line-2); }
.hb-mini__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hb-ease); }
.hb-mini__media .hb-ph { font-size: 22px; }
.hb-mini__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hb-mini__cat {
	position: relative; z-index: 2; align-self: flex-start;
	color: var(--hb-brand) !important; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none !important;
}
.hb-mini__cat:hover { color: var(--hb-brand-2) !important; text-decoration: underline !important; }
.hb-site .hb-mini__title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 15px !important; font-weight: 700 !important; line-height: 1.35 !important;
}
.hb-mini__title a:hover { color: var(--hb-brand-2) !important; }
.hb-mini .hb-meta { font-size: 12px !important; }

@container hbmain (min-width: 700px) {
	.hb-featured { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: stretch; }
	.hb-minis { grid-template-rows: repeat(4, 1fr); }
	.hb-mini { grid-template-columns: 88px minmax(0, 1fr); }
	.hb-mini__media { width: 88px; height: 100%; min-height: 70px; max-height: 84px; }
}

/* Terbaru: filter kategori */
.hb-filter {
	display: flex; gap: 6px;
	margin: 0 -16px 14px; padding: 0 16px 2px;
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.hb-filter::-webkit-scrollbar { display: none; }
.hb-filter__btn {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	min-height: 34px; margin: 0; padding: 0 13px;
	border: 1px solid var(--hb-line); border-radius: 999px;
	background: #fff; color: var(--hb-ink-2);
	font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
	scroll-snap-align: start;
	transition: background-color .18s, border-color .18s, color .18s;
}
.hb-filter__btn span {
	min-width: 20px; padding: 2px 6px; border-radius: 999px;
	background: var(--hb-line-2); color: var(--hb-muted); font-size: 11.5px; text-align: center;
}
.hb-filter__btn:hover { border-color: #b7d9c6; }
.hb-filter__btn[aria-pressed="true"] { border-color: var(--hb-brand); background: var(--hb-brand); color: #fff; }
.hb-filter__btn[aria-pressed="true"] span { background: rgba(255, 255, 255, .2); color: #fff; }

/* Terbaru: kartu */
.hb-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hb-card {
	position: relative;
	display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start;
	padding: 10px;
	border: 1px solid var(--hb-line); border-radius: var(--hb-r);
	background: var(--hb-card);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hb-card:hover { border-color: #c9ddd1; box-shadow: var(--hb-shadow); }
.hb-card__media { position: relative; height: 88px; overflow: hidden; border-radius: 10px; background: var(--hb-line-2); }
.hb-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hb-ease); }
.hb-card__media .hb-badge--img { display: none; }
.hb-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hb-site .hb-card__title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
	font-size: 15px !important; font-weight: 700 !important; line-height: 1.35 !important;
}
.hb-card__title a:hover { color: var(--hb-brand-2) !important; }
.hb-card__excerpt { display: none; margin: 0 !important; }
.hb-card__cat { color: var(--hb-brand); font-size: 11px; font-weight: 800; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; }
.hb-card .hb-meta > span:nth-child(3) { display: none; }
.hb-card.is-hidden { display: none; }
.hb-card.is-masuk { animation: hb-muncul .32s var(--hb-ease) both; }
@keyframes hb-muncul { from { opacity: 0; transform: translateY(8px) scale(.98); } }

@container hbmain (min-width: 540px) {
	.hb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.hb-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border-radius: var(--hb-r-lg); }
	.hb-card:hover { transform: translateY(-2px); }
	.hb-card__media { height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
	.hb-card__media .hb-badge--img { display: inline-flex; }
	.hb-card__cat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.hb-card__body { flex: 1; padding: 12px 14px 14px; }
	.hb-card__excerpt {
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
		color: var(--hb-muted) !important; font-size: 13.5px !important; line-height: 1.55 !important;
	}
	.hb-site .hb-card__title { -webkit-line-clamp: 2; }
	.hb-card .hb-meta { margin-top: auto !important; padding-top: 2px; }
	.hb-card .hb-meta > span:nth-child(3) { display: inline-flex; }
}
@container hbmain (min-width: 780px) {
	.hb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Galeri & video: baris geser di layar kecil, grid di layar lebar */
.hb-scroller {
	display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
	margin: 0 -16px; padding: 2px 16px 8px;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: thin;
}
.hb-scroller > * { scroll-snap-align: start; }
.hb-videos { grid-auto-columns: 80%; }
@container hbmain (min-width: 600px) {
	.hb-scroller { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; }
	.hb-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.hb-gallery__item {
	position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
	border-radius: var(--hb-r); background: var(--hb-line-2);
	text-decoration: none !important;
}
.hb-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hb-ease); }
.hb-gallery__item:hover img { transform: scale(1.06); }
.hb-gallery__cap {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 28px 12px 10px;
	background: linear-gradient(transparent, rgba(10, 30, 24, .78));
	color: #fff; font-size: 13px; font-weight: 650; line-height: 1.3;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.hb-video { display: flex; flex-direction: column; gap: 8px; color: var(--hb-ink) !important; text-decoration: none !important; }
.hb-video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--hb-r); background: #10221b; }
.hb-video__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .6s var(--hb-ease), opacity .2s; }
.hb-video:hover .hb-video__thumb img { transform: scale(1.05); opacity: 1; }
.hb-video__play {
	position: absolute; top: 50%; left: 50%;
	display: grid; place-items: center;
	width: 46px; height: 46px; transform: translate(-50%, -50%);
	border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--hb-brand);
	font-size: 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transition: transform .2s, background-color .2s, color .2s;
}
.hb-video__play .hb-ico { margin-left: 3px; }
.hb-video:hover .hb-video__play { transform: translate(-50%, -50%) scale(1.08); background: #ff0033; color: #fff; }
.hb-video__title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 14.5px; font-weight: 700; line-height: 1.35;
}
.hb-video:hover .hb-video__title { color: var(--hb-brand-2); }

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */

.hb-widget {
	min-width: 0; padding: 16px;
	border: 1px solid var(--hb-line); border-radius: var(--hb-r-lg);
	background: var(--hb-card);
	box-shadow: var(--hb-shadow-sm);
}
.hb-widget__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hb-site .hb-widget__head h2 {
	display: flex; align-items: center; gap: 8px;
	color: var(--hb-ink) !important; font-size: 16px !important; font-weight: 800 !important; line-height: 1.3 !important;
}
.hb-widget__head h2 .hb-ico { color: var(--hb-brand); }
.hb-widget__head a { color: var(--hb-brand-2) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.hb-widget__head a:hover { text-decoration: underline !important; }
.hb-widget > .hb-chips .hb-chip { background: var(--hb-brand-tint); }

/* Tab populer / terkini */
.hb-tabs {
	display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
	margin-bottom: 10px; padding: 4px;
	border-radius: 12px; background: var(--hb-line-2);
}
.hb-tabs__btn {
	-webkit-appearance: none; appearance: none;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 34px; margin: 0; padding: 0 10px;
	border: 0; border-radius: 9px;
	background: transparent; color: var(--hb-muted);
	font-family: inherit; font-size: 13.5px; font-weight: 700; line-height: 1; cursor: pointer;
	transition: background-color .18s, color .18s;
}
.hb-tabs__btn[aria-selected="true"] { background: #fff; color: var(--hb-brand-2); box-shadow: 0 1px 3px rgba(19, 42, 58, .12); }

/* Daftar populer bernomor */
.hb-rank { margin: 0 !important; padding: 0 !important; list-style: none; counter-reset: none; }
.hb-rank li { margin: 0 !important; list-style: none; }
.hb-rank li + li { border-top: 1px solid var(--hb-line-2); }
.hb-rank__link {
	display: grid; grid-template-columns: 26px minmax(0, 1fr) 52px; gap: 10px; align-items: center;
	padding: 9px 4px; border-radius: 10px;
	color: var(--hb-ink) !important; text-decoration: none !important;
	transition: background-color .18s;
}
.hb-rank--plain .hb-rank__link { grid-template-columns: minmax(0, 1fr) 52px; }
.hb-rank__link:hover { background: var(--hb-brand-tint); }
.hb-rank__no { color: #b9cdc2; font-size: 22px; font-weight: 850; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.hb-rank li:first-child .hb-rank__no { color: var(--hb-gold); }
.hb-rank__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hb-rank__text strong {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 14px; font-weight: 650; line-height: 1.35;
}
.hb-rank__link:hover strong { color: var(--hb-brand-2); }
.hb-rank__text small { display: inline-flex; align-items: center; gap: 5px; color: var(--hb-muted); font-size: 12px; }
.hb-rank__img { width: 52px !important; height: 52px !important; border-radius: 10px; object-fit: cover; background: var(--hb-line-2); }

/* Agenda & download */
.hb-list-icon { display: grid; gap: 4px; margin: 0 !important; padding: 0 !important; list-style: none; }
.hb-list-icon li { margin: 0 !important; list-style: none; }
.hb-list-icon a {
	display: flex; align-items: center; gap: 12px;
	padding: 8px; border-radius: 12px;
	color: var(--hb-ink) !important; text-decoration: none !important;
	transition: background-color .18s;
}
.hb-list-icon a:hover { background: var(--hb-brand-tint); }
.hb-list-icon__text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.hb-list-icon__text strong { font-size: 14px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.hb-list-icon__text small { color: var(--hb-muted); font-size: 12px; }
.hb-list-icon__end { color: var(--hb-muted); font-size: 16px; }
.hb-date-tile {
	display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center;
	width: 46px; height: 50px; border-radius: 12px;
	background: var(--hb-gold-soft); color: #7a5208;
}
.hb-date-tile b { font-size: 18px; font-weight: 850; line-height: 1; }
.hb-date-tile small { margin-top: 2px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.hb-file-ico {
	display: grid; place-items: center; flex: none;
	width: 46px; height: 46px; border-radius: 12px;
	background: var(--hb-brand-soft); color: var(--hb-brand); font-size: 20px;
}

/* Jajak pendapat */
.hb-poll fieldset { margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0; }
.hb-poll legend { margin: 0 0 10px !important; padding: 0 !important; color: var(--hb-ink); font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.hb-poll__opt {
	position: relative; display: flex; align-items: center; gap: 10px;
	margin: 0 0 6px !important; padding: 9px 12px;
	border: 1px solid var(--hb-line); border-radius: 11px;
	color: var(--hb-ink-2); font-size: 14px; cursor: pointer;
	transition: border-color .18s, background-color .18s;
}
.hb-poll__opt:hover { border-color: #b7d9c6; }
.hb-poll__opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--hb-brand); }
.hb-poll__opt:has(input:checked) { border-color: var(--hb-brand); background: var(--hb-brand-tint); color: var(--hb-brand-2); font-weight: 650; }
.hb-poll__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.hb-widget--banner { display: grid; gap: 10px; padding: 10px; }
.hb-widget--banner img { display: block; width: 100%; border-radius: 12px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.hb-footer {
	margin-top: 8px;
	background:
		radial-gradient(circle at 12% 0%, rgba(78, 177, 132, .22), transparent 22rem),
		linear-gradient(180deg, #0e4636 0%, #0a3529 100%);
	color: rgba(255, 255, 255, .74);
	font-size: 14px;
}
.hb-footer__grid { display: grid; gap: 28px; padding: 40px 0 32px; }
.hb-site .hb-footer h2 {
	margin-bottom: 12px !important;
	color: #fff !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .08em !important; text-transform: uppercase;
}
.hb-brand--footer { margin-bottom: 12px; color: #fff !important; }
.hb-brand--footer .hb-brand__logo { border-color: rgba(255, 255, 255, .2); }
.hb-brand--footer .hb-brand__text small { color: rgba(255, 255, 255, .6); }
.hb-footer__about p { max-width: 22rem; margin: 0 0 16px !important; color: rgba(255, 255, 255, .74) !important; line-height: 1.65; }
.hb-social { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-social__btn {
	display: inline-flex; align-items: center; gap: 7px;
	min-height: 36px; padding: 0 13px;
	border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
	color: #fff !important; font-size: 13px; font-weight: 650; text-decoration: none !important;
	transition: background-color .18s, border-color .18s;
}
.hb-social__btn:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .08); }
.hb-footer__col ul { display: grid; gap: 2px; margin: 0 !important; padding: 0 !important; list-style: none; }
.hb-footer__col li { margin: 0 !important; list-style: none; }
.hb-footer__col a {
	display: inline-flex; align-items: center; gap: 8px; padding: 5px 0;
	color: rgba(255, 255, 255, .78) !important; text-decoration: none !important;
	transition: color .18s;
}
.hb-footer__col a:hover { color: #fff !important; }
.hb-footer__col a span {
	padding: 1px 7px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); font-size: 11.5px; font-weight: 700;
}

.hb-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--hb-r); background: #000; }
.hb-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hb-yt__poster {
	-webkit-appearance: none; appearance: none;
	position: absolute; inset: 0; display: block;
	width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
	background: #000; cursor: pointer;
}
.hb-yt__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.hb-yt__poster:hover img { opacity: 1; }
.hb-yt__play {
	position: absolute; top: 50%; left: 50%;
	display: grid; place-items: center;
	width: 58px; height: 40px; transform: translate(-50%, -50%);
	border-radius: 12px; background: #ff0033; color: #fff; font-size: 18px;
	transition: transform .2s;
}
.hb-yt__poster:hover .hb-yt__play { transform: translate(-50%, -50%) scale(1.08); }
.hb-short {
	display: flex; align-items: center; gap: 10px;
	margin-top: 10px; padding: 8px 12px 8px 8px;
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
	color: #fff !important; text-decoration: none !important;
	transition: background-color .18s;
}
.hb-short:hover { background: rgba(255, 255, 255, .07); }
.hb-short img { width: 44px !important; height: 44px !important; border-radius: 10px; object-fit: cover; }
.hb-short span { display: flex; flex: 1; flex-direction: column; line-height: 1.25; }
.hb-short small { color: rgba(255, 255, 255, .6); font-size: 11.5px; font-weight: 600; }
.hb-short strong { font-size: 14px; }

.hb-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.hb-footer__bottom .hb-container {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
	padding: 16px 0; font-size: 13px;
}
.hb-footer__bottom p { margin: 0 !important; color: rgba(255, 255, 255, .6) !important; }
.hb-footer__bottom a { color: rgba(255, 255, 255, .75) !important; text-decoration: none !important; }
.hb-footer__bottom a:hover { color: #fff !important; }

/* Footer: HP = tentang | jelajahi + kategori | video; tablet = 2×2; desktop = 4 kolom */
.hb-footer__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;
	grid-template-areas: "tentang tentang" "jelajah kategori" "media media";
}
.hb-footer__about { grid-area: tentang; }
.hb-footer__col:first-of-type { grid-area: jelajah; }
.hb-footer__col + .hb-footer__col { grid-area: kategori; }
.hb-footer__media { grid-area: media; }
@media (min-width: 640px) {
	.hb-footer__grid { column-gap: 28px; grid-template-areas: "tentang media" "jelajah kategori"; }
}
@media (min-width: 1024px) {
	.hb-footer__grid { grid-template-columns: 1.3fr .8fr .9fr 1.3fr; grid-template-areas: "tentang jelajah kategori media"; gap: 36px; padding: 48px 0 36px; }
}

/* Tombol kembali ke atas */
.hb-top {
	-webkit-appearance: none; appearance: none;
	position: fixed; right: 16px; bottom: 16px; z-index: 900;
	display: grid; place-items: center;
	width: 44px; height: 44px; margin: 0; padding: 0;
	border: 1px solid var(--hb-line); border-radius: 14px;
	background: rgba(255, 255, 255, .95); color: var(--hb-brand-2); font-size: 20px;
	box-shadow: var(--hb-shadow);
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s, background-color .18s;
}
.hb-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.hb-top:hover { background: var(--hb-brand); color: #fff; }

/* --------------------------------------------------------------------------
   Responsif: header & navigasi
   -------------------------------------------------------------------------- */

@media (max-width: 1023.98px) {
	.hb-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		display: none;
		max-height: calc(100vh - var(--hb-header-h));
		max-height: calc(100dvh - var(--hb-header-h));
		overflow-y: auto; overscroll-behavior: contain;
		border-bottom: 1px solid var(--hb-line);
		background: #fff;
		box-shadow: 0 18px 30px -20px rgba(19, 42, 58, .35);
	}
	.hb-header.is-nav-open .hb-nav { display: block; animation: hb-turun .2s var(--hb-ease); }
	.hb-nav__list { width: min(100% - 2 * var(--hb-gutter), 1200px); margin: 0 auto !important; padding: 8px 0 14px !important; }
	.hb-nav__item { display: flex; flex-wrap: wrap; align-items: center; }
	.hb-nav__item + .hb-nav__item { border-top: 1px solid var(--hb-line-2); }
	.hb-nav__link { flex: 1; min-height: 48px; padding: 0 12px; font-size: 16px; }
	.hb-nav__sub-btn { width: 44px; height: 44px; font-size: 18px; }
	.hb-nav__sub { display: none; width: 100%; padding: 0 0 8px 12px !important; }
	.hb-nav__item.is-open > .hb-nav__sub { display: block; }
	.hb-nav__sub a { padding: 11px 12px; font-size: 15px; }
}

@media (min-width: 1024px) {
	.hb-header__bar { gap: 20px; }
	.hb-menu-btn { display: none; }
	.hb-nav { flex: 1; min-width: 0; }
	.hb-nav__list { display: flex; align-items: center; justify-content: center; gap: 2px; }
	.hb-nav__item { display: flex; align-items: center; }
	.hb-nav__link { min-height: 38px; padding: 0 11px; font-size: 14.5px; white-space: nowrap; }
	.hb-nav__item.has-sub > .hb-nav__link { padding-right: 4px; border-radius: 10px 0 0 10px; }
	.hb-nav__sub-btn { width: 24px; height: 38px; border-radius: 0 10px 10px 0; font-size: 15px; }
	.hb-nav__item.is-current > .hb-nav__sub-btn { background: var(--hb-brand-soft); color: var(--hb-brand-2); }
	.hb-nav__sub {
		position: absolute; top: calc(100% + 8px); left: 0; z-index: 10;
		min-width: 220px;
		border: 1px solid var(--hb-line); border-radius: 14px;
		background: #fff;
		box-shadow: 0 20px 40px -18px rgba(19, 42, 58, .35);
		opacity: 0; visibility: hidden; transform: translateY(-4px);
		transition: opacity .18s, transform .18s, visibility .18s;
	}
	.hb-nav__sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
	.hb-nav__item.has-sub:hover > .hb-nav__sub,
	.hb-nav__item.has-sub:focus-within > .hb-nav__sub,
	.hb-nav__item.is-open > .hb-nav__sub { opacity: 1; visibility: visible; transform: none; }
	.hb-nav__item.has-sub:hover > .hb-nav__sub-btn .hb-ico { transform: rotate(180deg); }
	.hb-kbd { display: inline-block; }
	.hb-icon-btn[data-search-toggle] { padding: 0 10px 0 12px; }
}

@media (min-width: 1240px) {
	.hb-clock { display: inline-flex; }
}

@media (max-width: 479.98px) {
	.hb-site { --hb-header-h: 58px; }
	.hb-brand__text small { display: none; }
	.hb-brand__logo { width: 36px !important; height: 36px !important; border-radius: 10px; }
	.hb-icon-btn { min-width: 40px; height: 40px; }
	.hb-search--hero .hb-btn { padding: 0 14px; }
	.hb-section + .hb-section { margin-top: 30px; }
	.hb-site .hb-section__head h2 { font-size: 19px !important; }
}

/* Gerak halus: hormati preferensi pengguna */
@media (prefers-reduced-motion: reduce) {
	.hb-site *, .hb-site *::before, .hb-site *::after { animation: none !important; transition: none !important; }
}
