.flatkit-posts-container .post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Post Style 1 */
.flatkit-posts-container.post-style-1 {
    display: grid;
    grid-template-columns: 60% 1fr;
    grid-gap: 20px;
    align-items: flex-start;
}

.flatkit-posts-container.post-style-1 .post-group-1 .post-item {
    position: relative;
}

.flatkit-posts-container.post-style-1 .post-group-1 .post-title-group {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    color: #fff;
    padding: 10px;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    border-radius: 0 0 4px 4px;
}

.flatkit-posts-container.post-style-1 .post-group-2 {
    display: grid;
    grid-gap: 20px;
    align-self: flex-start;
}

.flatkit-posts-container.post-style-1 .post-group-2 .post-item {
    display: grid;
    grid-template-columns: 30% auto;
    grid-gap: 10px;
    align-items: flex-start;
}

.flatkit-posts-container.post-style-1 .post-group-1 {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
}

.flatkit-posts-container.post-style-1 .post-group-1 .post-item:first-child {
    grid-column: 2 span;
}

.flatkit-posts-container.post-style-1 .post-group-1 .post-title-group a {
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
}

.flatkit-posts-container.post-style-1 .post-group-1 .post-item:not(:first-child) .post-title-group a {
    font-size: 1em;
}

.flatkit-posts-container.post-style-1 .post-group-2 .post-title-group a {
    color: #000;
    font-weight: bold;
}

.flatkit-posts-container.post-style-1 a.post-item-thumb {
    position: relative;
    height: 0;
    padding-bottom: 48%;
    display: block;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    overflow: hidden;
}

.flatkit-posts-container.post-style-1 .post-group-2 a.post-item-thumb {
    padding-bottom: 65%;
}

.flatkit-posts-container.post-style-1 .post-group-1 .post-item:not(:first-child) a.post-item-thumb {
    padding-bottom: 48.25%;
}

.flatkit-posts-container.post-style-1 a.post-item-thumb img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flatkit-posts-container.post-style-1 .post-group-2 .post-item.has-post-icon .overlay-icon {
    height: 2em;
    width: 2em;
    line-height: 1.8em;
}

.flatkit-posts-container .post-item-time {
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .flatkit-posts-container.post-style-1 {
        grid-template-columns: 1fr;
    }

    .flatkit-posts-container.post-style-1 .post-group-1 .post-item:not(:first-child) a.post-item-thumb,
    .flatkit-posts-container.post-style-1 a.post-item-thumb {
        padding-bottom: 69%;
    }

    .flatkit-posts-container.post-style-1 .post-item-desc {
        display: none;
    }

    .flatkit-posts-container.post-style-1 .post-group-1 {
        grid-template-columns: 1fr;
    }

    .flatkit-posts-container.post-style-1 .post-group-1 .post-item:first-child {
        grid-column: 1 span;
    }
}

/* Post Style 2 */
.flatkit-posts-container.post-style-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    align-items: flex-start;
}

.flatkit-posts-container.post-style-2 .post-item:not(:first-child) {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-gap: 15px;
}

.flatkit-posts-container.post-style-2 .post-item:first-child {
    grid-row: 4 span;
}

.flatkit-posts-container.post-style-2 .post-item-thumb {
    border-radius: 4px;
    overflow: hidden;
    display: block;
    position: relative;
    height: 0;
    padding-bottom: 70%;
}

.flatkit-posts-container.post-style-2 .post-item-thumb .overlay-icon {
    width: 2em;
    height: 2em;
    line-height: 1.8em;
}

.flatkit-posts-container.post-style-2 .post-item:first-child .post-item-thumb {
    padding-bottom: 65%;
}

.flatkit-posts-container.post-style-2 .post-item-title {
    font-weight: bold;
    display: block;
}

.flatkit-posts-container.post-style-2 .post-item:first-child .post-item-title {
    padding: 10px 0;
}

@media (max-width: 768px) {
    .flatkit-posts-container.post-style-2 {
        grid-template-columns: 1fr;
    }
}

/* Post Style 3 */
.flatkit-posts-container.post-style-3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    align-items: flex-start;
}

.flatkit-posts-container.post-style-3 .post-item:first-child {
    grid-column: 2 span;
    grid-row: 2 span;
}

.flatkit-posts-container.post-style-3 .post-item {
    position: relative;
}

.flatkit-posts-container.post-style-3 .post-item .post-item-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    color: #fff;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    border-radius: 0 0 4px 4px;
}

.flatkit-posts-container.post-style-3 .post-item a {
    color: #fff;
    text-transform: uppercase;
}

.flatkit-posts-container.post-style-3 .post-item .post-item-cat {
    font-size: 0.65em;
}

.flatkit-posts-container.post-style-3 .post-item .post-item-title {
    font-size: 0.9em;
}

.flatkit-posts-container.post-style-3 .post-item:first-child .post-item-title {
    font-size: 1.4em;
}

.flatkit-posts-container.post-style-3 .post-item-thumb {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    height: 0;
    padding-bottom: 75%;
}

.flatkit-posts-container.post-style-3 .post-item:first-child .post-item-thumb {
    padding-bottom: 76%;
}

.flatkit-posts-container.post-style-3 .post-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.flatkit-posts-container.post-style-3 .post-item-cat .post-categories {
    margin: 0;
    list-style: none;
    padding: 0;
}

.flatkit-posts-container.post-style-3 .post-item-cat .post-categories li {
    margin: 0;
}

@media (max-width: 768px) {
    .flatkit-posts-container.post-style-3 {
        grid-template-columns: 1fr;
    }

    .flatkit-posts-container.post-style-3 .post-item:first-child {
        grid-column: 1 span;
        grid-row: 1 span;
    }
}

/* Post Style 4 */
.flatkit-posts-container.post-style-4 {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    align-items: flex-start;
}

.flatkit-posts-container.post-style-4 .post-item:not(:first-child) {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-gap: 15px;
}

.flatkit-posts-container.post-style-4 .post-item:first-child {
    grid-row: 4 span;
}

.flatkit-posts-container.post-style-4 .post-item-thumb {
    border-radius: 4px;
    overflow: hidden;
    display: block;
    position: relative;
    height: 0;
    padding-bottom: 70%;
}

.flatkit-posts-container.post-style-4 .post-item-thumb .overlay-icon {
    width: 2em;
    height: 2em;
    line-height: 1.8em;
}

.flatkit-posts-container.post-style-4 .post-item:first-child .post-item-thumb {
    padding-bottom: 65%;
}

.flatkit-posts-container.post-style-4 .post-item-title {
    font-weight: bold;
    display: block;
}

.flatkit-posts-container.post-style-4 .post-item:first-child .post-item-title {
    padding: 10px 0;
    font-size: 1.1em;
}

.flatkit-posts-container.post-style-4 .post-item:first-child .post-item-cat {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.65em;
}

.flatkit-posts-container.post-style-4 .post-item:first-child .post-item-cat .post-categories {
    margin: 0;
    list-style: none;
    padding: 0;
}

.flatkit-posts-container.post-style-4 .post-item:first-child .post-item-cat .post-categories li {
    margin: 0;
}

@media (max-width: 768px) {
    .flatkit-posts-container.post-style-4 {
        grid-template-columns: 1fr;
    }
}