/* ==========================================================================
   BLOG LISTING – PAGE HEADER
   ========================================================================== */

.kdlnc-blog-header {
    background-color: #f8fafc;
    padding: 155px 0 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.kdlnc-blog-header .kdlnc-page-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.kdlnc-blog-header .kdlnc-page-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    max-width: 560px;
}


/* ==========================================================================
   BLOG LISTING – FEATURED / HERO POST
   ========================================================================== */

.kdlnc-blog-featured {
    background-color: #ffffff;
    padding: 48px 0;
}

.kdlnc-featured-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.kdlnc-featured-card:hover {
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08);
}


/* ── Featured Thumbnail ── */

.kdlnc-featured-thumb-link {
    display: block;
    text-decoration: none;
}

.kdlnc-featured-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 269px;
    overflow: hidden;
    background-color: #1F4E79;
}

.kdlnc-featured-thumb .kdlnc-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kdlnc-featured-card:hover .kdlnc-featured-img {
    transform: scale(1.04);
}

.kdlnc-featured-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 340px;
    color: rgba(255, 255, 255, 0.4);
}


/* ── Featured Body ── */

.kdlnc-featured-body {
    padding: 32px 40px 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kdlnc-featured-body .kdlnc-blog-card-category {
    display: inline-block;
    color: #2E75B6;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
	
    background-color: #eff6ff; 

    padding: 8px 16px;
    border-radius: 24px;
    align-self: flex-start;
}

.kdlnc-featured-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.kdlnc-featured-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.kdlnc-featured-title a:hover {
    color: #1F4E79;
}

.kdlnc-featured-meta {
    font-size: 13px;
    color: #666666;
    font-weight: 400;
}

.kdlnc-featured-excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

.kdlnc-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 22px;
    background-color: #1F4E79;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.15s ease;
    align-self: flex-start;
}

.kdlnc-featured-btn:hover {
    background-color: #153c57;
    transform: translateY(-1px);
}

.kdlnc-featured-btn svg {
    transition: transform 0.2s ease;
}

.kdlnc-featured-card:hover .kdlnc-featured-btn svg {
    transform: translateX(3px);
}


/* ==========================================================================
   BLOG LISTING – CATEGORY TABS
   ========================================================================== */

.kdlnc-blog-tabs-section {
    background-color: #ffffff;
    padding: 0 0 8px;
}

.kdlnc-blog-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.kdlnc-blog-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.kdlnc-blog-tab:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.kdlnc-blog-tab.is-active {
    background-color: #1F4E79;
    color: #ffffff;

}


/* ==========================================================================
   BLOG LISTING – POST GRID
   ========================================================================== */

.kdlnc-blog-grid-section {
    background-color: #ffffff;
    padding: 48px 0 80px;
}

.kdlnc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}


/* ── Blog Card ── */

.kdlnc-blog-card {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.kdlnc-blog-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.06),
                0 6px 14px -4px rgba(37, 99, 235, 0.03);
}


/* ── Thumbnail ── */

.kdlnc-blog-card-thumb-link {
    display: block;
    text-decoration: none;
}

.kdlnc-blog-card-thumb {
    position: relative;
    width: 343px;
	height: 228px;
    padding-top: 60%;
    overflow: hidden;
    background-color: #1F4E79;
}

.kdlnc-blog-card-thumb img.kdlnc-blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kdlnc-blog-card:hover .kdlnc-blog-card-thumb img {
    transform: scale(1.05);
}

.kdlnc-blog-card-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
}


/* ── Card Body ── */

.kdlnc-blog-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* ── Date ── */

.kdlnc-blog-card-date {
    font-size: 13px;
    color: #666666;
    font-weight: 400;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}


/* ── Title ── */

.kdlnc-blog-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    margin: 0 0 auto;
    padding-bottom: 16px;
   
}

.kdlnc-blog-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.kdlnc-blog-card-title a:hover {
    color: #1F4E79;
}


/* ── Read More ── */

.kdlnc-blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #2E75B6;
    text-decoration: none;
    transition: color 0.15s ease;
}

.kdlnc-blog-card-readmore:hover {
    color: #2E75B6;
}

.kdlnc-blog-card-readmore svg {
    transition: transform 0.2s ease;
}

.kdlnc-blog-card:hover .kdlnc-blog-card-readmore svg {
    transform: translateX(3px);
}


/* ==========================================================================
   BLOG LISTING – PAGINATION
   ========================================================================== */

.kdlnc-blog-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.kdlnc-blog-pagination ul {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kdlnc-blog-pagination li a,
.kdlnc-blog-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    border: 1px solid #e2e8f0;
    color: #334155;
    background-color: #ffffff;
}

.kdlnc-blog-pagination li a:hover {
    background-color: #1F4E79;
    border-color: #1F4E79;
    color: #ffffff;
}

.kdlnc-blog-pagination li span.current {
    background-color: #1F4E79;
    border-color: #1F4E79;
    color: #ffffff;
}

.kdlnc-blog-pagination li a.prev,
.kdlnc-blog-pagination li a.next {
    border-color: #e2e8f0;
    color: #64748b;
}

.kdlnc-blog-pagination li a.prev:hover,
.kdlnc-blog-pagination li a.next:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}


/* ── No Posts ── */

.kdlnc-no-posts {
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    padding: 60px 0;
}


/* ==========================================================================
   RESPONSIVE – BLOG LISTING
   ========================================================================== */

@media (max-width: 991px) {

    .kdlnc-blog-header {
        padding: 130px 0 40px;
    }

    .kdlnc-featured-card {
        grid-template-columns: 1fr;
    }

    .kdlnc-featured-thumb {
        min-height: 240px;
    }

    .kdlnc-featured-body {
        padding: 24px;
    }

    .kdlnc-featured-title {
        font-size: 20px;
    }

    .kdlnc-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {

    .kdlnc-blog-header {
        padding: 110px 0 32px;
    }

    .kdlnc-blog-header .kdlnc-page-title {
        font-size: 28px;
    }

    .kdlnc-featured-thumb {
        min-height: 200px;
    }

    .kdlnc-featured-title {
        font-size: 18px;
    }

    .kdlnc-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kdlnc-blog-tabs {
        gap: 6px;
    }

    .kdlnc-blog-tab {
        padding: 6px 14px;
        font-size: 12px;
    }
	
	.kdlnc-blog-card-thumb {
    	width: 390px;	
	}
}
