/* =========================================================
   Beta banner
   Affichée sur accueil / explorer / single Ringotut
========================================================= */

.ro-beta-banner{
  width: auto;
  background: var(--ro-papaw-50);
  border-bottom: 1px solid var(--ro-papaw-200);
  margin-left: var(--ro-sidebar-w, 72px);
}

.ro-beta-banner__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ro-space-16);

  width: 100%;
  padding: var(--ro-space-10) var(--ro-space-24);
}

.ro-beta-banner__content{
  display: flex;
  align-items: center;
  gap: var(--ro-space-10);
  min-width: 0;
}

.ro-beta-banner__icon{
  flex: 0 0 auto;
  color: var(--ro-papaw-700);
  font-size: var(--ro-font-size-l);
  line-height: 1;
}

.ro-beta-banner__text{
  margin: 0;
  color: var(--ro-dolphing-800);
  font-size: var(--ro-font-size-s);
  line-height: var(--ro-line-height-base);
}

.ro-beta-banner__text strong{
  color: var(--ro-dolphing-900);
  font-weight: var(--ro-font-weight-bold);
}

.ro-beta-banner__close{
  appearance: none;
  border: 1px solid var(--ro-papaw-300);
  background: var(--ro-bg-0);
  color: var(--ro-papaw-800);

  min-height: var(--ro-size-36);
  padding: 0 var(--ro-space-12);
  border-radius: var(--ro-radius-8);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font: inherit;
  font-size: var(--ro-font-size-s);
  font-weight: var(--ro-font-weight-bold);
  white-space: nowrap;
  cursor: pointer;
}

.ro-beta-banner__close:hover{
  background: var(--ro-papaw-100);
}

@media (max-width: 768px){
  .ro-beta-banner{
    margin-left: 0;
  }
}

@media (max-width: 680px){
  .ro-beta-banner__inner{
    align-items: flex-start;
    flex-direction: column;
    gap: var(--ro-space-8);
    padding: var(--ro-space-10) var(--ro-space-16);
  }

  .ro-beta-banner__content{
    align-items: flex-start;
  }

  .ro-beta-banner__close{
    align-self: flex-start;
  }
}