/* Featured Projects - New List Design - INLINE OVERRIDE WITH RESPONSIVE BEHAVIOR */

.featured-projects-home-new {
    padding: 80px 0 100px 0 !important;
    background-color: #fff !important;
}

.featured-projects-home-new .container {
    max-width: 1440px !important;
    padding: 0 52px !important;
}

.featured-projects-home-new .featured-projects-heading {
    font-family: 'Roboto', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #0a1570 !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

/* Mobile: Hide desktop tabs and image */
.featured-projects-home-new .projects-list {
    display: none !important;
}

.featured-projects-home-new .project-featured-image {
    display: none !important;
}

/* Mobile: Project Cards */
.featured-projects-home-new .projects-mobile-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    justify-content: center !important;
}

.featured-projects-home-new .project-card {
    flex: 1 1 100% !important;
}

@media (min-width: 640px) {
    .featured-projects-home-new .project-card {
        flex: 1 1 calc(50% - 20px) !important;
    }
}

.featured-projects-home-new .project-card-link {
    display: block !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}

.featured-projects-home-new .project-card-link:hover {
    opacity: 0.9 !important;
}

.featured-projects-home-new .project-card-img {
    width: 100% !important;
    aspect-ratio: 630/400 !important;
    object-fit: cover !important;
    display: block !important;
    margin-bottom: 20px !important;
}

.featured-projects-home-new .project-card-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #0a1570 !important;
    margin: 0 !important;
}

@media (min-width: 640px) {
    .featured-projects-home-new .project-card-title {
        font-size: 28px !important;
    }
}

/* Desktop: Two-column layout with tabs */
@media (min-width: 1024px) {
    .featured-projects-home-new .featured-projects-wrapper {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 40px !important;
    }

    .featured-projects-home-new .projects-mobile-cards {
        display: none !important;
    }

    .featured-projects-home-new .projects-list {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        flex: 1 1 50% !important;
        max-width: 663px !important;
        align-self: stretch !important;
    }

    .featured-projects-home-new .project-name-item {
        font-family: 'Roboto', sans-serif !important;
        font-size: 42px !important;
        font-style: normal !important;
        font-weight: 300 !important;
        line-height: 55px !important;
        cursor: pointer !important;
    }

    .featured-projects-home-new .project-name-link {
        font-family: 'Roboto', sans-serif !important;
        font-weight: 300 !important;
        font-style: normal !important;
        text-decoration: none !important;
        display: inline-block !important;
        transition: all 0.3s ease !important;
        position: relative !important;
    }

    .featured-projects-home-new .project-arrow {
        margin-left: 15px !important;
        font-size: 36px !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
        vertical-align: middle !important;
        position: relative !important;
        top: -5px !important;
        right: 12px !important;
    }

    .featured-projects-home-new .project-name-item.active .project-name-link {
        color: #0a1570 !important;
        opacity: 1 !important;
    }

    .featured-projects-home-new .project-name-item.active .project-arrow {
        opacity: 1 !important;
    }

    .featured-projects-home-new .project-name-item:not(.active) .project-name-link {
        color: rgba(63, 68, 68, 0.9) !important;
        opacity: 0.5 !important;
    }

    .featured-projects-home-new .project-name-item:not(.active):hover .project-name-link {
        color: #0a1570 !important;
        opacity: 0.8 !important;
    }

    .featured-projects-home-new .project-featured-image {
        display: block !important;
        flex: 1 1 45% !important;
        max-width: 630px !important;
        overflow: hidden !important;
    }

    .featured-projects-home-new .project-featured-image a {
        display: block !important;
        width: 100% !important;
    }

    .featured-projects-home-new .project-featured-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 630/400 !important;
        object-fit: cover !important;
        display: block !important;
        transition: opacity 0.15s ease !important;
    }
}

/* Extra large screens - restore original widths */
@media (min-width: 1440px) {
    .featured-projects-home-new .featured-projects-wrapper {
        gap: 85px !important;
    }

    .featured-projects-home-new .projects-list {
        flex: 0 0 663px !important;
    }

    .featured-projects-home-new .project-featured-image {
        flex: 0 0 630px !important;
    }
}
