body {
    background-color: #FEFEFE;
    font-size:1.25rem;
}
.btn {
    background-color: #DC0276;
    border-color:#DC0276;
    border-width: 2px;
    color:white;
}

.lead {
  font-size:1.43rem;
}

.btn:hover,
.dropdown-item:hover, 
.navbar-nav .nav-link.active, 
.active,
.dropdown-item.active,
.dropdown-item .active {
    background-color: #FFFFFF;
    color:#DC0276;
    border-color: #DC0276;
    text-decoration: underline;
  text-decoration-style: dotted;
}

.dropdown-item.active,
.dropdown-item .active {
    background-color: #FFFFFF;
    color:#DC0276;
    border-color: #DC0276 !important;
}

.btn:active {
    background-color:#DC0276;
    color:#FFFFFF;
}

.btn:focus-visible,
.btn:focus {
    background-color:#FFFFFF;
    color:#DC0276;
}

.nav-link, .nav-pied {
    text-decoration: none;
    color:#333333;
}
.nav-link:hover, .nav-pied:hover {
    color: #DC0276;;
    text-decoration: underline;
    text-decoration-style: dotted;
    cursor:pointer;
}

.dropdown-item:hover{
    background-color: #DC0276;
    border-color:#DC0276;
    color:#FFFFFF;
}

a:hover {
    color:#333333;
    text-decoration: none;

}

.pink-bg, .list-group-item.active {background-color: #DC0276;border:none;}
.pink, a {color:#DC0276;}

h2, h3, h4, h5, h6 {color:#DC0276;}

.sidebar-sticky h2, .sidebar-sticky h3, .sidebar h2 {font-size: 1.5rem;}
.sidebar h3 {font-size:1.25rem;}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}


/* === SURLIGNAGE RECHERCHE ACCESSIBLE === */
.search-highlight {
    background-color: #d81b60; /* Rose foncé accessible */
    color: #ffffff;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* === EMPÊCHER LE SURLIGNAGE DANS LES BADGES === */
/* Annuler complètement le surlignage dans les badges */
.badge .search-highlight,
.bg-primary .search-highlight,
.bg-secondary .search-highlight,
.rounded-pill .search-highlight {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: inherit !important;
}

.btn-outline-primary {
  color:white;
}

.bg-primary {
  background-color: #DC0276 !important;
}

.article-content h2, .article-content h3, .article-content h4 {color:#000;}



/* === EMPÊCHER LE SURLIGNAGE DANS LES BOUTONS === */
.btn .search-highlight,
.btn-outline-primary .search-highlight,
.btn-sm .search-highlight {
    background-color: #d81b60 !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: inherit !important;
}

/* === PRÉSERVER LES STYLES ORIGINAUX === */
/* Les badges gardent leur couleur d'origine (primary, secondary, etc.) */
/* Les boutons gardent leur style Bootstrap original */


/* === IMAGES BLOG === */
.article-image img {
    transition: transform 0.3s ease;
}

.article-image img:hover {
    transform: scale(1.02);
}

/* Images de liste d'articles */
.card .img-fluid {
    transition: transform 0.3s ease;
}

.card:hover .img-fluid {
    transform: scale(1.05);
}

/* Placeholder pour articles sans image */
.bg-light .bi-file-text {
    opacity: 0.3;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .article-image img {
        max-height: 250px;
    }
}


/*
      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }

      .b-example-divider {
        width: 100%;
        height: 3rem;
        background-color: rgba(0, 0, 0, .1);
        border: solid rgba(0, 0, 0, .15);
        border-width: 1px 0;
        box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
      }

      .b-example-vr {
        flex-shrink: 0;
        width: 1.5rem;
        height: 100vh;
      }

      .bi {
        vertical-align: -.125em;
        fill: currentColor;
      }

      .nav-scroller {
        position: relative;
        z-index: 2;
        height: 2.75rem;
        overflow-y: hidden;
      }

      .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }

      .btn-bd-primary {
        --bd-violet-bg: #712cf9;
        --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

        --bs-btn-font-weight: 600;
        --bs-btn-color: var(--bs-white);
        --bs-btn-bg: var(--bd-violet-bg);
        --bs-btn-border-color: var(--bd-violet-bg);
        --bs-btn-hover-color: var(--bs-white);
        --bs-btn-hover-bg: #6528e0;
        --bs-btn-hover-border-color: #6528e0;
        --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
        --bs-btn-active-color: var(--bs-btn-hover-color);
        --bs-btn-active-bg: #5a23c8;
        --bs-btn-active-border-color: #5a23c8;
      }

      .bd-mode-toggle {
        z-index: 1500;
      }

      .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
      } */

.dropdown-menu {
  font-size:1.25rem;
}
      
h1 {
    color:#DC0276;
    font-weight: bold;
}

.fw-bold {
    font-weight: 700 !important;
}

/* a{padding:5px;margin:2px;color:#DC0276;}
a:hover {color:white;background-color: #DC0276;} */

blockquote p{ background-color: antiquewhite;padding:10px; margin:0;}
/* Ajustement automatique des positions selon le nombre de liens */
.skip-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skip-link {
  position: absolute;
  top: -100px; /* Décalé plus haut pour être complètement invisible */
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: top 0.2s ease; /* Animation fluide */
  white-space: nowrap;
  border: 2px solid #DC0276;
  z-index: 10000;
  /* S'assurer qu'ils sont complètement hors écran */
  transform: translateY(-20px);
  opacity: 0;
}

.skip-link:focus {
  top: 0;
  background: #DC0276;
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
  /* Rendre visible au focus */
  transform: translateY(0);
  opacity: 1;
}

.skip-links-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Position automatique avec CSS */
.skip-links-list li:nth-child(1) .skip-link { left: 6px; }
.skip-links-list li:nth-child(2) .skip-link { left: 180px; }
.skip-links-list li:nth-child(3) .skip-link { left: 320px; }
.skip-links-list li:nth-child(4) .skip-link { left: 460px; }
.skip-links-list li:nth-child(5) .skip-link { left: 620px; }

/* Responsive */
@media (max-width: 768px) {
  .skip-links-list li:nth-child(1) .skip-link { left: 4px; }
  .skip-links-list li:nth-child(2) .skip-link { left: 140px; }
  .skip-links-list li:nth-child(3) .skip-link { left: 240px; }
  .skip-links-list li:nth-child(4) .skip-link { left: 340px; }
  .skip-links-list li:nth-child(5) .skip-link { left: 440px; }
}