﻿:root {
    --primary: #0a1a3a;
    --accent: #2563eb;
    --bg: #f8fafc;
    --surface: #fff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 8px 30px rgba(0,0,0,.08);
    --radius: 18px;
}

body {
    background: var(--bg);
    color: var(--text);
}

.blog-hero {
    background: linear-gradient(135deg,#08152f,#153f83);
    color: #fff;
    padding: 0;
}
.blog-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 12px 8px;
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
    .article-link:hover h3 {
        color: #2563eb;
    }
.article-card {
    cursor: pointer;
}

    .article-card:hover {
        transform: translateY(-4px);
        transition: 0.2s ease;
    }

.blog-main .container {
    max-width: 1500px;
    margin: auto;
    padding: 0 32px;
}

.btn-primary-blog {
    background: #2563eb;
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

    .btn-primary-blog:hover {
        background: #1d4ed8;
    }

.badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.blog-hero h1 {
    font-size: clamp(2.4rem,5vw,4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.blog-hero p {
    max-width: 760px;
    font-size: 1.15rem;
    opacity: .85;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.hero-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 16px 22px;
}

.blog-main {
    padding: 70px 0;
}

.featured {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.featured-content {
    padding: 45px;
}

.featured-label {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.featured h2 {
    margin: 14px 0;
    font-size: 2rem;
}

.featured p {
    color: var(--muted);
    line-height: 1.8;
}

.meta {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .9rem;
}

.btn-primary-blog {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 14px 24px;
}

.featured-image {
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

@@media(max-width:900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 220px;
    }
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
    gap: 28px;
}

.article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    transition: .25s;
    display: flex;
    flex-direction: column;
}

    .article-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,.10);
    }

.article-thumb {
    height: 190px;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.article-body {
    padding: 26px;
    flex: 1;
}

    .article-body h3 {
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .article-body p {
        color: #64748b;
        line-height: 1.7;
        margin-bottom: 18px;
    }

.article-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: .85rem;
    margin-bottom: 20px;
}

.read-btn {
    text-decoration: none;
    color: #2563eb;
    font-weight: 600;
}

.cat {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #2563eb;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
}

    .cat.active {
        background: #2563eb;
        color: #fff;
    }

.cta-panel {
    margin-top: 80px;
    background: linear-gradient(135deg,#08152f,#153f83);
    color: #fff;
    border-radius: 20px;
    padding: 55px;
    text-align: center;
}

    .cta-panel p {
        opacity: .85;
        max-width: 760px;
        margin: 18px auto 30px;
        line-height: 1.8;
    }

.cta-button {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 600;
}

<style >
/* ─── improved, professional blog design with images ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f9ff;
    color: #0a1a33;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

:root {
    --primary: #0a1a3a;
    --accent: #1f5feb;
    --accent-light: #e8f0fe;
    --bg: #f5f9ff;
    --surface: #ffffff;
    --text: #0a1a33;
    --muted: #4b6584;
    --border: #e2eaf5;
    --shadow-sm: 0 4px 18px rgba(10, 26, 58, 0.06);
    --shadow-md: 0 12px 36px rgba(10, 26, 58, 0.10);
    --radius: 20px;
    --radius-sm: 12px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── HERO with image ── */
.blog-hero {
    background: linear-gradient(145deg, #08152f, #1a3f8a);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.blog-hero-inner {
    max-width: 1470px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    display: flex;
    flex-direction: column;
}

.badge {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
    color: #b8d0ff;
    text-transform: uppercase;
    align-self: flex-start;
}

.blog-hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.blog-hero .hero-description {
    max-width: 620px;
    font-size: 1.15rem;
    opacity: 0.85;
    line-height: 1.7;
    color: #d6e6ff;
}

.hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 14px 24px;
    min-width: 130px;
}

    .hero-stat strong {
        display: block;
        font-weight: 700;
        font-size: 1.2rem;
        color: #fff;
    }

    .hero-stat span {
        font-size: 0.82rem;
        opacity: 0.7;
        margin-top: 2px;
    }

/* Hero image */
.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a3e8a, #3b6ef0);
}

    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .hero-image-wrapper .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 24px 28px;
        background: linear-gradient(transparent, rgba(10, 26, 58, 0.7));
    }

        .hero-image-wrapper .image-overlay span {
            font-size: 0.85rem;
            font-weight: 600;
            opacity: 0.9;
            letter-spacing: 0.02em;
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .hero-image-wrapper .image-overlay span::before {
                content: "⌨️";
                font-size: 1.2rem;
            }

/* ── MAIN ── */
.blog-main {
    padding: 48px 0 0;
    flex: 1 0 auto;
}

/* Featured */
.featured {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.25s;
}

    .featured:hover {
        box-shadow: var(--shadow-md);
    }

.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.featured-content {
    padding: 40px 40px 36px;
}

.featured-label {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--accent-light);
    display: inline-block;
    padding: 4px 18px;
    border-radius: 100px;
}

.featured h2 {
    margin: 16px 0 12px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #0a1a33;
}

.featured p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1rem;
}

.meta {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
}

    .meta span {
        background: #f1f7fe;
        padding: 4px 16px;
        border-radius: 40px;
    }

.btn-primary-blog {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 30px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 18px;
    transition: background 0.2s, transform 0.15s;
    border: none;
    font-size: 0.95rem;
}

    .btn-primary-blog:hover {
        background: #1a4fd0;
        transform: translateY(-2px);
    }

.featured-image {
    background: linear-gradient(135deg, #1a3e8a, #3b6ef0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.9;
    background-image: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.06) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .featured-image .overlay-text {
        position: relative;
        z-index: 2;
        text-shadow: 0 2px 20px rgba(0,0,0,0.3);
        background: rgba(10, 26, 58, 0.3);
        padding: 12px 28px;
        border-radius: 12px;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255,255,255,0.15);
    }

/* Section header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

    .section-header h2 {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        margin-bottom: 2px;
    }

    .section-header p {
        color: var(--muted);
        font-size: 1rem;
    }

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat {
    border: 1px solid #dce6f0;
    background: #fff;
    color: #1f3a5f;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: default;
    transition: all 0.15s;
}

    .cat.active {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
    }

    .cat:not(.active):hover {
        background: #eef6ff;
        border-color: #b8d0f0;
    }

/* Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 4px;
}

.article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
}

    .article-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        border-color: #c8daf0;
    }

.article-thumb {
    height: 160px;
    background: linear-gradient(135deg, #1a3e8a, #3b6ef0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 60%);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

    .article-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .article-thumb .thumb-label {
        position: relative;
        z-index: 2;
        background: rgba(10, 26, 58, 0.4);
        padding: 6px 20px;
        border-radius: 40px;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255,255,255,0.12);
        font-size: 0.85rem;
        font-weight: 600;
        text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    }

.article-body {
    padding: 24px 24px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .article-body h3 {
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 10px;
        color: #0a1a33;
    }

    .article-body p {
        color: var(--muted);
        line-height: 1.6;
        font-size: 0.92rem;
        margin-bottom: 16px;
        flex: 1;
    }

.article-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 14px;
}

    .article-meta span {
        background: #f1f7fe;
        padding: 2px 14px;
        border-radius: 40px;
    }

.read-btn {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.15s;
    align-self: flex-start;
}

    .read-btn:hover {
        gap: 12px;
        color: #1a4fd0;
    }

/* CTA */
.cta-panel {
    margin-top: 56px;
    background: linear-gradient(145deg, #07122e, #12377a);
    color: #fff;
    border-radius: 24px;
    padding: 44px 40px 40px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 10, 30, 0.16);
}

    .cta-panel h2 {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .cta-panel p {
        opacity: 0.8;
        max-width: 700px;
        margin: 14px auto 28px;
        line-height: 1.7;
        font-size: 1.05rem;
    }

.cta-button {
    display: inline-block;
    background: #fff;
    color: #0a1a33;
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

    .cta-button:hover {
        background: #e8f0fe;
        transform: translateY(-3px);
    }

/* ── responsive ── */
@@media (max-width: 1100px) {
    .blog-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 60px 24px 40px;
    }

    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .blog-hero .hero-description {
        max-width: 100%;
    }
}

@@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 180px;
        font-size: 1.4rem;
    }

    .featured-content {
        padding: 28px 24px 24px;
    }

    .container {
        padding: 0 20px;
    }

    .cta-panel {
        padding: 32px 24px 28px;
        margin-top: 44px;
    }

        .cta-panel h2 {
            font-size: 1.6rem;
        }
}

.article-category {
    cursor: pointer;
}

.cat.active {
    background: #2563eb;
    color: white;
}

@@media (max-width: 600px) {
    .hero-stat {
        padding: 12px 18px;
        width: 100%;
        min-width: unset;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        margin-top: 4px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }



    .blog-main {
        padding: 32px 0 0;
    }

    .featured h2 {
        font-size: 1.6rem;
    }

    .cta-panel {
        padding: 28px 20px 24px;
    }

        .cta-panel h2 {
            font-size: 1.4rem;
        }

        .cta-panel p {
            font-size: 0.95rem;
        }

    .article-thumb {
        height: 140px;
    }



    .hero-image-wrapper {
        aspect-ratio: 16/10;
    }
}

