/* Tabs */
.tab-posts .container {
    padding-top: 5rem;
}

/* Adjust the card style */
.tab-posts-list-wrapper {
    gap: var(--gap);
    display: flex;
    flex-direction: column; /* Keep the cards stacked vertically */
    align-items: center; /* Center the cards horizontally */
}

.tab-posts-list-wrapper .article-title{
    margin-bottom: var(--margin-sm);
}

.tab-posts .article {
    max-width: 800px; /* Set a max width to match the 'Previously' section */
    width: 100%;
    background-color: var(--secondary-background-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tab-posts-article-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px; /* Constrain the height to match the 'Previously' style */
    overflow: hidden;
}

.tab-posts .article-data {
    padding-top: 1rem; /* Add padding at the top to give space between the image and text */
    display: flex;
    align-items: center;
    gap: var(--gap);
    font-size: var(--font-size-xsm);
}

.tab-posts-article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid var(--secondary-background-color);
}

.tab-posts .article-data-container {
    position: relative;
    z-index: 1; /* Ensure the text is on top without overlapping */
    background-color: transparent;
}


/* Optional: Styling for the see-more button */
.tab-see-more-container {
    padding-top: var(--margin-md);
}

.tab-see-more-btn {
    text-transform: uppercase;
    color: var(--primary-color);
}

.tab-see-more-btn:hover {
    color: var(--light-color);
}

.tab-see-more-btn i {
    transition: transform 0.25s;
}

.tab-see-more-btn:hover i {
    transform: translateX(0.5rem);
}
