/**
 * Directions window (Balad / Neshan / Google Maps) — a native <dialog>.
 * Shared by the about page and the contact page. Markup: template-parts/pb-nav-dialog.php · script: nav-dialog.js
 */
/* ===== Directions window (<dialog>, opened by nav-dialog.js) ===== */
.pb-nav{
	width:min(420px,calc(100% - 28px));
	max-width:none;
	margin:auto;
	padding:22px;
	border:0;
	border-radius:20px;
	background:#fff;
	box-shadow:0 24px 60px rgba(17,20,94,.35);
	font-family:"Vazirmatn","vazir",Sans-serif;
	color:#11145E;
	direction:rtl;
}
.pb-nav::backdrop{background:rgba(17,20,94,.55)}
.pb-nav *,.pb-nav *::before,.pb-nav *::after{box-sizing:border-box}
.pb-nav :where(h2,p,ul){margin:0;padding:0;list-style:none}
.pb-nav__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.pb-nav__head h2{font-size:18px;font-weight:900;line-height:1.6}
.pb-nav .pb-nav__close{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#11145E;color:#fff;cursor:pointer;transition:background-color .2s ease,color .2s ease}
.pb-nav .pb-nav__close svg{display:block;width:26px;height:26px}
.pb-nav .pb-nav__close:hover,.pb-nav .pb-nav__close:focus-visible{background:#EC1B23;color:#fff}
.pb-nav__text{margin-bottom:16px;font-size:14px;font-weight:500;line-height:1.9;color:#5C6A82}
.pb-nav__list{display:flex;flex-direction:column;gap:10px}
.pb-nav__item{
	display:flex;
	align-items:center;
	gap:14px;
	padding:12px 14px;
	border:1px solid #E4EAF4;
	border-radius:14px;
	background:linear-gradient(180deg,#fff,#EEF3FB);
	color:#11145E;
	text-decoration:none;
	transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.pb-nav__item:hover,.pb-nav__item:focus-visible{transform:translateY(-2px);border-color:#2E3192;box-shadow:0 8px 20px rgba(17,20,94,.14)}
.pb-nav__logo{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:#fff;object-fit:contain}
.pb-nav__name{flex:1;font-size:16px;font-weight:800}
.pb-nav__go{display:inline-flex;color:#2E3192}
body.pb-nav-open{overflow:hidden}

@media (max-width:767px){
	/* bottom sheet on phones */
	.pb-nav{margin:auto auto 0;width:100%;border-radius:20px 20px 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:reduce){
	.pb-nav__item{transition:none}
	.pb-nav__item:hover{transform:none}
}
