
/* Category Menu */
.category-wrapper { background: #fff; padding: 15px; border-bottom: 2px solid #ddd; position: sticky; top: 0; z-index: 100; }
.scroll-menu { display: flex; overflow-x: auto; gap: 10px; max-width: 1200px; margin: 0 auto; scrollbar-width: none; }
.cat-pill {padding: 10px 20px;background: #eee;border-radius: 50px;cursor: pointer;font-size: 13px;white-space: nowrap;font-weight: bold;}
.cat-pill.active { background: #ff0000; color: #fff; }

/* News Grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card-body { padding: 15px; }
.read-btn { display: inline-block; margin-top: 10px; color: #ff0000; text-decoration: none; font-weight: bold; }

/* Detail Page */
.detail-container { max-width: 800px; margin: 50px auto; background: #fff; padding: 30px; border-radius: 10px; }
/* Container for 3 Grids */
#news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.news-card:hover { transform: translateY(-5px); }

.card-img-wrap { position: relative; height: 200px; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Badge like your Image */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff5e5e; /* Red Badge */
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
}

.news-card-body { padding: 20px; }

.post-date { font-size: 13px; color: #888; margin-bottom: 10px; }

.news-card h3 { font-size: 1.1rem; margin-bottom: 12px; line-height: 1.4; }
.news-card h3 a { text-decoration: none; color: #222; transition: 0.2s; }
.news-card h3 a:hover { color: #ff5e5e; }

.excerpt { font-size: 14px; color: #666; margin-bottom: 15px; }

/* Mobile Responsive */
@media (max-width: 992px) { #news-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #news-container { grid-template-columns: 1fr; } } 
 
      /* 1. Global Reset & Base Styles */
.news-detail-wrapper {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 40px;
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 20px;
        }

        /* Hero Image & Overlay */
        .detail-hero {
            position: relative;
            width: 100%;
            height: 480px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        .detail-hero img { width: 100%; height: 100%; object-fit: cover; }
        .hero-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 40%);
            padding: 25px;
        }

        /* Bold Typography & Headings */
        .category-badge {
            background: #ff0000; color: #fff;
            padding: 6px 15px; font-weight: 900;
            border-radius: 4px; text-transform: uppercase; font-size: 12px;
        }

        .post-header-bottom { margin: 30px 0; }
        #detail-title {
            font-size: 1.5rem;
            font-weight: 800; /* Extra Bold */
            line-height: 1.2;
            color: #111;
            margin-bottom: 15px;
            margin-top: 10px;
        }
        .post-meta-bold { 
            font-weight: 700; color: #ff0000; 
            text-transform: uppercase; font-size: 14px; 
        }

        /* Content Area */
        #body-text { font-size: 1.2rem; color: #333; margin-top: 20px; }
        #body-text p { margin-bottom: 20px; }
        #body-text img { max-width: 100%; border-radius: 10px; margin: 20px 0; }

        /* Sidebar Widgets */
        .sidebar .widget {
            background: #fff; padding: 25px; margin-bottom: 30px;
            border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        .widget-title { 
            font-weight: 800; border-left: 5px solid #ff0000; 
            padding-left: 15px; margin-bottom: 20px; font-size: 1.2rem;
        }

        /* Recent Posts with Thumbnails */
        .recent-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; }
        .recent-thumb { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
        .recent-info a { text-decoration: none; color: #222; font-weight: 700; font-size: 15px; line-height: 1.3; }

        /* Social Share Box */
        .social-share { margin-top: 50px; padding: 30px; background: #eee; border-radius: 12px; }
        .share-grid { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
        .share-btn { 
            padding: 12px 25px; border-radius: 8px; color: #fff; 
            text-decoration: none; font-weight: 800; font-size: 14px; border: none; cursor: pointer;
        }
        .universal { background: #000; width: 100%; margin-bottom: 10px; }
        .wa { background: #25D366; }
        .fb { background: #1877F2; }

        @media (max-width: 900px) {
            .news-detail-wrapper { grid-template-columns: 1fr; }
            #detail-title { font-size: 2rem; }
        }