/* Home v11 layout of the news and files screens and the "About server" menu. Load after bohpts-flight.css. */

/* Registration card sign: the left part of the logo file. */
.bh-sign { width: 4.3rem; aspect-ratio: 331 / 360; flex: none; background: url("../images/logo/bohpts-logo.svg") 0 50% / auto 100% no-repeat; }

.bohpts-home .notification__title { text-wrap: balance; }

@media (min-width: 1200px) {
  .bohpts-home .news__box, .bohpts-home .resources__box { position: relative; }
  .bohpts-home .resources { padding-top: 9.375rem; }
  .bohpts-home .resources__box { align-self: stretch; flex: 1 1 auto; margin: 0; gap: 0; align-items: center; }
  .bohpts-home .news__list, .bohpts-home .resources__invitebox {
    position: absolute; right: calc(var(--bh-right) - 1.25rem); top: 50%; transform: translateY(-50%);
    width: max(23rem, 276px); max-width: none; margin: 0;
  }

  .bohpts-home .news__wrap { height: auto; }
  .bohpts-home .notification__content { max-height: 9.6em; }
  .bohpts-home .news__list { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }

  .bohpts-home .resources__files { margin: 0; }
  .bohpts-home .resources__title { white-space: nowrap; }
  .bohpts-home .resources__invitebox { display: block; width: max(23rem, 244px); }
  .bohpts-home .invite { padding: 1.5rem 1.25rem 4.5rem; }
  .bohpts-home .invite__btns { margin-top: 2rem; }
  .bohpts-home .invite__btns .btn { --btn-scale: .8; }

  .bohpts-home [data-fl-part] { will-change: transform, opacity; }

  .bohpts-home .menu__sub-list {
    background: rgba(8, 11, 20, .95);
    transform: translateX(-50%) translateY(-.55rem);
    transition: opacity .14s ease .1s, transform .14s ease .1s, visibility 0s linear .24s;
  }
  .bohpts-home .menu__sub-list:hover, .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list {
    transform: translateX(-50%) translateY(0);
    transition: opacity .18s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s;
  }
  .bohpts-home .menu__sub-item { opacity: 0; transform: translateY(-.35rem); transition: color .2s, opacity .12s ease, transform .12s ease; }
  .bohpts-home .menu__sub-list:hover .menu__sub-item, .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item {
    opacity: 1; transform: none; transition: color .2s, opacity .2s ease, transform .26s cubic-bezier(.2, .8, .2, 1);
  }
  .bohpts-home .menu__sub-list:hover .menu__sub-item:nth-child(1), .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item:nth-child(1) { transition-delay: 0s, .05s, .05s; }
  .bohpts-home .menu__sub-list:hover .menu__sub-item:nth-child(2), .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item:nth-child(2) { transition-delay: 0s, .08s, .08s; }
  .bohpts-home .menu__sub-list:hover .menu__sub-item:nth-child(3), .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item:nth-child(3) { transition-delay: 0s, .11s, .11s; }
  .bohpts-home .menu__sub-list:hover .menu__sub-item:nth-child(4), .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item:nth-child(4) { transition-delay: 0s, .14s, .14s; }
  .bohpts-home .menu__sub-list:hover .menu__sub-item:nth-child(5), .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item:nth-child(5) { transition-delay: 0s, .17s, .17s; }
  .bohpts-home .menu__sub-list:hover .menu__sub-item:nth-child(n + 6), .bohpts-home [data-menu-open-sub-list]:hover ~ .menu__sub-list .menu__sub-item:nth-child(n + 6) { transition-delay: 0s, .2s, .2s; }
}
