.cont-actus-slide { overflow: hidden;
position: relative;
background-color: #F6F6F6;
}
.cont-actus-slide:after {
bottom: -5px;
right: -4%;
content: "";
width: 28%;
height: 50%;
z-index: 0;
position: absolute;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
background-image: url(//megazonevaise.com/wp-content/uploads/ac_assets/actus/fili-lasergame.svg);
}
.actus-title {
padding-left: 20%;
position: relative;
z-index: 99!important;
}
.actus-title h2 { padding-top: 5%;
font-size: 150px;
font-weight: 600;
position: relative;
line-height: 126px;
margin-bottom: -2.5%;
letter-spacing: -3.75px;
text-transform: uppercase;
font-family: "Teko", Sans-serif;
color: var( --e-global-color-accent );
}
.swiper-actus-arrows {
top: 15%;
gap: 1em;
z-index: 99;
right: 20.5%;
width: fit-content;
display: flex;
position: absolute;
flex-direction: row;
align-items: center;
}
.swiper-actus-arrows > div {
width: fit-content;
}
.swiper-actus-arrows > div > img {
cursor: pointer;
max-width: 60px!important;
transition: filter 0.5s ease-in-out;
}
.swiper-actus-arrows > div:hover > img {
filter: grayscale(1);
} .item-actu .actu-bg{
width: 100%;
height: 255px;
display: block;
overflow: hidden;
position: relative;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
clip-path: polygon(100% 0, 100% 92%, 95% 100%, 0 100%, 0 0);
}
.item-actu .actu-bg a {
top: 0;
left: 0;
width: 100%;
z-index: 10;
height: 100%;
position: absolute;
background: rgba(0,0,0,.04);
}
.item-actu .actu-bg .bg {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.item-actu:hover .bg {
animation: scale 40s linear infinite;
}
@keyframes scale {
80% {
transform:scale(1.2);
}
}
.item-actu .actu-infos {
padding-top: 1em;
}
.item-actu .actu-infos .actu-date {
font-size: 16px;
font-weight: 500;
line-height: 24px;
letter-spacing: 3.2px;
text-transform: uppercase;
font-family: "Teko", Sans-serif;
color: var( --e-global-color-accent );
}
.item-actu .actu-infos a {
text-decoration: none;
}
.item-actu .actu-infos .actu-title {
font-size: 36px;
font-weight: 500;
line-height: 30px;
text-transform: uppercase;
font-family: "Teko", Sans-serif;
color: var( --e-global-color-primary );
}
.cont-actus-slide .all-link {
z-index: 10;
position: relative;
text-align: center;
padding: 2em 0 4em 0;
}
.cont-actus-slide .all-link a {
font-size: 22px;
font-weight: 400;
position: relative;
text-decoration: none;
letter-spacing: 1.1px;
padding: 0.4em 0;
color: #ffffff!important;
text-transform: uppercase;
font-family: "Teko", Sans-serif;
}
.cont-actus-slide .all-link a::after {
left: 0;
z-index: 0;
content: "";
width: 100%;
height: 54px;
opacity: 0.3;
position: absolute;
filter: blur(21px);
background: var( --e-global-color-accent );
}
.cont-actus-slide .all-link a > span {
z-index: 9;
position: relative;
padding: 0.4em 1.5em;
transition: 0.3s linear;
background-color: var( --e-global-color-accent );
clip-path: polygon(5% 0%, 100% 0, 100% 70%, 95% 100%, 0 100%, 0% 30%)!important;
}
.cont-actus-slide .all-link a > span > span {
z-index: 10;
position: relative;
}
.cont-actus-slide .all-link a > span::before {
content: "";
top:-5%;
left:-1%;
bottom:-5%;
width: 0;
position: absolute;
transition: 0.3s ease-out;
background-color: var( --e-global-color-primary );
}
.cont-actus-slide .all-link a:hover > span::before {
width:110%;
}
.swiper-actus {
width: 60%;
}  @media (max-width: 359px) { .cont-actus-slide:after {
width: 67%;
height: 27%;
}
.actus-title {
padding-left: 0;
text-align: center;
}
.actus-title h2 { padding-top: 10%;
font-size: 50px;
line-height: 55px;
margin-bottom: -20px; }
.swiper-actus {
padding: 2em 2em 1em 2em;
}
.swiper-actus-arrows {
top: unset;
right: unset;
width: 100%;
position: relative;
justify-content: center;
}
.swiper-actus-arrows > div > img {
max-width: 40px!important;
}
.item-actu { }
.item-actu .actu-infos .actu-date {
line-height: 23px;
}
.item-actu .actu-infos .actu-title {
font-size: 17px;
line-height: 20px;
} } @media (min-width: 360px) and (max-width: 767px) { .cont-actus-slide:after {
width: 67%;
height: 27%;
}
.actus-title {
padding-left: 0;
text-align: center;
}
.actus-title h2 { padding-top: 10%;
font-size: 65px;
line-height: 65px;
margin-bottom: -30px; }
.swiper-actus {
padding: 2em 2em 1em 2em;
}
.swiper-actus-arrows {
top: unset;
right: unset;
width: 100%;
position: relative;
justify-content: center;
}
.swiper-actus-arrows > div > img {
max-width: 40px!important;
}
.item-actu { }
.item-actu .actu-infos .actu-date {
line-height: 23px;
}
.item-actu .actu-infos .actu-title {
font-size: 17px;
line-height: 20px;
} } @media (min-width: 768px) and (max-width: 1024px) { .cont-actus-slide:after {
width: 28%;
height: 25%;
}
.actus-title {
padding-left: 0;
}
.actus-title h2 { padding-top: 10%;
font-size: 110px;
line-height: 90px;
margin-bottom: -5.5%;
}
.swiper-actus-arrows {
top: 6%;
right: 10%;
}
.swiper-actus-arrows > div > img {
max-width: 40px!important;
}
.item-actu .actu-infos .actu-date {
line-height: 23px;
}
.item-actu .actu-infos .actu-title {
font-size: 21px;
line-height: 23px;
}
} @media (max-width: 1024px) {
.cont-actus-slide .all-link a {
font-size: 16px;
padding: 0.5em 0;
}
.cont-actus-slide .all-link a > span {
padding: 0.5em 1.5em;
}
} @media (min-width: 1025px) {
} @media (min-width: 1025px) and (max-width: 1700px) {
.cont-actus-slide:after {
width: 22%;
height: 35%;
}
.actus-title {
padding-left: 12.5%;
}
.actus-title h2 {
font-size: 120px;
line-height: 115px;
margin-bottom: -4%;
}
.swiper-actus-arrows {
top: 12%;
}
.swiper-actus-arrows > div > img {
max-width: 40px!important;
}
.item-actu .actu-infos .actu-date {
line-height: 30px;
}
.item-actu .actu-infos .actu-title {
font-size: 30px;
line-height: 26px;
}
}