* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', Helvetica, sans-serif;
  background-color: #fcfdfd;
  color: #030303;
  line-height: 1.5;
}

.element-actus {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  margin-top: 0;
  padding-top: 0;
  background-color: #fcfdfd;
}

.element-actus section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  align-items: flex-start !important;
}





.hero-section {
  background: linear-gradient(86.6deg, #1B2F53 12.33%, #3E5FBC 78.34%);
  padding: 80px 0;
  color: #FCFDFD;
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  border-radius: 0px 0px 24px 24px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
}

.hero-text {
  flex: 0 0 650px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-tag {
  color: #BFF5D9;
  font-family: 'Open Sauce One', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.hero-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 30px;
  color: #fcfdfd;
  margin: 0;
}

.hero-title h1 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 30px;
  color: #fcfdfd;
  margin: 0;
}

.hero-title strong {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.element-actus .hero .hero-title h1 .title-underline {
  position: relative !important;
  display: inline-block !important;
}

.element-actus .hero .hero-title h1 .title-underline::after {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 0 !important;

  border-image-source: url('https://c.animaapp.com/ml2mibj9gkulId/img/vector-14-1.svg') !important;

  border-image-slice: 0 0 100% 0 !important;

  border-image-width: 0 0 25px 0 !important;

  border-image-repeat: stretch !important;

  border-style: solid !important;
  border-width: 0 0 20px 0 !important;

  margin-top: 8px !important;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #fcfdfd;
  margin-bottom: 0;
  max-width: 600px;
}

.hero-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #fcfdfd;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 450px;
  height: auto;
}

/* Tablet / Desktop Small (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-section {
    height: auto !important;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .background {
    padding: 60px 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    flex: none;
    width: 100%;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-image {
    justify-content: center;
  }
}

/* Tablet / Mobile Large (max-width: 790px) */
@media (max-width: 790px) {
  .hero-section {
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-content {
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-text {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    flex: none !important;
  }

  .hero-tag {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .hero-title,
  .hero-title h1,
  .element-actus .span-wrapper,
  .element-actus .span,
  .element-actus .p,
  .element-actus .title-line,
  .element-actus .consacrez-le-votre {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle,
  .hero-description {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .hero-image {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-image img {
    max-width: 100% !important;
    height: auto !important;
  }

  .section-title,
  .section-subtitle,
  .section-subtitle p,
  .element-actus .section-title,
  .element-actus .section-subtitle,
  .element-actus .text-wrapper-3,
  .blog-section .section-title,
  .blog-section .section-subtitle,
  .blog-section .section-subtitle p,
  .section-header .section-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .section-title .title-underline-small,
  .element-actus .section-title .title-underline-small,
  .blog-section .section-title .title-underline-small,
  .section-header .section-title .title-underline-small {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .element-actus .span-wrapper-2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-4 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .element-actus .votre-AG-d {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-7 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-9 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-13 {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .article-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  .article-link {
    font-size: 14px !important;
  }

  .filter-tag {
    font-size: 14px !important;
  }

  .article-meta {
    font-size: 12px !important;
  }
}

/* Mobile (max-width: 360px) */
@media (max-width: 360px) {
  .hero-section {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .hero-tag {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .hero-title,
  .hero-title h1,
  .element-actus .span-wrapper,
  .element-actus .span,
  .element-actus .p,
  .element-actus .title-line,
  .element-actus .consacrez-le-votre {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle,
  .hero-description {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .section-title,
  .section-subtitle,
  .section-subtitle p,
  .element-actus .section-title,
  .element-actus .section-subtitle,
  .element-actus .section-subtitle p,
  .element-actus .text-wrapper-3,
  .blog-section .section-title,
  .blog-section .section-subtitle,
  .blog-section .section-subtitle p,
  .section-header .section-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .section-title .title-underline-small,
  .element-actus .section-title .title-underline-small,
  .blog-section .section-title .title-underline-small,
  .section-header .section-title .title-underline-small {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .element-actus .span-wrapper-2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-4 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .element-actus .votre-AG-d {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-7 {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-9 {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .element-actus .text-wrapper-13 {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  .article-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .article-link {
    font-size: 13px !important;
  }

  .filter-tag {
    font-size: 13px !important;
  }

  .article-meta {
    font-size: 11px !important;
  }
}

.blog-section {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 40px;
  text-align: left !important;
  width: 100% !important;
}

.section-title {
  font-family: var(--title-small-font-family);
  font-weight: var(--title-small-font-weight);
  font-size: var(--title-small-font-size);
  line-height: var(--title-small-line-height);
  color: #3e5fbc;
  text-align: left !important;
}

.section-title .title-underline-small {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
}

.title-underline-small {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 12px !important;
  font-size: inherit !important;
}

.title-underline-small::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 10px !important;
  background-image: url('https://c.animaapp.com/ml2mibj9gkulId/img/vector-14.svg') !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

.section-subtitle {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 30px;
  color: #3e5fbc;
}

.section-subtitle p {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 30px;
  color: #3e5fbc;
  margin: 0;
}


.filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-tag {
  padding: 8px 12px;
  border-radius: 8px;
  background-color: var(--gris);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #030303;
  text-decoration: none;
  transition: all 0.3s ease;
}

.filter-tag:hover {
  background-color: #e5e5e5;
  color: #3E5FBC;
}

.filter-tag:visited {
  color: #030303;
}

.filter-active {
  background-color: var(--confirmation);
  color: #030303;
}

.filter-active:visited {
  color: #030303;
}


.article-card {
  background-color: #fcfdfd;
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.article-image {
  width: 100%;
  height: 250px;
  background-color: #d9d9d9;
  border-radius: 4px;
}

.featured-article-container .article-image {
  height: 400px;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.article-tag {
  padding: 4px 8px;
  background-color: var(--info);
  border-radius: 8px;
  width: fit-content;
}

.article-meta {
  display: flex;
  gap: 5px;
  color: rgba(33, 33, 33, 0.5);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.article-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #030303;
}

.article-title a {
  color: #030303;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: #3E5FBC;
}

.article-title a:visited {
  color: #030303;
}

.article-title a:active {
  color: #3E5FBC;
}

.article-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  color: #3E5FBC;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.article-link:hover {
  color: #1B2F53;
}

.article-link:visited {
  color: #3E5FBC;
}

.article-link:active {
  color: #1B2F53;
}

.articles-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  width: 100%;
  gap: 40px;
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-arrow {
  border: none;
  background: transparent;
  display: flex;
}

.pagination-page {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030303;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-page:hover {
  color: #3E5FBC;
  background-color: #f5f5f5;
}

.pagination-page:visited {
  color: #030303;
}

.pagination-active {
  background-color: var(--gris);
  font-weight: 700;
  color: #030303;
}

.pagination-active:visited {
  color: #030303;
}

.pagination-desktop-only {
  display: none;
}





@media (min-width: 790px) {
  .hero {
    padding: 0 80px;
  }

  .background {
    padding: 40px 80px;
  }

  .blog-section {
    padding: 40px 80px;
  }

  .pagination-desktop-only {
    display: flex;
  }
}



@media (min-width: 1200px) {


  body {
    padding-top: 0;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    padding: 0 80px;
    max-width: 1600px;
    margin: 0 auto;
  }

  .hero-section {
    height: auto;
    padding: 60px 0;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .hero-text {
    flex: 0 0 650px;
  }

  .hero-image {
    display: flex;
    justify-content: flex-end;
  }

  .hero-image img {
    max-width: 400px;
    height: auto;
  }

  .blog-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 80px;
  }

  .article-featured {
    flex-direction: row;
    max-width: 1040px;
    gap: 20px;
  }

  .article-featured .article-image {
    width: 50%;
    height: 230px;
  }

  .article-featured .article-content {
    width: 50%;
  }

  .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}