:root{

    --primary:#2f9e56;
    --primary-dark:#267f45;
    --primary-light:#4dbd74;

    --secondary:#266394;
    --secondary-dark:#1d4f77;
    --secondary-light:#4a82af;

    --accent:#edf3c3;
    --accent-dark:#e8f1a9;
    --accent-light:#e4e9c8;

    --white:#ffffff;
    --light:#f8faf6;
    --dark:#1f2937;
    --text:#4b5563;

    --border:#dfe6d8;

    --bg-light:#f8faf6;
    --bg-accent:#f1f5e6;

    --shadow:0 15px 40px rgba(47,158,86,.10);

    --gradient-primary:
    linear-gradient(
        135deg,
        #2f9e56,
        #266394
    );

    --gradient-secondary:
    linear-gradient(
        135deg,
        #266394,
        #2f9e56
    );

}

/* ===================== */
/* PAGE */
/* ===================== */

.blog-details{
    padding:80px 0;
    background:var(--bg-accent);
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===================== */
/* HERO */
/* ===================== */

.blog-hero{
    background:var(--gradient-primary);
    padding:80px 50px;
    border-radius:30px;
    text-align:center;
    color:#fff;
    position:relative;
    overflow:hidden;
}

.blog-hero::before{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    top:-120px;
    right:-120px;
}

.blog-category{
    display:inline-block;
    padding:12px 24px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.2);
    border-radius:50px;
    margin-bottom:25px;
    backdrop-filter:blur(10px);
}

.blog-hero h1{
    font-size:52px;
    line-height:1.3;
    margin-bottom:20px;
    font-weight:700;
}

.blog-subtitle{
    font-size:22px;
    max-width:800px;
    margin:auto;
    opacity:.95;
}

/* ===================== */
/* META */
/* ===================== */

.blog-meta{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    margin-top:35px;
}

.meta-item{
    display:flex;
    align-items:center;
    gap:8px;
    color:#fff;
}

.meta-item i{
    color:var(--accent);
}

.dot{
    color:rgba(255,255,255,.7);
}

/* ===================== */
/* CONTENT CARD */
/* ===================== */

.blog-body{
    max-width:900px;
    margin:50px auto 0;
    background:var(--white);
    padding:50px;
    border-radius:30px;
    border:1px solid rgba(47,158,86,.12);
    box-shadow:var(--shadow);
}

.blog-section{
    margin-bottom:45px;
}

.blog-section:last-child{
    margin-bottom:0;
}

.blog-section h2{
    color:var(--primary-dark);
    margin-bottom:20px;
    font-size:34px;
    font-weight:700;
}

.blog-section p{
    color:var(--text);
    font-size:18px;
    line-height:1.9;
    margin-bottom:20px;
}

.blog-section ul{
    padding-left:25px;
    margin:20px 0;
}

.blog-section li{
    margin-bottom:12px;
    color:var(--text);
    line-height:1.8;
}
.blog-body ul li::before{
    content:"✓";
    position:absolute;
    left:18px;
    top:13px;
    width:24px;
    height:24px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
}
/* ===================== */
/* REFERENCE */
/* ===================== */

.reference-box{
    max-width:900px;
    margin:40px auto 0;
    background:linear-gradient(
        135deg,
        var(--accent-light),
        var(--white)
    );
    padding:35px;
    border-radius:25px;
    border:1px solid rgba(47,158,86,.12);
}

.ref-item{
    margin-bottom:15px;
    color:var(--text);
}

.ref-item:last-child{
    margin-bottom:0;
}

.ref-item strong{
    color:var(--primary-dark);
}

.ref-item a{
    color:var(--secondary);
}

/* ===================== */
/* BUTTON */
/* ===================== */

.back-btn{
    display:table;
    margin:35px auto 0;
    padding:15px 35px;
    background:var(--gradient-primary);
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.back-btn:hover{
    transform:translateY(-3px);
    color:#fff;
}

/* ===================== */
/* RELATED ARTICLES */
/* ===================== */

.related-box{
    max-width:1200px;
    margin:70px auto 0;
}

.related-box h3{
    text-align:center !important;
    color:var(--primary-dark);
    margin-bottom:40px;
    font-size:34px;
    font-weight:700;
}

.related-box{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.related-item{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    border:1px solid rgba(47,158,86,.12);
    box-shadow:var(--shadow);
    transition:.4s;
    display:block;
}

.related-item:hover{
    transform:translateY(-8px);
}

.related-item img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.related-item div{
    padding:25px;
}

.related-item h4{
    color:var(--primary-dark);
    font-size:20px;
    margin-bottom:12px;
    line-height:1.5;
}

.related-item p{
    color:var(--text);
    margin:0;
    line-height:1.7;
}

/* ===================== */
/* MOBILE */
/* ===================== */

@media(max-width:991px){

    .blog-hero{
        padding:50px 25px;
    }

    .blog-hero h1{
        font-size:36px;
    }

    .blog-subtitle{
        font-size:18px;
    }

    .blog-body{
        padding:35px 25px;
    }

    .related-box{
        grid-template-columns:1fr;
    }

}

@media(max-width:576px){

    .blog-hero h1{
        font-size:28px;
    }

    .blog-section h2{
        font-size:28px;
    }

    .blog-section p{
        font-size:16px;
    }

    .dot{
        display:none;
    }

}