{% scope_css %}
/* --- FORCE LE MODULE EN 100% LARGEUR ET HAUTEUR ÉCRAN --- */
.split-blog-wrapper {
  display: flex;
  width: 100vw;
  height: 100vh;
  
  /* Technique de breakout pour ignorer les conteneurs parents HubSpot bridés */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- FORCE CHAQUE ARTICLE À FAIRE EXACTEMENT 50% --- */
.split-article-card {
  /* flex: 0 0 50% empêche le navigateur de réduire ou d'agrandir l'élément */
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  
  position: relative;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  box-sizing: border-box;
}

.article-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

/* Conteneur de contenu interne */
.article-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 80px 100px;
  box-sizing: border-box;
}

/* --- TYPOGRAPHIES --- */
.article-date {
  font: normal normal normal 24px/40px Raleway, sans-serif;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
  text-align: left;
}

.article-bottom {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.article-title {
  font: normal normal normal 30px/36px 'Tilt Warp', sans-serif;
  letter-spacing: 0px;
  color: #FFFFFF;
  opacity: 1;
  margin: 0;
  text-align: left;
  max-width: 85%;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.article-tags {
  display: flex;
  gap: 20px;
}

.tag-item {
  font: normal normal normal 18px/21px Raleway, sans-serif;
  letter-spacing: 0px;
  color: #EB1D5D;
  opacity: 1;
  text-align: left;
  text-transform: capitalize;
}

/* --- CTA --- */
.simple-cta-wrapper {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 10;
}

.simple-cta-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%; 
  box-sizing: border-box;
}

.simple-cta-text {
  font-family: 'Tilt Warp', sans-serif !important;
  font-size: 24px; 
  margin-right: 15px; 
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  line-height: 1.3; 
  white-space: normal; 
  word-break: break-word; 
}

.simple-cta-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; 
  height: 2px;
  background-color: currentColor;
  transition: width 0.5s ease-in-out; 
}

.simple-cta-icon-container {
  width: 32px; 
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; 
  transition: transform 0.5s ease-in-out; 
}

.svg-arrow-main {
  transform-origin: center;
  transition: transform 0.5s ease-in-out; 
  transform: rotate(-45deg);
}

/* --- HOVER EFFECTS --- */
.split-article-card:hover .simple-cta-text::after { width: 25%; }
.split-article-card:hover .svg-arrow-main { transform: rotate(0deg); }
.split-article-card:hover .simple-cta-icon-container { transform: scale(1.4); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .article-content {
    padding: 50px;
  }
}

@media (max-width: 992px) {
  .split-blog-wrapper {
    flex-direction: column;
    height: 100vh; /* Garde le wrapper entier à 100% de la hauteur totale */
  }
  
  .split-article-card {
    flex: 0 0 50%;
    width: 100%;
    height: 50vh; /* 50% de la hauteur de l'écran pour chaque article sur mobile */
  }

  .article-content {
    padding: 30px;
  }

  .article-date {
    font: normal normal normal 18px/24px Raleway, sans-serif;
  }

  .article-title {
    font: normal normal normal 24px/30px 'Tilt Warp', sans-serif;
  }
  
  .simple-cta-text {
    font-size: 20px; 
    margin-right: 12px; 
  }
  
  .simple-cta-icon-container {
    width: 28px; 
    height: 28px;
  }
}

@media (max-width: 480px) {
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .simple-cta-text {
    font-size: 18px; 
  }

  .simple-cta-icon-container {
    width: 24px; 
    height: 24px;
  }
}
{% endscope_css %}