/* ***********************************************************************************************************|
                                          responsive page actualités                                          |
**************************************************************************************************************/

@media only screen and (max-width: 5000px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 3000px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 1320px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 1200px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/
  .wrap-actualites {
      gap: 30px;
  }

  .item-acticle-box {
      width: calc(100% - 330px);
  }

  .sidebar-actualites {
      width: 300px;
  }

  /*********************** Cartes d'articles *************************/
  .ac-body {
      padding: 20px 18px 22px;
  }

  .ac-title {
      font-size: 17px;
  }

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 1024px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/
  .shape-form.shape-3,
  .shape-form.shape-4,
  .shape-form.shape-5 {
      display: none;
  }

  /*********************** Mise en page *************************/
  .wrap-actualites {
      flex-direction: column;
      gap: 24px;
  }

  .item-acticle-box {
      width: 100%;
      order: 2;
  }

  .sidebar-actualites {
      position: static;
      display: contents;
  }

  /* Conteneur ajouté autour des widgets (actualites.php) : il doit lui aussi
     « disparaître » pour que les widgets se placent avant et après la liste */
  .wrap-sidebar-actualites {
      position: static;
      display: contents;
  }

  .sidebar-actualites .widget:nth-child(1),
  .sidebar-actualites .widget:nth-child(2) {
      order: 1;
      width: 100%;
  }

  .sidebar-actualites .widget:nth-child(3),
  .sidebar-actualites .widget:nth-child(4) {
      order: 3;
      width: 100%;
  }

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/
  .item-acticle-box {
      margin: 16px 0 26px;
  }

  .cat-list {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
  }

  .cat-list::-webkit-scrollbar {
      display: none;
  }

  .cat-list li:not(:last-child) {
      border-bottom: 0;
  }

  .cat-list a {
      padding: 8px 10px 8px 16px;
      border: 1px solid #e5e5e5;
      border-radius: 30px;
      white-space: nowrap;
  }

  .cat-list a.active {
      border-color: var(--primary-color);
  }

}


@media only screen and (max-width: 900px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 768px) {

  /*********************** Corps de page *************************/
  .wrapper-actualites {
      padding: 50px 0 80px;
  }

  /*********************** Formes décoratives *************************/
  .shape-form.shape-1,
  .shape-form.shape-2 {
      width: 300px;
      height: 300px;
  }

  .actualites-shape-box {
      display: none;
  }

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 600px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/
  .wrap-item-acticle-box {
      gap: 20px;
  }

  .item-article-card {
      width: 100%;
  }

  .ac-title {
      font-size: 18px;
  }

  .aucun-article {
      padding: 28px 22px;
  }

  /*********************** Pagination *************************/
  .pagination {
      justify-content: center;
      margin-top: 30px;
  }

  /*********************** Barre latérale *************************/
  .widget {
      padding: 24px 20px;
  }

}


@media only screen and (max-width: 485px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 425px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 375px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/
  .ac-body {
      padding: 18px 16px 20px;
  }

  .ac-title {
      font-size: 17px;
  }

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}


@media only screen and (max-width: 320px) {

  /*********************** Corps de page *************************/

  /*********************** Formes décoratives *************************/

  /*********************** Mise en page *************************/

  /*********************** Cartes d'articles *************************/

  /*********************** Pagination *************************/

  /*********************** Barre latérale *************************/

}
