/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --blog-dark: #1e293b;
    --blog-navy: #1a1e26;
    --blog-yellow: #ffbd00;
    --blog-yellow-hover: #e6ab00;
    --blog-text-dark: #101828;
    --blog-text-muted: #475467;
    --blog-bg-light: #f9fafb;
    --blog-white: #ffffff;
    --blog-border: #eaecf0;
    --blog-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--blog-text-dark);
    background-color: var(--blog-bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   BLOG LISTING PAGE (blog.html)
   Prefix: blog_
   ========================================= */

.blog_header {
    background-color: var(--blog-navy);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.blog_header_title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog_header_desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.blog_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured Section */
.blog_featured {
    background: var(--blog-white);
    border-radius: var(--blog-radius);
    overflow: hidden;
    display: flex;
    margin-top: -60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.blog_featured_content {
    flex: 1;
    padding: 60px;
}

.blog_featured_image_box {
    flex: 1;
    background-color: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.blog_badge {
    background: #fff8e1;
    color: #b45309;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.blog_featured_title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog_featured_desc {
    color: var(--blog-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.blog_meta {
    display: flex;
    gap: 20px;
    color: var(--blog-text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.blog_btn_yellow {
    background-color: var(--blog-yellow);
    color: var(--blog-text-dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.blog_btn_yellow:hover {
    background-color: var(--blog-yellow-hover);
}

/* Latest Articles Section */
.blog_section_title_box {
    margin-bottom: 40px;
}

.blog_section_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog_section_subtitle {
    color: var(--blog-text-muted);
}

.blog_filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog_filter_pill {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--blog-border);
    background: white;
    cursor: pointer;
    font-weight: 500;
    color: var(--blog-text-muted);
}

.blog_filter_pill.active {
    background: var(--blog-yellow);
    border-color: var(--blog-yellow);
    color: var(--blog-text-dark);
}

/* Grid */
.blog_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.blog_card {
    background: white;
    border-radius: var(--blog-radius);
    overflow: hidden;
    border: 1px solid var(--blog-border);
    transition: transform 0.3s;
}

.blog_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.blog_card_img {
    height: 200px;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_card_body {
    padding: 24px;
}

.blog_card_title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog_card_desc {
    color: var(--blog-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog_card_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--blog-border);
    font-size: 13px;
    color: var(--blog-text-muted);
}

.blog_link_arrow {
    font-weight: 600;
    color: var(--blog-yellow);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Newsletter Section */
.blog_newsletter_wrapper {
    background-color: #f9fbfc;
    padding: 80px 0;
    text-align: center;
}

.blog_newsletter_card {
    max-width: 800px;
    margin: 0 auto;
}

.blog_form_group {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 30px auto 0;
}

.blog_input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--blog-border);
    outline: none;
}

/* =========================================
   BLOG DETAILS PAGE (blog_details.html)
   Prefix: blog_details_
   ========================================= */

.blog_details_hero {
    background-color: var(--blog-navy);
    color: white;
    padding: 60px 0 120px;
}

.blog_details_back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 30px;
}

.blog_details_badge {
    background: #fff8e1;
    color: #b45309;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.blog_details_title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.blog_details_meta {
    display: flex;
    gap: 24px;
    color: #94a3b8;
    font-size: 14px;
}

.blog_details_container {
    max-width: 1200px;
    margin: -80px auto 80px;
    padding: 0 20px;
}

.blog_details_featured_img {
    width: 100%;
    height: 450px;
    background: #f2f4f7;
    border-radius: 12px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_details_layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

/* Article Body */
.blog_details_content_main p {
    margin-bottom: 24px;
    color: var(--blog-text-muted);
    font-size: 1.05rem;
}

.blog_details_content_main h2, 
.blog_details_content_main h3 {
    margin: 40px 0 20px;
    font-weight: 700;
}

.blog_details_content_main ul, 
.blog_details_content_main ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.blog_details_content_main li {
    margin-bottom: 12px;
    color: var(--blog-text-muted);
}

/* Sidebar */
.blog_details_sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog_details_side_card {
    background-color: var(--blog-white);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--blog-border);
}

.blog_details_side_card.bg_cream {
    background-color: #fffbeb;
    border: none;
}

.blog_details_side_card.bg_dark {
    background-color: #1a1e26;
    color: white;
    border: none;
}

.blog_details_card_title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog_details_share_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog_details_share_btn {
    border: 1px solid var(--blog-border);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.blog_details_info_item {
    margin-bottom: 15px;
}

.blog_details_info_label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--blog-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.blog_details_info_val {
    font-weight: 600;
}

.blog_details_cta_btn {
    display: block;
    width: 100%;
    background-color: var(--blog-yellow);
    color: var(--blog-text-dark);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    margin-top: 20px;
}

/* Author Section */
.blog_details_author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
    border-top: 1px solid var(--blog-border);
    border-bottom: 1px solid var(--blog-border);
    margin: 60px 0;
}

.blog_details_author_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffecb3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffbd00;
    font-size: 24px;
}

.blog_details_author_name {
    font-weight: 700;
    font-size: 16px;
}

.blog_details_author_bio {
    color: var(--blog-text-muted);
    font-size: 14px;
}

/* More Insights Section */
.blog_details_more_title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.blog_details_more_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .blog_featured {
        flex-direction: column;
    }
    .blog_details_layout {
        grid-template-columns: 1fr;
    }
    .blog_details_more_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog_grid {
        grid-template-columns: 1fr;
    }
    .blog_header_title, .blog_details_title {
        font-size: 2rem;
    }
    .blog_details_more_grid {
        grid-template-columns: 1fr;
    }
}