/*
Theme Name: Neve Child
Theme URI: https://themeisle.com/themes/neve/
Template: neve
Author: ThemeIsle
Author URI: https://themeisle.com
Description: Neve is a next-generation, ultra-fast WordPress theme designed for top performance, SEO, and Core Web Vitals. Its lightweight codebase and small size ensure minimal overhead and lightning-fast load times. Fully compatible with the block editor, popular page builders (Elementor, Bricks, Oxygen etc), and WooCommerce, it’s perfect for blogs, small businesses, agencies, portfolios, and online stores. With responsive design, multilingual translations, and easy customization options, Neve empowers you to create a future-proof, high-ranking online presence. Discover everything Neve has to offer and explore our powerful premium version at https://themeisle.com/themes/neve/.
Tags: blog,custom-logo,e-commerce,rtl-language-support,grid-layout,one-column,two-columns,custom-background,custom-colors,custom-header,custom-menu,featured-image-header,featured-images,flexible-header,full-width-template,sticky-post,theme-options,threaded-comments,translation-ready,accessibility-ready,wide-blocks,block-styles,footer-widgets,portfolio,left-sidebar,right-sidebar
Version: 4.2.1.1768811081
Updated: 2026-01-19 09:24:41

*/

/* Contenidor general */
.projecte {
    margin-bottom: 2em;
}

.projecte-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    margin-bottom: 2em;
}

.projecte-col {
    flex: 1 1 300px;
    background: #f9f9f9;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.projecte-featured-img {
    width: 100%;
    height: auto;
}

.projecte-galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.projecte-galeria-link {
    display: block;
    flex: 1 1 calc(33.333% - 1em);
}

.projecte-galeria-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.projecte-galeria-img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .projecte-col {
        flex: 1 1 100%;
    }
    .projecte-galeria-link {
        flex: 1 1 calc(50% - 1em);
    }
}


/* =========================
   Carrusel Swiper
   ========================= */
.projecte-swiper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 1.5em;
    padding-bottom: 2em; /* espai per dots/fletxes */
    overflow: hidden;
}

.projecte-swiper .swiper-slide {
    width: calc((100% / 3) - 10px); /* 3 slides visibles a desktop */
}

@media (max-width: 768px) {
    .projecte-swiper .swiper-slide {
        width: calc((100% / 2) - 8px); /* 2 slides tablet */
    }
}

@media (max-width: 480px) {
    .projecte-swiper .swiper-slide {
        width: 100%; /* 1 slide mòbil */
    }
}

.projecte-galeria-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    cursor: pointer;
}

/* Fletxes del Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

/* Pagination dots */
.swiper-pagination {
    text-align: center;
    margin-top: 1em;
}

.swiper-pagination-bullet {
    background: #333;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}
