/*
Theme Name: Wartanews
Theme URI: https://banuainside.net/
Author: Banuainside
Description: Tema kustom untuk portal berita, dirancang manual untuk performa maksimal dan optimalisasi kecepatan.
Version: 1.0
Text Domain: wartanews
*/

/* ==========================================================================
   PENGATURAN WARNA LATAR BELAKANG WEBSITE (PUTIH BERSIH)
   ========================================================================== */

/* 1. Mengubah latar belakang seluruh halaman */
body {
    background-color: #ffffff !important;
}

/* 2. Mengubah latar belakang kontainer utama (SimpelQu Layout) */
.site-main, 
.front-page-layout,
.main-content-wrapper {
    background-color: #ffffff !important;
    border: none !important;
}

/* 3. Memastikan area artikel dan sidebar juga berwarna putih */
#main-content,
#secondary,
.content-area,
.sidebar-area {
    background-color: #ffffff !important;
}

/* 4. Menghilangkan bayangan atau garis halus yang mungkin muncul di antara kolom */
.main-content-wrapper {
    box-shadow: none !important;
}

/* ==========================================================================
   PENGATURAN FONT GLOBAL (Bersih & Profesional ala Portal Berita)
   ========================================================================== */

/* Menerapkan font modern ke seluruh teks di website */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333333; /* Warna dasar teks agar tidak terlalu hitam pekat dan bikin sakit mata */
    line-height: 1.6; /* Jarak antar baris teks agar enak dibaca */
    -webkit-font-smoothing: antialiased; /* Bikin font lebih mulus di layar */
    -moz-osx-font-smoothing: grayscale;
}

/* Khusus untuk semua Judul (Heading) biar tegas dan kekinian */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    letter-spacing: -0.3px; /* Jarak antar huruf dirapatkan sedikit biar padat dan premium */
}

/* Mengatur font khusus pada input kotak pencarian agar ikut berubah */
input, button, textarea, select {
    font-family: inherit;
}

/* ==========================================================================
   CSS RESET DASAR (WAJIB ADA)
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Mencegah website bocor/bisa di-scroll ke samping */
}

/* Menghilangkan garis bawah pada semua link/tautan di seluruh website */
a {
    text-decoration: none !important;
    transition: color 0.3s ease-in-out;
}

/* Memastikan teks logo/judul web di header benar-benar bersih dari garis bawah */
.site-branding a, 
.site-branding-mobile a {
    text-decoration: none;
}

/* Menghilangkan efek blok warna (highlight) saat tombol/link ditekan di layar sentuh (HP) */
a, 
button, 
.menu-toggle, 
.search-toggle-mobile {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
}

/* Memastikan saat tombol sedang difokuskan (diklik) tidak ada garis tepi bawaan browser */
button:focus,
a:focus {
    outline: none;
}

/* Pengaturan Gambar Iklan */
.ad-mobile { display: none; }
.ad-desktop { display: block; }

@media (max-width: 768px) {
    .ad-desktop { display: none !important; }
    .ad-mobile { display: block !important; }
}