/* V9.9.4.2 — Mobile Header Identity Emphasis
   Keeps V9.9.4.1 compact navigation, but restores stronger visual identity. */

@media (max-width:760px){

  /* Give the identity block more vertical presence without returning to the old oversized header. */
  .home-header-v343{
    padding:0 !important;
    min-height:0 !important;
  }

  .home-head-inner-v343{
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr) !important;
    align-items:center !important;
    gap:14px !important;
    padding:20px 18px 18px !important;
  }

  /* Left unit block */
  .home-brand-v343{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    min-width:0 !important;
  }

  .home-logo-v343{
    width:58px !important;
    height:58px !important;
    flex:0 0 58px !important;
    object-fit:contain !important;
    margin:0 auto !important;
  }

  .home-unit-v343{
    width:100% !important;
    font-size:14px !important;
    font-weight:800 !important;
    line-height:1.22 !important;
    text-align:center !important;
    white-space:normal !important;
    letter-spacing:.2px !important;
  }

  /* Right title block — make the library name the visual anchor. */
  .home-title-v343{
    min-width:0 !important;
    text-align:right !important;
    align-self:center !important;
  }

  .home-title-v343 h1{
    margin:0 !important;
    font-size:20px !important;
    font-weight:800 !important;
    line-height:1.25 !important;
    letter-spacing:.3px !important;
    text-wrap:balance !important;
  }

  .home-title-v343 p{
    display:block !important;
    margin:7px 0 0 !important;
    font-size:11.5px !important;
    line-height:1.35 !important;
    opacity:.88 !important;
  }

  /* Keep the small top badge hidden on mobile; identity is already strong enough. */
  .home-badge-v343{
    display:none !important;
  }

  /* Preserve the compact one-row navigation from V9.9.4.1. */
  .home-nav-v343 .wrap{
    padding-top:8px !important;
    padding-bottom:8px !important;
  }
}

@media (max-width:430px){
  .home-head-inner-v343{
    grid-template-columns:100px minmax(0,1fr) !important;
    gap:12px !important;
    padding:18px 14px 16px !important;
  }

  .home-logo-v343{
    width:54px !important;
    height:54px !important;
    flex-basis:54px !important;
  }

  .home-unit-v343{
    font-size:13px !important;
  }

  .home-title-v343 h1{
    font-size:18px !important;
    line-height:1.24 !important;
  }

  .home-title-v343 p{
    font-size:10.8px !important;
  }
}

@media (max-width:360px){
  .home-head-inner-v343{
    grid-template-columns:92px minmax(0,1fr) !important;
    padding-left:10px !important;
    padding-right:10px !important;
  }

  .home-logo-v343{
    width:50px !important;
    height:50px !important;
    flex-basis:50px !important;
  }

  .home-unit-v343{
    font-size:12px !important;
  }

  .home-title-v343 h1{
    font-size:16.5px !important;
  }

  .home-title-v343 p{
    display:none !important;
  }
}
