.portfolio-container {
    background-color: #fefbf6;
}

.category-btn {
    white-space: nowrap;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    cursor: pointer;
}

.category-btn:hover {
    background-color: #FFF;
}

.category-btn:active {
    background-color: #FFF !important;
    border: none !important;
}

.category-btn:focus {
    border: none !important;
}

.active-background {
    background-color: #7FA9AD !important;
    color: #FFF !important;
}

.filters-container {
    position: relative;
    width: 100%;
}

.filter-swiper {
    width: 100%;
    padding: 0 40px;
}

.swiper-slide {
    width: auto !important;
    margin-right: 10px;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    top: 50% !important;
    transform: translateY(23%) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 14px;
    color: #666;
}

.swiper-wrapper {
    display: flex !important;
    align-items: center !important;
    min-height: 50px;
}

@media (max-width: 768px) {
    .needs-scroll .swiper-button-next,
    .needs-scroll .swiper-button-prev {
        display: flex;
    }
}

.needs-scroll::before,
.needs-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 1;
    pointer-events: none;
}

.porto-image-container {
    width: 100%;
    max-width: 400px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.porto-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1d3557;
}

.card-text {
    color: #6c757d;
}

.read-more {
    color: #e63946;
    font-weight: bold;
}

.category {
    color: #adb5bd;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.img-fluid {
    max-height: 220px;
    object-fit: cover;
}