/* ============================================
   CNADAILY INDEX & CONTENT - RESPONSIVE
   Semua ukuran diatur di sini per breakpoint
   ============================================ */

/* ============================================
   TABLET (768px - 1023px)
   ============================================ */
/* ============================================
   MOBILE FIX - 2 KOLOM JADI 1 KOLOM
   ============================================ */
@media (max-width: 767px) {
    
    .home-wrapper {
        flex-direction: column !important;
        gap: 20px;
    }
    
    .home-index {
        order: 1 !important;
        width: 100% !important;
    }
    
    .sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 1 !important;
        position: static !important;
        top: auto !important;
        order: 2 !important;
        margin-top: 20px !important;
    }
}
    
    .news-card .news-content { padding: 16px; }
    
    .news-card .entry-title { font-size: 1.1rem; }
    .news-card .entry-meta { font-size: 11px; }
    .news-card .entry-excerpt { font-size: 13px; }
    .news-card .read-more { font-size: 12px; }
    
    /* Featured Post */
    .news-card.featured .news-content { padding: 24px; }
    .news-card.featured .entry-title { font-size: 1.5rem; }
    
    /* Single Post */
    .single-post-header .category-badge { padding: 3px 10px; font-size: 11px; }
    .single-post-header .entry-title { font-size: 1.8rem; }
    .single-post-header .entry-meta { font-size: 12px; gap: 16px; }
    .single-post-header .entry-meta .post-date { font-size: 11px; }
    
    .entry-content { font-size: 15px; }
    .entry-content h2 { font-size: 1.4rem; }
    .entry-content h3 { font-size: 1.2rem; }
    .entry-content h4 { font-size: 1rem; }
    
    .entry-tags strong { font-size: 12px; }
    .entry-tags a { padding: 3px 10px; font-size: 11px; }
    
    .share-buttons span { font-size: 12px; }
    .share-buttons a { width: 32px; height: 32px; }
    
    .author-box { padding: 20px; gap: 16px; }
    .author-box .author-avatar { width: 70px; height: 70px; }
    .author-box .author-info h4 { font-size: 15px; }
    .author-box .author-info .author-role { font-size: 11px; }
    .author-box .author-info p { font-size: 13px; }
    
    /* Related Posts */
    .related-posts h3 { font-size: 1.2rem; }
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .related-post-card .post-title { font-size: 13px; }
    
    /* Page */
    .page-header .entry-title { font-size: 1.8rem; }
    .page-content { font-size: 15px; }
    
    /* Sidebar */
    .sidebar .widget {  }
    .sidebar .widget-title { font-size: 15px; }
    .sidebar .widget ul li { padding: 8px 0; }
    .sidebar .widget ul li a { font-size: 13px; }
    
    /* Pagination */
    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
    
    /* Comments */
    .comments-title { font-size: 1.2rem; }
    .comment { padding: 16px; }
    .comment-author .avatar { width: 40px; height: 40px; }
    .comment-author .fn { font-size: 14px; }
    .comment-metadata { font-size: 11px; }
    .comment-content { font-size: 13px; }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea {
        padding: 10px;
        font-size: 13px;
    }
    .comment-form textarea { min-height: 100px; }
    .comment-form input[type="submit"] { padding: 10px 20px; }
    
    /* Ads */
    .ads-top-wrapper { margin-bottom: 24px; padding: 8px 0; }
    .ads-label { font-size: 10px; }
    .ads-placeholder { padding: 30px 16px; min-height: 80px; }
    .ads-placeholder span { font-size: 12px; }
 

/* ============================================
   MOBILE (481px - 767px)
   ============================================ */
@media (max-width: 767px) and (min-width: 481px) {
    
    /* Layout - Sidebar pindah ke bawah & tidak sticky */
    .site-main { padding: 16px 0; }
    
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-area {
        order: 1;
        width: 100%;
    }
    
    .sidebar {
        width: 100% !important;
        flex-shrink: 1 !important;
        position: static !important;
        top: auto !important;
        order: 2;
    }
    
    /* News Grid - 1 kolom */
    .news-grid { grid-template-columns: 1fr; gap: 16px; }
    
    .news-card .category-badge {
        top: 10px;
        left: 10px;
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .news-card .news-content { padding: 14px; }
    .news-card .entry-title { font-size: 1rem; margin-bottom: 8px; }
    .news-card .entry-meta { font-size: 11px; margin-bottom: 10px; }
    .news-card .entry-excerpt { font-size: 13px; margin-bottom: 12px; }
    .news-card .read-more { font-size: 12px; }
    
    /* Featured Post - Stack vertikal */
    .news-card.featured {
        flex-direction: column;
    }
    .news-card.featured .post-thumbnail {
        width: 100%;
        aspect-ratio: 16/9;
    }
    .news-card.featured .news-content {
        width: 100%;
        padding: 16px;
    }
    .news-card.featured .entry-title { font-size: 1.3rem; }
    
    /* Single Post */
    .single-post-header .category-badge { padding: 3px 8px; font-size: 10px; }
    .single-post-header .entry-title { font-size: 1.5rem; }
    .single-post-header .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        font-size: 12px;
    }
    .single-post-header .entry-meta .post-date { font-size: 11px; }
    
    .entry-content { font-size: 14px; }
    .entry-content h2 { font-size: 1.3rem; }
    .entry-content h3 { font-size: 1.1rem; }
    .entry-content h4 { font-size: 1rem; }
    
    .entry-tags { flex-direction: column; align-items: flex-start; }
    .entry-tags strong { font-size: 12px; }
    .entry-tags a { padding: 3px 10px; font-size: 11px; }
    
    .share-buttons { flex-wrap: wrap; padding: 12px; }
    .share-buttons span { font-size: 12px; }
    .share-buttons a { width: 32px; height: 32px; }
    
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    .author-box .author-avatar {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    .author-box .author-info h4 { font-size: 14px; }
    .author-box .author-info .author-role { font-size: 11px; }
    .author-box .author-info p { font-size: 13px; }
    
    /* Related Posts - 1 kolom */
    .related-posts { margin-top: 30px; }
    .related-posts h3 { font-size: 1.1rem; }
    .related-posts-grid { grid-template-columns: 1fr; gap: 12px; }
    .related-post-card .post-title { font-size: 13px; padding: 10px; }
    
    /* Page */
    .page-header { margin-bottom: 20px; padding-bottom: 16px; }
    .page-header .entry-title { font-size: 1.5rem; }
    .page-content { font-size: 14px; }
    
    /* Sidebar */
    .sidebar .widget { padding: 14px; }
    .sidebar .widget-title { font-size: 14px; }
    .sidebar .widget ul li { padding: 8px 0; }
    .sidebar .widget ul li a { font-size: 13px; }
    
    /* Pagination */
    .pagination { margin-top: 30px; gap: 6px; }
    .pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    /* Comments */
    .comments-area { margin-top: 30px; padding-top: 24px; }
    .comments-title { font-size: 1.1rem; margin-bottom: 20px; }
    .comment { padding: 14px; }
    .comment-author .avatar { width: 36px; height: 36px; }
    .comment-author .fn { font-size: 13px; }
    .comment-metadata { font-size: 11px; }
    .comment-content { font-size: 13px; }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea {
        padding: 10px;
        font-size: 13px;
    }
    .comment-form textarea { min-height: 90px; }
    .comment-form input[type="submit"] { padding: 10px 18px; }
    
    /* Ads */
    .ads-top-wrapper { margin-bottom: 20px; padding: 6px 0; }
    .ads-label { font-size: 10px; margin-bottom: 8px; }
    .ads-placeholder { padding: 24px 12px; min-height: 70px; }
    .ads-placeholder span { font-size: 11px; }
}

 
.ads-center-wrapper {
    margin-bottom: 20px;
    padding: 6px 0;
}

/* ============================================
   SMALL MOBILE (< 480px)
   ============================================ */
@media (max-width: 480px) {
    
    /* Layout */
    .site-main { padding: 12px 0; }
    .content-wrapper { gap: 16px; }
    
    .sidebar {
        width: 100% !important;
        flex-shrink: 1 !important;
        position: static !important;
        top: auto !important;
        order: 2;
    }
    
    /* News Grid */
    .news-grid { gap: 12px; }
    
    .news-card .category-badge {
        top: 8px;
        left: 8px;
        padding: 2px 6px;
        font-size: 9px;
    }
    
    .news-card .news-content { padding: 12px; }
    .news-card .entry-title { font-size: 0.95rem; margin-bottom: 6px; }
    .news-card .entry-meta { font-size: 10px; margin-bottom: 8px; gap: 6px; }
    .news-card .entry-excerpt { font-size: 12px; margin-bottom: 10px; }
    .news-card .read-more { font-size: 11px; }
    
    /* Featured Post */
    .news-card.featured .news-content { padding: 12px; }
    .news-card.featured .entry-title { font-size: 1.1rem; }
    
    /* Single Post */
    .single-post-header .category-badge { padding: 2px 6px; font-size: 9px; }
    .single-post-header .entry-title { font-size: 1.3rem; }
    .single-post-header .entry-meta { font-size: 11px; }
    
    .entry-content { font-size: 14px; }
    .entry-content h2 { font-size: 1.2rem; }
    .entry-content h3 { font-size: 1.05rem; }
    .entry-content h4 { font-size: 0.95rem; }
    
    .entry-tags strong { font-size: 11px; }
    .entry-tags a { padding: 2px 8px; font-size: 10px; }
    
    .share-buttons { padding: 10px; gap: 8px; }
    .share-buttons span { font-size: 11px; }
    .share-buttons a { width: 30px; height: 30px; }
    
    .author-box { padding: 12px; gap: 10px; }
    .author-box .author-avatar { width: 50px; height: 50px; }
    .author-box .author-info h4 { font-size: 13px; }
    .author-box .author-info .author-role { font-size: 10px; }
    .author-box .author-info p { font-size: 12px; }
    
    /* Related Posts */
    .related-posts { margin-top: 24px; }
    .related-posts h3 { font-size: 1rem; margin-bottom: 16px; }
    .related-posts-grid { gap: 10px; }
    .related-post-card .post-title { font-size: 12px; padding: 8px; }
    
    /* Page */
    .page-header { margin-bottom: 16px; padding-bottom: 12px; }
    .page-header .entry-title { font-size: 1.3rem; }
    .page-content { font-size: 14px; }
    
    /* Sidebar */
    .sidebar .widget { padding: 12px; margin-bottom: 16px; }
    .sidebar .widget-title { font-size: 13px; margin-bottom: 12px; }
    .sidebar .widget ul li { padding: 6px 0; }
    .sidebar .widget ul li a { font-size: 12px; }
    
    /* Pagination */
    .pagination { margin-top: 24px; gap: 4px; }
    .pagination .page-numbers {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 11px;
        border-radius: 4px;
    }
    
    /* Comments */
    .comments-area { margin-top: 24px; padding-top: 20px; }
    .comments-title { font-size: 1rem; margin-bottom: 16px; }
    .comment { padding: 12px; margin-bottom: 12px; }
    .comment-author .avatar { width: 32px; height: 32px; }
    .comment-author .fn { font-size: 12px; }
    .comment-metadata { font-size: 10px; }
    .comment-content { font-size: 12px; }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea {
        padding: 8px;
        font-size: 12px;
        margin-bottom: 10px;
    }
    .comment-form textarea { min-height: 80px; }
    .comment-form input[type="submit"] { padding: 8px 16px; font-size: 13px; }
    
    /* Ads */
    .ads-top-wrapper { margin-bottom: 16px; padding: 4px 0; }
    .ads-label { font-size: 9px; margin-bottom: 6px; }
    .ads-placeholder { padding: 20px 10px; min-height: 60px; }
    .ads-placeholder span { font-size: 10px; }

    /* Di dalam @media (max-width: 480px) */
.ads-center-wrapper {
    margin-bottom: 16px;
    padding: 4px 0;
}
}

