/* CARP RUSH TV - TEST16 : raccourcis dans le contenu, jamais dans le header. */
body .crtv-home-shortcuts {
  --crtv-home-pill: #254660;
  --crtv-home-text: #fff;
  --crtv-home-active: #d50022;
  --crtv-home-active-text: #fff;
  display: flex !important;
  align-items: center !important;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 7px 12px;
  margin: 0 0 12px !important;
  background: #f1f5f8;
  border: 1px solid #e1e8ee;
  /* TEST16 : bordure uniforme, sans filet rouge decoratif. */
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(16, 34, 48, .045);
  color: #172b3b;
  overflow: hidden;
}
body .crtv-home-shortcuts .crtv-home-shortcuts__label {
  flex: 0 0 auto;
  display: inline-block;
  color: #4b6172;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .65px;
  text-transform: uppercase;
  white-space: nowrap;
}
body .crtv-home-shortcuts .crtv-home-shortcuts__scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  touch-action: pan-x pan-y;
}
body .crtv-home-shortcuts .crtv-home-shortcuts__scroll::-webkit-scrollbar { display: none; }
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  width: max-content !important;
  min-width: 100%;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li {
  display: block !important;
  position: static !important;
  flex: 0 0 auto !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  scroll-snap-align: start;
}
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 35px !important;
  height: auto !important;
  padding: 9px 16px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  background: var(--crtv-home-pill) !important;
  color: var(--crtv-home-text) !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: .12px;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background-color .16s ease, transform .16s ease;
}
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a:hover,
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a:focus-visible {
  background: var(--crtv-home-active) !important;
  color: var(--crtv-home-active-text) !important;
  text-decoration: none !important;
}
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a:focus-visible {
  outline: 2px solid #172b3b;
  outline-offset: 2px;
}
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li.current-menu-item > a,
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li.current_page_item > a,
body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li.current-menu-ancestor > a {
  background: var(--crtv-home-active) !important;
  color: var(--crtv-home-active-text) !important;
}
@media (max-width: 700px) {
  body .crtv-home-shortcuts {
    gap: 0;
    padding: 6px 9px;
    margin-bottom: 10px !important;
    border-radius: 10px;
  }
  body .crtv-home-shortcuts .crtv-home-shortcuts__label { display: none !important; }
  body .crtv-home-shortcuts ul.crtv-home-shortcuts__list { gap: 7px !important; }
  body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a {
    min-height: 35px !important;
    padding: 8px 13px !important;
    font-size: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a { transition: none; }
}


/* CARP RUSH TV TEST27 : navigation rapide un peu plus lisible.
 * Aucune modification du header, des videos ou de la navigation WordPress. */
@media(min-width:701px){
  body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a{
    font-size:13px !important;
    line-height:1.35 !important;
    letter-spacing:.16px;
  }
}
@media(max-width:700px){
  body .crtv-home-shortcuts ul.crtv-home-shortcuts__list > li > a{
    font-size:13px !important;
    line-height:1.35 !important;
    min-height:38px !important;
    padding:9px 14px !important;
    letter-spacing:.15px;
  }
}
