/* NEWS DAY URDU — MOBILE MENU, TWO COLUMNS (PREVIEW ONLY)
   Load after newsday-header-live-merge-preview-20261023.css
   and ndu-merge-preview-icons.css. Desktop stays unchanged. */
@media (max-width: 900px) {
  /* The mobile Menu toggle is unchanged. Only its opened menu is compact. */
  .ndu-v2 .nd-nav.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    direction: rtl;
    align-items: stretch;
  }

  .ndu-v2 .nd-nav.is-open > .nd-nav-item,
  .ndu-v2 .nd-nav.is-open > .nd-more {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0;
  }

  .ndu-v2 .nd-nav.is-open > .nd-nav-item,
  .ndu-v2 .nd-nav.is-open > .nd-more > button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 106px !important;
    padding: 8px 5px !important;
    border-radius: 18px !important;
    white-space: normal !important;
    text-align: center;
    gap: 2px;
  }

  .ndu-v2 .nd-nav.is-open .ndu-icon-link > .ndu-nav-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 0 1px !important;
  }

  .ndu-v2 .nd-nav.is-open .ndu-icon-link > .ndu-nav-icon svg {
    width: 22px;
    height: 22px;
  }

  .ndu-v2 .nd-nav.is-open .nd-nav-item b,
  .ndu-v2 .nd-nav.is-open .nd-more > button b {
    font-size: 21px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }

  .ndu-v2 .nd-nav.is-open .nd-nav-item small,
  .ndu-v2 .nd-nav.is-open .nd-more > button small {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  /* Keep 'More' sublinks readable and within the full grid width. */
  .ndu-v2 .nd-nav.is-open > .nd-more.is-open {
    grid-column: 1 / -1;
  }
  .ndu-v2 .nd-nav.is-open > .nd-more.is-open > .nd-more-menu {
    width: 100%;
    box-sizing: border-box;
  }
}
