/* Hero */

body.home section.hero .title-content::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='215' height='160' viewBox='0 0 245 182'%3E%3Cpath fill='%23FB8C02' d='M135.6 44.4c-.3 1.6 5 2.8 11.5 3.2 5.1.4 9.5.2 11.4-.7 11.2 1.3 22.3 2.3 33.4 4.2-10.5-2.3-22.3-2.2-31.8-5l-.6-.3c0-1.5-4.8-3.4-11.2-3.9-6.7-.5-12.5.9-12.7 2.5Zm8.8 5.8c-.2-1.5-5-3-11.4-2.8-6.7.2-12.3 2.1-12.4 3.7 0 1.7 5.3 2.3 11.8 2.1 5-.2 9.4-.8 11.2-1.8 11 0 22.1 0 33.2.7-10.6-1.2-22.1.1-31.8-1.8l-.6-.1ZM130 56c-.4-1.5-5.4-2.4-11.7-1.6-6.6.8-12 3.3-11.9 5 .1 1.6 5.5 1.7 12 .8 5-.7 9.2-1.7 10.9-3 11-1 21.8-2.1 32.8-2.6-10.5-.1-21.8 2.4-31.5 1.5l-.6-.1Zm-13.7 7.2c-.6-1.4-5.6-1.9-11.8-.4-6.5 1.5-11.6 4.5-11.3 6.1.3 1.6 5.6 1.2 11.9-.3 5-1.2 9-2.7 10.6-4 10.7-2.1 21.4-4.4 32.2-6-10.4 1-21.3 4.6-31 4.7h-.6Zm-13 8.6c-.6-1.4-5.7-1.3-11.7.7-6.3 2.2-11 5.7-10.6 7.3.4 1.6 5.7.6 11.8-1.5 4.8-1.7 8.7-3.6 10-5.1 10.6-3.2 20.9-6.5 31.5-9.2-10.2 2-20.7 6.7-30.3 7.8h-.6Zm-12 9.8c-.7-1.3-5.8-.7-11.5 2-6 2.8-10.5 6.8-10 8.3.7 1.5 5.8 0 11.7-2.8 4.6-2.1 8.3-4.4 9.6-6 10-4.2 20-8.6 30.3-12.3-10 3-20 8.7-29.4 10.7l-.6.1Zm-10.9 11c-.9-1.2-5.9 0-11.3 3.2-5.8 3.4-9.8 7.9-9 9.3.7 1.5 5.7-.6 11.3-4 4.3-2.6 7.8-5.2 8.9-7 9.6-5.2 19-10.6 29-15.3-9.7 4-19 10.7-28.3 13.7l-.6.1Zm-9.8 12.2c-1-1.1-5.8.5-11 4.3-5.4 4-9 9-8 10.3.8 1.4 5.6-1.2 10.8-5.2 4.1-3 7.3-6 8.2-8 9-6.2 18-12.5 27.3-18.2-9.2 5-17.8 12.6-26.7 16.5l-.6.3Zm-8 12.8-.5.3c-1.2-1-5.8 1.1-10.6 5.5-5 4.7-8 10-7 11.3 1 1.3 5.5-1.9 10.4-6.4 3.7-3.6 6.6-7 7.3-9 8.4-7 16.6-14.3 25.4-21-8.7 6-16.5 14.5-25 19.3Zm79.6-85.3c-5.6 4.4-8.7 9-7.4 10 1.2 1 6.3-1.8 11.9-6 5.2-4 9.1-7.8 8.5-9.2l.5-.4c8.9-7.4 23.6-10.7 35.6-13.1-13 2.7-26.2 6-37.6 13-2.4.2-7 2.3-11.5 5.7ZM126 38.5c-5.1 4.8-7.7 9.7-6.3 10.6 1.4 1 6-2.4 11.1-7.1 4.8-4.5 8.3-8.7 7.5-10l.4-.5c8-8.2 22.1-13 33.7-16.6-12.5 4-25 8.7-35.7 16.8a27 27 0 0 0-10.7 6.8Zm-15.5 7.7c-4.6 5.4-6.6 10.5-5.2 11.2 1.5.8 5.8-3 10.4-8.2 4.3-4.9 7.2-9.4 6.3-10.6l.4-.6c7-8.9 20.5-15.1 31.5-20-12 5.4-23.8 11.3-33.5 20.4-2.2.6-6.3 3.6-9.9 7.8Zm-14.6 9.3c-4 5.8-5.5 11-4 11.7 1.5.6 5.5-3.6 9.4-9.3 3.8-5.3 6.3-10 5.3-11.2l.3-.6c6-9.5 18.7-17 29.1-23a116.4 116.4 0 0 0-31 23.6 24 24 0 0 0-9 8.8ZM82.2 66.2c-3.4 6.1-4.4 11.6-2.8 12 1.6.4 5-4.2 8.5-10.1 3.2-5.7 5.2-10.7 4-11.7l.3-.7c5-10 16.8-18.8 26.5-25.7a116.6 116.6 0 0 0-28.3 26.5c-2.1 1-5.5 4.8-8.2 9.7Zm-12.4 12c-2.8 6.5-3.3 12-1.6 12.3 1.6.2 4.6-4.7 7.4-11 2.6-6 4-11.2 2.8-12l.2-.7c4-10.5 14.8-20.4 23.8-28.3A116.8 116.8 0 0 0 77 67.7c-2 1.3-5 5.4-7.1 10.5ZM58.6 91.4c-2.2 6.8-2 12.4-.4 12.5 1.6 0 4.1-5.2 6.3-11.7 2-6.3 3-11.6 1.6-12.4l.2-.6C69.2 68.3 78.9 57.4 87 48.6a117 117 0 0 0-22.5 31.7 27 27 0 0 0-6 11.1ZM48.7 106c-1.4 7-.8 12.6.9 12.5 1.6-.1 3.6-5.6 5-12.4 1.5-6.5 1.9-11.9.5-12.5v-.7c1.9-11.1 10.5-23 17.7-32.6a117.4 117.4 0 0 0-19.2 33.9 27.2 27.2 0 0 0-4.9 11.8Zm-2.4 15c.7-6.7.6-12.1-.8-12.6v-.7c.7-11.3 8-24 14.3-34.4A118 118 0 0 0 44 109.1a27.7 27.7 0 0 0-3.7 12.3c-.7 7.2.5 12.7 2.1 12.5 1.7-.3 3.1-6 3.9-13Zm96.5-80.3c.3 1 7.8-.7 17-2.7 7.7-1.7 14.4-3 16.1-4.1 14.2-2 28.2-1.7 42.5-.2a176.1 176.1 0 0 0-42.3-.6c-1.4-.8-8.7-.7-17.2 1.1-9.4 2.1-16.4 5.5-16 6.5ZM33.2 169.8l1.3.2c1.8-11.6 4.7-23 9-34l-1.2-.5a170 170 0 0 0-9 34.3Zm110.4-57c-.6 1.2 3 3.3 7.7 5.2 3.7 1.5 7 2.5 8.6 2.3 8 3.6 16 7.1 23.7 11.2-7.2-4.3-16-7-22.3-11.5l-.4-.3c.3-1.1-2.7-3.7-7.3-5.6-4.8-2-9.5-2.4-10-1.3Zm5.1 6.5c.2-1.2-3-3.5-7.8-4.9-5-1.5-9.6-1.4-10-.2-.5 1.2 3.3 3 8.1 4.4a24 24 0 0 0 8.8 1.3c8.2 2.8 16.4 5.4 24.4 8.6-7.5-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 4.2-8.3 3.3-9l.2-.6c4-7.8 13.3-14.5 21-19.8a91.5 91.5 0 0 0-22.4 20.4c-1.7.8-4.4 3.8-6.5 7.5Zm-5.5 10.5c2.2-4.7 3.4-8.8 2.5-9.5l.1-.5c3.3-8.2 11.9-15.8 19-22A92 92 0 0 0 60 138.6a21 21 0 0 0-5.7 8.2c-2.3 5.1-2.7 9.5-1.5 9.7 1.3.2 3.8-3.7 6-8.7Zm91-36c0 1 6 1.5 13.2 2.2a78 78 0 0 0 13 .9c11 2 21.3 5.6 31.5 10.2-10-4.7-20.3-8.5-31.2-10.8a33 33 0 0 0-13-3.3c-7.5-.7-13.5 0-13.5.9ZM37.2 180.9l1 .5a126 126 0 0 1 14.9-23l-.8-.6c-6 7.1-10.7 15-15 23.1Z'/%3E%3C/svg%3E");
    display: block;
    margin-bottom: 0.5rem;
}

body.home section.hero .slider {
    position: relative;
    height: 575px;
}
body.home section.hero .slider .slick,
body.home section.hero .slider .slick-list,
body.home section.hero .slider .slick-list div {
    height: 100%;
}

/* Nos activités */

body.home section.activities .page-card {
    --anim-duration: 0.3s;
    position: relative;
    color: white;
    aspect-ratio: 4/3;
}
body.home section.activities .page-card > a {
    display: block;
    height: 100%;
    transition: background-color var(--anim-duration);
}
body.home section.activities .page-card > a:hover {
    background-color: var(--wp--preset--color--secondary-dark);
}
body.home section.activities .page-card .card-image {
    position: absolute;
    inset: 0;
    z-index: -1;
}
body.home section.activities .page-card .card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, transparent, black);
    opacity: 0.5;
}
body.home section.activities .page-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.home section.activities .page-card .card-body {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 0;
    overflow: hidden;
    padding: 0.5rem 1rem;
    transition: min-height var(--anim-duration);
}
@media screen and (min-width: 992px) {
    body.home section.activities .page-card .card-body {
        padding: 0.75rem 2rem;
    }
}

body.home section.activities .page-card > a:hover .card-body {
    min-height: 100%;
}

body.home section.activities .page-card .card-body .title {
    font-size: var(--wp--preset--font-size--large-plus);
}

body.home section.activities .page-card .card-body .content {
    display: block;
    max-height: 0;
    transition: max-height var(--anim-duration), opacity var(--anim-duration);
    opacity: 0;
}
body.home section.activities .page-card > a:hover .card-body .content {
    max-height: 150px;
    opacity: 1;
}


/* Nos actualités */

body.home section.news > .container {
    background-color: rgba(127, 114, 112, 0.1);
}

body.home section.news .slick-list {
    overflow: visible;
}