.portfolio--container {
    max-width: var(--theme-narrow-content-width);
}

.portfolio--featured-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 50px;
}

.portfolio--item {
    text-decoration: none;
    align-self: center;
    width: 400px;
    max-width: 100%;
}

.portfolio--image {
    margin-bottom: 20px;
    aspect-ratio: var(--theme-tall-aspect-ratio);
    background-color: var(--theme-lt-green);
}

.portfolio--meta {
    position: relative;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio--meta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: var(--theme-gold);
}

.portfolio--meta p {
    margin: 0;
}

@media (max-width: 767px) {
    .portfolio--standard-grid {
        margin-left: calc(-1 * var(--theme-content-padding));
        margin-right: calc(-1 * var(--theme-content-padding));
    }

    .portfolio--standard-grid .portfolio--item {
        padding: 0 var(--theme-content-padding);
    }

    .portfolio--standard-grid .portfolio--image {
        aspect-ratio: 264/176;
    }

    .portfolio--arrows {
        margin-bottom: 15px;
        display: flex;
        gap: 6px;
    }
    
    .portfolio--section .slick-arrow {
        width: 32px;
        height: 32px;
        position: static;
        color: inherit;
        border: 1px solid currentColor;
        border-radius: 50%;
        background-color: var(--theme-lt-green);
        background-repeat: no-repeat;
        background-position: center;
        transform: none;
    }
    
    .portfolio--section .slick-prev {
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.4723 6.52845L0.562384 6.52845M0.562384 6.52845L6.5286 12.4947M0.562384 6.52845L6.5286 0.562234' stroke='%23C5A458' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    }
    
    .portfolio--section .slick-next {
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.562383 6.52917H16.4723M16.4723 6.52917L10.5061 0.562957M16.4723 6.52917L10.5061 12.4954' stroke='%23C5A458' stroke-width='1.125' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
}

.portfolio--standard-grid .portfolio--title {
    font-size: 1.641rem;
}

@media (min-width: 768px) {
    .portfolio--featured-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 80px;
        gap: 80px;
    }

    .portfolio--item {
        width: calc(50% - 40px);
        max-width: 400px;
        align-self: flex-start;
    }

    .portfolio--item:nth-child(even) {
        transform: translateY(80px)
    }

    .portfolio--standard-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        columns: 3;
        gap: 60px 30px;
        justify-content: flex-start;
    }

    .portfolio--standard-grid .portfolio--item {
        transform: none;
        width: calc(33.333% - 60px / 3);
    }
    
    .portfolio--standard-grid .portfolio--meta {
        flex-direction: column;
        gap: 0;
    }

}

@media (min-width: 992px) {
    .portfolio--standard-grid .portfolio--title {
        font-size: 2.25rem;
    }
}