:root{
    --post-blue:#1769e8;
    --post-blue-dark:#0d5dcc;
    --post-green:#83ce27;
    --post-dark:#071a38;
    --post-text:#61738c;
    --post-light:#f6f9fd;
    --post-border:#dfe8f2;
    --post-white:#fff;
}

.blog-post-hero,
.blog-post-content-section,
.blog-related{
    font-family:"Poppins",sans-serif;
}

.blog-post-container{
    width:min(1120px,calc(100% - 36px));
    margin:0 auto;
}

.blog-post-hero{
    position:relative;
    overflow:hidden;
    padding:100px 0 65px;
    text-align:center;
    background:
        radial-gradient(circle at 85% 20%,rgba(23,105,232,.10),transparent 30%),
        radial-gradient(circle at 10% 85%,rgba(131,206,39,.08),transparent 25%),
        linear-gradient(135deg,#f7fbff,#fff 55%,#f5f9ff);
}

.blog-post-hero::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(23,105,232,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(23,105,232,.035) 1px,transparent 1px);
    background-size:55px 55px;
}

.blog-post-hero::after{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    right:-100px;
    top:-130px;
    border-radius:50%;
    background:rgba(23,105,232,.08);
    filter:blur(65px);
    pointer-events:none;
}

.blog-post-hero .blog-post-container{
    position:relative;
    z-index:2;
    max-width:850px;
}

.blog-post-category{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 15px;
    border:1px solid rgba(23,105,232,.18);
    border-radius:30px;
    background:rgba(255,255,255,.8);
    color:var(--post-blue);
    font-size:11px;
    font-weight:700;
    letter-spacing:1.3px;
}

.blog-post-hero h1{
    max-width:850px;
    margin:18px auto 0;
    color:var(--post-dark);
    font-size:clamp(38px,5.5vw,64px);
    line-height:1.1;
    letter-spacing:-2px;
    font-weight:700;
}

.blog-post-intro{
    max-width:720px;
    margin:20px auto 0;
    color:var(--post-text);
    font-size:15px;
    line-height:1.8;
}

.blog-post-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px 20px;
    margin-top:23px;
}

.blog-post-meta span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#72839a;
    font-size:11px;
    font-weight:500;
}

.blog-post-meta i{
    color:var(--post-blue);
    font-size:12px;
}

.blog-post-content-section{
    padding:65px 0 80px;
    background:#fff;
}

.blog-post-layout{
    display:grid;
    grid-template-columns:minmax(0,780px) 270px;
    gap:45px;
    align-items:start;
}

.blog-post-article{
    min-width:0;
    color:var(--post-text);
}

.blog-post-cover{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1200/630;
    object-fit:cover;
    margin:0 0 32px;
    border-radius:18px;
    border:1px solid var(--post-border);
    box-shadow:0 12px 35px rgba(7,26,56,.07);
}

.blog-post-article p{
    margin:0 0 20px;
    color:#53677f;
    font-size:15px;
    line-height:1.9;
}

.blog-post-article strong{
    color:#263f62;
    font-weight:700;
}

.blog-post-article h2{
    margin:42px 0 14px;
    color:var(--post-dark);
    font-size:28px;
    line-height:1.3;
    letter-spacing:-.6px;
    font-weight:700;
    scroll-margin-top:90px;
}

.blog-post-article h2:first-of-type{
    margin-top:35px;
}

.blog-post-article ul{
    margin:5px 0 25px;
    padding:0;
    list-style:none;
}

.blog-post-article li{
    position:relative;
    margin-bottom:11px;
    padding-left:25px;
    color:#53677f;
    font-size:14px;
    line-height:1.75;
}

.blog-post-article li::before{
    content:"";
    position:absolute;
    left:2px;
    top:.72em;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--post-green);
    box-shadow:0 0 0 4px rgba(131,206,39,.12);
}

.blog-post-sidebar{
    position:sticky;
    top:90px;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.blog-post-sidebar-box{
    padding:22px;
    border:1px solid var(--post-border);
    border-radius:15px;
    background:#fff;
    box-shadow:0 8px 25px rgba(7,26,56,.035);
}

.blog-post-sidebar-box > span{
    display:block;
    margin-bottom:12px;
    color:var(--post-blue);
    font-size:10px;
    font-weight:700;
    letter-spacing:1.4px;
}

.blog-post-sidebar-box > a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:42px;
    border-top:1px solid #edf1f5;
    color:#53677f;
    text-decoration:none;
    font-size:12px;
    font-weight:500;
    transition:.25s ease;
}

.blog-post-sidebar-box > a:first-of-type{
    border-top:0;
}

.blog-post-sidebar-box > a:hover{
    padding-left:4px;
    color:var(--post-blue);
}

.blog-post-sidebar-box > a i{
    color:#a2b0bf;
    font-size:9px;
    transition:.25s ease;
}

.blog-post-sidebar-box > a:hover i{
    color:var(--post-blue);
    transform:translateX(3px);
}

.blog-post-help{
    overflow:hidden;
    position:relative;
    color:#fff;
    background:
        radial-gradient(circle at 100% 0,rgba(23,105,232,.32),transparent 40%),
        var(--post-dark);
    border-color:var(--post-dark);
}

.blog-post-help > span{
    color:var(--post-green);
}

.blog-post-help h3{
    margin:0 0 12px;
    color:#fff;
    font-size:20px;
    line-height:1.35;
    font-weight:600;
}

.blog-post-help p{
    margin:0;
    color:rgba(255,255,255,.68);
    font-size:12px;
    line-height:1.7;
}

.blog-post-help > a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    margin-top:17px;
    padding:0 15px;
    border-radius:8px;
    color:var(--post-dark);
    background:#fff;
    text-decoration:none;
    font-size:11px;
    font-weight:600;
    transition:.25s ease;
}

.blog-post-help > a:hover{
    color:var(--post-dark);
    background:var(--post-green);
    transform:translateY(-2px);
}

.blog-related{
    padding:70px 0 85px;
    background:var(--post-light);
    border-top:1px solid #e8eef5;
}

.blog-related-heading{
    margin-bottom:25px;
}

.blog-related-heading span{
    color:var(--post-blue);
    font-size:10px;
    font-weight:700;
    letter-spacing:1.5px;
}

.blog-related-heading h2{
    margin:7px 0 0;
    color:var(--post-dark);
    font-size:34px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:-.8px;
}

.blog-related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.related-card{
    position:relative;
    min-height:170px;
    padding:24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    border:1px solid var(--post-border);
    border-radius:15px;
    background:#fff;
    text-decoration:none;
    box-shadow:0 7px 25px rgba(7,26,56,.035);
    transition:.3s ease;
}

.related-card:hover{
    transform:translateY(-5px);
    border-color:rgba(23,105,232,.28);
    box-shadow:0 17px 35px rgba(7,26,56,.08);
}

.related-card > span{
    margin-bottom:10px;
    color:var(--post-blue);
    font-size:9px;
    font-weight:700;
    letter-spacing:1.2px;
}

.related-card h3{
    max-width:270px;
    margin:0;
    color:var(--post-dark);
    font-size:18px;
    line-height:1.4;
    font-weight:600;
}

.related-card > i{
    position:absolute;
    right:20px;
    bottom:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    border-radius:50%;
    color:#fff;
    background:var(--post-blue);
    font-size:10px;
    transition:.3s ease;
}

.related-card:hover > i{
    transform:translate(3px,-3px);
    background:var(--post-green);
    color:var(--post-dark);
}

@media(max-width:950px){

    .blog-post-layout{
        grid-template-columns:1fr;
        gap:35px;
    }

    .blog-post-sidebar{
        position:static;
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .blog-post-article{
        max-width:820px;
        margin:0 auto;
    }
}

@media(max-width:700px){

    .blog-post-hero{
        padding:80px 0 48px;
    }

    .blog-post-hero h1{
        font-size:38px;
        letter-spacing:-1.3px;
    }

    .blog-post-intro{
        font-size:14px;
        line-height:1.75;
    }

    .blog-post-meta{
        gap:8px 14px;
    }

    .blog-post-content-section{
        padding:45px 0 60px;
    }

    .blog-post-cover{
        margin-bottom:25px;
        border-radius:13px;
    }

    .blog-post-article p{
        font-size:14px;
        line-height:1.8;
        margin-bottom:18px;
    }

    .blog-post-article h2{
        margin:34px 0 12px;
        font-size:24px;
    }

    .blog-post-article li{
        font-size:13px;
    }

    .blog-post-sidebar{
        display:flex;
        gap:13px;
    }

    .blog-post-sidebar-box{
        padding:19px;
    }

    .blog-related{
        padding:50px 0 60px;
    }

    .blog-related-heading h2{
        font-size:29px;
    }

    .blog-related-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .related-card{
        min-height:145px;
        padding:21px;
    }
}

@media(max-width:400px){

    .blog-post-container{
        width:calc(100% - 28px);
    }

    .blog-post-hero h1{
        font-size:33px;
    }

    .blog-post-intro{
        font-size:13px;
    }

    .blog-post-meta span{
        font-size:10px;
    }

    .blog-post-article h2{
        font-size:22px;
    }

    .blog-post-article p{
        font-size:13px;
    }
}

@media(prefers-reduced-motion:reduce){

    .blog-post-help > a,
    .related-card,
    .related-card > i,
    .blog-post-sidebar-box > a,
    .blog-post-sidebar-box > a i{
        transition:none;
    }
}