
:root {
  --menu-h:        50px;
  --frame-max-w:  720px;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}


.scroll-wrapper {
  height: calc(var(--vh) * 100);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;

  padding-top: var(--menu-h);
  scroll-padding-top: var(--menu-h); 

  -webkit-overflow-scrolling: touch;
}

.block {
  position: relative;
  height: calc(var(--vh) * 100 - var(--menu-h));
  background: #000;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  justify-content: center;
  align-items: center;
}


.player-box {
  position: relative;
  width: 100%;
  max-width: var(--frame-max-w);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-box video,
.player-box .vjs-tech {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000 !important;
}


.vjs-control-bar,                 
.playkit-control-bar,             
.playkit-control-bar-container {
  position: fixed !important;
  left: 0;
  bottom: calc(var(--menu-h) + env(safe-area-inset-bottom)) !important; 
  width: 100vw;
  z-index: 2500 !important;
  opacity: 1 !important;
  visibility: visible !important;
}


.player-box .vjs-top-bar,
.player-box .vjs-big-play-button { display: none !important; }


.playkit-overlay.playkit-active {
  background: transparent !important;
  pointer-events: none !important;
}




.top-menu,
.bottom-menu {
  position: fixed;
  width: var(--frame-max-w);
  left: 50%;
  transform: translateX(-50%);
  height: var(--menu-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0 10px;
  z-index: 3000;
}

.top-menu .d-flex { display: flex; flex-direction: row; align-items: center; }
.top-menu img     { max-height: calc(var(--menu-h) - 8px); width: auto; display: block; }

.top-menu { top: 0; }
.bottom-menu {
  bottom: 0;
  overflow-x: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.bottom-menu a {
  font-family: 'youtubeSansBold';
  font-size: .9rem;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  padding: 0 12px;
}


::-webkit-scrollbar { width: 0; height: 0; }


@media (max-width: 1024px) {
  .bottom-menu { overflow-x: auto; }
}

@media (max-width: 768px) {
  .top-menu,
  .bottom-menu {
    width: 100vw;
    left: 0;
    transform: none;
    padding: 0 8px;
  }
  .top-menu img { max-height: calc(var(--menu-h) - 10px); }
  .bottom-menu a { padding: 0 8px; font-size: .8rem; }
  .bottom-menu a + a { margin-left: 4px; }
}

@media (max-width: 480px) {
  .top-menu,
  .bottom-menu { padding: 0 5px; }
  .bottom-menu a { padding: 0 6px; font-size: .75rem; }
  .top-menu .d-flex { gap: 1rem; flex-direction: row; }
  .top-menu .d-none.d-md-flex { display: none; }
}


.top-menu .d-flex img { max-height: 30px; }
.top-menu .d-flex span:last-child { font-weight: 700; font-size: 1.25rem; }

.desktop-logo { display: block; }
.mobile-logo  { display: none; }


@media (max-width: 500px) {
  .desktop-logo { display: none; }
  .mobile-logo  {
    display: block;
    max-height: calc(var(--menu-h) - 10px);
    width: auto;
  }
  .categories-desktop { display: none; }

}

@media (min-width: 501px) {
  .mobile-logo { display: none !important; }
}

.mobile-categories a {
  transition: background-color .2s ease, color .2s ease;
}
.mobile-categories a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #105fba;
  border-radius: 4px;
  padding-left: 0.75rem;
}

  .drawer-backdrop{
    position:fixed; inset:0;
    background:rgba(0,0,0,.45); backdrop-filter:blur(2px);
    z-index:4200; opacity:0; visibility:hidden; transition:opacity .25s;
  }
  .drawer{
    position:fixed; top:0; right:0;
    width:70vw; max-width:320px; height:100vh;
    background:#fff; box-shadow:-4px 0 16px rgba(0,0,0,.15);
    transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1);
    z-index:4300; display:flex; flex-direction:column; padding:1.2rem 1rem 2rem;
  }
  .drawer.open         { transform:none; }
  .drawer-backdrop.show{ opacity:1; visibility:visible; }

  .drawer-title{
    font-family:'youtubeSansBold'; font-size:1.4rem;
    text-align:center; margin:0 0 1.4rem 0; color:#000;
  }

.drawer-close{
  position:absolute;          
  top:1rem; left:1rem;

  width:24px;                 
  height:24px;
  display:flex; align-items:center; justify-content:center;

  background:#fff;
  border:none;
  border-radius:50%;          
  font-size:0;                

  cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.12);
  transition:background .15s;
}
.drawer-close i{              
  font-size:1rem;           
  line-height:1;
  color:#000;
}

.drawer-close:hover,
.drawer-close:active{
  background:#f2f2f2;
}


  .drawer-links{
    list-style:none; margin:0; padding:0;
    display:flex; flex-direction:column; gap:.35rem;
  }
  .drawer-links a{
    display:block; padding:.7rem .8rem;
    font-family:'youtubeSansMedium'; font-size:1.05rem;
    color:#000; text-decoration:none;
    background:#fff; border:none; border-radius:8px;
    box-shadow:0 1px 4px rgba(0,0,0,.05);
    transition:background .18s, color .18s, transform .18s;
  }
  .drawer-links a:hover,
  .drawer-links a:active{
    background:#f2f5ff; color:#105fba; transform:translateY(-1px);
  }
  .drawer-links i{ margin-right:.65rem; }

  
  .hamburger{
    background:#fff; border:none; padding:1rem; margin-right: 22px; 
    border-radius:10px; font-size:1.6rem; line-height:1;
    display:flex; align-items:center; justify-content:center;
  }

  .hamburger i.fa-bars{
  font-size: calc(var(--menu-h) * .35);    
  line-height: 1;       
}


  .hamburger:hover,
  .hamburger:active{ background:#f9f9f9; }

  
  .hamburger, .drawer-close{ appearance:none; outline:none; }

  
  @media (min-width:769px){ .hamburger{ display:block; } }

  
  body.drawer-open{ overflow:hidden; }

.drawer-share{
  width:100%;
  padding:.9rem 1rem;
  font-family:'youtubeSansMedium';
  font-size:.9rem;
  text-decoration:none;
  color:#000;
  background:#fff;
  border:none;
  border-radius:8px;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  text-align:left;
  display:flex;
  align-items:center;
  gap:.65rem;
  cursor:pointer;
  transition:background .18s, color .18s, transform .18s;
}
.drawer-share:hover,
.drawer-share:active{
  background:#f2f5ff;
  color:#105fba;
  transform:translateY(-1px);
}
.drawer-share i{ font-size:1rem; }


.drawer-scroll{
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.2rem 1rem 2rem;
  -webkit-overflow-scrolling: touch;
}


.drawer-scroll::-webkit-scrollbar{
  width: 6px;                 
}
.drawer-scroll::-webkit-scrollbar-track{
  background: transparent;    
}
.drawer-scroll::-webkit-scrollbar-thumb{
  background: #c9c9c9;        
  border-radius: 4px;
}
.drawer-scroll::-webkit-scrollbar-thumb:hover{
  background: #a8a8a8;        
}


.drawer-scroll{
  scrollbar-width: thin;          
  scrollbar-color: #c9c9c9 transparent; 
}



nav.top-menu {
  height: 50px !important;    
}


#shareTop,
#hamburger {
  width: 50px !important;
  height: 50px !important;
  padding: 0.9rem !important; 
}


#shareTop i,
#hamburger i {
  font-size: 1.4rem !important;  
  color:      #3c414d !important; 
}

