/* =========================================================
   Janatar Prabasi — V2.0 Modern Look & Feel Update (v3)
   ফিক্স: হেডলাইনের উপর category badge বসে যাওয়ার বাগ সমাধান
   ========================================================= */


/* ---------------------------------------------------------
   ১. TYPOGRAPHY
   --------------------------------------------------------- */

body {
    font-family: 'HindSiliguri', 'NunitoSans', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
}

.leatest_twelve_post h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    padding: 14px 16px 0 16px;
    margin-bottom: 8px;           /* আগে ছিল 10px, এখন শুধু সাধারণ স্পেসিং — ক্লিয়ারেন্স নিচে card-এর padding-bottom থেকে আসছে */
    letter-spacing: -0.2px;
}

.leatest_twelve_post:first-child h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    padding: 18px 20px 0 20px;
}

.leatest_twelve_post p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #555;
    padding: 0 20px;
}

h4.media-heading {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
}

h2.home_sidebar_cat_title,
.catTitle {
    font-family: 'HindSiliguri', 'NunitoSans', sans-serif;
    font-weight: 700;
}


/* ---------------------------------------------------------
   ২. CARD STYLE + বাগ ফিক্স
   --------------------------------------------------------- */

.leatest_twelve_post {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding-bottom: 48px;   /* ← বাগ ফিক্স: absolute .meta বারের জন্য স্থায়ী জায়গা রিজার্ভ, h3/p যাই থাকুক */
}

.leatest_twelve_post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.meta {
    border-top: 1px solid #f0f0f0;
    padding: 12px 16px;
}

/* category badge — নতুন ব্র্যান্ড কালার (সবুজ) */
.meta a.pull-right {
    background: #059162;
    color: #fff !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
}

.meta a.pull-right::before {
    display: none;
}


/* ---------------------------------------------------------
   ৩. WHITESPACE
   --------------------------------------------------------- */

.custom_container {
    max-width: 1240px;
}

.leatest_posts {
    grid-gap: 28px;
}

.home_page_part_one_left {
    padding-right: 24px;
}

.home_page_part_one_right {
    padding-left: 24px;
}

.home_page_part_one_bg {
    padding: 40px 0;
}

.three_coloumn {
    gap: 24px;
}

.column_one {
    margin-right: 0;
}


/* ---------------------------------------------------------
   ৪. HEADER (ব্র্যান্ড কালার অ্যাকসেন্ট)
   --------------------------------------------------------- */

.top_header_bg {
    border-bottom: 1px solid #eee !important;
}

.top_header_bg .fas.fa-map-marker-alt {
    color: #059162;
}


/* ---------------------------------------------------------
   ৫. RESPONSIVE (মোবাইল)
   --------------------------------------------------------- */

@media only screen and (max-width: 991px) {
    .home_page_part_one_left,
    .home_page_part_one_right {
        padding: 0;
    }

    .home_page_part_one_bg {
        padding: 20px 0;
    }
}

@media only screen and (max-width: 768px) {
    .leatest_twelve_post h3 {
        font-size: 16px;
    }

    .leatest_twelve_post p {
        padding: 0 10px;
    }
}
