.news-image {
    width: 300px;
    height: 300px;
    flex: 0 0 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-posts-banner {
    background-color: #E4C1AF;
    padding: 40px 0;
}

.news-content {
    background-color: #fff;
    padding: 20px;
    height: 200px;
    position: relative;
    margin-left: -40px;
    overflow: hidden;
    width: 100%;
}

.share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content h3,
.main-info .heading {
    padding-right: 40px;
}

.blog .main-info {
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.blog .back-link {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 14px;
}

.news-item {
    flex: 1;
}

.latest-posts-banner a {
    color: #000;
    text-decoration: unset;
    font-size: 24px;
}

.latest-posts-banner h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
}

.latest-posts-banner .read-more,
.latest-posts-banner .all-news {
    font-size: 14px;
    color: #9C0D01;
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 2;
}

.latest-posts-banner .all-news {
    right: 20px;
    bottom: -20px;
}

.news-excerpt {
    overflow: hidden;
    position: relative;
    line-height: 1.4;
}

.news-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #ffffff 25%);
    pointer-events: none;
}

.other .news-image {
    width: 218px;
    height: 218px;
    flex: 0 0 218px;
}

.other .news-content {
    margin-left: 0;
    height: 218px;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.other .news-item {
    margin-bottom: 20px;
}

.other .news-item:last-child {
    margin-bottom: 0;
}

.latest-posts-banner.other {
    background-color: #FFEDE4;
}

.latest-posts-banner.other .heading {
    font-size: 26px;
    font-style: italic;
    text-align: right;
    padding-bottom: 20px;
}

.other .news-item-skeleton {
    margin-bottom: 20px;
}

.other .skeleton-image {
    width: 218px;
    height: 218px;
    flex: 0 0 218px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

.other .skeleton-content {
    background-color: #fff;
    padding: 20px;
    height: 218px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.other .skeleton-content::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    width: 70%;
}

.other .skeleton-content::after {
    content: "";
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent,
        transparent 10%,
        #f0f0f0 10%,
        #f0f0f0 30%,
        transparent 30%,
        transparent 40%,
        #f0f0f0 40%,
        #f0f0f0 60%,
        transparent 60%,
        transparent 70%,
        #f0f0f0 70%,
        #f0f0f0 90%,
        transparent 90%
    );
    background-size: 100% 15px;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

#loading-indicator {
    margin-top: 20px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media screen and (max-width: 1024px) {
    .latest-posts-banner .content > .flex {
        flex-direction: column;
        gap: 180px;
    }

    .news-content {
        margin-left: -250px;
        margin-bottom: -350px;
    }

    .other .news-content {
        margin-left: 0;
        margin-bottom: 0;
    }

    .other .news-image {
        width: 100%;
    }

    .latest-posts-banner {
        padding-bottom: 200px;
    }

    .latest-posts-banner .all-news {
        bottom: -180px;
    }

    .latest-posts-banner.other #posts-container > .flex {
        flex-direction: column;
    }
}
