/* NN_MOBILE_REFINE_20261111_V2
   Homepage only. Overrides V1 after it is loaded.
   Header row 1: logo/brand + language + signed-in reader name.
   Row 2: Home/social/Share. Row 3: full-width Search.
   No alteration to desktop, other pages, JS, push or social actions. */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .masthead {
    grid-template-columns: minmax(0,1fr) max-content max-content !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 5px !important;
    padding: 7px 8px 6px !important;
    align-items: center !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    gap: 4px !important;
    max-width: 100% !important;
    width: 100%;
    min-width: 0 !important;
    overflow: hidden;
    align-items: center !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand-mark {
    transform: translateY(4px) scale(1.12) !important;
    width: 44px !important;
    height: 46px !important;
    flex: 0 0 44px !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand-type { min-width: 0 !important; overflow: visible; transform: translateY(3px) !important; }
  body.nn-mobile-layout-v1 .masthead .brand strong {
    position: relative !important;
    top: 3px !important;
    font-size: clamp(14px,3.9vw,18px) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand small {
    font-size: clamp(8px,2.1vw,10px) !important;
    line-height: 1.1 !important;
    letter-spacing: .7px !important;
    margin-top: 2px !important;
    white-space: nowrap;
  }
  /* The phone browser's URL bar is outside website control.
     The tagline stays on desktop; remove only from the compact mobile header. */
  body.nn-mobile-layout-v1 .masthead .brand .tagline { display: block !important; font-size: 9px !important; line-height: 1.25 !important; margin-top: 2px !important; white-space: normal !important; overflow-wrap: normal; }
  body.nn-mobile-layout-v1 .masthead .langs {
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.nn-mobile-layout-v1 .masthead .langs a {
    padding: 4px 6px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile {
    position: static !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    width: auto !important;
    max-width: 114px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile :is(.nn-reader-header-guest,summary) {
    font-size: 11px !important;
    min-height: 30px;
    max-width: 114px;
    gap: 3px !important;
    padding: 4px 5px !important;
    white-space: nowrap;
  }
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile .nn-reader-display-name {
    max-width: 78px !important;
  }
  body.nn-mobile-layout-v1 .masthead > .nn-mobile-social {
    grid-column: 1/-1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    min-width: 0;
  }
  body.nn-mobile-layout-v1 .masthead .search {
        grid-column: 1/-1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateY(-1px) !important;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a,
  body.nn-mobile-layout-v1 .nn-mobile-category-more > summary {
    font-size: clamp(10px,2.85vw,12px) !important;
    min-height: 44px;
  }
}
@media screen and (max-width:359px) {
  body.nn-mobile-layout-v1 .masthead {
    column-gap: 3px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand-mark {
    width: 33px !important;
    height: 37px !important;
    flex-basis: 33px !important;
  }
  body.nn-mobile-layout-v1 .masthead .brand {gap: 3px !important;}
  body.nn-mobile-layout-v1 .masthead .brand strong {font-size: 11.5px !important;}
  body.nn-mobile-layout-v1 .masthead .brand small {font-size: 7.5px !important;letter-spacing:.3px !important;}
  body.nn-mobile-layout-v1 .masthead .langs a {padding:4px 4px !important;font-size:10.5px !important;}
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile {max-width: 92px !important;}
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile :is(.nn-reader-header-guest,summary) {
    max-width: 92px !important;
    font-size: 10px !important;
    padding: 3px !important;
  }
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile .nn-reader-display-name {max-width: 58px !important;}
}


/* NN_MOBILE_CATEGORIES_COMPACT_V3 */
@media screen and (max-width: 700px) {
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a {
    grid-column: span 4 !important;
    box-sizing: border-box !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 1px !important;
    background: #165B43 !important;
    color: #ffffff !important;
    border: 1px solid #165B43 !important;
    font-size: clamp(9px, 2.5vw, 11px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
  }

  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a:nth-child(n+11) {
    grid-column: span 5 !important;
  }

  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a.nn-mobile-category-district {
    background: #E9BE58 !important;
    color: #183E30 !important;
    border-color: #E9BE58 !important;
  }
}


/* NN_PANCHANG_INSIDE_HEADER_V1 */
@media screen and (max-width: 700px) {
  body.nn-mobile-layout-v1.nn-panchang-top-v1 .masthead {
    position: relative !important;
    padding-top: 39px !important;
  }

  body.nn-mobile-layout-v1.nn-panchang-top-v1
  .masthead > .nn-panchang-bar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f4f7f4 !important;
    border-radius: 0 0 12px 12px !important;
    z-index: 60 !important;
  }
}


/* NN_PANCHANG_SCROLL_RESTORE_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1.nn-panchang-top-v1 .nn-panchang-scroll {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
}

/* NN_PANCHANG_DUPLICATE_DATE_FIX_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1.nn-panchang-top-v1 .nn-mobile-layout-date {
    display: none !important;
  }
}


/* NN_PANCHANG_LEFT_CALENDAR_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1.nn-panchang-top-v1
  .nn-panchang-left-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    padding: 0 !important;
    background: #165B43 !important;
    border: 0 !important;
    border-radius: 0 0 0 10px !important;
    cursor: pointer !important;
  }
}


/* NN_PANCHANG_RECTANGULAR_FINAL_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1.nn-panchang-top-v1
  .masthead > .nn-panchang-bar {
    top: 4px !important;
    border-radius: 0 !important;
  }

  body.nn-mobile-layout-v1.nn-panchang-top-v1
  .nn-panchang-left-icon,
  body.nn-mobile-layout-v1.nn-panchang-top-v1
  .nn-panchang-open {
    border-radius: 0 !important;
  }
}

/* NN_PANCHANG_SIDE_SPACING_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1.nn-panchang-top-v1
  .masthead > .nn-panchang-bar {
    left: 4px !important;
    right: 4px !important;
    width: auto !important;
  }
}


/* NN_BREAKING_COMPACT_FINAL_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 main .ticker {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin-top: -5px !important;
    margin-bottom: 6px !important;
  }

  body.nn-mobile-layout-v1 main .ticker > b {
    padding: 4px 10px !important;
  }

  body.nn-mobile-layout-v1 main .ticker > .ticker-viewport {
    padding: 0 8px !important;
  }
}


/* NN_LEAD_PAUSE_BOTTOM_RIGHT_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .nn-lead-carousel .nn-lead-toggle {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    transform: none !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}


/* NN_CAROUSEL_WHITE_ARROWS_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .nn-lead-carousel .nn-lead-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    width: 30px !important;
    height: 36px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.nn-mobile-layout-v1 .nn-lead-carousel .nn-lead-triangle {
    scale: 1.2 !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8)) !important;
  }

  body.nn-mobile-layout-v1 .nn-lead-carousel .nn-lead-nav:focus-visible {
    outline: 2px solid #F0CA72 !important;
    outline-offset: 2px !important;
  }
}


/* NN_MOBILE_ACCOUNT_LANGUAGE_SWAP_V1 */
@media screen and (max-width:700px) {

  /* Reader account on left */
  body.nn-mobile-layout-v1 .masthead .nn-reader-header-mobile {
    grid-column: 2 !important;
    height: 28px !important;
    min-height: 28px !important;
    box-sizing: border-box !important;
  }

  /* Hindi/EN on right */
  body.nn-mobile-layout-v1 .masthead .langs {
    grid-column: 3 !important;
    height: 28px !important;
    min-height: 28px !important;
    box-sizing: border-box !important;
  }

  body.nn-mobile-layout-v1 .masthead .langs a {
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 7px !important;
  }

  body.nn-mobile-layout-v1 .masthead
  .nn-reader-header-mobile :is(
    .nn-reader-header-guest,
    .nn-reader-header-account > summary
  ):not([hidden]) {
    height: 28px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 7px !important;
  }
}


/* NN_READER_BUTTON_HEIGHT_FINAL_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .masthead
  .nn-reader-header-mobile .nn-reader-header-guest,
  body.nn-mobile-layout-v1 .masthead
  .nn-reader-header-mobile .nn-reader-header-account > summary {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    box-sizing: border-box !important;
  }
}


/* NN_MOBILE_TWO_ROW_NAV_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .nn-mobile-category-grid {
    grid-template-columns:repeat(12,minmax(0,1fr)) !important;
    gap:5px !important;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > :is(a,details) {
    grid-column:span 3 !important;
    min-width:0;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > :is(a,details):nth-child(n+5) {
    grid-column:span 4 !important;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > a,
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > details > summary {
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:40px !important;
    height:40px !important;
    padding:3px 2px !important;
    background:#165B43 !important;
    color:#fff !important;
    border:1px solid #165B43 !important;
    border-radius:5px;
    font:700 clamp(9px,2.6vw,11px)/1.15 Hind,Arial,sans-serif !important;
    text-decoration:none;
    overflow-wrap:anywhere;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > details > summary {
    cursor:pointer;
    list-style:none;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > details > summary::-webkit-details-marker {
    display:none;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > .nn-mobile-category-all > summary {
    background:#E9BE58 !important;
    color:#183E30 !important;
    border-color:#E9BE58 !important;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid > details[open] {
    z-index:100;
  }
  body.nn-mobile-layout-v1 .nn-mobile-category-grid .nn-mobile-category-more-panel {
    background:var(--card);
    border:1px solid #E9BE58;
    box-shadow:0 8px 24px rgba(0,0,0,.16);
  }
}


/* NN_MOBILE_EXPAND_SEARCH_V1 */
.nn-mobile-search-toggle {
  display:none !important;
}

@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1.nn-search-ready
  .masthead .head-actions > form.search {
    display:none !important;
  }

  body.nn-mobile-layout-v1.nn-search-ready.nn-search-open
  .masthead .head-actions > form.search {
    display:flex !important;
    grid-column:1 / -1 !important;
    grid-row:3 !important;
    width:100% !important;
    height:40px !important;
    min-height:40px !important;
    transform:none !important;
    margin:0 !important;
  }

  body.nn-mobile-layout-v1.nn-search-ready
  .masthead > .nn-mobile-social
  .nn-mobile-search-toggle {
    display:inline-flex !important;
    flex:0 0 30px;
    width:30px;
    height:30px;
    align-items:center;
    justify-content:center;
    padding:5px;
    margin:0 2px;
    border:1px solid #d4e1d9;
    border-radius:6px;
    background:var(--card);
    color:#165B43;
    cursor:pointer;
  }

  body.nn-mobile-layout-v1
  .nn-mobile-search-toggle svg {
    width:18px;
    height:18px;
  }

  body.nn-mobile-layout-v1
  .nn-mobile-search-toggle:focus-visible {
    outline:2px solid #E9BE58;
    outline-offset:2px;
  }
}


/* NN_MOBILE_SHARE_STACK_FIX_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .masthead {
    z-index:90 !important;
  }
}

/* NN_MOBILE_SEARCH_RIGHT_2PX_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1
  .masthead > .nn-mobile-social
  .nn-mobile-search-toggle {
    transform:translateX(5px) !important;
  }
}


/* NN_MOBILE_HEADER_COMPACT_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1 .masthead {
    row-gap:2px !important;
    padding-bottom:1px !important;
  }

  body.nn-mobile-layout-v1
  .masthead > .nn-mobile-social {
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
}


/* NN_MOBILE_SHARE_ICON_ONLY_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1
  .masthead > .nn-mobile-social
  .nn-share-trigger > span {
    display:none !important;
  }

  body.nn-mobile-layout-v1
  .masthead > .nn-mobile-social
  .nn-share-trigger {
    min-width:34px;
    justify-content:center;
  }
}


/* NN_MOBILE_SHARE_WIDTH_40_V1 */
@media screen and (max-width:700px) {
  body.nn-mobile-layout-v1
  .masthead > .nn-mobile-social
  .nn-share-widget {
    flex:0 0 40px !important;
    width:40px !important;
    min-width:40px !important;
    max-width:40px !important;
  }

  body.nn-mobile-layout-v1
  .masthead > .nn-mobile-social
  .nn-share-trigger {
    box-sizing:border-box !important;
    width:40px !important;
    min-width:40px !important;
    max-width:40px !important;
    height:36px !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
}


/* NN_MOBILE_SOCIAL_EQUAL_GAP_V1 */
@media screen and (max-width:700px) {

  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-social-inner {
    justify-content:flex-end !important;
    gap:4px !important;
  }

  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-social-links {
    gap:4px !important;
  }

  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-social-icon {
    margin:0 !important;
  }

  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-mobile-search-toggle {
    margin:0 !important;
    transform:none !important;
  }

  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-share-widget {
    margin:0 !important;
  }
}

@media screen and (max-width:359px) {
  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-social-inner,
  body.nn-mobile-layout-v1
  .masthead .nn-mobile-social .nn-social-links {
    gap:2px !important;
  }
}
