/* =========================
   BLOG POST
========================= */

.blog-post{

    max-width:900px;

    margin:0 auto;

    padding:4rem 1.5rem 6rem;

}

.blog-header{

    text-align:center;

    margin-bottom:3rem;

}

.blog-post h1{

    font-size:clamp(2.2rem,5vw,3.5rem);

    line-height:1.15;

    margin:1rem auto;

    max-width:850px;

}

.blog-meta{

    color:#6b7280;

    margin-bottom:2rem;

}

.blog-image{

    width:100%;

    border-radius:18px;

    margin:2rem 0 3rem;

    display:block;

}

.blog-section{

    margin-bottom:3rem;

}

.blog-section h2{

    margin-bottom:1rem;

}

.blog-section p{

    line-height:1.9;

}

.blog-faq{

    margin-top:4rem;

    padding:2rem;

    border-radius:16px;

    background:#f8fafc;

}

.faq-item{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:14px;

    padding:1.25rem 1.5rem;

    margin-bottom:1rem;

    transition:.2s;

}

.faq-item:last-child{

    margin-bottom:0;

}

.faq-item:hover{

    box-shadow:0 10px 25px rgba(0,0,0,.06);

    transform:translateY(-2px);

}

.faq-item h3{

    margin:0 0 .75rem;

    color:var(--primary-color);

    font-size:1.05rem;

}

.faq-item p{

    margin:0;

    line-height:1.8;

    color:#555;

}

.blog-references{

    margin-top:4rem;

    padding-top:2rem;

    border-top:1px solid #ddd;

}


/* ===========================
   RELATED POSTS
=========================== */

.related-posts{

    margin-top:5rem;

}

.related-posts h2{

    text-align:center;

    margin-bottom:2rem;

}

.related-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:2rem;

}

.related-card{

    display:flex;

    flex-direction:column;

    text-decoration:none;

    color:inherit;

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    overflow:hidden;

    transition:.25s;

}

.related-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.08);

}

.related-image{

    width:100%;

    height:180px;

    object-fit:cover;

}

.related-content{

    padding:1.25rem;

}

.related-category{

    font-size:.8rem;

    font-weight:600;

    color:var(--primary-color);

    text-transform:uppercase;

}

.related-content h3{

    margin:.75rem 0;

    line-height:1.4;

}

.related-content p{

    color:#6b7280;

    margin-bottom:1rem;

}

.related-content strong{

    color:var(--primary-color);

}



/* ==========================
   BLOG GRID
========================== */

.blog-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:2rem;

    margin-top:3rem;

}

.blog-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    border:1px solid #e5e7eb;

    transition:.25s;

    display:flex;

    flex-direction:column;

}

.blog-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.08);

}

.blog-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.blog-card-content{

    padding:1.75rem;

    display:flex;

    flex-direction:column;

    flex:1;

}

.blog-card-content span{

    color:var(--primary-color);

    font-size:.8rem;

    font-weight:700;

    text-transform:uppercase;

}

.blog-card-content h3{

    margin:.75rem 0;

    line-height:1.35;

    font-size:1.5rem;

}

.blog-card-content p{

    line-height:1.8;

    color:#666;

    flex:1;

}

.blog-card-content a{

    margin-top:2rem;

    text-decoration:none;

    color:var(--primary-color);

    font-weight:600;

}


.blog-card-meta{

    color:#9ca3af;

    font-size:.9rem;

    margin-bottom:1rem;

}

