/* Load More Button Styles */
.see-more-container {
    text-align: center;
    margin: 30px 0;
}

.see-more-btn, .load-more-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e1b0ac;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.see-more-btn:hover, .load-more-button:hover {
    background-color: #e64a19;
}

.see-more-btn:disabled, .load-more-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Responsive Image Styles */
.c-dynamic-image,
.latest-post-item img,
.category-post-item img,
.story-item img,
.featured-story img,
.c-entry-box--compact__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

/* Fix for entry boxes in the loaded content */
.c-entry-box--compact {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
}

.c-entry-box--compact__image-wrapper {
    flex: 0 0 35%;
    margin-right: 15px;
    overflow: hidden;
}

.c-entry-box--compact__body {
    flex: 1;
    padding-right: 15px;
}

.posts-container .c-compact-river {
    margin-bottom: 20px;
}

/* Ensure consistent thumbnail sizes */
.latest-post-item .post-thumbnail,
.category-post-item .post-thumbnail {
    height: 180px;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .latest-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .latest-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .latest-post-item .post-thumbnail {
        height: 160px;
    }
}

@media (max-width: 600px) {
    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
}