main {
    position: relative;
    padding: 5rem var(--padding-horizontal) 3rem;
}

main .header_text {
    font-size: 3rem;
    margin-bottom: 2rem;
}

main .pyramid {
    position: absolute;
    height: 320px;
    width: 290px;
    -webkit-transform: rotate(-126deg);
        -ms-transform: rotate(-126deg);
            transform: rotate(-126deg);
    right: -100px;
    opacity: 0.7;
    z-index: 1;
}

main .articles {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 2em 1fr 2em 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    margin: 1.5em 0;
}

main .articles .item {
    background-color: var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

main .articles .item .photo {
    width: 100%;
    aspect-ratio: 16 / 9;
}

main .articles .item .photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

main .articles .item .text {
    padding: 0.25rem 1rem 1rem;
}

main .articles .item .text .title {
    font-size: 18px;
}

main .articles .item .text div:nth-child(2) {
    margin-top: 0.75rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

main .articles .item .text div:nth-child(2) .svg {
    border: 1px solid var(--blue);
    border-radius: 5px;
}

main .articles .item .text div:nth-child(2) .svg svg {
    padding: 0.4rem;
}

main .articles .item .text div:nth-child(2) .svg svg path {
    stroke: var(--blue) !important;
}



/* media */

@media (max-width: 800px) {
    main .articles {
        -ms-grid-columns: 1fr 2em 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }
    
    main .pyramid {
        display: none;
    }
}