/* Blog Archive & Index pages specific styles */
/* ------------------------------------------ */

.blog,
.archive {
    .post-loop {
        &.post-featured {
            .post-inner {
                @media only screen and (min-width: 48em) {
                    display: grid;
                    grid-template-columns: 50% 1fr;
                    align-items: center;
                }
                .post-thumbnail {
                    a {
                        img {
                            max-width: 100%;
                        }
                    }
                }
                .post-content {
                    h2 {
                        @media only screen and (min-width: 48em) {
                            font-size: 2rem;
                        }
                    }
                    p {
                        font-size: 1.125rem;
                    }
                }
            }
        }
        .post-inner {
            .post-content {
                .post-categories {
                    a {
                        font-size: 0.875rem;
                        font-weight: 500;
                        text-decoration: none;
                        color: var(--color-animated-lines);
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
                .post-meta {
                    padding-block-end: 2rem;
                    font-size: var(--text-xs);
                    font-weight: 400;
                    color: var(--color-animated-lines);
                }
            }
        }
    }
    .pagination {
        .nav-links {
            display: inline-flex;
            .page-numbers {
                padding: 0.5rem 1.125rem;
                margin-right: 0.5rem;
                font-weight: bold;
                color: var(--color-white);
                border-radius: 100%;
                background-color: var(--color-animated-lines);
                &.prev, &.next {
                    display: none;
                }
            }
        }
    }
}

#main {
    .category-filter {
        .categories-container {
            @media only screen and (min-width: 64em) {
                display: inline-flex;
                gap: 1rem;
            }
            ul {
                width: 100%;
                li {
                    display: inline;
                    padding-left: 0;
                    &::before {
                        content: none;
                    }
                    a {
                        text-decoration: none;
                        color: var(--color-animated-lines);
                        &.active {
                            font-weight: bold;
                            color: var(--color-text);
                        }
                        &:hover {
                            text-decoration: underline;
                        }
                        &::after {
                            margin-right: 0.125rem;
                            padding-left: 0.25rem;
                            content: "/";
                            color: var(--color-border);
                        }
                    }
                    &:last-child {
                        a {
                            &::after {
                                content: unset;
                            }
                        }
                    }
                }
                li,
                a {
                    font-size: 1rem;
                    font-weight: 400;
                }
            }
        }
    }
}

