/* Drawer navigation: desktop and mobile are deliberately two separate layouts. */
.vw-drawer-desktop-navigation { display: none; }

/* The category list must never make its own horizontal scroll area. */
.vw-information-drawer .vw-drawer-children {
  min-width: 0;
  max-width: 100%;
  max-height: none;
  overflow: hidden !important;
}
.vw-information-drawer .vw-drawer-children a {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .vw-mobile-menu > .vw-information-drawer {
    width: min(415px, 100vw);
    max-width: 415px;
    color: #fff;
    background: #101010;
    border: 0;
    box-shadow: 16px 0 40px rgba(0, 0, 0, .38);
  }
  .vw-information-drawer .vw-drawer-head {
    position: relative;
    display: block;
    min-height: 86px;
    border: 0;
  }
  .vw-information-drawer .vw-drawer-close {
    position: absolute;
    top: 28px;
    right: 42px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #8f8f8f;
    font-size: 28px;
    text-decoration: none;
  }
  .vw-information-drawer .vw-drawer-controls,
  .vw-information-drawer .vw-drawer-navigation,
  .vw-information-drawer .vw-drawer-socials,
  .vw-information-drawer .vw-drawer-information { display: none !important; }
  .vw-information-drawer .vw-drawer-desktop-navigation {
    margin: 0;
    padding: 10px 54px 42px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .vw-information-drawer .vw-drawer-desktop-navigation a {
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
  }
  .vw-information-drawer .vw-drawer-desktop-navigation a:last-child { border-bottom: 0; }
}

@media (max-width: 767px) {
  .vw-drawer-desktop-navigation { display: none !important; }
}

/* Keep the complete cookie decision panel visible above the viewport edge. */
#cookie {
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  width: min(440px, calc(100vw - 48px)) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 48px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box;
  opacity: 1 !important;
}
#cookie .vw-cookie-panel {
  box-sizing: border-box;
  height: auto;
}
#cookie .vw-cookie-accept,
#cookie .vw-cookie-close {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 767px) {
  #cookie {
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-height: 100dvh !important;
  }
}

/* Full news archive: preserve breathing room between the rail and cards. */
.vw-news-page #all-materials.vw-mag-more {
  padding: 42px clamp(28px, 3.2vw, 54px) 70px;
}
.vw-news-page #all-materials > header {
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .vw-news-page #all-materials.vw-mag-more {
    padding: 26px 14px 34px;
  }
}
