
:root {
  --cd-blue-primary : #0050FF;
  --cd-blue-light : #00C8FF;
  --cd-blue-dark : #000077;
}

.page-acf {
  max-width: 1188px !important;
}

.page-acf > .wp-block-columns,
.page-acf > .acf-content-block {
  /* test from .container
  width: 80%;
  margin: 30px auto 30px auto;
  padding-right: 30px;
  padding-left: 30px;
   width: 100%;
  max-width: 1388px;
  */
  margin: 30px auto 30px auto;
}

.page-acf .wp-block-columns.full-width {
  width: 100%;
}

.page-blocks {
  width: 100%;
}

.acf-content-block {
  width: 100%;
}

.acf-content-block > section {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (min-width: 48em) {
  .site-header-nav-mobile {
    display: none !important;
  }
}

/* Block Slider */
/* slide */

.rc-slider {
  position: relative;
}

.rc-slider-viewport {
  overflow: hidden;
}

@media screen and (max-width: 47.99em) {
  .rc-slider-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .rc-slider .slider-controls {
    display: none;
  }
}

.rc-slider-track {
  position: relative;
  display: flex;
  transition: transform .5s ease;
}

.rc-slider-page {
  display: flex;
  gap: 2rem;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 47.99em) {
  .rc-slider-track {
    gap: 2rem;
  }

  .rc-slider-page {
    display: contents;
  }
}

.page-acf .rc-slider-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: calc(33.333% - 1.35rem);
  max-width: calc(33.333% - 1.35rem);
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: var(--cd-blue-primary);
  height: 180px;
  position: relative;
}
@media (max-width: 61.25em ) {
  .page-acf  .rc-slider-item {
   /* test
   width: calc(50% - 2rem);*/
    width: 50%;
    max-width: calc(50% - 2rem);
  }
}
@media screen and  (max-width: 47.99em) {
  .page-acf  .rc-slider-item {
    flex: 0 0 80%;
    width: 80%;
    max-width: 80%;
    min-width: 0;
    scroll-snap-align: start;
  }
}
.rc-slider-item-image {
  flex: 0 0 auto;
  max-width: 50%;
  height: 100%;
  width: auto;
  object-fit: cover;
}
.page-acf .acf-content-block--slider .rc-slider-item-title {
  flex: 1;
  text-align: left;
  font-weight: bold;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25em;
  display: inline-flex;
  padding-left:30px;
  padding-right: 20px;
  justify-content: center;
  position: absolute;
  z-index: 2;
  background-color: var(--cd-blue-primary);
  background-image: url("../assets/images/logo-RC.png");
  background-size: 60px auto;
  background-repeat: no-repeat;
  background-position: right 15px top 55px;
  left: 40%;
  top: -40px;
  bottom: -40px;
  align-items: center;
  border-radius: 120px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  width: 60% ;
}
.slider-controls {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  transform: translate(50%, -50%);
  width: calc(100% + 77px);
  pointer-events: none;
}

.slider-controls .button-arrow {
  pointer-events: all;
}

/* Block Webradios */

.rc-webradios-title {
  margin-top: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem;
  margin-bottom: 2.0rem;
  line-height: 1.05;
  color: var(--cd-blue-primary);
}

.rc-webradios-link {
  color: var(--cd-blue-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.15rem;
  text-decoration: none;
  display: block;
  text-align: right;
  padding: 15px 20px;
  margin-left: auto;
  background-image: url("../assets/images/noun-arrow-dark.svg");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 15px auto ;
}

.rc-webradios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.rc-webradios-item {
  background-size: cover;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  box-sizing: border-box;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.rc-webradios-item-nowplaying-title {
  font-size: 20px;
  font-weight: bold;
  float: left;
  width: 100%;
}
.rc-webradios-item-nowplaying-artist {
  font-size: 16px;
  float: left;
  width: 100%;
  margin-top: 4px;
}


@media (max-width: 61.25em ) {
  .page-acf .rc-webradios-item {
    width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}
@media screen and  (max-width: 47.99em) {
  .page-acf .rc-webradios-item {
    width: 100%;
    max-width: 100%;
  }
}
.page-acf .rc-webradios-item-image {
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  max-width: 105px;
  width: 40%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.5);
}
@media screen and  (max-width: 61.25em) {
  .page-acf .rc-webradios-item-image {
    max-width: 100px;
  }
}
.rc-webradios-item-content {
  width: 75%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding-right: 80px;
  background-image: url("../assets/images/arrow-play.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 65px 65px;
}
.rc-webradios-item-title {
  display: flex;
  flex-direction: row;
  text-align: left;
  font-weight: bold;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5em;
  width: 100%;
}
.rc-webradios-item-nowplaying {
  display: block;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  width: 100%;
}
/* Block News */

.rc-news-title {
  margin-top: 0;
  margin-bottom: 2.0rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 1.05;
  color: var(--cd-blue-dark);
}

.rc-news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.rc-news-item {
  display: flex;
  flex-direction: column;
  width: calc(25% - 1.125rem);
  max-width: calc(25% - 1.125rem);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  border: 2px solid #DBDADA;
  border-radius: 20px;
}

.rc-news-item-image {
  position: relative;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background-color: #e5e5e5;
}

.rc-news-item-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rc-news-item-category {
  margin: 1rem 1rem 0rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cd-blue-primary);
}

.rc-news-item-title {
  margin: .5rem 1rem;
  font-weight: 700;
  font-size: 1.4rem;
}

.rc-news-item-date {
  font-size: 1rem;
  opacity: .7;
  font-weight: 500;
  margin: .5rem 1rem;
}

.rc-news .rc-news-link {
  color: var(--cd-blue-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.15rem;
  text-decoration: none;
  display: block;
  text-align: right;
  padding: 15px 20px;
  margin-left: auto;
  background-image: url(../assets/images/noun-arrow-dark.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 15px auto;
}

/* Block Le Direct */

.rc-ledirect .show-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 20px;
  width: 100%;
}
@media screen and  (max-width: 47.99em) {
  .rc-ledirect .show-progress {
    width: 70%;
  }
}

.rc-ledirect .show-progress__time {
  flex: 0 0 auto;
  font-size: .875rem;
  white-space: nowrap;
}
.page-acf .show-progress__time {
  color: #FFF;
  font-weight: 700;
}
.rc-ledirect .show-progress__bar {
  flex: 1;
  height: 6px;
  background-color: #3172dc;
  border-radius: 999px;
  overflow: hidden;
  width: 200px;
}

.rc-ledirect .show-progress__bar-fill {
  height: 100%;
  background-color: #fff;
  border-radius: inherit;
  transition: width .3s ease;
}

.page-acf .hero-slide-container {
  align-items: self-start;
  max-width: none;
  padding-left: 25px;
  width: 100%;
}

.page-acf .hero-slide-title {
  color: #fff;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem;
  margin-top: 25px;
}
@media screen and  (max-width: 47.99em) {
  .page-acf .hero-slide-title {
    margin-top: 10px;
  }
}
.page-acf .hero-slide-title a,
.page-acf .hero-slide-title a:hover {
 color: #fff;
}
.page-acf .hero-slide-text {
  font-weight: 500;
  font-style: normal;
  font-size: 1.0rem;
}
.page-acf .rc-ledirect .hero-slide-container .hero-slide-content .hero-slide-buttons {
  /*display: inline-block !important; */
  display: inline-flex;
  margin-top: 35px;
  margin-bottom: 10px;
}

.rc-ledirect  .hero-slide-picture {
  max-width: 50%;
  object-fit: cover;
  object-position: 55% center;
  max-height: 350px;
}
@media screen and  (min-width: 48em) {
  .page-acf .rc-ledirect .hero-slide-picture {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    max-width: 50%;
    height: 100%;
    width: 50%;
    margin-bottom: 0;
    position: relative;
  }
}
.page-acf .rc-ledirect .hero-slide-content {
  margin-top: 27px;
  padding-left: 0;
  width: 50%;
}

.page-acf .hero-slide-picture img {
  position: relative;
  top: auto;
  bottom:0;
  left: 0;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 350px;
}
.page-acf .object-fit .hero-slide-picture img {
   object-fit : contain;
  /*object-fit: cover;*/
}
@media screen and  (max-width: 47.99em) {
  .page-acf .rc-ledirect .hero-slide-content {
    width: 100%;
    margin-top: 0;
  }
  .page-acf .rc-ledirect  .hero-slide-picture {
    max-width: 100%;
  }
  .page-acf  .hero-slide-picture img {
    max-height: 250px;
  }
  /*
  .page-acf  .hero-slide-container:before {
      padding-top: 1px !important;
      display: block;
      content: "";
    }
   */
}



.rc-ledirect .hero-slide {
  height: auto !important;
  border-radius: 15px;
}
.page-acf .hero-slide.direct {
  background-color: var(--cd-blue-primary) ;
}
.page-acf .rc-ledirect .hero-slide-headline {
  background-color: #3172dc;
  display: block;
  padding: 6px 15px 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}
.page-acf .rc-ledirect .hero-slide-headline::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: #fff;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.page-acf .rc-contactmax .rc-contactmax-headline {
  background-color: #3172dc;
  display: block;
  padding: 6px 15px 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin-bottom: 0;
}

.page-acf .rc-contactmax .rc-contactmax-headline::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 50%;
  background-color: #fff;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.rc-ledirect {
  max-height: 350px;
}

.page-acf .rc-ledirect .hero-slide-buttons a.button {
  background-color: #fff;
  border-radius: 25px;
  display: inline-block;
  font-size: 0.85rem;
  padding: 13px 16px 13px 40px;
  text-transform: uppercase;
  background-image: url("../assets/images/arrow-right-primary.svg") ;
  background-size: 16px 16px;
  background-position: left 15px center;
  background-repeat: no-repeat;
  text-align: left;
  /*min-width: 190px;*/
  white-space: nowrap;
  word-break: keep-all;
  line-height: normal;
}
.page-acf .rc-ledirect .hero-slide-buttons a.button:hover {
  background-color: var(--cd-blue-dark);
  background-image: url("../assets/images/arrow-right.svg") ;
  color:#fff;
}
.page-acf .rc-ledirect .hero-slide-buttons a.button.button--dark {
  background-color: var(--cd-blue-primary);
  background-image: url("../assets/images/ico-video-white.svg") ;
  background-size: 20px auto;
  background-position: left 14px center;
  background-repeat: no-repeat;
  border: 1px solid #fff;
  color: #fff;
}
.page-acf .rc-ledirect .hero-slide-buttons a.button.button--dark:hover {
  background-color: #fff;
  background-image: url("../assets/images/ico-video-dark-blue.svg") ;
  color: var(--cd-blue-dark);
}
@media screen and  (max-width: 47.99em) {
  .page-acf .hero-slide-buttons .button {
    width: auto;
  }
}
/* Block Banner */
.page-acf .rc-banner {
  position: relative;
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 30rem;
}
.page-acf .rc-banner img {
  width: auto;
  height: auto;
  max-height: 30rem;
  max-width: 100%;
  margin: 0 auto;
}
.page-acf .rc-banner-image-desktop {
  display: none;
}
.page-acf .rc-banner-image-mobile {
  display: block;
}
@media (min-width: 48em) {
  .page-acf .rc-banner-image-desktop {
    display: block;
  }
  .page-acf .rc-banner-image-mobile {
    display: none;
  }
}
.page-acf .rc-banner-title {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  text-align: center;
  color: #fff;
  background: var(--cd-blue-dark);
  padding: 15px 30px 15px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.7rem;
}

/* Block Replay */

.rc-replay {
  background: none !important;
  padding: 0;
}

.rc-replay .container {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.rc-replay .replay-title {
  color: var(--cd-blue-primary); !important;
  margin-bottom: 2.0rem;
}

.rc-replay .replay-controls {
  top: 26%;
  width: calc(100% + 60px);
}

.rc-replay #tns2 > .tns-item {
  width: calc(6.48%) !important;
  padding-right: 12px;
}

.rc-replay .tns-inner {
  margin: 0;
}

.rc-replay .card h3 {
  color: #000;
  /*text-transform: capitalize;*/

  font-weight: 600;
  font-size: 1.5em;
  padding: 0 5px 0 5px;
}

.rc-replay .replay-link {
  color: var(--cd-blue-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.15rem;
  text-decoration: none;
  display: block;
  text-align: right;
  padding: 15px 20px;
  margin-left: auto;
  background-image: url(../assets/images/noun-arrow-dark.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 15px auto;
}

/* Block Playlist */
.rc-playlist {
  padding-top: 0 !important
}

.rc-playlist .tns-nav {
  display: none;
}

.rc-playlist .playlist-controls {
  width: calc(100% + 77px);
}

/* Block Contact Max */
.acf-content-block--contactmax {
  background-color: var(--cd-blue-dark);;
  border-radius: 15px;
  display: flex;
  height: 100%;
  padding-bottom: 25px;
  padding-top: 25px;
}
@media screen and  (max-width: 47.99em) {
  .acf-content-block--contactmax {
    padding-bottom: 0;
    padding-top: 0;
  }
}
.rc-contactmax {
    position: relative;
    width: 100%;
    /*aspect-ratio: 1 / 1;
    overflow: hidden;*/

    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;

    text-align: center;
    color: #fff;
    padding: 0 2rem;
    box-sizing: border-box;
    /*max-height: 400px
    max-height: 315px;;*/
}
@media screen and  (min-width: 48em) {
  .rc-contactmax {
    margin-top: 26px !important;
  }
}
@media screen and  (max-width: 47.99em) {
  .rc-ledirect {
    max-height: none;
  }
  .acf-content-block--contactmax {
    height: auto;
  }
  .rc-contactmax {
    max-height: none;
  }
}
/*
.rc-contactmax img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}*/
.rc-contactmax img {
  width: 50%;
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 47.99em) {
  .page-acf .rc-contactmax {
    flex-direction: row;
    align-items: center;
    aspect-ratio: auto;
  }
  .page-acf .rc-contactmax-content {
    width: 50%;
    order: 1;
  }
  .page-acf .rc-contactmax   img {
    width: 50%;
    order: 2;
    margin: 0;
  }
}

.rc-contactmax::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-acf .rc-contactmax-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 10px;
}


.rc-contactmax-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
}
.page-acf .rc-contactmax-content .rc-contactmax-link {
  background-color: #fff;
  background-image: url("../assets/images/arrow-right-blue-dark.svg") ;
  background-size: 16px 16px;
  background-position: left 20px center;
  background-repeat: no-repeat;
  border-radius: 25px;
  border: 1px solid transparent;
  color: var(--cd-blue-dark);
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 13px 16px 13px 45px;
  text-transform: uppercase;
  z-index: 10;
}

.page-acf .rc-contactmax-content .rc-contactmax-link:hover {
  background-color: var(--cd-blue-dark);
  background-image: url("../assets/images/arrow-right.svg") ;
  border-color: #fff;
  color:#fff;
}



/* *** Header *** */
.sso-sb-container .sso-sb-buttons  #sso-sb-login-button {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12em;
  font-weight: 600;
  text-transform: uppercase;
  background-image:  url("../assets/images/ico_user-profile.svg");
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 30px 30px;
  background-color: transparent;
  padding-left: 38px;
  top: 15px;
}
.sso-sb-container .sso-sb-buttons  #sso-sb-login-button.sso-login-button.icon::before {
  display: none;
}
/* old
.sso-login-button.icon::before {
  display: inline-block;
  width: 22px;
  height: 22px;
  content: "";
  margin-right: 7px;
  background-image:  url("../assets/images/ico_user-profile.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}*/
@media screen and (max-width: 47.99em) {
  .sso-sb-container .sso-sb-buttons  #sso-sb-login-button  {
    background-size: 40px 40px;
    text-indent: -500px;
    overflow: hidden;
    width: 40px;
    height: 40px;
  }
}

/* test recup mobile actuel */
/* mobile & desktop */

@media (max-width: 47.99em) and (min-width: 48em) {
  .site-header .site-header-top {
    padding: 8px 30px 12px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-height: 70px;
  }
}
/* desktop */
@media  (min-width: 48em) {
  .site-header .site-header-mobile-burger {
    /* old
    display: -webkit-box;
    display: -ms-flexbox;
     display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;*/
    height: 1px;
    width: 1px;
  }
  .site-header .site-header-mobile-burger button {
   display: none;
  }
}


/* header new structure */

.site-header-wrapper  {
  flex-wrap: wrap;
}
.site-header-bottom-menu {
  /* temporaire ! */
  width: 100%;
  background-color: #fff;
  position: relative;
}
.site-header-bottom-menu .site-header-nav {
  display: flex;
  height: 60px;
  margin: auto;
  width: 100%;
}
@media (min-width: 61.25em) {
  .site-header-nav-list {
    margin: auto;
  }
}
.site-header-bottom-menu .site-header-nav-item .site-header-nav-link  {
  color: var(--cd-blue-primary);
}
.site-header-bottom-menu .site-header-nav-item .site-header-nav-link:hover  {
  color: var(--cd-blue-dark);
}

/* .site-header-bottom-menu .site-header-search {
  position: absolute;
  top: 33%;
  right: 0;
} */
.site-header-search-button .svg-search {
  display: none;
}
.site-header-search-button {
  position: relative;
  width: 19px;
  height: 19px;
  z-index: 0;
}
.site-header-search-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid #0050FF;
  border-radius: 50%;
  box-sizing: border-box;
}
.site-header-search-button::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 5px;
  width: 2px;
  height: 8px;
  background-color: #0050FF;
  border-radius: 1px;
  transform: rotate(-45deg);
}
.site-header-top {
  height: 100%;
  width: 100%;
}
@media (min-width: 48em) {
  .site-header-logo {
    padding-right: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
  }
  .site-header {
    height: 70px;
  }
}
.site-container:has(.page-acf) {
  /* padding-top: 80px !important; */
}
.site-header.has-search .site-header-search input {
  z-index: 10;
}
.site-header-search-close {
  z-index: 10;
}
.rc-instagram-reels .rc-instagram-reels-title {
  padding: 30px 30px 30px 30px;
  color: #fff;
}
.rc-instagram-reels .rc-instagram-reels-wrapper {
  padding: 0 30px 0 30px;
}
.rc-instagram-reels #sbi_images {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 1rem;
}
.rc-instagram-reels #sbi_images .sbi_item {
  flex: 0 0 calc((100% - 4 * 1rem) / 5) !important;
  width: calc((100% - 4 * 1rem) / 5) !important;
  max-width: none !important;
  scroll-snap-align: start;
}
/* masquer la scrollbar pour un rendu plus "carrousel" */
.rc-instagram-reels #sbi_images {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rc-instagram-reels #sbi_images::-webkit-scrollbar {
  display: none;
}
.rc-instagram-reels-wrapper {
    position: relative;
}
.rc-instagram-reels-controls {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    left: -38px;
    width: calc(100% + 78px);
}
.rc-instagram-reels-controls .button-arrow {
    pointer-events: all;
}
@media (max-width: 47.99em) {
    .rc-instagram-reels-controls {
        display: none;
    }
}
@media screen and  (min-width: 50em) {
  .sso-sb-buttons {
    position: relative;
    right: 260px;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]:has(.rc-ledirect) {
    flex-basis: calc(66.66% + 30px) !important;
  }
}

.rc-instagram-reels #sbi_images .sbi_item {
  /* aspect-ratio: 274 / 427 !important; */
}

#sb_instagram .sbi_photo {
  height: 100% !important;
}

.rc-instagram-reels #sbi_images .sbi_item img {
  object-fit: contain !important;
  background-color: transparent;
}

.button-arrow--third:after {
  border: 1px solid #0050FF;
  /* background: #fff; */
}

.button-arrow--third:before {
  border: 2px solid #0050FF;
  /* background: #fff; */
  z-index: 10;
}

.button-arrow--third .svg {
  z-index: 10;
}

.button-arrow--third:hover:after {
  border: 1px solid #fff;
  z-index: 10;
}

.button-arrow--third:hover:before {
  border: 0;

}

.site-header-buttons {
  position: absolute;
  top: 10px;
  right: 0;
}

@media screen and  (max-width: 47.99em) {
  .page-acf .rc-ledirect .hero-slide-container .hero-slide-content .hero-slide-buttons {
    display: block;
    max-height: 22rem;
    width: 100%;
    margin-bottom: 0;
  }
  .page-acf .rc-ledirect .hero-slide-buttons a.button {
    /* width: 100%;
    margin: 0 0 10px 0; */
  }
  .rc-ledirect .hero-slide {
    /*max-height: 25rem;*/
  }
  .page-acf .rc-ledirect .hero-slide-picture {
    max-width: 100%;
    top: 35%;
    right: -60%;
    display: none;
  }
  .page-acf .hero-slide-container {
    /*max-height: 25rem;*/
    box-shadow: none;
    padding-left: 0 !important;
  }
  .hero-slide-container:before {
    padding-top: 0 !important;
  }
  .rc-contactmax-title {
    margin-top: 20px;
  }
  .page-acf .rc-contactmax-content .rc-contactmax-link {
    margin-bottom: 20px;
  }
  .page-acf .rc-contactmax img {
    /* right: 10px;
    position: absolute; */
  }
  .page-acf .rc-banner-title {
    padding: 7px 20px 7px 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    top: 80%;
  }
  .rc-replay #tns2 > .tns-item {
    width: calc(4.48%) !important;
  }

  .rc-news-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 0 0;
    padding: 0 1.5rem 0.5rem 1.5rem;
  }
  .rc-news-grid .rc-news-item {
    flex: 0 0 80%;
    width: 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
  /* optionnel : cacher la scrollbar pour un rendu plus proche du carrousel */
  .rc-news-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rc-news-grid::-webkit-scrollbar {
    display: none;
  }
  .site-header-mobile-broadcast-button {
    display: none !important;
  }
  .site-header:not(.is-open).now-playing .site-header-logo a {
    transform: none;
    opacity: 100%;
    z-index: 10;
    pointer-events: auto !important;

  }
  .site-header:not(.is-open).now-playing .site-header-infos-wrapper {
    display: none;
  }
  .site-header-buttons {
    right: 10px;
    z-index: 10;
  }
  .site-header-bottom-menu .site-header-nav {
    height: auto;
  }
  .sso-sb-container {
    display: none;
  }
  .hero-slide-picture:before {
    padding-top: 0%;
  }
  .rc-instagram-reels #sbi_images .sbi_item {
    flex: 0 0 45% !important;
    width: 45% !important;
  }
  .rc-webradios-title {
    font-size: 1.6rem;
  }
  .playlist-title {
    font-size: 1.6rem;
  }
  .playlist-title img {
    max-width: 85px
  }
  .rc-instagram-reels-title {
    font-size: 1.6rem;
  }
  .replay-title {
    font-size: 1.6rem;
  }
  .rc-news-title {
    font-size: 1.6rem;
  }
  .page-acf .rc-contactmax .rc-contactmax-headline {
    position: relative;
    top: 30px;
    left: 3.5rem;
  }
  .page-acf .rc-contactmax-content {
    margin-top: 0 !important;
  }
  .page-acf .acf-content-block--slider .rc-slider-item-title {
    font-size: 1.1em;
    padding-top: 3% !important;
    padding-left: 22px;
    padding-right: 10px;
    left: 35%;
    width: 65%;
    background-position: right 10px top 50px;
  }
  .rc-slider-item-image {
    max-width: 45%;
  }
  .page-acf .rc-slider-item {
    height: 140px !important;
    max-width: 280px !important;
  }
  .site-header-nav-mobile {
    height: auto !important;
    color: #000;
    width: max-content !important;
    padding-left: 0;
    padding-right: 0;
  }
  .site-header-nav-mobile .site-header-nav-list {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 1;
    height: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-header-nav-mobile ul.site-header-nav-list li {
    width: auto;
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
  }
  .site-header-nav-mobile ul.site-header-nav-list li a {
    font-size: 1.4em;
  }
  .site-header {
    background-color: transparent;
    box-shadow: none;
  }
  .site-header-top {
    background-color: #0050FF;
  }
  .site-header-bottom-menu {
    background-color: #fff;
    box-shadow: none;
  }
  .site-header.is-open .site-header-nav-mobile {
    display: none;
  }
  .site-container {
    padding-top: 100px;
  }
	.acf-content-block .hero-slide-content {
    position: relative !important;
    padding: 20px 18px !important;
  }
	.page-acf .rc-contactmax {
		padding: 0 0.7rem !important;
	}
	.page-acf .rc-contactmax img {
		padding: 0 10px 0 10px !important;
	}
}
