/*--------------------------------------------------------------
# SK Blog
--------------------------------------------------------------*/

.sk-blog {
    position: relative;
    display: block;
    padding: 100px 0 110px;
    background-color: var(--Freshflow-white);
    overflow: hidden;
    z-index: 1;
}

.sk-blog__header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 32px;
    margin-bottom: 45px;
}

.sk-blog__header .section-title {
    margin-bottom: 0;
}

.sk-blog__intro {
    max-width: 640px;
    font-size: 17px;
    line-height: 29px;
    color: var(--Freshflow-gray);
}

.sk-blog__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.sk-blog__card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    background-color: #f8fafc;
    border: 1px solid rgba(var(--Freshflow-black-rgb), 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}

.sk-blog__card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 212, 53, 0.6);
    box-shadow: 0 22px 56px rgba(var(--Freshflow-black-rgb), 0.11);
}

.sk-blog__image-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #dfe7ef;
}

.sk-blog__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 500ms ease;
}

.sk-blog__card:hover .sk-blog__image {
    transform: scale(1.06);
}

.sk-blog__content {
    position: relative;
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 24px 22px 25px;
}

.sk-blog__tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 5px 11px;
    border-radius: 8px;
    background-color: rgba(244, 103, 68, 0.1);
    color: var(--Freshflow-primary);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sk-blog__title {
    margin-top: 16px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
}

.sk-blog__title a {
    color: var(--Freshflow-black);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: color 400ms ease, background-size 400ms ease;
}

.sk-blog__title a:hover {
    color: var(--Freshflow-primary);
    background-size: 100% 1px;
}

.sk-blog__text {
    flex: 1;
    margin-top: 12px;
    color: var(--Freshflow-gray);
    font-size: 15px;
    line-height: 26px;
    overflow-wrap: anywhere;
}

.sk-blog__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 22px;
    color: var(--Freshflow-black);
    font-size: 14px;
    line-height: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.sk-blog__link i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--Freshflow-base);
    color: var(--Freshflow-black);
    font-size: 12px;
    transition: transform 400ms ease, background-color 400ms ease, color 400ms ease;
}

.sk-blog__link:hover {
    color: var(--Freshflow-primary);
}

.sk-blog__link:hover i {
    transform: translateX(3px);
    background-color: var(--Freshflow-primary);
    color: var(--Freshflow-white);
}

.sk-blog__keywords {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.sk-blog__keywords a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(var(--Freshflow-black-rgb), 0.1);
    border-radius: 8px;
    background-color: var(--Freshflow-white);
    color: var(--Freshflow-black);
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sk-blog__keywords a:hover {
    border-color: var(--Freshflow-primary);
    background-color: var(--Freshflow-primary);
    color: var(--Freshflow-white);
}

@media only screen and (max-width: 1199px) {
    .sk-blog {
        padding: 88px 0 98px;
    }

    .sk-blog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 991px) {
    .sk-blog__header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
    }

    .sk-blog__intro {
        max-width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .sk-blog {
        padding: 76px 0 86px;
    }

    .sk-blog__header {
        margin-bottom: 32px;
    }

    .sk-blog__intro {
        font-size: 16px;
        line-height: 27px;
    }

    .sk-blog__grid {
        grid-template-columns: 1fr;
    }

    .sk-blog__content {
        padding: 22px;
    }

    .sk-blog__title {
        font-size: 21px;
        line-height: 29px;
    }

    .sk-blog__keywords {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 430px) {
    .sk-blog__content {
        padding: 20px;
    }

    .sk-blog__image-link {
        aspect-ratio: 16 / 11;
    }

    .sk-blog__title {
        font-size: 20px;
        line-height: 28px;
    }

    .sk-blog__keywords a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}