/* Phone side menu (owner, 16.11.2026): the 32px items needed scrolling just to see every page. Smaller, calmer,
   premium: 17px, wide letter spacing, hairline separators, all items on one screen. The font family is untouched
   (Hebrew stays as it is; English keeps Inter from part-zzzzenfont.css). */
#mobile-menu {
    overflow-y: auto;
    overscroll-behavior: contain;
}

#mobile-menu nav {
    padding-top: 40px;
    padding-bottom: 40px;
}

#mobile-menu .barami-mobile-menu {
    gap: 0 !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.14em !important;
    font-weight: 400;
}

/* Hebrew letters read best close together; the wide spacing is for the English (and the Latin words). */
body:not(.barami-en) #mobile-menu .barami-mobile-menu {
    letter-spacing: 0.03em !important;
    font-size: 18px !important;
}

#mobile-menu .barami-mobile-menu > li {
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

#mobile-menu .barami-mobile-menu > li:first-child {
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

#mobile-menu .barami-mobile-menu > li > a {
    display: block;
    padding: 17px 2px;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    color: #1a1a1a;
    transition: color 0.4s ease, padding 0.4s ease;
}

#mobile-menu .barami-mobile-menu > li > a:active,
#mobile-menu .barami-mobile-menu > li > a:hover {
    color: #9c6c2e;
}

#mobile-menu .barami-mobile-menu > li.current-menu-item > a {
    color: #9c6c2e;
}

@media (max-height: 640px) {
    #mobile-menu nav { padding-top: 20px; }
    #mobile-menu .barami-mobile-menu > li > a { padding: 13px 2px; }
}
