/**
 * Styles pour le composant remontee-taxonomy
 */

.atom-remontee-taxonomy .wp-block-post-featured-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}

.atom-remontee-taxonomy .wp-block-post-featured-image img {
    height: 100%;
}

.atom-remontee-taxonomy .content-title {
    margin-top: -27px !important;
    position: relative;
    left: 20px;
}

.atom-remontee-taxonomy .content-title h3 a {
    text-decoration: none;
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
}

.atom-remontee-taxonomy .card-remontee-taxonomy .wp-block-image {
    overflow: hidden;
    border-radius: 20px;
}

.atom-remontee-taxonomy .card-remontee-taxonomy .wp-block-image img {
    transform: scale(1);
    transition: transform 0.3s ease;
}

.atom-remontee-taxonomy .card-remontee-taxonomy:hover .wp-block-image img {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

@media (max-width: 1023px) {
    .atom-remontee-taxonomy .is-layout-grid {
        gap: 20px;
    }

    .atom-remontee-taxonomy {
        padding: 40px 0px !important;
    }
}

@media (max-width: 820px) {
    .atom-remontee-taxonomy .is-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 550px) {
    .atom-remontee-taxonomy .is-layout-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .atom-remontee-taxonomy .is-layout-grid .card-remontee-taxonomy {
        padding-right: 10px !important;
    }

    .atom-remontee-taxonomy .content-title {
        left: 10px;
    }
}