.article--list .article__item {
	--article-item-img-height: 300px;
}

.discover__title {
  display: none;
}

@media(max-width:991px){
  .intro__grid.d-grid{
    padding-right: 0 !important;
  }
}
.intro__grid.d-grid {
  grid-template-areas: "..       " "breadcrumb" "subtitle " "title    " "author   " "paragraph" "cta      " "..       ";

}

.intro__grid, .intro__title{
  color: #fff !important;
}
.navbar .dropdown-menu{
  --navbar-dropdown-menu-bg: white;
}

#home .main-content > * {
    margin-top: var(--ev-space-3xl);
}
.btn-secondary, .btn-primary, .btn-outline-primary, .btn-outline-secondary{
  --btn-color: #fff;
  --btn-hover-color: #fff;
}
.banner-bg, .form-page .flexible-form__title-wrapper{
  overflow: hidden;
}
.article--details .paragraph > *:not(:first-child) {
  margin-top: var(--ev-space-3xl) !important;
}

.grid-cta {
  grid-area:cta;
  display:flex;
  flex-wrap:wrap;
  width: fit-content;
  min-width: fit-content;
  max-width: fit-content;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  background-color: var(--ev-primary);
  top: 50%;
  left:50%;
  height: 100%;
  width: 100%;
  transition:
    transform 250ms ease-in,
    opacity 250ms ease-in;
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
  z-index:-1;
}

.btn-secondary:hover::before {
  transform: translate(-50%, -50%) scaleY(1);
  opacity: 1; 
}
.btn-secondary{
   --btn-hover-border-color: var(--ev-primary);
}
.btn-primary::before {
  content: "";
  position: absolute;
  background-color: var(--ev-secondary);
  top: 50%;
  left:50%;
  height: 100%;
  width: 100%;
  transition:
    transform 250ms ease-in,
    opacity 250ms ease-in;
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
  z-index:-1;
}

.btn-primary:hover::before {
  transform: translate(-50%, -50%) scaleY(1);
  opacity: 1;
 
}
.btn-primary{
   --btn-hover-border-color: var(--ev-secondary);
}
.grid-title{
  color: var(--ev-primary);
}
@media (max-width: 575.98px) {
.flexible-form__steps {
  grid-area: step;
}

.flexible-form__wrapper {
  grid-area: wrapper;
}

.flexible-form__container {
  display: grid;
  grid-template-areas: 'step' 'wrapper';
}
}

@media(min-width:480px) and (max-width: 1024px){
  .flexible-form__description{
    max-width: 60ch;
  }
}
.article .article__filter .btn-tag{
  --btn-tag-color: var(--ev-light);
  background-color:  var( --btn-tag-color);
  border: var(--ev-border-width) var(--ev-border-style) var( --btn-tag-color);
}
.article--list .article__item {
  --article-item-bg: var(--ev-light);
  --article-item-bg-content: var(--ev-light);
}
.banner-bg,
.form-page .flexible-form__title-wrapper {
  position: relative;
}
.banner-bg::after,
.form-page .flexible-form__title-wrapper::after {
  content:"";
  position:absolute;
  background-image:var(--bg-img);
  background-size:contain;
  background-repeat:no-repeat;
  background-position:right bottom;
  right: -5px !important;
  inset:0;
  opacity: 0.2;
  z-index: -1;
  animation: moveBottomToRight 4s ease-in-out infinite;
}
@keyframes moveBottomToRight {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px); 
  }
}
@media(max-width: 992px){
  .banner-bg::after,
  .form-page .flexible-form__title-wrapper::after {
     background-size: 20%;
  }
}
.banner-bg::before,
.form-page .flexible-form__title-wrapper::before {
  background-color: var(--ev-light);
	box-shadow: var(--ev-shadow-lg);
  padding-bottom: var(--ev-space-3xs);
}
.banner-bg, .form-page .flexible-form__title-wrapper {
  --bg-text-color: var(--ev-heading-color) !important;
}
.main-content {
  margin-bottom:var(--ev-space-2xl);
}

.flexible-form{
  margin-bottom: unset !important;
  padding-bottom: var(--ev-space-2xl-3xl) !important;
}
.subtitle{
  color: hsl(var(--ev-primary-hue), var(--ev-primary-saturation), calc(var(--ev-primary-lightness) + 30%));
  font-weight: 500;
}
.btn-primary{
  --btn-hover-color: #fff;
}
.page {
	margin-top: 0;
}

[id^="article_link"] main {
  margin-block: 0 var(--ev-space-2xl-3xl);
}

.hero.section-inspector {
  margin-top: 0 !important;
}

.form-page .flexible-form__title-wrapper,
.banner.banner-bg.section-inspector {
  
  display: grid;
  align-items: end;
}

.banner-bg, .form-page .flexible-form__title-wrapper {
  --bg-color: #070707a3;
  --bg-text-color: white;
  --bg-img: url(https://serveur-images.devil-it-applications.fr/mivelec/upload/cables-plusieurs-couleurs_1742904593.png);
}

.breadcrumb-wrapper {
  background: transparent;
  padding-block: var(--ev-space-s);
}

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-dark-rgb), 70%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--image-bg);
  background-size: cover !important;
  background-position: center !important;
  z-index: -2;
}
.hero[style*="--image-bg:url()"] {
  --image-bg: url(https://picsum.photos/2000/1000) !important;
}
.hero__content :not(.btn-primary) {
  color: white;
}
.hero__content {
  --header-height: 140px;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
}
.hero__content[data-content-align="center"] {
  text-align: start;
  margin-inline: auto;
  place-items: center;
  justify-content: start;
}

.hero__content[data-content-align="center"] .hero__cta {
  width: fit-content;
  place-content: start; 
}
.hero__grid {
  grid-template-areas:
    "breadcrumb"
    "subtitle " 
    "title    "
    "author   " 
    "paragraph" 
    "cta      ";
  place-content: center;
  padding-block: var(--ev-space-xl);
}

#home .hero__title {
  font-size: var(--ev-step-4);
}

.hero__title {
  margin-bottom: var(--ev-space-m);
}

#home .hero__subtitle{
  font-size: var(--ev-step-1);
}
.hero__subtitle {
  text-transform: uppercase; 
}

#home .hero__description {
  font-size: var(--ev-step-1);
  font-weight: 600;
}
.breadcrumb-wrapper{
  font-size: var(--ev-step--1);
}
.hero__title{
  font-size: var(--ev-step-3);
}
.hero__cta {
  margin-top: var(--ev-space-m);
}

.hero__grid h2{
  position: relative;
}

@media(min-width: 1400px){
	.hero__grid h2::before {
 	right: 41% !important;
	}
}

.hero__image-shape1 {
  position:absolute;
  top:-10%;
  right:-18%;
  z-index:-1;
  grid-area: shape1;
}

.hero__image-shape2 {
  position:absolute;
  bottom:-45vh;
  left:-23vw;
}

.hero__image-shape2  img {
  mix-blend-mode: plus-lighter;
}
.hero__content{
  position: relative;
}

#home .hero__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(https://serveur-images.devil-it-applications.fr/mivelec/upload/main-slider-shape_1747228669.png);
  background-repeat: no-repeat;
  background-size: 22%;
  background-position: bottom left;
  bottom: -3%;
  left: -16vw;
  mix-blend-mode: hard-light;
  animation: moveLeftRight 4s ease-in-out infinite;
  z-index: -1;
}
#home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-dark-rgb), 100%);
  z-index: -1;
  width: 60%;
/*   clip-path: polygon(0px 0px, 98.41% 2px, 75.87% 100.27%, 0px 100%); */
  clip-path: polygon(0px 0px, 98.5% 0px, 75.78% 100.14%, 0px 100%);
} 
@media(max-width: 767px){
 #home .hero__content::after {
  background-size: 35%;
  bottom: 1%;
  left: -13vw;
}  
}
@media(min-width: 768px) and (max-width: 1400px){
   #home .hero::before {
  	width: 79%;
}
}
@media(min-width: 992px) and (max-width:1200px) {
 #home .hero__content::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:url(https://serveur-images.devil-it-applications.fr/mivelec/upload/main-slider-shape-1_1742542948.png);
  background-repeat:no-repeat;
  background-size:contain;
  background-position: center left;
  left: 61%;
  animation: moveBottomRight 4s ease-in-out infinite;
  z-index:-1;
}
}
@media (min-width: 992px) and (max-width: 1100px) {
#home .hero__content::before {
 left: 59%;
}
}
.hero__grid{
   max-width: 600px;
}

@media(min-width: 992px){
  .hero{
      min-height: 86vh;
  }
  .hero__content::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:url(https://serveur-images.devil-it-applications.fr/mivelec/upload/main-slider-shape-1_1742542948.png);
  background-repeat:no-repeat;
  background-size:contain;
  background-position: center left;
  left: 38%;
  animation: moveBottomRight 4s ease-in-out infinite;
  z-index:-1;
}
.hero__content::after {
  background-size: 22%;
  bottom: -10vh;
  left: -16vw;
}

  .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-dark-rgb), 100%);
  z-index: -1;
  width: 60%;
  clip-path: polygon(0px 0px, 98.41% 2px, 75.87% 100.27%, 0px 100%);
} 
}
@media(min-width: 992px) and (max-width:1200px){
  .hero__content::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(https://serveur-images.devil-it-applications.fr/mivelec/upload/main-slider-shape--2_1742986926.png);
  background-repeat: no-repeat;
  background-size: 26%;
  background-position: bottom left;
  bottom: -10vh;
  left: -16vw;
  mix-blend-mode: hard-light;
  animation: moveLeftRight 4s ease-in-out infinite;
    z-index: -1;
}
  .hero__content::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:url(https://serveur-images.devil-it-applications.fr/mivelec/upload/main-slider-shape-1_1742542948.png);
  background-repeat:no-repeat;
  background-size:contain;
  background-position: center left;
  left: 70%;
  animation: moveBottomRight 4s ease-in-out infinite;
  z-index:-1;
}
  .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-dark-rgb), 100%);
  z-index: -1;
  width: 85%;
  clip-path: polygon(0px 0px, 98.41% 2px, 75.87% 100.27%, 0px 100%);
}
}
@media(min-width:1200px) and (max-width: 1400px){
  .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-dark-rgb), 100%);
  z-index: -1;
  width: 80%;
  clip-path: polygon(0px 0px, 98.41% 2px, 75.87% 100.27%, 0px 100%);
}
  .hero__content::before {
  content:"";
  position:absolute;
  inset:0;
  background-image:url(https://serveur-images.devil-it-applications.fr/mivelec/upload/main-slider-shape-1_1742542948.png);
  background-repeat:no-repeat;
  background-size:contain;
  background-position: center left;
  left: 54%;
  animation: moveBottomRight 4s ease-in-out infinite;
  z-index:-1;
}
}
.article.article--details .hero__grid.d-grid {
	grid-area: content;
  max-width: 800px;
}

.article.article--details .hero__image {
	grid-area: img;
} 

.article.article--details .hero__image img {
  height: 100%;
  object-fit: cover;
}

.article.article--details .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--ev-dark-rgb), 100%);
  z-index: -1;
  width: 100% !important;
  clip-path: unset !important;
}

.article.article--details .hero__content::before{
   content: unset;
}
.intro__subtitle.subtitle.grid-subtitle {
  color: hsl(var(--ev-secondary-hue), var(--ev-secondary-saturation), calc(var(--ev-secondary-lightness) + 13%));
}
@media(min-width:768px){
 .article.article--details .hero__content[data-content-align="start"] {
  grid-template-areas: '.. content img img';
   gap: 0;
  grid-template-columns: 1fr calc(clamp(var(--ev-grid-min-width, 20rem),var(--ev-grid-preferred-width, 80%),var(--ev-grid-max-width, 62rem)) - 30vw - var(--ev-grid-gutter) * 2) 30vw 1fr;
  }
}
.hero__grid {
  padding-right: var(--ev-space-2xl);
}
@media(max-width:767px){
    .article.article--details .hero__content[data-content-align="start"] {
 		 grid-template-areas: 'content' 'img';
     gap: 0;
}
  .article.article--details .hero figure {
    margin-bottom: unset !important;
  }
 
  .article.article--details .hero__grid {
  padding-inline: var(--ev-grid-gutter);
}
}
/* @media (max-width: 991.98px) {
  .article.article--details  figure {
    margin-bottom: unset !important;
  }
}  */
@media (max-width: 991px) {
  .article.article--details .hero {
    max-height: unset;
  }
}
@media (min-width: 992px) {
  .article.article--details .hero{
    min-height: unset;
  }
}
@keyframes moveBottomRight {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px); 
  }
}

@keyframes moveLeftRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(30px); 
  }
}


@media(min-width: 992px){
  #home .hero {
  	max-height: 82vh;
    min-height: 82vh;
}
}
@media(min-width: 768px) and (max-width: 991px){
    #home .hero__content::after {
  background-size: 40%;
  bottom: 6%;
  left: -16vw;
}
}
@media(max-width: 991px) {
 #home .hero{
     max-height: 78vh;
  }
}

@media(max-width: 479px){
  #home .hero__grid h2::before {
    left: 17%;
    right: 23%;
  }
}
@media (width > 992px) {
  .nav-item.nav-item--home .text {
    display: none;
  }
}
@media(max-width:500px){
  #home .hero__content::after {
  background-size: 50%;
  bottom: 0%;
  left: -12vw;
}
}
@media(max-width: 767px){
  .hero::after {
   	content: unset !important;
  }
  .hero::before {
  	width: 100% !important;
  	clip-path: unset !important;
	}
}
@media (width < 400px) {
    #home .hero__content::after {
        background-size: 50%;
     		bottom: -15px;
        left: -12vw;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
	#home .hero::before {
		width: 89%;
	}
}
@media (min-width: 992px) and (max-width: 1200px) {
	#home .hero__content::before {
 		content: unset !important;
	}
}
.flexible-form .btn-outline-primary {
	--btn-color: var(--ev-primary) !important;
}

.intro__image {
    min-width: 100%;
    max-width: 100%;
}