/*
Theme Name: SintangNews
Theme URI: https://sintangwebkreatif.com
Update URI: https://sintangwebkreatif.com/api/lisensi/
Author: Herry Kiswanto - Sintang Web Kreatif
Author URI: https://sintangwebkreatif.com
Description: Tema portal berita mobile-first untuk media online dan situs berita daerah. Tampilan editorial modern, navigasi bawah ala aplikasi di HP, mode gelap, tombol bagikan WhatsApp, breaking news, Terpopuler tanpa plugin, blok berita daerah, Pilihan Redaksi, slot iklan, dan Open Graph bawaan.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: Berlisensi - 1 lisensi untuk 1 situs. Kode PHP: GPL v2 or later; CSS, JS, desain & aset: hak cipta Sintang Web Kreatif (lihat LISENSI.txt)
Text Domain: sintangnews
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, editor-style, block-styles, wide-blocks
*/

/* =========================================================
   DAFTAR ISI
   1. Token warna & tipografi
   2. Dasar & kelas bawaan WordPress
   3. Header & navigasi kategori
   4. Breaking news
   5. Tata letak (blok, baris, sidebar)
   6. Komponen berita
   7. Widget
   8. Artikel & halaman
   9. Komentar
   10. Footer
   11. Navigasi bawah (HP)
   12. Sheet, pencarian, toast
   13. Slot iklan
   14. Tablet (>= 640px)
   15. Desktop (>= 1024px)
   ========================================================= */

/* =========================================================
   1. TOKEN WARNA & TIPOGRAFI
   Warna aksen diganti lewat Pengaturan SintangNews
   (atribut data-accent pada <html>).
   ========================================================= */
:root {
	--sn-accent-l: #c8102e;
	--sn-accent-d: #e8354f;
	--sn-on-accent-l: #fff;
	--sn-on-accent-d: #fff;
	--sn-accent-text-l: #c8102e;
	--sn-accent-text-d: #f0566c;

	--sn-accent: var(--sn-accent-l);
	--sn-on-accent: var(--sn-on-accent-l);
	--sn-accent-text: var(--sn-accent-text-l);

	--sn-blue: #185fa5;
	--sn-blue-soft: #eaf2fb;
	--sn-wa: #1a9e50;

	--sn-bg: #eef0f3;
	--sn-surface: #fff;
	--sn-surface-2: #f4f5f7;
	--sn-ink: #14161b;
	--sn-ink-2: #3b404a;
	--sn-muted: #6a707c;
	--sn-line: #e4e6ea;
	--sn-overlay: rgba(10, 12, 16, .55);
	--sn-dark-block: #0c0e12;

	--sn-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sn-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--sn-r-sm: 8px;
	--sn-r: 12px;
	--sn-r-lg: 16px;
	--sn-hdr: 56px;
	--sn-nav: 46px;
	--sn-top: 0px; /* tinggi admin bar WordPress, bila login */
	--sn-bnav: 62px;
	--sn-maxw: 1200px;
	--sn-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
	color-scheme: light;
}

/* Preset warna aksen */
:root[data-accent="biru"] {
	--sn-accent-l: #185fa5; --sn-accent-d: #5b9be0;
	--sn-on-accent-l: #fff; --sn-on-accent-d: #0a1a2e;
	--sn-accent-text-l: #185fa5; --sn-accent-text-d: #6aa8ea;
}
:root[data-accent="hijau"] {
	--sn-accent-l: #0f6e56; --sn-accent-d: #2fb48a;
	--sn-on-accent-l: #fff; --sn-on-accent-d: #06261c;
	--sn-accent-text-l: #0f6e56; --sn-accent-text-d: #3cc497;
}
:root[data-accent="ungu"] {
	--sn-accent-l: #534ab7; --sn-accent-d: #8f88e6;
	--sn-on-accent-l: #fff; --sn-on-accent-d: #14112e;
	--sn-accent-text-l: #534ab7; --sn-accent-text-d: #a39df0;
}
:root[data-accent="kuning"] {
	--sn-accent-l: #f2b705; --sn-accent-d: #ffcb2e;
	--sn-on-accent-l: #3d2c00; --sn-on-accent-d: #3d2c00;
	--sn-accent-text-l: #8a6700; --sn-accent-text-d: #ffcb2e;
}
:root[data-accent="hitam"] {
	--sn-accent-l: #1d1d1f; --sn-accent-d: #e9eaee;
	--sn-on-accent-l: #fff; --sn-on-accent-d: #111;
	--sn-accent-text-l: #1d1d1f; --sn-accent-text-d: #e9eaee;
}

/* Mode gelap: otomatis (ikut HP) atau dipilih lewat tombol */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--sn-accent: var(--sn-accent-d);
		--sn-on-accent: var(--sn-on-accent-d);
		--sn-accent-text: var(--sn-accent-text-d);
		--sn-blue: #6aa8ea;
		--sn-blue-soft: #132235;
		--sn-bg: #0b0d11;
		--sn-surface: #15181e;
		--sn-surface-2: #1d2129;
		--sn-ink: #eceef2;
		--sn-ink-2: #c4c9d2;
		--sn-muted: #8d94a1;
		--sn-line: #272c35;
		--sn-dark-block: #07080b;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--sn-accent: var(--sn-accent-d);
	--sn-on-accent: var(--sn-on-accent-d);
	--sn-accent-text: var(--sn-accent-text-d);
	--sn-blue: #6aa8ea;
	--sn-blue-soft: #132235;
	--sn-bg: #0b0d11;
	--sn-surface: #15181e;
	--sn-surface-2: #1d2129;
	--sn-ink: #eceef2;
	--sn-ink-2: #c4c9d2;
	--sn-muted: #8d94a1;
	--sn-line: #272c35;
	--sn-dark-block: #07080b;
	color-scheme: dark;
}

/* =========================================================
   2. DASAR & KELAS BAWAAN WORDPRESS
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
	margin: 0;
	font-family: var(--sn-sans);
	font-size: 15px;
	line-height: 1.5;
	color: var(--sn-ink);
	background: var(--sn-bg);
	padding-bottom: calc(var(--sn-bnav) + env(safe-area-inset-bottom));
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sn-accent); outline-offset: 2px; border-radius: 4px; }
.sn-ico { width: 22px; height: 22px; flex: none; }

.screen-reader-text, .sn-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	word-wrap: normal !important;
}
.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	border-radius: var(--sn-r-sm);
	background: var(--sn-surface);
	color: var(--sn-ink);
	font-weight: 700;
	box-shadow: var(--sn-shadow);
}
.sn-only-d { display: none !important; }

.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, figure { max-width: 100%; }
.wp-caption-text, .wp-element-caption, figcaption { font-size: 12.5px; line-height: 1.45; color: var(--sn-muted); }
.sticky, .bypostauthor, .gallery-caption { }

/* Motif garis khas (terinspirasi ornamen Dayak) */
.sn-motif {
	height: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 4 4 0 8 4 4 8z' fill='%23c8102e'/%3E%3Cpath d='M12 4 16 0 20 4 16 8z' fill='%23185fa5'/%3E%3Cpath d='M8 4h4M20 4h4' stroke='%23185fa5' stroke-width='1.2'/%3E%3C/svg%3E") repeat-x;
}

/* =========================================================
   3. HEADER & NAVIGASI KATEGORI
   ========================================================= */
/* Admin bar WordPress (hanya terlihat saat login) */
.admin-bar { --sn-top: 46px; }
@media (max-width: 600px) { .admin-bar { --sn-top: 0px; } }
@media (min-width: 783px) { .admin-bar { --sn-top: 32px; } }

/* Baris logo & baris kategori sama-sama menempel di atas */
.sn-hdr {
	position: sticky;
	top: var(--sn-top);
	z-index: 41;
	background: var(--sn-surface);
}
.sn-nav {
	position: sticky;
	top: calc(var(--sn-top) + var(--sn-hdr));
	z-index: 40;
	background: var(--sn-surface);
	box-shadow: 0 1px 0 var(--sn-line);
}
.sn-nav-in { display: flex; align-items: center; max-width: var(--sn-maxw); margin: 0 auto; }
.sn-nav-tools, .sn-hdr-ad { display: none; }

/* Iklan header di HP: di bawah baris kategori, tidak ikut menempel */
.sn-hdr-ad-m { padding: 8px 16px; background: var(--sn-surface); border-bottom: 1px solid var(--sn-line); }
.sn-hdr-ad-m .sn-ads { margin: 0; }
.sn-hdr-ad-m .sn-ad-link, .sn-hdr-ad-m img { width: 100%; }
.sn-hdr-bar {
	display: flex;
	align-items: center;
	gap: 4px;
	height: var(--sn-hdr);
	max-width: var(--sn-maxw);
	margin: 0 auto;
	padding: 0 6px 0 16px;
}
.sn-logo { display: flex; align-items: center; gap: 8px; min-width: 0; margin-right: auto; }
.sn-logo svg { width: auto; height: 28px; flex: none; }
.sn-logo .custom-logo-link { display: block; }
.sn-logo .custom-logo { width: auto; max-height: 36px; }
.sn-logo-word {
	overflow: hidden;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.035em;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sn-logo-word b { color: var(--sn-blue); font-weight: 800; }
.sn-hdr-date { margin-right: 16px; font-size: 13px; color: var(--sn-muted); white-space: nowrap; }
.sn-icon-btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 50%;
}
.sn-icon-btn:hover { background: var(--sn-surface-2); }
.sn-progress {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	height: 3px;
	background: var(--sn-accent);
}

/* Kategori sebagai chip yang bisa digeser */
.sn-chips {
	display: flex;
	flex: 1;
	min-width: 0;
	gap: 8px;
	padding: 2px 16px 10px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}
.sn-chips::-webkit-scrollbar { display: none; }
.sn-chip {
	flex: none;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--sn-surface-2);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sn-ink-2);
	white-space: nowrap;
}
.sn-chip.is-on { background: var(--sn-accent); color: var(--sn-on-accent); }

/* =========================================================
   4. BREAKING NEWS
   ========================================================= */
.sn-brk { background: var(--sn-surface); border-bottom: 1px solid var(--sn-line); }
.sn-brk-in {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: var(--sn-maxw);
	margin: 0 auto;
	padding: 10px 16px;
}
.sn-brk-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sn-accent-text);
}
.sn-brk-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sn-accent);
	animation: sn-pulse 1.8s infinite;
}
@keyframes sn-pulse {
	0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .5); }
	70% { box-shadow: 0 0 0 7px rgba(200, 16, 46, 0); }
	100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}
.sn-brk-track { position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden; }
.sn-brk-item {
	position: absolute;
	inset: 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .35s, transform .35s;
	pointer-events: none;
}
.sn-brk-item.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* =========================================================
   5. TATA LETAK
   ========================================================= */
.sn-main { max-width: var(--sn-maxw); margin: 0 auto; padding-top: 8px; }
.sn-blk { background: var(--sn-surface); padding: 20px 16px; margin-bottom: 8px; }
.sn-blk-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.sn-blk-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: var(--sn-serif);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
}
.sn-blk-title::before { content: ""; flex: none; width: 4px; height: 20px; border-radius: 2px; background: var(--sn-accent); }
.sn-blk-sub { margin: -8px 0 14px; font-size: 13px; color: var(--sn-muted); }
.sn-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sn-blue);
	white-space: nowrap;
}
.sn-more .sn-ico { width: 16px; height: 16px; }

/* =========================================================
   6. KOMPONEN BERITA
   ========================================================= */
.sn-kick {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--sn-accent-text);
}
.sn-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	font-size: 12.5px;
	color: var(--sn-muted);
}
.sn-meta > * + *::before { content: "•"; margin-right: 8px; opacity: .6; }

.sn-media { display: block; overflow: hidden; background: var(--sn-surface-2); }
.sn-media img { width: 100%; height: 100%; object-fit: cover; }
.sn-noimg {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--sn-surface-2), var(--sn-line));
	color: var(--sn-muted);
}
.sn-noimg svg { width: 34%; max-width: 64px; height: auto; opacity: .55; }

/* Headline utama */
.sn-lead-media { aspect-ratio: 16 / 9; margin-bottom: 14px; border-radius: var(--sn-r); }
.sn-lead-title {
	margin: 0 0 8px;
	font-family: var(--sn-serif);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.015em;
}
.sn-lead-ex { margin: 0 0 10px; font-size: 15px; color: var(--sn-ink-2); }
.sn-hero-list { margin-top: 6px; }
.sn-hero-list .sn-item:first-child { margin-top: 8px; }

/* Slider berita utama: bergeser kanan → kiri, panah & titik per slide */
.sn-ls { position: relative; min-width: 0; }
.sn-ls-view { position: relative; overflow: hidden; }
.sn-ls-track { display: flex; transition: transform .55s cubic-bezier(.22, .7, .2, 1); }
.sn-ls-slide { flex: 0 0 100%; min-width: 0; }
.sn-ls-ctrl { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 16 / 9; pointer-events: none; }
.sn-ls-arrow {
	position: absolute;
	top: 50%;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	transform: translateY(-50%);
	pointer-events: auto;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: background .2s;
}
.sn-ls-arrow:hover { background: rgba(0, 0, 0, .7); }
.sn-ls-arrow[data-ls="prev"] { left: 10px; }
.sn-ls-arrow[data-ls="next"] { right: 10px; }
.sn-ls-arrow .sn-ico { width: 20px; height: 20px; }
.sn-ls-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; pointer-events: auto; }
.sn-ls-dots button { display: grid; place-items: center; width: 24px; height: 22px; }
.sn-ls-dots button::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
	transition: width .25s;
}
.sn-ls-dots button.is-on::before { width: 22px; background: #fff; }

/* Item daftar: teks kiri, foto kanan */
.sn-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px;
	gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid var(--sn-line);
}
.sn-item--nothumb { grid-template-columns: minmax(0, 1fr); }
.sn-list > .sn-item:first-child { border-top: 0; padding-top: 0; }
.sn-item .sn-kick { margin-bottom: 4px; font-size: 11px; }
.sn-item-title {
	display: -webkit-box;
	margin: 0 0 6px;
	overflow: hidden;
	font-family: var(--sn-serif);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.sn-item-thumb { aspect-ratio: 4 / 3; border-radius: var(--sn-r-sm); }
.sn-item { grid-template-areas: "body thumb"; }
.sn-item-body { grid-area: body; min-width: 0; }
.sn-item-thumb { grid-area: thumb; }
.sn-item--nothumb { grid-template-areas: "body"; }

/* Item dengan kutipan: di HP kutipan selebar layar di bawah judul & foto */
.sn-item--ex { grid-template-areas: "body thumb" "more more"; row-gap: 10px; }
.sn-item--ex.sn-item--nothumb { grid-template-areas: "body" "more"; }
.sn-item--ex .sn-item-title { margin-bottom: 0; }
.sn-item-more { grid-area: more; min-width: 0; }
.sn-item-ex { margin: 0 0 6px; font-size: 14.5px; line-height: 1.55; color: var(--sn-ink-2); }
.sn-list.is-loading { opacity: .5; }

/* Kartu */
.sn-card { overflow: hidden; border-radius: var(--sn-r); background: var(--sn-surface); box-shadow: var(--sn-shadow); }
.sn-card-media { aspect-ratio: 16 / 10; }
.sn-card-body { padding: 12px 14px 14px; }
.sn-card-title {
	display: -webkit-box;
	margin: 0 0 8px;
	overflow: hidden;
	font-family: var(--sn-serif);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* Gulir horizontal (geser jari) */
.sn-hscroll {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: 12px;
	margin: 0 -16px;
	padding: 2px 16px 6px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 16px;
	scrollbar-width: none;
}
.sn-hscroll::-webkit-scrollbar { display: none; }
.sn-hscroll > * { scroll-snap-align: start; }

/* Blok berita daerah */
.sn-local { position: relative; padding-top: 26px; background: var(--sn-blue-soft); }
.sn-local > .sn-motif { position: absolute; top: 0; left: 0; right: 0; }
.sn-local .sn-blk-title::before { background: var(--sn-blue); }
.sn-local .sn-blk-title .sn-ico { width: 20px; height: 20px; color: var(--sn-blue); }

.sn-btn-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 46px;
	margin-top: 8px;
	border: 1.5px solid var(--sn-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
}
.sn-btn-outline:hover { border-color: var(--sn-ink-2); }
.sn-btn-outline[disabled] { opacity: .5; cursor: progress; }

/* Terpopuler */
.sn-seg {
	display: flex;
	margin-bottom: 6px;
	padding: 4px;
	border-radius: 999px;
	background: var(--sn-surface-2);
}
.sn-seg button {
	flex: 1;
	padding: 8px 6px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sn-muted);
}
.sn-seg button.is-on { background: var(--sn-surface); color: var(--sn-ink); box-shadow: var(--sn-shadow); }
.sn-pop-box { transition: opacity .2s; }
.sn-pop-box.is-loading { opacity: .4; }
.sn-pop { margin: 0; padding: 0; list-style: none; }
.sn-pop li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 10px;
	padding: 13px 0;
	border-top: 1px solid var(--sn-line);
}
.sn-pop li:first-child { border-top: 0; }
.sn-pop-n { font-family: var(--sn-serif); font-size: 30px; font-weight: 700; line-height: 1; color: var(--sn-accent-text); }
.sn-pop li:nth-child(n+4) .sn-pop-n { color: var(--sn-muted); opacity: .55; }
.sn-pop-t { display: block; margin-bottom: 4px; font-family: var(--sn-serif); font-size: 16px; font-weight: 600; line-height: 1.32; }
.sn-empty { margin: 0; font-size: 14px; color: var(--sn-muted); }

/* Pilihan Redaksi (blok gelap) */
.sn-picks { background: var(--sn-dark-block); color: #fff; }
.sn-picks .sn-blk-title { color: #fff; }
.sn-picks .sn-blk-sub { color: rgba(255, 255, 255, .6); }
.sn-picks .sn-hscroll { grid-auto-columns: 62%; }
.sn-pcard { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--sn-r); background: #222; }
.sn-pcard .sn-media { position: absolute; inset: 0; }
.sn-pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .88)); pointer-events: none; }
.sn-pcard-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 14px; }
.sn-pcard .sn-kick { padding: 3px 8px; border-radius: 4px; background: var(--sn-accent); color: var(--sn-on-accent); font-size: 10.5px; }
.sn-pcard-title { margin: 0 0 6px; font-family: var(--sn-serif); font-size: 17px; font-weight: 700; line-height: 1.25; color: #fff; }
.sn-pcard-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sn-pcard .sn-meta { color: rgba(255, 255, 255, .72); }

/* Blok kategori */
.sn-feat-media { aspect-ratio: 16 / 9; margin-bottom: 12px; border-radius: var(--sn-r); }
.sn-feat-title { margin: 0 0 6px; font-family: var(--sn-serif); font-size: 20px; font-weight: 700; line-height: 1.25; }
.sn-feat + .sn-list { margin-top: 14px; }
.sn-feat + .sn-list > .sn-item:first-child { padding-top: 14px; border-top: 1px solid var(--sn-line); }

/* Opini */
.sn-op {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--sn-line);
}
.sn-op:first-of-type { padding-top: 0; border-top: 0; }
.sn-avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--sn-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}
.sn-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sn-op-title { margin: 0 0 4px; font-family: var(--sn-serif); font-size: 17px; font-style: italic; font-weight: 600; line-height: 1.3; }
.sn-op-by { font-size: 12.5px; color: var(--sn-muted); }
.sn-op-by b { font-weight: 700; color: var(--sn-ink); }

/* Arsip & pencarian */
.sn-archive-title { margin: 0; font-family: var(--sn-serif); font-size: 26px; line-height: 1.2; }
.sn-archive-title span { color: var(--sn-accent-text); }
.sn-archive-desc { margin-top: 8px; font-size: 14.5px; color: var(--sn-ink-2); }
.sn-archive-desc p { margin: 0; }
.sn-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 20px;
}
.sn-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--sn-surface-2);
	font-size: 14px;
	font-weight: 700;
}
.sn-pagination .page-numbers.current { background: var(--sn-accent); color: var(--sn-on-accent); }
.sn-pagination .page-numbers.dots { background: none; }
.sn-pagination .sn-ico { width: 18px; height: 18px; }
.sn-404 { padding-top: 32px; padding-bottom: 32px; text-align: center; }
.sn-404-code { margin: 0; font-family: var(--sn-serif); font-size: 72px; font-weight: 700; line-height: 1; color: var(--sn-accent-text); }
.sn-404 p { color: var(--sn-ink-2); }
.sn-404 .sn-search-field { max-width: 420px; margin: 20px auto 0; }

/* =========================================================
   7. WIDGET (area "Sidebar" & "Footer")
   ========================================================= */
.sn-widget ul, .sn-widget ol { margin: 0; padding: 0; list-style: none; }
.sn-widget li { padding: 10px 0; border-top: 1px solid var(--sn-line); font-size: 14.5px; }
.sn-widget li:first-child { border-top: 0; padding-top: 0; }
.sn-widget li a { font-weight: 600; }
.sn-widget li a:hover { color: var(--sn-accent-text); }
.sn-widget .children { margin-top: 8px; padding-left: 12px; }
.sn-widget select { width: 100%; height: 42px; padding: 0 10px; border: 1px solid var(--sn-line); border-radius: var(--sn-r-sm); background: var(--sn-surface-2); }
.sn-widget .wp-block-search__inside-wrapper, .sn-widget .search-form { display: flex; gap: 8px; }
.sn-widget input[type="search"] { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--sn-line); border-radius: 999px; background: var(--sn-surface-2); }
.sn-widget button, .sn-widget input[type="submit"] { height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--sn-accent); color: var(--sn-on-accent); font-weight: 700; cursor: pointer; }
.sn-widget .post-date, .sn-widget .count { font-size: 12.5px; color: var(--sn-muted); }
.sn-widget .wp-block-heading, .sn-widget h2.widgettitle { margin: 0 0 12px; font-family: var(--sn-serif); font-size: 19px; }

/* =========================================================
   8. ARTIKEL & HALAMAN
   ========================================================= */
.sn-art { margin-bottom: 8px; padding: 16px 16px 24px; background: var(--sn-surface); }
.sn-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 12.5px; color: var(--sn-muted); }
.sn-crumb a { font-weight: 600; color: var(--sn-blue); }
.sn-crumb .sn-ico { width: 14px; height: 14px; }
.sn-art-title {
	margin: 2px 0 10px;
	font-family: var(--sn-serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.015em;
}
.sn-art-dek { margin: 0 0 16px; font-size: 16.5px; line-height: 1.55; color: var(--sn-ink-2); }
.sn-byline {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--sn-line);
	border-bottom: 1px solid var(--sn-line);
}
.sn-byline .sn-avatar { width: 40px; height: 40px; font-size: 14px; background: var(--sn-accent); color: var(--sn-on-accent); }
.sn-by-name { font-size: 14px; font-weight: 700; }
.sn-by-meta { font-size: 12.5px; color: var(--sn-muted); }
.sn-byline > div:only-child .sn-by-meta { font-size: 13px; }

/* Estimasi baca, jumlah dibaca, dan tombol ukuran teks */
.sn-art-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--sn-line);
}
.sn-art-stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--sn-ink-2); }
.sn-stat { display: inline-flex; align-items: center; gap: 6px; }
.sn-stat .sn-ico { width: 17px; height: 17px; color: var(--sn-muted); }
.sn-fontctl { display: inline-flex; align-items: center; gap: 4px; }
.sn-fontctl-label { margin-right: 4px; font-size: 12px; font-weight: 700; color: var(--sn-muted); }
.sn-fontctl button {
	min-width: 40px;
	height: 34px;
	padding: 0 10px;
	border: 1.5px solid var(--sn-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 800;
}
.sn-fontctl button:hover:not([disabled]) { border-color: var(--sn-ink-2); }
.sn-fontctl button[disabled] { opacity: .35; cursor: default; }
.sn-fontctl button span { margin-left: 1px; }

.sn-share { display: flex; align-items: center; gap: 8px; margin: 14px 0 16px; }
.sn-share .sn-btn-wa { height: 40px; padding: 0 16px; font-size: 13.5px; }
.sn-round {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sn-surface-2);
}
.sn-round .sn-ico { width: 18px; height: 18px; }
.sn-share .sn-push { margin-left: auto; }
.sn-btn-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: var(--sn-wa);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.sn-btn-wa .sn-ico { width: 20px; height: 20px; }
.sn-rail { display: none; }

.sn-art-fig { max-width: none; margin: 0 -16px 20px; }
.sn-art-fig .sn-media { aspect-ratio: 16 / 9; }
.sn-art-fig figcaption { padding: 8px 16px 0; }

/* Isi artikel */
.sn-prose { font-size: calc(17px * var(--sn-fs, 1)); line-height: 1.75; overflow-wrap: break-word; transition: font-size .2s; }
.sn-prose::after { content: ""; display: table; clear: both; }
.sn-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.sn-prose a { color: var(--sn-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.sn-prose h2, .sn-prose h3, .sn-prose h4 { margin: 1.6em 0 .6em; font-family: var(--sn-serif); line-height: 1.25; }
.sn-prose h2 { font-size: 1.3em; }
.sn-prose h3 { font-size: 1.15em; }
.sn-prose h4 { font-size: 1em; }
.sn-prose ul, .sn-prose ol { padding-left: 1.3em; }
.sn-prose li { margin-bottom: .4em; }
.sn-prose img { border-radius: var(--sn-r-sm); }
.sn-prose figure { margin-left: 0; margin-right: 0; }
.sn-prose figcaption { margin-top: 8px; }
.sn-prose blockquote, .sn-prose .wp-block-quote {
	margin: 1.5em 0;
	padding: 0 0 0 18px;
	border-left: 3px solid var(--sn-accent);
	font-family: var(--sn-serif);
	font-size: 1.18em;
	font-style: italic;
	line-height: 1.5;
}
.sn-prose blockquote p { margin: 0 0 .5em; }
.sn-prose blockquote p:last-child { margin-bottom: 0; }
.sn-prose cite, .sn-prose blockquote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--sn-sans);
	font-size: 13px;
	font-style: normal;
	color: var(--sn-muted);
}
.sn-prose .wp-block-pullquote { padding: 1.2em 0; border-top: 3px solid var(--sn-accent); border-bottom: 3px solid var(--sn-accent); text-align: center; font-family: var(--sn-serif); }
.sn-prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.sn-prose th, .sn-prose td { padding: 8px 10px; border: 1px solid var(--sn-line); text-align: left; }
.sn-prose .wp-block-table { overflow-x: auto; }
.sn-prose pre { padding: 14px; overflow-x: auto; border-radius: var(--sn-r-sm); background: var(--sn-surface-2); font-size: .85em; }
.sn-prose hr { border: 0; border-top: 1px solid var(--sn-line); }
.sn-prose iframe, .sn-prose video, .sn-prose embed { max-width: 100%; }
.sn-prose .wp-block-embed__wrapper { position: relative; }
.sn-prose .wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.sn-prose .wp-embed-aspect-16-9 iframe { width: 100%; height: 100%; }
.sn-prose .wp-block-button__link { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--sn-accent); color: var(--sn-on-accent); text-decoration: none; font-weight: 700; }
.sn-page-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 700; }
.sn-page-links a, .sn-page-links > span:not(:first-child) { padding: 4px 12px; border-radius: 999px; background: var(--sn-surface-2); }

/* Daftar isi */
.sn-toc { margin: 1.2em 0 1.4em; border: 1px solid var(--sn-line); border-radius: var(--sn-r); background: var(--sn-surface-2); font-size: 15px; }
.sn-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	font-family: var(--sn-sans);
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}
.sn-toc summary::-webkit-details-marker { display: none; }
.sn-toc summary::after { content: "−"; font-size: 18px; color: var(--sn-muted); }
.sn-toc details:not([open]) summary::after { content: "+"; }
.sn-toc ol { margin: 0; padding: 0 16px 14px 34px; line-height: 1.5; }
.sn-toc ol ol { padding: 4px 0 0 18px; list-style: lower-alpha; }
.sn-toc li { margin: 0 0 6px; }
.sn-prose .sn-toc a { color: var(--sn-ink); text-decoration: none; }
.sn-prose .sn-toc a:hover { color: var(--sn-blue); text-decoration: underline; }
.sn-prose h2[id], .sn-prose h3[id] { scroll-margin-top: 130px; }

.sn-also {
	display: block;
	margin: 1.4em 0;
	padding: 14px 16px;
	border-left: 3px solid var(--sn-blue);
	border-radius: var(--sn-r-sm);
	background: var(--sn-surface-2);
	line-height: 1.35;
}
.sn-prose a.sn-also { color: inherit; text-decoration: none; }
.sn-also b { display: block; margin-bottom: 4px; font-family: var(--sn-sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sn-blue); }
.sn-also span { font-family: var(--sn-serif); font-size: 16.5px; font-weight: 600; }
.sn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.sn-tags a { padding: 6px 12px; border-radius: 999px; background: var(--sn-surface-2); font-size: 13px; font-weight: 600; color: var(--sn-ink-2); }
.sn-endshare { padding: 18px; border-radius: var(--sn-r); background: var(--sn-surface-2); text-align: center; }
.sn-endshare p { margin: 0 0 12px; font-weight: 700; }
.sn-endshare .sn-btn-wa { width: 100%; }
.sn-endshare-row { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.sn-endshare .sn-round { background: var(--sn-surface); }
.sn-art-updated { margin: 16px 0 0; font-size: 13px; color: var(--sn-muted); }

/* =========================================================
   9. KOMENTAR
   ========================================================= */
.sn-comments .comment-list, .sn-comments .children { margin: 0; padding: 0; list-style: none; }
.sn-comments .children { margin-left: 16px; padding-left: 14px; border-left: 2px solid var(--sn-line); }
.sn-comments .comment-body { padding: 14px 0; border-top: 1px solid var(--sn-line); font-size: 15px; }
.sn-comments .comment-list > li:first-child > .comment-body { border-top: 0; padding-top: 0; }
.sn-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.sn-comments .comment-author img { border-radius: 50%; }
.sn-comments .comment-author .says { display: none; }
.sn-comments .comment-metadata { margin: 2px 0 8px 54px; font-size: 12.5px; color: var(--sn-muted); }
.sn-comments .comment-content { margin-left: 54px; }
.sn-comments .comment-content p { margin: 0 0 .6em; }
.sn-comments .reply { margin-left: 54px; font-size: 13px; font-weight: 700; color: var(--sn-blue); }
.sn-comments .comment-reply-title { margin: 20px 0 10px; font-family: var(--sn-serif); font-size: 19px; }
.sn-comments .comment-form p { margin: 0 0 12px; }
.sn-comments .comment-form label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.sn-comments .comment-form input[type="text"],
.sn-comments .comment-form input[type="email"],
.sn-comments .comment-form input[type="url"],
.sn-comments .comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--sn-line);
	border-radius: var(--sn-r-sm);
	background: var(--sn-surface-2);
	font-size: 16px;
}
.sn-comments .comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.sn-comments .comment-form .comment-form-cookies-consent label { font-weight: 400; }
.sn-comments .form-submit input {
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--sn-accent);
	color: var(--sn-on-accent);
	font-weight: 700;
	cursor: pointer;
}

/* =========================================================
   10. FOOTER
   ========================================================= */
.sn-ftr { background: #0c0e12; color: #c9cdd4; }
.sn-ftr-in { max-width: var(--sn-maxw); margin: 0 auto; padding: 28px 16px 24px; }
.sn-ftr .sn-logo-word { color: #fff; }
.sn-ftr .sn-logo-word b { color: #6aa8ea; }
.sn-ftr-about { max-width: 42ch; margin: 10px 0 16px; font-size: 14px; color: #9aa1ad; }
.sn-soc { display: flex; flex-wrap: wrap; gap: 10px; }
.sn-soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1b1f27; color: #fff; }
.sn-soc a:hover { background: #262b35; }
.sn-soc .sn-ico { width: 18px; height: 18px; }
.sn-ftr-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 16px;
	margin: 24px 0 20px;
	padding: 20px 0;
	border-top: 1px solid #20242c;
	border-bottom: 1px solid #20242c;
	list-style: none;
	font-size: 14px;
}
.sn-ftr-links a { display: block; padding: 4px 0; }
.sn-ftr-links a:hover { color: #fff; }
.sn-ftr-widgets { display: grid; gap: 20px; margin-bottom: 20px; font-size: 14px; }
.sn-ftr-widgets h4, .sn-ftr-widgets .widget-title { margin: 0 0 8px; font-size: 15px; color: #fff; }
.sn-ftr-widgets a { color: #fff; }
.sn-ftr-copy { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: #7d8491; }
.sn-ftr-copy a { font-weight: 600; color: #fff; }

/* =========================================================
   11. NAVIGASI BAWAH (KHUSUS HP)
   ========================================================= */
.sn-bnav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	height: calc(var(--sn-bnav) + env(safe-area-inset-bottom));
	padding-bottom: env(safe-area-inset-bottom);
	border-top: 1px solid var(--sn-line);
	background: var(--sn-surface);
	background: color-mix(in srgb, var(--sn-surface) 94%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.sn-bnav > a, .sn-bnav > button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	font-size: 11px;
	font-weight: 600;
	color: var(--sn-muted);
}
.sn-bnav .is-on { color: var(--sn-accent-text); }

/* Bar aksi di halaman artikel */
.sn-abar { grid-template-columns: 44px 44px 1fr 44px; gap: 6px; align-items: center; padding-left: 10px; padding-right: 10px; }
.sn-abar > a:not(.sn-btn-wa), .sn-abar > button { height: 44px; border-radius: 50%; }
.sn-bnav .sn-btn-wa { flex-direction: row; font-size: 14px; color: #fff; }

/* =========================================================
   12. SHEET, PENCARIAN, TOAST
   ========================================================= */
.sn-scrim {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: var(--sn-overlay);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s;
}
body.sn-sheet-open { overflow: hidden; }
body.sn-sheet-open .sn-scrim { opacity: 1; pointer-events: auto; }
.sn-sheet {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 61;
	max-height: 85vh;
	overflow: auto;
	padding: 8px 16px calc(24px + env(safe-area-inset-bottom));
	border-radius: 20px 20px 0 0;
	background: var(--sn-surface);
	transform: translateY(105%);
	visibility: hidden;
	transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s;
}
.sn-sheet.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.sn-sheet--top { top: var(--sn-top); bottom: auto; padding-top: 16px; border-radius: 0 0 20px 20px; transform: translateY(-105%); }
.sn-grabber { width: 40px; height: 4px; margin: 4px auto 14px; border-radius: 2px; background: var(--sn-line); }
.sn-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sn-sheet-head h2 { margin: 0; font-family: var(--sn-serif); font-size: 20px; }
.sn-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sn-catgrid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 14px 6px;
	border-radius: var(--sn-r);
	background: var(--sn-surface-2);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}
.sn-catgrid .sn-ico { color: var(--sn-accent-text); }
.sn-sheet-label { margin: 20px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sn-muted); }
.sn-wrap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sn-search-field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 6px 0 14px;
	border: 1.5px solid var(--sn-line);
	border-radius: 999px;
	background: var(--sn-surface-2);
	color: var(--sn-muted);
}
.sn-search-field:focus-within { border-color: var(--sn-accent); }
.sn-search-field input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: none;
	background: none;
	font-size: 16px;
	color: var(--sn-ink);
}
.sn-search-field input::-webkit-search-cancel-button { display: none; }
.sn-search-field .sn-search-go {
	height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--sn-accent);
	color: var(--sn-on-accent);
	font-size: 13px;
	font-weight: 700;
}

.sn-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--sn-bnav) + 16px);
	z-index: 70;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--sn-ink);
	color: var(--sn-surface);
	font-size: 13.5px;
	font-weight: 600;
	opacity: 0;
	transform: translate(-50%, 20px);
	transition: opacity .25s, transform .25s;
	pointer-events: none;
}
.sn-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   13. SLOT IKLAN
   Hanya tampil bila kode iklan diisi di Pengaturan SintangNews.
   ========================================================= */
.sn-ads { margin: 16px 0; text-align: center; }
.sn-ads:not(.sn-ads--img)::before {
	content: "Iklan";
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sn-muted);
}
.sn-ads img, .sn-ads ins, .sn-ads iframe { max-width: 100%; margin: 0 auto; }
.sn-ads img { height: auto; }
.sn-ads:empty { display: none; }
.sn-ad-link { position: relative; display: inline-block; max-width: 100%; vertical-align: top; }
.sn-ad-link img { display: block; }
.sn-ad-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 9.5px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .08em;
	text-transform: uppercase;
	pointer-events: none;
}
.sn-side .sn-ads { margin: 0 0 8px; padding: 16px; background: var(--sn-surface); }

/* Iklan sela daftar berita */
.sn-feed-ad { padding: 14px 0; border-top: 1px solid var(--sn-line); }
.sn-feed-ad .sn-ads { margin: 0; }

/* Banner lebar di antara blok beranda */
.sn-home-ad { margin-bottom: 8px; background: var(--sn-surface); }
.sn-home-ad .sn-ads { margin: 0; }
.sn-home-ad .sn-ad-link, .sn-home-ad img { width: 100%; }

/* Slider iklan utama */
.sn-promo { position: relative; margin-bottom: 8px; overflow: hidden; background: var(--sn-surface); }
.sn-promo--desk { display: none; } /* di luar beranda: hanya laptop/desktop */
.sn-promo-track { display: grid; touch-action: pan-y; }
.sn-promo-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility 0s .5s;
}
.sn-promo-slide.is-on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.sn-promo .sn-ads { width: 100%; margin: 0; }
.sn-promo .sn-ad-link, .sn-promo img { width: 100%; }
.sn-promo-dots { position: absolute; left: 0; right: 0; bottom: 4px; z-index: 3; display: flex; justify-content: center; }
.sn-promo-dots button { display: grid; place-items: center; width: 26px; height: 22px; }
.sn-promo-dots button::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .6);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
	transition: width .25s;
}
.sn-promo-dots button.is-on::before { width: 20px; background: #fff; }

/* Iklan melayang kiri & kanan (lebar & batas layar diatur dari Pengaturan) */
.sn-float {
	position: fixed;
	top: calc(var(--sn-top) + 176px);
	z-index: 30;
	display: none;
	width: var(--sn-float-w, 160px);
}
.sn-float--left { right: calc(50% + 600px + 24px); }
.sn-float--right { left: calc(50% + 600px + 24px); }
.sn-float .sn-ads { margin: 0; }
.sn-float .sn-ads::before { text-align: left; }
.sn-float-x {
	position: absolute;
	top: -2px;
	right: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--sn-surface);
	box-shadow: var(--sn-shadow);
	font-size: 15px;
	line-height: 1;
	color: var(--sn-muted);
}
.sn-float.is-closed { display: none !important; }

/* Pemutar YouTube ringan */
.sn-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--sn-r); background: #000; }
.sn-yt img { width: 100%; height: 100%; object-fit: cover; }
.sn-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sn-yt-play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35));
	color: #fff;
}
.sn-yt-play .sn-ico {
	width: 68px;
	height: 68px;
	padding: 18px 16px 18px 20px;
	border-radius: 50%;
	background: rgba(200, 16, 46, .92);
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
	transition: transform .2s;
}
.sn-yt-play:hover .sn-ico { transform: scale(1.08); }
.sn-art-fig--video { margin-left: 0; margin-right: 0; }

/* Section Video (beranda): kartu berbaris, diputar di tempat */
.sn-video { background: var(--sn-dark-block); color: #fff; }
.sn-video .sn-blk-title { color: #fff; }
.sn-video .sn-blk-title .sn-ico { width: 22px; height: 22px; color: #ff6b80; }
.sn-video .sn-more { color: #8ec1f5; }
.sn-vcard .sn-yt { border-radius: var(--sn-r); }
.sn-vcard .sn-yt-play .sn-ico { width: 52px; height: 52px; padding: 14px 12px 14px 16px; }
.sn-vcard-title {
	display: -webkit-box;
	margin: 12px 0 6px;
	overflow: hidden;
	font-family: var(--sn-serif);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.sn-vcard .sn-meta { color: rgba(255, 255, 255, .65); }

/* Advertorial */
.sn-kick--adv { padding: 2px 7px; border-radius: 4px; background: #fef3c7; color: #92400e; }
.sn-pcard .sn-kick--adv { background: #fef3c7; color: #92400e; }
.sn-adv-note { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid #d97706; border-radius: var(--sn-r-sm); background: #fef3c7; color: #78350f; font-size: 13px; line-height: 1.5; }
:root[data-theme="dark"] .sn-kick--adv, :root[data-theme="dark"] .sn-adv-note { background: #3a2a0a; color: #fbbf24; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .sn-kick--adv, :root:not([data-theme="light"]) .sn-adv-note { background: #3a2a0a; color: #fbbf24; }
}

/* =========================================================
   14. TABLET (>= 640px)
   ========================================================= */
@media (min-width: 640px) {
	.sn-hscroll { grid-auto-columns: 44%; }
	.sn-picks .sn-hscroll { grid-auto-columns: 31%; }
	.sn-item { grid-template-columns: minmax(0, 1fr) 150px; }
	.sn-catgrid { grid-template-columns: repeat(4, 1fr); }
	.sn-ftr-widgets { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   15. DESKTOP (>= 1024px)
   ========================================================= */
@media (min-width: 1024px) {
	body { padding-bottom: 0; font-size: 16px; }
	.sn-only-m, .sn-bnav { display: none !important; }
	.sn-only-d { display: revert !important; }

	:root { --sn-hdr: 68px; --sn-nav: 47px; --sn-sticky: calc(var(--sn-top) + var(--sn-hdr) + var(--sn-nav) + 24px); }
	.sn-has-hdr-ad { --sn-sticky: calc(var(--sn-top) + var(--sn-nav) + 24px); }
	.sn-hdr-bar { gap: 8px; height: 68px; padding: 0 24px; }

	/* Dengan iklan header: logo kiri, iklan kanan; hanya baris kategori yang menempel */
	.sn-has-hdr-ad .sn-hdr { position: relative; top: auto; }
	.sn-has-hdr-ad .sn-hdr-bar { height: auto; min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
	.sn-has-hdr-ad .sn-nav { top: var(--sn-top); }
	.sn-has-hdr-ad .sn-hdr-toggle { display: none; }
	.sn-hdr-ad { display: flex; flex: 1; justify-content: flex-end; min-width: 0; margin-left: 24px; }
	.sn-hdr-ad .sn-ads { margin: 0; text-align: right; }
	.sn-hdr-ad img { width: auto; max-width: 100%; max-height: 120px; }
	.sn-hdr-ad-m { display: none; }
	.sn-nav { border-top: 1px solid var(--sn-line); }
	.sn-nav-tools { display: flex; align-items: center; gap: 4px; padding: 0 24px 0 12px; }
	.sn-nav-tools .sn-hdr-search { width: 220px; height: 36px; }

	.sn-promo { margin-bottom: 24px; border-radius: var(--sn-r-lg); }
	.sn-promo--desk { display: block; }
	.sn-home-ad { margin-bottom: 24px; background: none; }
	.sn-home-ad img, .sn-promo img { border-radius: var(--sn-r-lg); }
	.sn-feed-ad { padding: 18px 0; }
	.sn-logo svg { height: 34px; }
	.sn-logo .custom-logo { max-height: 48px; }
	.sn-logo-word { font-size: 24px; }
	.sn-hdr-search {
		display: flex !important;
		align-items: center;
		gap: 8px;
		width: 260px;
		height: 40px;
		padding: 0 14px;
		border: 1px solid var(--sn-line);
		border-radius: 999px;
		background: var(--sn-surface-2);
		color: var(--sn-muted);
	}
	.sn-hdr-search:focus-within { border-color: var(--sn-accent); }
	.sn-hdr-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 14px; color: var(--sn-ink); }
	.sn-hdr-search .sn-ico { width: 18px; height: 18px; }

	.sn-chips { gap: 4px; padding: 0 24px; }
	.sn-chip { padding: 13px 12px; border-radius: 0; background: none; font-size: 14px; }
	.sn-chip:hover { color: var(--sn-accent-text); }
	.sn-chip.is-on { background: none; color: var(--sn-accent-text); box-shadow: inset 0 -3px 0 var(--sn-accent); }

	.sn-brk-in { padding: 12px 24px; }
	.sn-main { padding: 24px 24px 8px; }
	.sn-blk { margin-bottom: 24px; padding: 24px; border-radius: var(--sn-r-lg); }
	.sn-local { padding-top: 32px; overflow: hidden; }
	.sn-blk-title { font-size: 23px; }

	.sn-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 32px; }
	.sn-lead-title { font-size: 36px; }
	.sn-lead-ex { font-size: 16px; }
	.sn-hero-list { margin-top: 0; }
	.sn-hero-list .sn-item:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
	.sn-hero-list .sn-item { grid-template-columns: minmax(0, 1fr) 120px; }

	.sn-row { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 24px; align-items: start; }
	.sn-row--full { grid-template-columns: minmax(0, 1fr); }
	/* Kotak Berita Terkini memanjang setinggi sidebar; sisa ruang diisi otomatis (JS) */
	.sn-recent { display: flex; flex-direction: column; align-self: stretch; }
	.sn-recent .sn-btn-outline { margin-top: auto; }
	.sn-recent .sn-list { margin-bottom: 8px; }
	.sn-ls-arrow { width: 44px; height: 44px; }
	/* Hanya elemen terakhir sidebar yang menempel, agar sidebar panjang tetap bisa dibaca. */
	.sn-side > :last-child { position: sticky; top: var(--sn-sticky); }
	.sn-side .sn-ads { margin-bottom: 24px; border-radius: var(--sn-r-lg); }
	.sn-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }

	.sn-item { grid-template-columns: minmax(0, 1fr) 176px; gap: 20px; padding: 18px 0; }
	.sn-item--nothumb { grid-template-columns: minmax(0, 1fr); }
	.sn-item-title { font-size: 19px; }
	/* Di desktop kutipan berada di kolom teks, foto di kanan */
	.sn-item--ex { grid-template-areas: "body thumb" "more thumb"; grid-template-rows: auto 1fr; row-gap: 8px; }
	.sn-item--ex.sn-item--nothumb { grid-template-areas: "body" "more"; }
	.sn-item-ex { font-size: 15px; }
	.sn-duo .sn-item { grid-template-columns: minmax(0, 1fr) 110px; }
	.sn-duo .sn-item-title { font-size: 16.5px; }

	.sn-hscroll { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; }
	.sn-picks .sn-hscroll { grid-template-columns: repeat(5, 1fr); }
	.sn-art-tools { padding: 12px 0; }
	.sn-hscroll--widget { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; margin: 0 -24px; padding: 2px 24px 6px; overflow-x: auto; }

	.sn-ftr-in { padding: 40px 24px 28px; }
	.sn-ftr-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; align-items: start; }
	.sn-ftr-links { grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border: 0; }
	.sn-ftr-widgets { grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; }
	.sn-ftr-copy { flex-direction: row; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid #20242c; }

	.sn-art { margin-bottom: 24px; padding: 40px 56px; border-radius: var(--sn-r-lg); }
	.sn-art-title { font-size: 40px; }
	.sn-art-dek { font-size: 19px; }
	.sn-art-fig { margin: 0 0 24px; }
	.sn-art-fig .sn-media { border-radius: var(--sn-r); }
	.sn-art-fig figcaption { padding: 10px 0 0; }
	.sn-prose { font-size: calc(18.5px * var(--sn-fs, 1)); }
	.sn-archive-title { font-size: 32px; }

	/* Tombol bagikan menempel di sisi kiri artikel */
	.sn-art .sn-share { display: none; }
	.sn-art-body { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; margin-top: 24px; margin-left: -36px; }
	.sn-art-body--plain { display: block; margin-left: 0; }
	.sn-rail { position: sticky; top: var(--sn-sticky); display: flex; flex-direction: column; align-items: center; gap: 10px; align-self: start; }
	.sn-rail-label { margin-bottom: 4px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sn-muted); writing-mode: vertical-rl; transform: rotate(180deg); }
	.sn-rail .sn-round { width: 44px; height: 44px; }
	.sn-rail .sn-round:hover { background: var(--sn-line); }
	.sn-rail .sn-rail-wa, .sn-rail .sn-rail-wa:hover { background: var(--sn-wa); color: #fff; }

	/* Berita terkait dua kolom */
	.sn-rel .sn-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
	.sn-rel .sn-list > .sn-item:nth-child(2) { padding-top: 0; border-top: 0; }
	.sn-rel .sn-item { grid-template-columns: minmax(0, 1fr) 120px; }
	.sn-rel .sn-item-title { font-size: 17px; }

	.sn-toast { bottom: 24px; }
}

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

@media print {
	.sn-hdr, .sn-nav, .sn-hdr-ad-m, .sn-promo, .sn-home-ad, .sn-feed-ad, .sn-brk, .sn-bnav, .sn-side, .sn-share, .sn-rail, .sn-endshare, .sn-ftr, .sn-rel, .sn-ads, .sn-sheet, .sn-scrim { display: none !important; }
	body { padding: 0; background: #fff; color: #000; }
	.sn-row { display: block; }
	.sn-art { padding: 0; }
}
