/*
Theme Name: YT Rental
Theme URI: https://www.latplan.com/
Author: 缘通租赁
Author URI: https://www.latplan.com/
Description: 缘通租赁站点群基线子主题。继承 Twenty Twenty-Five，所有外观改动只允许在本主题内进行；父主题 twentytwentyfive 保持只读。
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yt-rental
*/

/*
 * ---------------------------------------------------------------------------
 * 空导航隐藏（仅移动端 < 600px）
 * 判断条件：导航区块内不存在任何 .wp-block-navigation-item，即没有任何菜单项。
 * 一旦在 Header 中加入真实导航链接，按钮与面板会自动恢复显示，无需改动本文件。
 * ---------------------------------------------------------------------------
 */
@media (max-width: 599.98px) {
	.wp-block-navigation:not(:has(.wp-block-navigation-item)) .wp-block-navigation__responsive-container-open,
	.wp-block-navigation:not(:has(.wp-block-navigation-item)) .wp-block-navigation__responsive-container,
	.wp-block-navigation:not(:has(.wp-block-navigation-item)) .wp-block-navigation__responsive-container-close {
		display: none;
	}
}