/* Scoped to blog partial/page only: .kib-blog-card and .kib-blog-post */
.news-block.kib-blog-card {
    display: flex;
    margin-bottom: 30px;
}
.kib-blog-card .inner-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
.kib-blog-card .inner-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
}
.kib-blog-card .image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.kib-blog-card .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.kib-blog-card .inner-box:hover .image-box img { transform: scale(1.05); }
.kib-blog-card .lower-box {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
    text-align: left;
    margin: 0;
    background: #fff;
}
.kib-blog-card .lower-box h3 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}
.kib-blog-card .lower-box h3 a { color: #0a4fb3; }
.kib-blog-card .inner-box:hover .lower-box h3 a { color: #ffa90e; }
.kib-blog-card .lower-box .text {
    font-size: 15px;
    line-height: 1.6;
    font-style: normal;
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.kib-blog-card .lower-box .text * { font-style: normal; }
.kib-blog-card .lower-box .link-box { margin-top: auto; text-align: left; }

.kib-blog-post,
.kib-blog-post .post-details,
.kib-blog-post .post-details .inner-box,
.kib-blog-post .lower-box,
.kib-blog-post .lower-box .text {
    max-width: 100%;
    min-width: 0;
}
.kib-blog-post .lower-box .text,
.kib-blog-post .lower-box .text * {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
}
.kib-blog-post .lower-box .text h1,
.kib-blog-post .lower-box .text h2,
.kib-blog-post .lower-box .text h3 {
    font-size: 30px;
    line-height: 1.25;
    margin: 28px 0 14px;
}
.kib-blog-post .lower-box .text p { margin-bottom: 16px; }
.kib-blog-post .lower-box .text ul,
.kib-blog-post .lower-box .text ol { padding-left: 22px; margin-bottom: 16px; }
.kib-blog-post .lower-box .text ul { list-style: disc; }
.kib-blog-post .lower-box .text ol { list-style: decimal; }
.kib-blog-post .lower-box h4 { font-size: 30px; line-height: 1.3; overflow-wrap: anywhere; }
.kib-blog-post .post-details .image-box { padding: 0; }
.kib-blog-post .post-details .image-box img { width: 100%; height: auto; border-radius: 10px; }

@media (max-width: 767px) {
    .kib-blog-post .lower-box h4 { font-size: 24px; }
    .kib-blog-post .lower-box .text h1,
    .kib-blog-post .lower-box .text h2,
    .kib-blog-post .lower-box .text h3 { font-size: 22px; }
    .kib-blog-card .lower-box h3 { font-size: 20px; }
}
