:root {
    --newsthemes-primary: #2a5298;
    --newsthemes-accent: #00ff88;
    --newsthemes-dark: #050505;
    --newsthemes-light: #ffffff;
    --newsthemes-text-main: #1a1a1a;
    --newsthemes-text-muted: #666666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--newsthemes-text-main); line-height: 1.6; overflow-x: hidden; }

/* Utility */
.newsthemes-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.newsthemes-center { display: flex; justify-content: center; align-items: center; text-align: center; }

/* Top Section (Header & Hero) */
.newsthemes-top-wrapper {
    background: linear-gradient(180deg, #121d2f 0%, var(--newsthemes-primary) 100%);
    color: var(--newsthemes-light);
    padding-top: 140px;
    padding-bottom: 100px;
}

/* Header */
.home .newsthemes-header-global {
    position: fixed;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color, border-color, box-shadow;
}

/* Reset Semua Warna Elemen ke Putih */
.home .newsthemes-header-global .newsthemes-logo-text,
.home .newsthemes-header-global .newsthemes-search-trigger,
.home .newsthemes-header-global .newsthemes-menu-toggle,
.home .newsthemes-header-global .newsthemes-main-navigation ul li a {
    color: #ffffff;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-color, border-color, box-shadow;
}

/* Reset Background Tombol Search & Menu di Kondisi Normal */
.home .newsthemes-header-global .newsthemes-search-trigger,
.home .newsthemes-header-global .newsthemes-menu-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Kondisi Saat Scrolled (Putih Solid) */
.home .newsthemes-header-global.newsthemes-scrolled {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.home .newsthemes-header-global .custom-logo-link img {
    filter: brightness(0) invert(1);
}

/* Warna Elemen Saat Scrolled Jadi Gelap */
.home .newsthemes-header-global.newsthemes-scrolled .newsthemes-logo-text,
.home .newsthemes-header-global.newsthemes-scrolled .newsthemes-search-trigger,
.home .newsthemes-header-global.newsthemes-scrolled .newsthemes-menu-toggle,
.home .newsthemes-header-global.newsthemes-scrolled .newsthemes-main-navigation ul li a {
    color: #121d2f;
}

.home .newsthemes-header-global.newsthemes-scrolled .custom-logo-link img {
    filter: none;
}

/* Warna Background Tombol Saat Scrolled */
.home .newsthemes-header-global.newsthemes-scrolled .newsthemes-search-trigger,
.home .newsthemes-header-global.newsthemes-scrolled .newsthemes-menu-toggle {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}


.newsthemes-header { padding: 40px 0 20px; width: 100%; z-index: 100; }
.newsthemes-logo-text { font-size: 28px; font-weight: 900; color: #fff; text-decoration: none; letter-spacing: -1px; }
.newsthemes-logo-text span { color: var(--newsthemes-accent); }
.custom-logo-link { display: block; margin: 0 auto; text-align: center; }

/* Hero Info Section */
.newsthemes-section-hero { padding: 60px 0; text-align: center; }
.newsthemes-hero-title { font-size: 3.5rem; font-weight: 900; letter-spacing: -2px; margin-bottom: 25px; line-height: 1.1; }
.newsthemes-hero-subtitle { max-width: 800px; margin: 0 auto; font-size: 1.3rem; opacity: 0.9; }

/* Grid Features Cards */
.newsthemes-section-cards { padding: 80px 0; background: #fff; margin-top: -60px; border-radius: 40px 40px 0 0; position: relative; z-index: 10; }
.newsthemes-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.newsthemes-card-item { padding: 50px 40px; background: #f9f9f9; border-radius: 24px; border: 1px solid #f0f0f0; transition: 0.3s ease; }
.newsthemes-card-item:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,0.06); border-color: transparent; }
.newsthemes-card-item i { font-size: 2.5rem; color: var(--newsthemes-primary); margin-bottom: 25px; display: block; }
.newsthemes-card-item h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 15px; }
.newsthemes-card-item p { color: var(--newsthemes-text-muted); font-size: 1rem; }

/* ---------- SETTING CUSTOMIZER KARTU FRONTPAGE ---------- */

.newsthemes-post-grid-front {
    display: grid;
    gap: 30px;
    margin: 0 auto;
    /* Mengambil variabel --grid-columns dari inline style di front-page.php */
    grid-template-columns: repeat(var(--grid-columns, 2), minmax(0, 1fr));
    /* Hitung lebar maksimal agar tetap di tengah */
    max-width: calc(var(--grid-columns, 2) * 420px);
}

/* Tablet (992px ke bawah) Paksa 2 Kolom */
@media (max-width: 992px) {
    .newsthemes-post-grid-front {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 840px;
    }
}

/* Mobile (480px ke bawah) Paksa 1 Kolom */
@media (max-width: 480px) {
    .newsthemes-post-grid-front {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        max-width: 100%;
    }
}

/* --- SECTION: PRODUCT SELECTION --- */
.newsthemes-product-selection { padding: 100px 0; background: #ffffff; }
.newsthemes-product-title { text-align: center; font-size: 2.8rem; font-weight: 900; margin-bottom: 60px; letter-spacing: -1.5px; color: var(--newsthemes-dark); }

.newsthemes-main-wrapper { display: flex; flex-wrap: wrap; width: 100%; border-top: 1px solid #f0f0f0; }

.newsthemes-hero-panel { 
    flex: 1; min-width: 50%; display: flex; flex-direction: column; align-items: center; 
    padding: 80px 40px; background: #ffffff; border-right: 1px solid #f0f0f0; transition: 0.3s; 
}
.newsthemes-hero-panel:last-child { border-right: none; }
.newsthemes-hero-panel:hover { background: #fafafa; }

.newsthemes-content-box { max-width: 500px; text-align: center; }

/* Badge & Typography */
.newsthemes-badge { display: inline-block; padding: 8px 18px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 25px; letter-spacing: 1px; }
.newsthemes-title { font-size: 3rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; line-height: 1.1; }
.newsthemes-desc { font-size: 1.05rem; color: var(--newsthemes-text-muted); margin-bottom: 40px; line-height: 1.7; }

/* Product Variations */
.newsthemes-panel-mediapress .newsthemes-badge { background: #f0f4f8; color: var(--newsthemes-primary); }
.newsthemes-panel-mediapress .newsthemes-title { color: var(--newsthemes-primary); }
.newsthemes-panel-mediapress .newsthemes-btn { background: var(--newsthemes-primary); color: #fff; }

.newsthemes-panel-sosmedpress .newsthemes-badge { background: #e6ffed; color: #00a85d; }
.newsthemes-panel-sosmedpress .newsthemes-title { color: var(--newsthemes-dark); }
.newsthemes-panel-sosmedpress .newsthemes-btn { background: var(--newsthemes-accent); color: #000; }

/* Image Preview */
.newsthemes-preview-wrapper { width: 100%; margin-bottom: 35px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.07); border: 1px solid #eee; background: #f9f9f9; }
.newsthemes-img-preview { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.newsthemes-hero-panel:hover .newsthemes-img-preview { transform: scale(1.05); }

/* Buttons */
.newsthemes-btn { 
    display: inline-block; padding: 18px 45px; border-radius: 50px; font-weight: 800; 
    text-transform: uppercase; font-size: 13px; text-decoration: none; transition: 0.3s; 
}
.newsthemes-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .newsthemes-hero-panel { min-width: 100%; border-right: none; border-bottom: 1px solid #f0f0f0; padding: 60px 20px; }
    .newsthemes-title { font-size: 2.2rem; }
}

/* --- SECTION: INTEGRITY MODERN --- */
.newsthemes-integrity-modern { 
    padding: 80px 0; 
    background: #0a0f18; /* Dark Navy biar mewah */
    color: #fff;
    margin-top: -20px;
}

.newsthemes-integrity-grid-modern { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.newsthemes-integrity-card { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 30px; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 20px; 
    transition: 0.4s;
}

.newsthemes-integrity-card:hover { 
    background: rgba(255, 255, 255, 0.07); 
    border-color: var(--newsthemes-accent);
    transform: translateY(-5px);
}

.newsthemes-integrity-icon { 
    font-size: 2.5rem; 
    color: var(--newsthemes-accent); 
    opacity: 0.9;
}

.newsthemes-integrity-val { 
    display: block; 
    font-size: 1.5rem; 
    font-weight: 900; 
    letter-spacing: -0.5px; 
    margin-bottom: 5px;
}

.newsthemes-integrity-txt { 
    font-size: 0.95rem; 
    color: #a0a0a0; 
    line-height: 1.4; 
}

@media (max-width: 768px) {
    .newsthemes-integrity-modern { padding: 60px 0; }
    .newsthemes-integrity-card { padding: 25px; }
}

/* --- SECTION: FINAL CTA (WHATSAPP VERSION) --- */
.newsthemes-final-cta { padding: 100px 0; text-align: center; background: #fff; }
.newsthemes-cta-title { font-size: 2.5rem; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 20px; color: var(--newsthemes-dark); }
.newsthemes-cta-desc { font-size: 1.2rem; color: #666; margin-bottom: 40px; }

.newsthemes-btn-cta-wa { 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    padding: 20px 50px; 
    background: #25D366; 
    color: #fff; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 800; 
    text-transform: uppercase; 
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.newsthemes-btn-cta-wa i { font-size: 24px; }

.newsthemes-btn-cta-wa:hover { 
    transform: scale(1.05); 
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3); 
    background: #20ba5a; 
}

@media (max-width: 768px) { 
    .newsthemes-cta-title { font-size: 2rem; } 
    .newsthemes-btn-cta-wa { padding: 18px 30px; justify-content: center; }
}

/* --- Footer --- */
.newsthemes-footer-main { padding: 60px 0; text-align: center; border-top: 1px solid #eee; background: #fafafa; font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .newsthemes-hero-title { font-size: 2.5rem; }
    .newsthemes-main-wrapper { height: auto; }
    .newsthemes-hero-panel { min-width: 100%; min-height: 50vh; }
}