/* ============================================================
   KOMPARATIF THEME
   Dasar : struktur tema Rangmanyang (header, ticker, hero, kartu berita)
   Hero  : slide otomatis, daftar di kanan menggerakkan slide
   Warna : hijau + emas + krem, ditambah aksen terang (merah-oranye & hijau cerah)
   ============================================================ */

:root {
	/* Palet dasar */
	--g950: #073a2c;
	--g900: #0a4d3a;
	--g700: #0f6e52;
	--g100: #e6f2ec;
	--gold: #d9a441;
	--gold-d: #b8842c;
	--ink: #24312c;
	--muted: #62726b;
	--bg: #fbfaf7;
	--bg-alt: #f3f1ea;
	--card: #ffffff;
	--line: #e5e1d6;

	/* Aksen terang tambahan */
	--g500: #12b078;      /* hijau cerah: hover, fokus */
	--hot: #ec3535;       /* merah-oranye tegas: label Terkini, penanda slide aktif */
	--hot-d: #bf2424;     /* versi gelap untuk teks kecil di latar putih */
	--hot-d: color-mix(in srgb, var(--hot) 78%, #000);
	--kmp-slide-ms: 5000ms;

	--r: 10px;
	--wrap: 1180px;

	--f-brand: 'Prompt', system-ui, sans-serif;   /* header + hero */
	--f-head: 'Archivo', system-ui, sans-serif;   /* konten */
	--f-body: 'Inter', system-ui, sans-serif;
}

/* ===== RESET & DASAR ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; overflow-wrap: break-word; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
a { color: var(--g700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-d); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; margin: 0; padding: 10px 16px;
	clip: auto; clip-path: none; background: var(--gold); color: var(--g950); z-index: 1000; border-radius: 6px;
}

.kmp-container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.kmp-topbar { background: var(--g950); background: color-mix(in srgb, var(--g900) 62%, #000); color: rgba(255,255,255,.78); font-size: 12.5px; }
.kmp-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 16px; }
.kmp-social { display: flex; gap: 4px; }
.kmp-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%; color: inherit;
}
.kmp-social a:hover { color: var(--gold); }

/* ============================================================
   HEADER: logo + teks
   ============================================================ */
.kmp-header { background: var(--card); border-bottom: 1px solid var(--line); }
.kmp-brand { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.kmp-logo { flex: 0 0 auto; display: block; line-height: 0; }
.kmp-logo img, .kmp-logo .custom-logo {
	height: var(--kmp-logo-h, 50px); width: auto; max-width: min(70vw, 380px); object-fit: contain; display: block;
}
.kmp-brand-text { min-width: 0; }
.kmp-site-title {
	margin: 0; font-family: var(--f-brand); font-weight: 700;
	font-size: clamp(22px, 3.6vw, 34px); line-height: 1.1; letter-spacing: -.01em;
}
.kmp-site-title a { color: var(--g900); }
.kmp-site-title a:hover { color: var(--g700); }
.kmp-site-tagline {
	margin: 0; font-size: 13.5px; line-height: 1.4; max-width: 24ch; color: var(--muted); letter-spacing: .01em;
	border-left: 3px solid var(--gold); padding-left: 10px;
}

/* ============================================================
   NAVIGASI
   ============================================================ */
.kmp-nav-wrap { background: var(--g700); position: sticky; top: 0; z-index: 90; box-shadow: 0 2px 10px rgba(7,58,44,.18); }
body.admin-bar .kmp-nav-wrap { top: 32px; }
@media (max-width: 782px) { body.admin-bar .kmp-nav-wrap { top: 46px; } }

.kmp-nav-inner { display: flex; align-items: stretch; }
.kmp-nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.kmp-menu { display: flex; flex-wrap: wrap; }
.kmp-menu > li { position: relative; }
.kmp-menu a {
	display: block; padding: 13px 16px; color: #fff; font-family: var(--f-brand);
	font-size: 14px; font-weight: 500; border-bottom: 3px solid transparent;
}
.kmp-menu a:hover,
.kmp-menu .current-menu-item > a,
.kmp-menu .current-cat > a,
.kmp-menu .current_page_item > a { color: #fff; background: rgba(0,0,0,.14); border-bottom-color: var(--gold); }

.kmp-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--g900);
	border-top: 2px solid var(--gold); box-shadow: 0 12px 24px rgba(0,0,0,.2);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; z-index: 5;
}
.kmp-menu li:hover > .sub-menu,
.kmp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kmp-menu .sub-menu a { border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13px; padding: 11px 16px; }

.kmp-nav .search-form { margin-left: auto; display: flex; padding: 8px 0; }
.search-form input[type="search"] {
	font: inherit; font-size: 14px; padding: 8px 14px; min-width: 0; width: 190px;
	border: 1px solid transparent; border-radius: 999px 0 0 999px; background: rgba(255,255,255,.95); color: var(--ink);
}
.search-form button {
	font: inherit; font-size: 13px; font-weight: 600; padding: 8px 16px; border: 0;
	border-radius: 0 999px 999px 0; background: var(--gold); color: var(--g950);
}
.search-form button:hover { background: #fff; }

.kmp-menu-toggle {
	display: none; align-items: center; gap: 10px; padding: 12px 0; background: none; border: 0;
	color: #fff; font-family: var(--f-brand); font-size: 14px; font-weight: 500;
}
.kmp-menu-bars { display: flex; flex-direction: column; gap: 4px; }
.kmp-menu-bars span { width: 22px; height: 2px; background: #fff; display: block; transition: transform .15s ease, opacity .15s ease; }
.kmp-menu-toggle.is-active .kmp-menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.kmp-menu-toggle.is-active .kmp-menu-bars span:nth-child(2) { opacity: 0; }
.kmp-menu-toggle.is-active .kmp-menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   TICKER
   ============================================================ */
.kmp-ticker { background: var(--gold); color: var(--g950); overflow: hidden; }
.kmp-ticker-inner { display: flex; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.kmp-ticker-label {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
	background: var(--hot); color: #fff; font-family: var(--f-brand);
	font-size: 12px; font-weight: 600; padding: 4px 14px 4px 11px; border-radius: 999px;
}
.kmp-ticker-label::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
	animation: kmp-pulse 1.5s ease-in-out infinite;
}
@keyframes kmp-pulse { 50% { opacity: .25; } }
.kmp-ticker-viewport { overflow: hidden; flex: 1; min-width: 0; }
.kmp-ticker-track { display: flex; gap: 48px; width: max-content; animation: kmp-ticker 60s linear infinite; }
.kmp-ticker:hover .kmp-ticker-track,
.kmp-ticker:focus-within .kmp-ticker-track { animation-play-state: paused; }
.kmp-ticker-item { font-size: 13px; font-weight: 600; white-space: nowrap; }
.kmp-ticker-item a { color: var(--g950); }
.kmp-ticker-item a:hover { text-decoration: underline; color: var(--g950); }
@keyframes kmp-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.kmp-ad-wrap { padding-top: 14px; display: flex; justify-content: center; }
.kmp-ad-slot { width: 100%; text-align: center; font-size: 12px; color: var(--muted); }

/* ============================================================
   HERO SLIDE (berita utama berganti otomatis; daftar di kanan = penggerak slide)
   ============================================================ */
.kmp-hero { background: var(--g900); padding: 30px 0 34px; color: #fff; }
.kmp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }

.kmp-hero-stage { position: relative; display: grid; min-width: 0; }
.kmp-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.kmp-slide.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }

.kmp-hero-img {
	display: block; position: relative; aspect-ratio: 2 / 1; border-radius: var(--r);
	overflow: hidden; background: var(--g700);
}
.kmp-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.kmp-hero-body { padding-top: 18px; }
.kmp-badge {
	display: inline-block; background: var(--gold); color: var(--g950); font-family: var(--f-brand);
	font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px;
}
.kmp-badge:hover { background: #fff; color: var(--g950); }
.kmp-hero-title {
	font-family: var(--f-brand); font-weight: 700; color: #fff;
	font-size: clamp(23px, 3.2vw, 34px); line-height: 1.28; margin: 0 0 12px;
}
.kmp-hero-title a { color: #fff; }
.kmp-hero-title a:hover { color: var(--gold); }
.kmp-hero-excerpt { color: rgba(255,255,255,.8); font-size: 15.5px; line-height: 1.65; max-width: 62ch; margin-bottom: 12px; }
.kmp-hero-meta { display: flex; gap: 16px; font-size: 13px; color: rgba(255,255,255,.62); }
.kmp-hero-meta span + span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.28); }

/* kontrol slide: sebelumnya / jumlah / jeda / berikutnya */
.kmp-hero-ctrl {
	position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; align-items: center; gap: 2px;
	padding: 3px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 600;
	background: rgba(7,58,44,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.kmp-hero-ctrl button {
	width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #fff;
	display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background .15s ease;
}
.kmp-hero-ctrl button:hover { background: var(--hot); }
.kmp-hero-count { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.kmp-hero-toggle .i-play { display: none; }
.kmp-hero.is-paused .kmp-hero-toggle .i-play { display: block; }
.kmp-hero.is-paused .kmp-hero-toggle .i-pause { display: none; }

/* daftar di kanan: tiap item = satu slide */
.kmp-hero-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kmp-hero-item {
	position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 12px 12px 16px;
	border-radius: 10px; border-left: 4px solid transparent; color: #fff;
	transition: background .2s ease, border-color .2s ease;
}
.kmp-hero-item:hover { color: #fff; }
.kmp-hero-item.is-active { background: rgba(255,255,255,.1); border-left-color: var(--hot); }
.kmp-hero-item:focus-visible { outline-offset: -3px; }
.kmp-side-thumb {
	flex: 0 0 104px; width: 104px; height: 78px; border-radius: 8px; overflow: hidden;
	background: var(--g700); display: block; position: relative;
}
.kmp-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kmp-side-body { min-width: 0; display: block; }
.kmp-side-cat { display: block; font-size: 12px; font-weight: 600; color: var(--gold); margin-bottom: 3px; }
.kmp-side-title {
	display: block; font-family: var(--f-brand); font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.kmp-hero-item:hover .kmp-side-title { color: var(--gold); }
.kmp-side-date { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* bilah waktu menuju slide berikutnya (animationend memicu pergantian slide) */
.kmp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; overflow: hidden; border-radius: 0 0 10px 10px; }
.kmp-hero-item.is-active .kmp-progress { background: rgba(255,255,255,.16); }
.kmp-progress::after { content: ""; position: absolute; inset: 0; background: var(--hot); transform: scaleX(0); transform-origin: left; }
.kmp-hero-item.is-active .kmp-progress::after { animation: kmp-fill var(--kmp-slide-ms) linear forwards; }
.kmp-hero:hover .kmp-progress::after,
.kmp-hero.is-hold .kmp-progress::after,
.kmp-hero.is-paused .kmp-progress::after { animation-play-state: paused; }
@keyframes kmp-fill { to { transform: scaleX(1); } }
.kmp-hero.is-static .kmp-progress { display: none; }

/* Penanda bila berita belum punya gambar: monogram Komparatif di atas hijau */
.kmp-noimg {
	display: block; width: 100%; height: 100%; min-height: 100%;
	background: var(--g700) url("../img/logo-mark-ghost.png") center / auto 52% no-repeat;
}

/* ============================================================
   KONTEN (kartu berita)
   ============================================================ */
.section { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h1, .section-head h2 {
	font-family: var(--f-head); font-size: 22px; font-weight: 800; color: var(--g900);
	border-left: 5px solid var(--hot); padding-left: 12px; margin: 0; letter-spacing: -.01em;
}
.section-head a { font-size: 13px; font-weight: 600; color: var(--g700); white-space: nowrap; }
.section-head a:hover { color: var(--gold-d); text-decoration: underline; }

.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.news-grid--main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card {
	display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--r); overflow: hidden; color: inherit;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,77,58,.14); border-color: var(--g500); color: inherit; }
.news-thumb { aspect-ratio: 3 / 2; background: var(--g100); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.news-cat { font-size: 12px; font-weight: 700; color: var(--hot-d); margin-bottom: 6px; }
.news-card h3 { font-family: var(--f-head); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); margin: 0 0 10px; }
.news-card:hover h3 { color: var(--g700); }
.news-meta { font-size: 12.5px; color: var(--muted); margin-top: auto; }

/* Strip hijau gelap (Pilihan Redaksi, Olahraga, dll.) */
.cat-strip { background: var(--g950); background: color-mix(in srgb, var(--g900) 78%, #000); color: #fff; }
.cat-strip .section-head h1, .cat-strip .section-head h2 { color: #fff; }
.cat-strip .section-head a { color: var(--gold); }
.cat-strip .section-head a:hover { color: #fff; }
.cat-strip .news-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.cat-strip .news-card:hover { border-color: var(--gold); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.cat-strip .news-card h3 { color: #fff; }
.cat-strip .news-card:hover h3 { color: var(--gold); }
.cat-strip .news-cat { color: var(--gold); }
.cat-strip .news-meta { color: rgba(255,255,255,.6); }

.kmp-archive-desc { margin: -6px 0 22px; color: var(--muted); max-width: 70ch; }
.kmp-empty { padding: 20px 0 40px; color: var(--muted); }
.kmp-empty .search-form { margin-top: 12px; display: flex; max-width: 420px; }
.kmp-empty .search-form input[type="search"] { flex: 1; border-color: var(--line); background: #fff; }

/* Paginasi */
.kmp-pagination { margin-top: 36px; }
.kmp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kmp-pagination .page-numbers {
	min-width: 40px; padding: 8px 14px; text-align: center; border: 1px solid var(--line);
	border-radius: 999px; background: var(--card); color: var(--g900); font-size: 14px; font-weight: 600;
}
.kmp-pagination a.page-numbers:hover { border-color: var(--g700); color: var(--g700); }
.kmp-pagination .page-numbers.current { background: var(--g700); border-color: var(--g700); color: #fff; }

/* ============================================================
   ARTIKEL & HALAMAN
   ============================================================ */
.kmp-layout, .entry-layout {
	max-width: var(--wrap); margin: 0 auto; padding: 40px 24px; /* sama dengan .kmp-container: sejajar header & footer */
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: stretch;
}
.kmp-layout-main { min-width: 0; }
.entry-wrap { min-width: 0; max-width: 780px; }
.kmp-sidebar { min-width: 0; }
/* widget paling bawah menempel saat di-scroll: cocok untuk iklan 300x600 */
.kmp-sidebar > .kmp-widget:last-child { position: sticky; top: 76px; }
body.admin-bar .kmp-sidebar > .kmp-widget:last-child { top: 108px; }

.entry-header .kmp-badge { margin-bottom: 14px; }
.entry-header h1 { font-family: var(--f-head); font-weight: 800; font-size: clamp(27px, 4vw, 38px); line-height: 1.2; color: var(--g900); margin: 0 0 14px; letter-spacing: -.015em; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.entry-author { color: var(--ink); font-weight: 600; }
.entry-author:hover { color: var(--g700); text-decoration: underline; }

.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { width: 100%; border-radius: var(--r); }
.entry-thumb figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.entry-content { font-size: 17px; line-height: 1.85; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2, .entry-content h3 { font-family: var(--f-head); color: var(--g900); margin: 1.7em 0 .6em; }
.entry-content h2 { font-size: 24px; } .entry-content h3 { font-size: 20px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .entry-content iframe, .entry-content video, .entry-content table { max-width: 100%; }
.entry-content img { border-radius: var(--r); height: auto; }
.entry-content .alignfull, .entry-content .alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); color: var(--g900); font-size: 1.05em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.3em 1.4em; }
.entry-content ul { list-style: disc; } .entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4em; }
.page-links { margin-top: 24px; font-weight: 600; }

.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.entry-tags a { padding: 4px 12px; background: var(--g100); color: var(--g900); border-radius: 999px; font-weight: 500; }
.entry-tags a:hover { background: var(--g700); color: #fff; }

.entry-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry-nav a { display: block; font-family: var(--f-head); font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ink); }
.entry-nav a small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 12px; color: var(--g700); margin-bottom: 4px; }
.entry-nav a:hover { color: var(--g700); }
.entry-nav-next { text-align: right; grid-column: 2; }

/* Sidebar & widget */
.kmp-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 18px; font-size: 14.5px; }
.kmp-widget-title { font-family: var(--f-head); font-size: 16px; font-weight: 800; color: var(--g900); border-left: 4px solid var(--gold); padding-left: 10px; margin: 0 0 12px; }
.kmp-widget ul li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.kmp-widget ul li:last-child { border-bottom: 0; }
.kmp-recent li { display: flex; flex-direction: column; gap: 2px; }
.kmp-recent a { font-family: var(--f-head); font-weight: 600; line-height: 1.4; color: var(--ink); }
.kmp-recent a:hover { color: var(--g700); }
.kmp-recent span { font-size: 12px; color: var(--muted); }
.kmp-widget .search-form { display: flex; }
.kmp-widget .search-form input[type="search"] { flex: 1; width: auto; border-color: var(--line); }

.related-posts { padding-top: 8px; }

/* Komentar */
.comments-area { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 56px; }
.comments-area > * { max-width: 780px; }
.comments-title, .comment-reply-title { font-family: var(--f-head); font-size: 20px; font-weight: 800; color: var(--g900); margin-bottom: 16px; }
.comment-list .comment-body { border-bottom: 1px solid var(--line); padding: 18px 0; }
.comment-list .children { margin-left: 28px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.comment-metadata a { color: inherit; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; margin-bottom: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--g700); box-shadow: 0 0 0 3px rgba(15,110,82,.18); }
.comment-form .form-submit input, .kmp-btn {
	display: inline-block; background: var(--g700); color: #fff; border: 0; padding: 11px 24px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer;
}
.comment-form .form-submit input:hover, .kmp-btn:hover { background: var(--g900); color: #fff; }

/* 404 */
.error-404 { max-width: 640px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.error-404 h1 { font-family: var(--f-head); font-size: 72px; font-weight: 800; color: var(--g700); margin-bottom: 8px; }
.error-404 p { color: var(--muted); }
.error-404 .search-form { display: flex; max-width: 420px; margin: 0 auto 24px; }
.error-404 .search-form input[type="search"] { flex: 1; width: auto; border-color: var(--line); background: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.kmp-footer { background: var(--g950); background: color-mix(in srgb, var(--g900) 78%, #000); color: rgba(255,255,255,.75); margin-top: 24px; padding-top: 52px; font-size: 14.5px; }
.kmp-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.kmp-footer a { color: rgba(255,255,255,.78); }
.kmp-footer a:hover { color: var(--gold); }
.kmp-footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.kmp-footer-logo img { height: 56px; width: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 7px; }
.kmp-footer-logo span { font-family: var(--f-brand); font-weight: 700; font-size: 21px; line-height: 1.15; color: #fff; }
.kmp-footer-tagline { font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.kmp-footer h4 { font-family: var(--f-head); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.kmp-footer-col li { margin-bottom: 9px; }
.kmp-footer-recent li { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.45; }
.kmp-footer-recent time { font-size: 12px; color: rgba(255,255,255,.5); }
.kmp-footer .kmp-social { margin-top: 14px; margin-left: -4px; }
.kmp-footer .kmp-social a { border: 1px solid rgba(255,255,255,.28); margin: 0 4px; }
.kmp-footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.6); }
.kmp-footer-widget { margin-bottom: 18px; }

/* Slot iklan (banner / Google AdSense) di sidebar */
.kmp-widget.widget_kmp_ad_widget,
.kmp-widget.widget_custom_html,
.kmp-widget.widget_media_image { background: transparent; border: 0; padding: 0; }
.kmp-widget.widget_custom_html, .kmp-widget.widget_media_image { text-align: center; }
.kmp-ad-label { display: block; text-align: center; margin-bottom: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kmp-ad-box { display: flex; align-items: center; justify-content: center; max-width: 100%; overflow: hidden; border-radius: 6px; background: rgba(15,110,82,.045); }
.kmp-ad-box > * { max-width: 100%; }
.kmp-ad-box img { height: auto; }
.kmp-ad-hint { display: flex; flex-direction: column; gap: 4px; border: 2px dashed var(--gold); background: #fff8e6; font-size: 13px; line-height: 1.5; }
.kmp-block .section-head { margin-bottom: 20px; }
.kmp-catblock { margin-top: 44px; }

/* Halaman Indeks Berita */
.kmp-index-day { font-family: var(--f-head); font-size: 16px; font-weight: 800; color: var(--g900); margin: 26px 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.kmp-index-day:first-child { margin-top: 0; }
.kmp-index-list { margin: 0; padding: 0; list-style: none; }
.kmp-index-list li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kmp-index-list time { flex: 0 0 44px; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.kmp-index-cat { flex: 0 0 auto; min-width: 74px; font-size: 12px; font-weight: 700; color: var(--hot-d); }
.kmp-index-list a { font-weight: 600; line-height: 1.45; color: var(--ink); }
.kmp-index-list a:hover { color: var(--g700); }
@media (max-width: 640px) { .kmp-index-list li { flex-wrap: wrap; gap: 2px 10px; } .kmp-index-list a { flex-basis: 100%; } }
.kmp-pick {
	margin-top: 44px; padding: 22px; border-radius: var(--r); border: 1px solid #ecdcae;
	background: #fbf4e2; background: color-mix(in srgb, var(--gold) 12%, #fff);
}
.kmp-pick .section-head { margin-bottom: 18px; }
.kmp-pick .section-head h2 { border-left-color: var(--gold); }
.kmp-pick .section-head h2::before { content: "\2605"; color: var(--gold-d); margin-right: 8px; }
.kmp-pick .news-card { border-top: 3px solid var(--gold); }
.cat-strip.is-panel { border-radius: var(--r); padding: 22px; }
.cat-strip.is-panel .section-head { margin-bottom: 18px; }

/* Breadcrumb */
.kmp-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.kmp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.kmp-breadcrumb li + li::before { content: "\203A"; margin-right: 8px; color: #b9b4a3; }
.kmp-breadcrumb a { color: var(--g700); font-weight: 500; }
.kmp-breadcrumb a:hover { color: var(--hot-d); }

/* ============================================================
   RESPONSIF
   ============================================================ */
@media (max-width: 1100px) {
	.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kmp-hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
	.kmp-layout, .entry-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 30px; }
	.news-grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	/* menu jadi tombol */
	.kmp-nav-inner { flex-wrap: wrap; }
	.kmp-menu-toggle { display: inline-flex; }
	.kmp-nav { display: none; flex-direction: column; align-items: stretch; flex: 1 0 100%; padding-bottom: 12px; }
	.kmp-nav.is-open { display: flex; }
	.kmp-menu { flex-direction: column; }
	.kmp-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
	.kmp-menu a:hover, .kmp-menu .current-menu-item > a { background: none; border-bottom-color: var(--gold); }
	.kmp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; background: transparent; padding-left: 16px; }
	.kmp-nav .search-form { margin: 12px 0 0; }
	.kmp-nav .search-form input[type="search"] { flex: 1; width: auto; }

	/* hero 1 kolom: daftar jadi 2 kolom di bawah slide */
	.kmp-hero-grid { grid-template-columns: 1fr; }
	.kmp-hero-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kmp-layout, .entry-layout { grid-template-columns: 1fr; }
	.kmp-sidebar > .kmp-widget:last-child { position: static; }
	.kmp-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.kmp-container, .section, .kmp-layout, .entry-layout, .comments-area { padding-left: 16px; padding-right: 16px; }
	.kmp-topbar-date { font-size: 12px; }
	.kmp-brand { gap: 12px; padding: 12px 0; }
	.kmp-logo img, .kmp-logo .custom-logo { height: calc(var(--kmp-logo-h, 50px) * .8); }
	.kmp-site-tagline { font-size: 12px; max-width: 28ch; }
	.kmp-hero { padding: 20px 0 24px; }
	.kmp-hero-list { grid-template-columns: 1fr; }
	.kmp-hero-ctrl { top: 8px; right: 8px; }
	.section { padding-top: 30px; padding-bottom: 30px; }
	.news-grid, .news-grid--main { grid-template-columns: 1fr; }
	.news-card { flex-direction: row; }
	.news-thumb { flex: 0 0 38%; aspect-ratio: auto; min-height: 112px; position: relative; }
	.news-thumb img, .news-thumb .kmp-noimg { position: absolute; inset: 0; width: 100%; height: 100%; }
	.news-card:hover { transform: none; }
	.kmp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.entry-content { font-size: 16.5px; }
	.entry-nav { grid-template-columns: 1fr; }
	.entry-nav-next { grid-column: auto; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
	.kmp-ticker-track { animation: none; }
	.kmp-ticker-label::before { animation: none; }
	.kmp-progress::after { animation: none !important; }
	.kmp-ticker-viewport { overflow-x: auto; }
	.kmp-ticker-item[aria-hidden="true"] { display: none; }
}
