
/* Card Progetto */
.wppc-container-vincitori {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.wppc-tags-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 28px;
}

.wppc-tag-btn {
    border: 1px solid #0E5A44;
    border-radius: 9999px;
    padding: 9px 18px;
    background: #F6F8F7;
    color: #0E5A44;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wppc-tag-btn:hover,
.wppc-tag-btn.active {
    background: #0E5A44;
    color: #fff;
}

.card-inner-vincitori {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.swiper
{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden !important;
    padding: 0 85px 52px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #FF6B4A;
}

.swiper-pagination {
    bottom: 12px !important;
}

.swiper-pagination-bullet {
    background: #c9cfcc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #0E5A44;
}

.card-inner-vincitori:hover,
.card-inner-vincitori:focus-within,
.card-inner-vincitori.active {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
	z-index: 10;
  /* Applica il z-index immediatamente quando si passa sopra */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
              z-index 0s;
}

.card-image-wrapper-vincitori {
    position: relative;
    height: 240px;
	   border: 1px solid #e2e8f0;
    border-radius: 12px;

}

.card-image-wrapper-vincitori img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-description-vincitori
{
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Numero massimo di righe da mostrare */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 12px;
    font-family: "Inter", sans-serif;
    color: #0B3F2E;
    line-height: 1.5;
}

/* Badge Tag in Alto a Destra */
.card-tag-badge-vincitori {
    display: inline-block;
    background-color: #E2F1EA;
    color: #0E5A44;
    padding: 6px 16px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: none;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
}

.card-posizione-badge-vincitori {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #FF6B4A;
    color: white;
    padding: 6px 12px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0.01em;
}

/* Overlay Titolo e Sottotitolo in Basso a Sinistra dell'immagine */
.card-image-overlay-vincitori {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.card-title-vincitori {
    font-family: "Encode Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0B3F2E;
    line-height: 1.2;
    margin: 0 0 8px;
    display: block;
}

.card-subtitle-vincitori {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0E5A44;
    line-height: 1.4;
    margin: 0 0 12px;
    display: block;
}

.card-body-vincitori > br {
    display: none;
}

.card-body-vincitori {
    padding: 20px;
}

.card-meta-vincitori {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    font-family: "Inter", sans-serif;
    font-size: 13px;
}

.card-meta-info-vincitori span {
    margin-right: 12px;
    color: #555;
}

.card-link-vincitori {
    color: #0E5A44;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 600;
}