/* work-list.css */

/* Base */
.block-work-list {
    color: #1E2237;
    margin-block-end: 100px !important;
}

/* Filter Section */
.block-work-list .filter-section {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 0px;
    flex-wrap: wrap;
}
.block-work-list .filter-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 36px;
    padding: 13px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
}
.block-work-list .filter-btn.active {
    background: #d1ff61;
    border-color: #d1ff61;
    color: #080717;
}
.block-work-list .filter-btn:hover {
    background: rgba(255,255,255,0.1);
}
.block-work-list .filter-btn.active:hover {
    background: #d1ff61;
}

/* Projects Section container */
.block-work-list .projects-section {
    padding: 60px 0;
}

.block-work-list .projects-grid {
    margin: 0 auto 60px;
    max-width: 1380px;
    position: relative;
    /* optional, makes outer edges line up perfectly */
    margin-left: -10px;
    margin-right: -10px;
}

.block-work-list .project-card {
    width: calc(33.333% - 20px) !important;
    margin: 0 10px 20px; /* 20px total horizontal gap */
    box-sizing: border-box;
    background: transparent;
    color: #1E2237;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    padding: 0;
    transition: none;
}

/* Media box (fixed height like slider cards) */
.block-work-list .project-card .slide-media {
    width: 100%;
    height: 394px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 0;            /* keep sharp corners */
}

/* Image inside media */
.block-work-list .project-card .slide-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 8px;            /* keep sharp corners */
    transition: none;            /* no hover scale */
}

/* Content stack */
.block-work-list .project-card .project-info {
    position: static;
    padding: 0;
    background: none;
    margin-bottom: 20px;
}

/* Category, title, text — align with slider cards */
.block-work-list .project-card .category-slider {
    margin-bottom: 20px;
}

.block-work-list .project-card h3 {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    font-weight: 600;
}

.block-work-list .project-card p {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
    color: #9AA0AE;
}



/* Show More section (restored) */
.block-work-list .show-more-section {
    text-align: center;
    margin-bottom: 80px;
}
.block-work-list .show-more-link {
    font-size: 18px;
    line-height: 30px;
    color: #d9d9d9;
    text-decoration: none;
    transition: color .2s ease;
}
.block-work-list .show-more-link .arrow {
    color: #d1ff61;
    display: inline-block;
    transition: transform .2s ease;
}
.block-work-list .show-more-link:hover {
    color: #ffffff;
}
.block-work-list .show-more-link:hover .arrow {
    transform: translateY(2px);
}

/* Responsive fallbacks (Isotope still controls layout) */
@media (max-width: 1200px) {
    .block-work-list .projects-grid {
        max-width: 920px;
        margin-left: -10px;
        margin-right: -10px;
    }

    .block-work-list .project-card {
        width: calc(50% - 20px) !important;
        margin: 0 10px 20px;
        height: 355px;
    }

}
@media (max-width: 800px) {

    .block-work-list .filter-section {
        gap: 15px;
    }
    .block-work-list .filter-btn {
        font-size: 16px;
        padding: 10px 16px;
    }
    .block-work-list .projects-grid {
        max-width: 100%;
        margin-left: -10px;
        margin-right: -10px;
    }
    .block-work-list .project-card {
        width: calc(100% - 20px) !important;
        margin: 0 10px 20px;
        height: auto;
    }
    .block-work-list .project-card .slide-media {
        height: 320px;
    }
}
@media (max-width: 480px) {
    .block-work-list .filter-section {
        flex-direction: column;
        align-items: center;
    }
}
