:root {
  --bg:        #0d0d0d;
  --surface:   #161616;
  --card-bg:   #1c1c1c;
  --border:    #2e2e2e;
  --accent:    #095a84;
  --accent2:   #c47a4a;
  --text:      #f0ece2;
  --muted:     #888;
}

.blog {
    padding: 0px!important;
    margin-top: 73px!important;
}

.blog--title {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 32px;
    line-height: 18px;
}

.detail--header h1 {
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 40px;
    line-height: 45px;
    letter-spacing: 0px;
    color:var(--white)
}

.detail--content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    line-height: 28px;
    letter-spacing: 0px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.detail--content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.detail--content p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.detail--content a {
    color: #006e9f;
    font-weight: 600;
}

.detail--content ul {
    list-style: disc;
    padding-left: 40px;
}

.maincontent .blogcontent__card {
    width: 100%;
    min-height: 200px;
    border: 0;
    hyphens: none;
    position: relative;
    word-break: break-word;
    box-shadow: 0px 3px 6px #00000029!important;
    border-radius: 10px;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.maincontent.maincontent__blog,
.maincontent.maincontent__blog svg {
    color: var(--black);
}

.maincontent .blogcontent__card__body {
    display: flex;
    width: 100%;
    flex-flow: column nowrap;

}

.detail--header {
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  height: auto;
  width: 100%;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 85%,
    0 100%
  );
}

.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 85%
  );
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}


/* Contenu */
.card-content {
  padding: 20px;
  position: relative;
  top: -25px;
}

/* Date */
.card-date {
  display: block;
  font-size: 0.85rem;
  color: var(--main-color_paragraphe);
  margin-bottom: 10px;
  opacity: 0.5;
}

/* Titre */
.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: var(--main-color_paragraphe);
  line-height: 30px;
  margin: 0 0 12px;

}

/* Texte */
.card-text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--main-color_paragraphe);
  line-height: 30px;
  margin-bottom: 20px;
}

/* Bouton */
.btn-blog {
  background-color: #006E9F;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 22px;
}

.btn-blog:hover {
  background-color: #095a84;
  color: #fff;
}

.maincontent__blog .blog_pager article div:not(.active) a,
.maincontent__blog .blog_pager article div:not(.active) a:hover {
  color: #095a84;
  padding: 5px 10px;
  background-color: transparent;
  border: #095a84 1px solid;
  margin: 0 2px;
  text-decoration: none;
}

.maincontent__blog .blog_pager article div.active a,
.maincontent__blog .blog_pager article article div.active a:hover {
  color: var(--white);
  padding: 5px 10px;
  background-color: #095a84;
  border: #095a84 1px solid;
  margin: 0 2px;
  text-decoration: none;
}

/* ── Wrapper du carrousel ── */
.cards-carousel-wrapper {
  width: 100%;
  position: relative;
}

/* On masque les débordements du track */
.cards-track-outer {
  overflow: hidden;
  border-radius: 16px;
}

/* Track défilant */
.cards-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

  /* ── Boutons navigation ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  user-select: none;
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.btn-prev { left: -15px; }
.btn-next { right: -15px; }

/* ── Indicateurs (dots) ── */
/* ── Dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.dot.active {
  background: var(--accent);
  width: 24px;
}

section.detail--header .btn svg,
section.detail--header .btn {
  color: var(--white);
}

/* ── Carte ── */
.custom-card {
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

@media (max-width: 1600px) {
  .custom-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
}
@media (max-width: 576px) {
  .custom-card { flex: 0 0 100%; }
}



@media (max-width: 991.98px) {
    .detail--header,
    .detail--content,
    .detail--other {
        padding-left: 15px; 
        padding-right: 15px; /* reset le padding-left pour tablette portrait et moins */
    }
}

