/* ============================================================
   KATKUS LATEST BLOG
   ============================================================ */

.katkus-latest-blog {
    width: 100%;
    margin: 0;
    padding: 0;
}

.katkus-latest-blog *,
.katkus-latest-blog *::before,
.katkus-latest-blog *::after {
    box-sizing: border-box;
}


/* ============================================================
   GRID
   ============================================================ */

.katkus-latest-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}


/* ============================================================
   CARD
   ============================================================ */

.katkus-latest-blog-card {
    min-width: 0;
}


/* ============================================================
   IMAGE
   ============================================================ */

.katkus-latest-blog-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #f2f2f2;
    margin-bottom: 20px;
}

.katkus-latest-blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.katkus-latest-blog-image:hover img {
    transform: scale(1.04);
}


/* ============================================================
   PLACEHOLDER
   ============================================================ */

.katkus-latest-blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: #f2f2f2;
}

.katkus-latest-blog-placeholder span {
    font-size: 13px;
    opacity: 0.35;
}


/* ============================================================
   CONTENT
   ============================================================ */

.katkus-latest-blog-content {
    width: 100%;
}


/* ============================================================
   CATEGORY
   ============================================================ */

.katkus-latest-blog-category {
    margin-bottom: 6px;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ============================================================
   DATE
   ============================================================ */

.katkus-latest-blog-date {
    margin-bottom: 10px;

    font-size: 12px;
    line-height: 1.4;

    opacity: 0.55;
}


/* ============================================================
   TITLE
   ============================================================ */

.katkus-latest-blog-title {
    margin: 0 0 15px;
    padding: 0;

    font-size: 21px;
    line-height: 1.25;

    font-weight: 600;
}

.katkus-latest-blog-title a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   LINK
   ============================================================ */

.katkus-latest-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: inherit;
    text-decoration: none;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 600;
}

.katkus-latest-blog-link span {
    transition: transform 0.25s ease;
}

.katkus-latest-blog-link:hover span {
    transform: translateX(4px);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 980px) {

    .katkus-latest-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px 25px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .katkus-latest-blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .katkus-latest-blog-image {
        border-radius: 8px;
    }

    .katkus-latest-blog-title {
        font-size: 20px;
    }

}