/**
 * Theme Name: Copro Child
 * Template:   copro
 */


.vc_grid-item-mini {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vc_grid-item-mini:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}


.vc_gitem-zone-a {
    position: relative;
    aspect-ratio: 4 / 3;
    background-size: cover !important;
    background-position: center;
}

.vc_gitem-zone-a img {
    display: none;
}

.vc_gitem-zone-a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.45)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vc_grid-item-mini:hover .vc_gitem-zone-a::after {
    opacity: 1;
}


.vc_gitem-zone-a .vc-zone-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}


.vc_gitem-zone-c {
    padding: 1.5rem 1.5rem 1.75rem;
}


.vc_gitem-post-data-source-post_title h4 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.3;
}


.vc_gitem-post-data-source-post_excerpt p {
    margin: 0 0 1.25rem;
    line-height: 1.6;
    color: #555;
}

.vc_gitem-post-data-source-post_excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.vc_btn3-container {
    margin-top: auto;
}

.vc_btn3 {
    background-color: #169ee5 !important;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.vc_btn3:hover {
    background-color: #0f7fc2 !important;
    transform: translateY(-2px);
}


.vc_gitem-zone-c .vc_gitem-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}


@media (max-width: 768px) {
    .vc_gitem-zone-c {
        padding: 1.25rem;
    }

    .vc_gitem-post-data-source-post_title h4.guester-text {
        margin: 0 0 1rem;
        font-size: 1rem;
        color: #2b2b2b;
    }

}

div.guester-box p.guester-text a.guester-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: #169ee5 !important;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    margin-top: 10px;
}

.guester-box .guester-btn:hover {
    background-color: #0f7fc2 !important;
    color: #ffffff !important;
}

/* Correction article Paris + cas isolés */
.single-post .guester-box a.guester-btn {
    display: inline-block !important;
    padding: 0.6rem 1.4rem !important;
    background: #169ee5 !important;
    background-color: #169ee5 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-radius: 6px;
}






