.blog-page {
    min-height: 100vh;
    color: #eef5ff;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.24), transparent 32%),
        radial-gradient(circle at 90% 10%, rgba(34, 211, 238, 0.16), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.12), transparent 36%),
        linear-gradient(180deg, #050816 0%, #071025 50%, #050816 100%);
}

.blog-page * {
    box-sizing: border-box;
}

.blog-container {
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
}

.blog-hero {
    position: relative;
    padding: 86px 0 62px;
}

.blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.20;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.blog-hero-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: end;
    padding: 42px;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045)),
        rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.blog-kicker {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    color: #dcfbff;
    background: rgba(34, 211, 238, 0.11);
    border: 1px solid rgba(34, 211, 238, 0.28);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.blog-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22d3ee;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.9);
}

.blog-hero h1,
.single-post-head h1 {
    margin: 20px 0 16px;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(44px, 5vw, 76px);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -2.2px;
}

.blog-hero p,
.single-post-head p {
    max-width: 780px;
    margin: 0;
    color: #b9c6dd;
    font-size: 17px;
    line-height: 1.9;
    font-weight: 500;
}

.blog-hero-stat {
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.19), transparent 42%),
        linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
    border: 1px solid rgba(34, 211, 238, 0.24);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.blog-hero-stat span {
    display: block;
    color: #22d3ee;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-hero-stat strong {
    display: block;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 38px;
    line-height: 1.1;
}

.blog-hero-stat p {
    margin-top: 12px;
    color: #a8b7d2;
    font-size: 14px;
    line-height: 1.7;
}

.blog-section {
    padding: 72px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.blog-card {
    overflow: hidden;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.095), rgba(255,255,255,0.035));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(17px);
    transition: 0.28s ease;
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(34, 211, 238, 0.30);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.blog-thumb {
    position: relative;
    display: block;
    height: 235px;
    overflow: hidden;
    background: #0b1224;
}

.blog-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(5, 8, 22, 0.88) 100%);
    pointer-events: none;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: 0.38s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.055);
}

.blog-body {
    padding: 24px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.blog-meta span,
.single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #dce7f8;
    background: rgba(255, 255, 255, 0.078);
    border: 1px solid rgba(255, 255, 255, 0.105);
    font-size: 12px;
    font-weight: 850;
}

.blog-body h2 {
    margin: 0 0 12px;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.blog-body h2 a {
    color: #ffffff;
    text-decoration: none;
}

.blog-body h2 a:hover {
    color: #22d3ee;
}

.blog-body p {
    margin: 0;
    color: #aebbd4;
    font-size: 15px;
    line-height: 1.75;
}

.blog-read-btn {
    min-height: 48px;
    margin-top: 22px;
    padding: 12px 18px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    box-shadow: 0 16px 42px rgba(59, 130, 246, 0.30);
    transition: 0.25s ease;
}

.blog-read-btn:hover {
    transform: translateY(-3px);
}

/* Single post */
.single-post {
    padding: 84px 0 76px;
}

.single-post-head {
    max-width: 980px;
    margin: 0 auto 38px;
    text-align: center;
}

.single-back {
    width: fit-content;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #22d3ee;
    text-decoration: none;
    font-weight: 900;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 18px 0;
}

.single-post-image {
    overflow: hidden;
    border-radius: 34px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 28px 80px rgba(0,0,0,0.40);
}

.single-post-image img {
    width: 100%;
    max-height: 620px;
    display: block;
    object-fit: cover;
}

.single-post-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 26px;
    align-items: start;
}

.single-post-content,
.single-side-card,
.blog-empty {
    padding: 34px;
    border-radius: 30px;
    color: #b9c6dd;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.095), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 18px 50px rgba(0,0,0,0.26);
    backdrop-filter: blur(17px);
}

.single-post-content {
    font-size: 17px;
    line-height: 2;
}

.single-post-content h2,
.single-post-content h3,
.single-side-card h3,
.blog-empty h2,
.blog-empty h1 {
    color: #ffffff;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
}

.single-post-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.single-side-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
}

.single-side-card p {
    color: #aebbd4;
    line-height: 1.7;
}

.single-side-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.single-side-item:last-child {
    border-bottom: 0;
}

.single-side-item span {
    display: block;
    color: #9aa8c3;
    font-size: 12px;
    font-weight: 850;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-side-item strong {
    color: #ffffff;
}

.blog-empty {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.blog-empty p {
    color: #aebbd4;
}

@media (max-width: 991px) {
    .blog-hero-card,
    .single-post-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-post-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .blog-container {
        width: min(100% - 18px, 1220px);
    }

    .blog-hero {
        padding: 46px 0 36px;
    }

    .blog-hero-card {
        padding: 22px;
        border-radius: 27px;
    }

    .blog-hero h1,
    .single-post-head h1 {
        font-size: clamp(34px, 10vw, 48px);
        letter-spacing: -1.3px;
    }

    .blog-hero p,
    .single-post-head p {
        font-size: 15px;
    }

    .blog-section,
    .single-post {
        padding: 56px 0;
    }

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

    .blog-thumb {
        height: 250px;
    }

    .blog-body,
    .single-post-content,
    .single-side-card,
    .blog-empty {
        padding: 22px;
        border-radius: 24px;
    }

    .single-post-image {
        border-radius: 24px;
    }

    .single-post-content {
        font-size: 16px;
        line-height: 1.9;
    }
}