@media (min-width: 900px) {
  body:has(.corbo-lex-pop) main.wrap {
    max-width: none;
    margin-right: 440px;
    margin-left: 24px;
    padding-right: 24px;
  }

  .corbo-lex-pop,
  .corbo-lex-pop[hidden] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 420px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
    overflow-y: auto;
    z-index: 100;
  }
}

@media (max-width: 899px) {
  .corbo-lex-pop:not([hidden]) {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 65vh;
    border-radius: 12px 12px 0 0;
  }
}
