/* ========== HERO SECTION FIX V2 - FORCE MAXIMIZED ========== */
/* Ultra specific selectors to override everything */

/* Test indicator */
.css-test-indicator {
    color: green !important;
    font-weight: bold !important;
    font-size: 20px !important;
}

/* Container override with high specificity */
body .hero-section-detik .container,
body div.hero-section-detik div.container {
    max-width: 1140px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Row perfect alignment with high specificity */
body .hero-section-detik .row,
body div.hero-section-detik div.row {
    margin-left: -15px !important;
    margin-right: -15px !important;
    display: flex !important;
    align-items: stretch !important;
}

/* Columns equal height with high specificity */
body .hero-section-detik .col-lg-8,
body .hero-section-detik .col-lg-4,
body div.hero-section-detik div.col-lg-8,
body div.hero-section-detik div.col-lg-4 {
    padding-left: 15px !important;
    padding-right: 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Hero main box - MAXIMIZED with ultra high specificity */
body .hero-main-box,
body a.hero-main-box,
body div.hero-section-detik a.hero-main-box {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    border: 1px solid #e0e0e0 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

/* Hero image - HUGE with ultra high specificity */
body .hero-main-image,
body div.hero-main-image,
body .hero-main-box .hero-main-image,
body a.hero-main-box div.hero-main-image {
    height: 450px !important;
    min-height: 450px !important;
    max-height: 450px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .hero-main-image img,
body div.hero-main-image img,
body .hero-main-box .hero-main-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 450px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Blue bar - NO WHITE LINE with ultra high specificity */
body .hero-related-news,
body div.hero-related-news,
body .hero-main-box .hero-related-news,
body a.hero-main-box div.hero-related-news {
    background: #2563eb !important;
    padding: 24px !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    min-height: 100px !important;
    box-shadow: none !important;
}

body .hero-related-news *,
body .hero-related-news *::before,
body .hero-related-news *::after {
    border: 0 !important;
    outline: 0 !important;
}

/* Hero sidebar perfect match with high specificity */
body .hero-sidebar,
body div.hero-sidebar,
body .hero-section-detik .hero-sidebar {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Polling widget - MATCH HEIGHT with ultra high specificity */
body .polling-widget,
body div.polling-widget,
body .hero-sidebar .polling-widget {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
}

body .polling-widget .terpopuler-title,
body div.polling-widget h3.terpopuler-title {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    padding: 18px 24px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

body .polling-content,
body div.polling-content,
body .polling-widget .polling-content {
    flex: 1 !important;
    padding: 0 !important;
}

body .polling-content > div,
body div.polling-content > div {
    padding: 24px !important;
}

body .polling-image,
body div.polling-image,
body .polling-content .polling-image {
    height: 280px !important;
    min-height: 280px !important;
    margin-bottom: 20px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

body .polling-image img,
body div.polling-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Ad space below polling */
body .hero-ad-space,
body div.hero-ad-space,
body .hero-sidebar .hero-ad-space {
    margin-top: 15px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}

/* Top news row with high specificity */
body .top-news-row,
body div.top-news-row,
body .hero-section-detik .top-news-row {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
}

body .top-news-item,
body a.top-news-item,
body .top-news-row a.top-news-item {
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

body .top-news-thumb,
body div.top-news-thumb,
body .top-news-item .top-news-thumb {
    height: 120px !important;
    min-height: 120px !important;
}

body .top-news-title,
body div.top-news-title,
body .top-news-item .top-news-title {
    padding: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Responsive */
@media (max-width: 991px) {
    body .hero-section-detik .col-lg-8,
    body .hero-section-detik .col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    body .hero-main-image,
    body .hero-main-box .hero-main-image {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }
    
    body .polling-widget,
    body .hero-sidebar .polling-widget {
        margin-top: 20px !important;
    }
}
