section:first-child {
    margin-bottom: var(--pico-block-spacing-vertical);
    border-bottom: 2px solid var(--pico-color-2);
}

section h2 {
    margin-bottom: calc(1.5*var(--pico-typography-spacing-vertical));
}

h2 span {
    padding-left: 2px;
    font-size: 25px;
}

.blogs-section .img {
    background-image: url(https://raw.githubusercontent.com/pyrsos-dev/static-files/refs/heads/main/aom-article/aom-article.png);
}

.articles-section .img {
    background-image: url(https://raw.githubusercontent.com/pyrsos-dev/static-files/refs/heads/main/bash/bash.png);
}

/* === Articles Section === */

.articles-section {
    display: flex;
    gap: var(--pico-spacing);
    min-height: 60vh;
}

.articles-section > div:first-child {
    width: 40%;
}

.article-featured {
    display: flex;
    flex-direction: column;
    gap: var(--pico-typography-spacing-vertical);
}

.img {
    background-size: cover;
    background-position: center;
}

.article-featured .img {
    width: 100%;
    height: 400px;
}

.articles-section > div:nth-child(2) {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: var(--pico-spacing);
}

.article-small {
    display: flex;
    gap: var(--pico-typography-spacing-vertical);
}

.article-small .img {
    height: 200px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}

/* === Blogs Section === */

.blogs-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--pico-spacing);
}

.blog {
    width: 31%;
    display: flex;
    flex-direction: column;
    gap: var(--pico-typography-spacing-vertical);
}

.blog .img {
    width: 100%;
    height: 250px;
}

/* === Last Section === */

.last-section {
    border: none;
    display: flex;
    gap: var(--pico-spacing);
}

.sketches {
    width: 50%;
}

.sketches-container {
    display: flex;
    gap: calc(var(--pico-spacing)/2);
}

.sketches-container > :nth-child(1),
.sketches-container > :nth-child(2) {
    width: 50%;
}

.sketches-container > :nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: calc(var(--pico-spacing)/2);
}

.poster1 {
    background-color: #d5c4a1;
    width: 100%;
    height: 185px;
}

.poster {
    background-color: #d5c4a1;
    height: 600px;
    width: 100%;
}

.podcasts {
    width: 50%;
}

.podcast {
    display: flex;
    flex-direction: column;
    gap: var(--pico-typography-spacing-vertical);
}

.podcast .img {
    background-color: #d5c4a1;
    width: 100%;
    height: 350px;
}

/* === Software Section === */

.software-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background-color: var(--pico-background-color-3);
    margin-top: 50px;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    margin-bottom: calc(-1*var(--pico-block-spacing-vertical));
}

.software-content {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.software-content > div {
    padding-top: 20px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.software-content p {
    color: #ebdbb2;
}

.software-content h2 {
    color: #fcf0d2;
}

.software-content h3 {
    color: #d5c4a1;
}

.software-content h6 {
    color: #c5b5a4;
}

.vertical-divider {
    height: 140px;
    width: 1px;
    background-color: var(--divider-color);
}

@media (max-width: 1536px) {
    .podcasts {
        width: 48%;
    }

    .sketches {
        width: 52%;
    }
}

@media (max-width: 1280px) {
    .articles-section {
        flex-direction: column;
        min-height: initial;
    }

    .article-featured {
        flex-direction: row;
    }

    .blog,
    .sketches,
    .podcasts,
    .software,
    .articles-section>div:nth-child(2) .img,
    .articles-section>div:nth-child(2),
    .articles-section>div:first-child {
        width: 100%;
    }

    .article-featured .img {
        height: 300px;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .article-small .img {
        height: 300px;
    }

    .blog .img {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        height: 300px;
    }

    .blogs-section {
        flex-direction: column;
        padding-bottom: var(--pico-spacing);
    }

    .blog {
        flex-direction: row;
    }

    .blog .img {
        height: 300px;
    }

    .podcast {
        flex-direction: column;
    }

    .podcasts {
        width: 67%;
    }

    .sketches {
        width: 43%;
    }

    .sketches-container {
        flex-direction: column;
    }

    .sketches-container > :nth-child(1) {
        width: 100%;
    }

    .sketches-container > :nth-child(2) {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-featured {
        flex-direction: column;
    }

    .article-featured .img {
        width: initial;
        max-width: initial;
    }

    .article-small {
        flex-direction: column;
    }

    .article-small .img {
        max-width: initial;
    }

    .blog {
        flex-direction: column;
    }

    .blog .img {
        width: 100%;
        max-width: inherit;
    }

    .last-section {
        flex-direction: column;
    }


    .podcasts {
        width: 100%;
    }

    .sketches-container {
        flex-direction: row;
    }

    .sketches {
        width: 100%;
    }

    .software-content > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .vertical-divider {
        height: 1px;
        width: 100%;
        background-color: #eee7d6;
    }

}

@media (max-width: 375px) {
    section .img {
        min-width: initial;
    }
}