/* Shared mobile repairs for homepage, articles and standard pages. */
@media (max-width: 1035px) {
  body .mobile-container { top: 0; width: 100%; background: #fff; }
  body .topnav { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 8.8rem; padding: 1.2rem 2rem; box-sizing: border-box; }
  body .topnav .logo { float: none; height: auto !important; padding: 0 !important; border-radius: 0; background: #fff; flex: 0 1 13rem; min-width: 0; }
  body .topnav .logo img { display: block; width: 100%; height: auto; max-height: 6.4rem; }
  body .topnav .logo:hover { transform: none; }
  body .topnav .syndiquer_bouton { display: flex; align-items: center; justify-content: center; min-height: 4.4rem; padding: .8rem 1.2rem; margin: 0 !important; }
  body .topnav .syndiquer_bouton p { font-size: 1.4rem !important; letter-spacing: 0; white-space: nowrap; }
  body .topnav .top-left-navigation { float: none; position: relative; flex: 0 0 4.4rem; height: 4.4rem; margin: 0; }
  body .topnav .toggler-wrapper { position: relative; width: 4.4rem; height: 4.4rem; margin: 0; background: #00468a; border-radius: 50%; border: 0; padding: 0; appearance: none; }
  body .topnav .toggler-bg { background: #00468a; border-radius: 50%; transform: none !important; }
  body .topnav .toggler { top: 50%; left: 50%; transform: translate(-50%,-50%); }
  body .menu-display.open { height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 399px) {
  body .topnav { gap: .8rem; padding-inline: 1.2rem; }
  body .topnav .logo { flex-basis: 10rem; }
  body .topnav .syndiquer_bouton { padding-inline: .8rem; }
  body .topnav .syndiquer_bouton p { font-size: 1.3rem !important; }
}

@media (max-width: 1035px) {
  body .footer, body .footer *, body .footer *::before, body .footer *::after { box-sizing: border-box; }
  body .footer .flex-item { min-width: 0; max-width: 100%; }
  body .footer :is(.content-wrapper,.custom-menu-class,ul.menu) { max-width: 100%; }
  body .footer :is(a,li) { white-space: normal; overflow-wrap: anywhere; }
  body .footer .custom-menu-class ul.menu li > a,
  body .footer ul.sub-menu li a { display: inline-flex; align-items: center; min-height: 4.4rem; max-width: 100%; white-space: normal; }
  body .footer .button { max-width: 100%; white-space: normal; }
  #single .wci :is(img,video,iframe) { max-width: 100%; }
  #single .wci :is(img,video) { height: auto; }
  #single .single-news { overflow-wrap: anywhere; }
  #single .single-news :is(h1,h2,h3,h4) { line-height: 1.25; letter-spacing: 0; }
  #single .back-to-articles { max-width: 100%; white-space: normal; border-radius: .4rem; }
  #single .back-to-articles :is(.bg-color,.link) { border-radius: inherit; }
  #single .back-to-articles .text { letter-spacing: 0; }
}
@media (max-width: 749px) {
  body .footer .flex-item { width: 100%; margin-right: 0; }
  body .footer .content-wrapper.flex-item { padding: 0; }
  #single .latest-news-2 .featured-news-content,
  #single .latest-news-2 .post1 { width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 2rem; }
  #single .latest-news-2 .featured-news-content > .content-wrapper { padding: 0; }
  #single .latest-news-2 .post1 { padding-inline: 0; }
}

@media (max-width: 1035px) {
  body:has(#wpadminbar) .mobile-container { top: 32px; }
  #single .single-news :is(p,li) { font-size: 1.6rem; line-height: 1.65; letter-spacing: 0; }
  #single .single-news h4 { text-transform: none; font-size: 2.4rem; }
}
@media (max-width: 782px) {
  body:has(#wpadminbar) .mobile-container { top: 46px; }
}

@media (max-width: 749px) {
  #single .latest-news-2 > .divider-150 { height: 11.2rem; }
  #single .single-news { padding-block: 2rem !important; }
}
