/* ===== Blog list + home news button ===== */
.news-section-two .bg { pointer-events: none; z-index: 0; }
.news-section-two .auto-container { position: relative; z-index: 2; }
.news-section-two .news-block { margin-bottom: 30px; }

.k2k-news-btn {
    position: relative;
    z-index: 5;
    display: inline-block;
    padding: 18px 34px;
    border-radius: 6px;
    background: linear-gradient(90deg, #c0392b, #0d47a1);
    color: #fff !important;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.k2k-news-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 45, 110, .3);
    color: #fff !important;
}

/* ===== Blog details page ===== */
.k2k-blog-hero { background: linear-gradient(135deg, #c0392b 0%, #2b2d6e 55%, #0d47a1 100%); padding: 90px 0 70px; color: #fff; text-align: center; }
.k2k-blog-hero .cat { display: inline-block; background: rgba(255,255,255,.18); padding: 6px 16px; border-radius: 30px; font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.k2k-blog-hero h1 { color: #fff; font-size: 38px; line-height: 1.3; max-width: 850px; margin: 0 auto 15px; }
.k2k-blog-hero .meta { opacity: .9; font-size: 15px; }

.k2k-blog-body { padding: 70px 0; background: #f4f5fa; }
.k2k-blog-card { background: #fff; border-radius: 10px; padding: 30px; box-shadow: 0 10px 30px rgba(43,45,110,.08); }
.k2k-blog-card img.main { width: 100%; border-radius: 8px; margin-bottom: 25px; }
.k2k-blog-card p { font-size: 17px; line-height: 1.85; color: #444; margin-bottom: 18px; }
.k2k-blog-card .lead { font-size: 19px; color: #2b2d6e; font-weight: 500; }

.k2k-side-box { background: #fff; border-radius: 10px; padding: 25px; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(43,45,110,.08); }
.k2k-side-box h5 { color: #2b2d6e; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #c0392b; display: inline-block; }
.k2k-recent { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.k2k-recent img { width: 80px; height: 65px; object-fit: cover; border-radius: 6px; }
.k2k-recent a { color: #2b2d6e; font-weight: 600; font-size: 15px; line-height: 1.4; text-decoration: none; }
.k2k-recent a:hover { color: #c0392b; }
.k2k-recent small { display: block; color: #888; }

.k2k-cta { background: linear-gradient(135deg, #c0392b, #0d47a1); text-align: center; }
.k2k-cta h5 { color: #fff; border-color: #fff; }
.k2k-cta p { margin-bottom: 15px; color: #fff; }
.k2k-cta a { background: #fff; color: #2b2d6e; padding: 10px 22px; border-radius: 5px; font-weight: 600; display: inline-block; text-decoration: none; }

.k2k-share a { display: inline-block; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 50%; background: #2b2d6e; color: #fff; margin-right: 8px; }
/* Equal-height blog cards */
.news-section-two .news-block { display: flex; }

.news-section-two .news-block .inner-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.news-section-two .news-block .content-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Keep the date and Read More row at the bottom of every card */
.news-section-two .news-block .bottom-box { margin-top: auto; }

/* Same image size on every card */
.news-section-two .news-block .image-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Limit the excerpt to 3 lines so long texts don't push the card */
.news-section-two .news-block .content-box p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) { .k2k-blog-hero h1 { font-size: 26px; } }
/* Blog hero: compact size */
.k2k-blog-hero {
    padding: 60px 0 50px !important;
    min-height: auto !important;
    height: auto !important;
}

.k2k-blog-hero h1 {
    font-size: 34px !important;
    line-height: 1.3 !important;
    margin: 12px 0 10px !important;
}

.k2k-blog-hero .cat {
    padding: 6px 16px !important;
    font-size: 13px !important;
}

.k2k-blog-hero .meta {
    font-size: 14px !important;
}

@media (max-width: 767px) {
    .k2k-blog-hero {
        padding: 40px 0 35px !important;
    }

    .k2k-blog-hero h1 {
        font-size: 24px !important;
    }
}
/* Blog hero: center everything */
.k2k-blog-hero .container {
    text-align: center !important;
}

.k2k-blog-hero h1 {
    text-align: center !important;
    width: 100% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    padding: 0 !important;
}

.k2k-blog-hero .cat,
.k2k-blog-hero .meta {
    display: inline-block !important;
    float: none !important;
}
