/* start headlines styles */
.headlines-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    gap: 1.5em;
}

.headlines-list .headlines-list-item {
    position: relative;
    padding: 1.5em;
    background-color: var(--gray);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 01em;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.headlines-list .headlines-list-item span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-left: 0.25em;
}

.headlines-list .headlines-list-item .headline-item-link {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--black);
}

.headlines-list .headlines-list-item .post-meta {
    font-size: 0.7rem;
}

.headlines-list .headlines-list-item .post-meta svg {
    width: 18px;
}

/* end headlines styles */
/* start featured collection styles */
.featured-collection {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.featured-collection .featured-collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-collection .featured-collection-header .featured-collection-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.featured-collection .featured-collection-header .featured-collection-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.featured-collection .featured-collection-header .featured-collection-link {
    font-size: 0.8rem;
}

.featured-collection .featured-collection-post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

/* end featured collection styles */
/* start section-bento-grids styles */
.section-bento-grids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.section-bento-grids .post-classic-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.section-bento-grids .post-classic-card:nth-child(1) .post-classic-link .post-classic-figure {
    aspect-ratio: 2 / 2.5;
}

/* end section-bento-grids styles */
/* start category posts styles */
.category-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.category-posts .category-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-posts .category-posts-header .category-posts-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.category-posts .category-posts-header .category-posts-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.category-posts .category-posts-link {
    font-size: 0.8rem;
}

.category-posts .category-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

/* end category posts styles */
/* start ad styles */
.ad {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.ad .ad-link {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ad .ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* end ad styles */


@media (max-width: 600px) {
    .featured-collection .featured-collection-post-wrapper {
        display: flex;
        flex-direction: column;
        gap: .6em;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .simple-collection-post-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .ad {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1em;
    }

    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid {
        gap: .4em;
    }

    .headlines-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-headlines-visual .post {
        align-items: center;
    }

    .section-bento-grids .post-classic-card:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .post-compact-card .post-compact-content {
        width: 77%;
    }

    .section-bento-grids .post-classic-card:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .section-bento-grids {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-posts .category-posts-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .big-tabs .big-tabs-box .big-tabs-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-bento-grids .post-classic-card:nth-child(1) .post-classic-link .post-classic-figure {
        aspect-ratio: 2.5/ 2.5;
    }

    .headlines-list .headlines-list-item .headline-item-link {
        font-size: 0.65rem;
    }
}