/* ================= BLOG SECTION ================= */
.blog-section {
    padding: 80px 100px;
    font-family: "Inter", sans-serif;
    background: #f9f9f9;
}

.blog-section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-section-subtitle {
    text-align: center;
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 50px;
}

/* ================= GRID ================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ================= BLOG CARD ================= */
.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: #000;
}

.blog-card:hover {
    transform: translateY(-6px);
}

/* IMAGE */
.blog-image {
    position: relative;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CATEGORY BADGE */
.blog-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #1c1c1c;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
}

/* CONTENT */
.blog-content {
    padding: 20px;
}

.blog-meta {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
}

.blog-read {
    font-size: 13px;
    font-weight: 600;
    color: #d38b2a;
    text-decoration: none;
}

/* ================= PAGINATION ================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.page-btn.active {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

.page-btn.next {
    background: #d38b2a;
    color: #fff;
    border-color: #d38b2a;
}

/* ================= RESPONSIVE ================= */
 @media (max-width: 1000px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

 @media (max-width: 600px) {
    .blog-section {
        padding: 60px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BLOG DETAIL PAGE ===== */

.blog-detail-page {
    width: 100%;
    background: #ffffff;
    padding: 60px 20px;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #222;
}

/* Centered content with readable width */
.blog-detail-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* Blog Title */
.blog-detail-title {
    margin-top: 40px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #000;
}

/* Date / Meta */
.blog-detail-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hero Image */
.blog-detail-hero-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 25px 0 35px;
    object-fit: cover;
}

/* Content Body */
.blog-detail-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Paragraphs */
.blog-detail-content-body p {
    margin-bottom: 22px;
}

/* Section Headings */
.blog-detail-content-body h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 15px;
    color: #000;
}

/* Ordered List */
.blog-detail-content-body ol {
    padding-left: 22px;
    margin-top: 20px;
}

/* List Items */
.blog-detail-content-body li {
    margin-bottom: 28px;
}

/* Sub-Headings inside list */
.blog-detail-content-body li h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

/* Bold keywords */
.blog-detail-content-body b {
    font-weight: 700;
    color: #000;
}

/* Links */
.blog-detail-content-body a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.blog-detail-content-body a:hover {
    opacity: 0.75;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .blog-detail-title {
        font-size: 30px;
    }

    .blog-detail-content-body {
        font-size: 15px;
    }

    .blog-detail-content-body h2 {
        font-size: 22px;
    }
}
.blog-page-layout {
    max-width: 1600px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 40px;
    overflow: visible;
}

.blog-main {
    background: #fff;
}

.blog-detail-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-detail-meta {
    font-size: 14px;
    color: #777;
    margin: 10px 0 25px;
}

.blog-detail-hero-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
}

.blog-detail-content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.blog-detail-content-body h2 {
    font-size: 24px;
    margin: 40px 0 15px;
}

.blog-detail-content-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-detail-content-body ol li {
    margin-bottom: 30px;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    padding-top: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.related-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block; /* Ensure the anchor behaves like a block element */
    border: 1px solid #eee; /* Add a visible border for clarity */
}

.related-card:hover {
    transform: translateY(-4px);
}

.related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.related-content {
    padding: 14px 16px;
}

.related-content p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 6px;
}

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f2f2f2;
    color: #555;
}

.tag.impeachment {
    background: #fde8e8;
    color: #c0392b;
}

.tag.whitehouse {
    background: #eef3ff;
    color: #2c3e50;
}

 @media (max-width: 900px) {
    .blog-page-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}