/*
Theme Name: Nadi Lombok v 2.0
Theme URI: https://rri.co.id/
Author: Yusuf Bimbi
Description: Nadi Lombok — Premium Newspaper & Online Magazine Theme  Nadi Lombok adalah template WordPress modern dan ultra-responsif yang dirancang khusus untuk portal berita, media massa, majalah digital, dan blog berita independen. Dibangun dengan struktur clean code, kecepatan tinggi, serta kepatuhan penuh terhadap standar ekosistem WordPress terbaru. 🔥 Fitur Unggulan Utama:      12 Variasi Layout Grid Berita: Penataan konten dinamis mulai dari Carousel Slider Split (70:30), Big Feature Grid, Multimedia Video Grid, hingga Live Timeline Feed.      3 Pilihan Layout Header: Fleksibilitas tampilan header standar (Left Logo + Banner Ads), Centered Brand Header, hingga Split Logo dengan Tanggal & Jam Real-Time.      WP Live Customizer Ready: Ubah nama media, tagline, logo, skema warna, hingga pengaturan tata letak blok berita secara live tanpa perlu menyentuh kode.      Kepatuhan Standar & Keamanan Ketat: Dilengkapi sanitasi kode lengkap (escaping & sanitization), proteksi akses berkas langsung, dan struktur template standar (archive.php, search.php, dan 404.php).      Optimasi SEO & Google News: Support otomatis Schema.org Structured Data (NewsArticle), atribut Lazy Loading gambar untuk performa tinggi, serta integrasi RSS Feed.      Pengalaman Pembaca Interaktif:          Mode Malam (Dark Mode) & Mode Fokus Baca          Estimasi Waktu Baca (Reading Time) & Counter Jumlah Tayang Artikel          Reading Progress Bar & Tombol Back To Top          Tombol Berbagi Cepat ke Media Sosial (WhatsApp, Facebook, Twitter, Telegram, Salin Link)      Widget Khusus Bawaan: Widget Berita Terpopuler (Popular Posts) dan Berita Terbaru dengan Gambar Thumbnail secara otomatis.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: nadi-lombok-v-2-0
Tags: news, magazine, custom-colors

Changelog v2.0:
 * - Sanitasi Keamanan Lengkap & Output Escaping
 * - Bundel Berkas archive.php, search.php & 404.php
 * - Integrasi SEO Schema.org NewsArticle & Lazy Loading
 * - Fix Bocor Syntax JavaScript pada Kanvas Editor
*/

body { font-family: system-ui, -apple-system, sans-serif; background: #f4f6f9; color:#1e293b; margin:0; padding:0; transition: background-color 0.3s, color 0.3s; }
body.dark-mode { background-color: #0f172a !important; color: #f1f5f9 !important; }
body.dark-mode .wp-card-magazine { background-color: #1e293b !important; color: #f1f5f9 !important; border-color: #334155 !important; }
body.dark-mode .wp-card-magazine h1, body.dark-mode .wp-card-magazine h2, body.dark-mode .wp-card-magazine h3, body.dark-mode .wp-card-magazine h4 { color: #ffffff !important; }
.wp-container-max { max-width:1200px; margin:0 auto; padding:0 20px; }
.wp-card-magazine { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:15px; box-sizing:border-box; margin-bottom: 14px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: background-color 0.3s; }
.wp-custom-nav-bar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.wp-custom-nav-bar ul li { display: inline-block; }
.wp-custom-nav-bar ul li a { color: #334155; text-decoration: none; font-size: 14px; font-weight: 600; }
.wp-custom-nav-bar ul li a:hover { color: #2563eb; }
.widget-title { font-size: 14px; font-weight: 800; text-transform: uppercase; color: #0f172a; border-bottom: 2px solid #2563eb; padding-bottom: 6px; margin: 0 0 12px 0; }
.widget-popular-item { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.widget-popular-rank { background: #2563eb; color: #fff; width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: bold; flex-shrink: 0; }
.widget-recent-item { display: flex; gap: 12px; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 8px; margin-bottom: 8px; }
.widget-recent-thumb { width: 60px; height: 45px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.cat-badge-tag { background: #2563eb; color: #ffffff; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; display: inline-block; margin-bottom: 6px; }
#reading-progress { position: fixed; top: 0; left: 0; height: 4px; background: #2563eb; width: 0%; z-index: 9999; transition: width 0.1s; }
#back-to-top { position: fixed; bottom: 30px; right: 30px; background: #2563eb; color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 18px; cursor: pointer; display: none; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.share-btn { padding: 6px 12px; border-radius: 6px; color: #fff; font-size: 11px; font-weight: bold; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-tg { background: #0088cc; }
.share-copy { background: #64748b; cursor: pointer; border: none; }
