/*
Theme Name: NewseBlog Child
Template: newseblog
*/

/* ========== HEADER BIRU TUA ========== */

/* 1. Warna latar belakang header */
.newseblog-header {
    background-color: #0a2b5e !important;
}

/* 2. Warna teks menu dan link di header */
.newseblog-header .newseblog-menu li a,
.newseblog-header .site-title a {
    color: #ffffff !important;
}

/* 3. Warna link menu saat di-hover */
.newseblog-header .newseblog-menu li a:hover {
    color: #ffcc00 !important;
    background-color: transparent !important;
}

/* 4. Warna teks deskripsi site (jika ada) */
.newseblog-header .site-description {
    color: #cccccc !important;
}

/* 5. Warna menu active */
.newseblog-header .newseblog-menu li.current-menu-item a,
.newseblog-header .newseblog-menu li.current_page_item a {
    color: #ffcc00 !important;
}


/* ========== CUSTOM CSS SEBELUMNYA (YANG SUDAH ANDA BUAT) ========== */

/* 1. Mengubah warna link/menu saat di-hover (non-header) */
a:hover, .newseblog-menu li a:hover {
    color: #e14d36 !important;
}

/* 2. Membulatkan gambar artikel */
.wp-block-image img, .wp-block-cover, .has-custom-border {
    border-radius: 12px !important;
}

/* 3. Mengubah warna tombol subscribe */
.wp-block-button__link, button[type="submit"] {
    background-color: #e14d36 !important;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover, button[type="submit"]:hover {
    background-color: #c0392b !important;
}

/* 4. Mengatur jarak antar section */
.cm-hero-section, .cm-technology-section, .cm-video-section {
    margin-bottom: 40px !important;
}

/* 5. Mengubah font judul berita */
h1, h2, h3, h4, h5, h6, .entry-title, .wp-block-heading {
    font-family: 'Poppins', 'Josefin Sans', sans-serif !important;
}

/* 6. Membuat sidebar lebih rapi */
.cm-remove-padding {
    padding-left: 20px !important;
}

/* 7. Efek hover pada card artikel */
.wp-block-group, .wp-block-column {
    transition: transform 0.3s ease;
}

.wp-block-group:hover, .wp-block-column:hover {
    transform: translateY(-5px);
}

/* 8. Mengubah warna footer */
.newseblog-footer .copyright {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}


/* ========== PERBAIKAN TAMBAHAN ========== */

/* Memastikan logo/teks di header terbaca dengan baik */
.newseblog-header .site-title a:hover {
    color: #ffcc00 !important;
}

/* Memperbaiki tampilan mobile header (opsional) */
@media (max-width: 768px) {
    .newseblog-header {
        padding: 15px 0 !important;
    }
}

/* Membatasi lebar konten utama agar tidak terlalu melebar */
.wrapper, .newseblog-header, .main-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* Membuat menu header lebih profesional */
.newseblog-menu {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Mengatur ulang ukuran font judul berita utama */
.cm-hero-section h2.wp-block-heading {
    font-size: 28px !important;
    line-height: 1.3 !important;
}

/* Memperbaiki tampilan list berita di sidebar */
.cm-trending-1 {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}