.site-notice {
	background: var(--hkf-ink);
	color: var(--hkf-cream);
	text-align: center;
	font-size: 0.83em;
	padding: 0.45rem 0.75rem;
}

.site-notice__inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-notice__link,
.site-notice__text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: inherit;
	text-decoration: none;
}

.site-notice__icon {
	flex-shrink: 0;
	color: var(--hkf-gold-soft);
}

.site-notice__link:hover,
.site-notice__link:focus {
	color: var(--hkf-gold-soft);
}

.site-util-bar {
	background: var(--hkf-cream);
	border-bottom: 1px solid var(--hkf-border);
	font-size: 0.78em;
	color: var(--hkf-muted);
}

.site-util-bar__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-block: 0.45rem;
}

.site-util-bar__social {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.site-util-bar__social-link {
	width: 26px;
	height: 26px;
	border-radius: 7px;
	background: var(--hkf-white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hkf-green-deep);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.site-util-bar__social-link:hover,
.site-util-bar__social-link:focus {
	background: var(--hkf-green-deep);
	color: var(--hkf-white);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--hkf-green-deep);
	color: var(--hkf-white);
	box-shadow: var(--hkf-shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hkf-space-md);
	padding-block: 1rem;
}

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	flex-shrink: 1;
}

.site-brand__logo {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--hkf-gold-soft), var(--hkf-gold));
}

.site-brand__logo--image {
	border-radius: 50%;
	background: none;
}

.site-brand__logo-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.site-brand__logo-fallback {
	font-weight: 800;
	font-size: 1.2em;
	color: var(--hkf-green-deep);
}

.site-brand__text {
	min-width: 0;
}

.site-brand__name {
	display: block;
	font-size: 1.07em;
	font-weight: 800;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-brand__name--visual {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.site-brand__subtitle {
	display: block;
	font-size: 0.73em;
	color: var(--hkf-gold-soft);
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.site-nav--desktop {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.site-nav__item {
	position: relative;
}

.site-nav__link {
	display: inline-flex;
	align-items: center;
	color: var(--hkf-cream);
	text-decoration: none;
	opacity: 0.9;
	font-size: 0.92em;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus,
.site-nav__link[aria-current="page"] {
	opacity: 1;
	color: var(--hkf-gold-soft);
}

.site-nav__item.menu-item-new > .site-nav__link::after,
.mobile-nav__item.menu-item-new > .mobile-nav__link::after {
	content: "جدید";
	font-size: 0.65em;
	background: var(--hkf-gold);
	color: var(--hkf-green-deep);
	padding: 0.0625rem 0.3125rem;
	border-radius: 6px;
	margin-inline-start: 0.3125rem;
	font-weight: 800;
	line-height: 1.4;
}

.site-nav__submenu {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 11rem;
	margin: 0;
	padding: 0.375rem 0;
	list-style: none;
	background: var(--hkf-green-mid);
	border-radius: var(--hkf-radius-sm);
	box-shadow: var(--hkf-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.25rem);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
	z-index: 60;
}

.site-nav__item:hover > .site-nav__submenu,
.site-nav__item:focus-within > .site-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav__submenu .site-nav__link {
	display: block;
	padding: 0.5rem 0.875rem;
	white-space: nowrap;
}

.site-nav__submenu .site-nav__link:hover,
.site-nav__submenu .site-nav__link:focus {
	background: rgba(255, 255, 255, 0.08);
}

.site-nav__admin-hint {
	margin: 0;
}

.site-nav__setup-link {
	color: var(--hkf-gold-soft);
	font-size: 0.82em;
	text-decoration: none;
	opacity: 0.85;
}

.site-nav__setup-link:hover,
.site-nav__setup-link:focus {
	opacity: 1;
	color: var(--hkf-gold-soft);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-shrink: 0;
}

.site-header__social {
	display: flex;
	gap: 0.5rem;
}

.site-header__social-link {
	width: 32px;
	height: 32px;
	border-radius: var(--hkf-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hkf-cream);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.site-header__social-link:hover,
.site-header__social-link:focus {
	background: var(--hkf-gold);
	color: var(--hkf-green-deep);
}

.site-header__cta {
	background: var(--hkf-gold);
	color: var(--hkf-green-deep);
	padding: 0.5rem 1.125rem;
	border-radius: var(--hkf-radius-sm);
	font-size: 0.9em;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: filter 0.15s ease;
}

.site-header__cta:hover,
.site-header__cta:focus {
	filter: brightness(0.95);
	color: var(--hkf-green-deep);
}

.site-header__toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0.375rem;
	color: var(--hkf-cream);
	border-radius: var(--hkf-radius-sm);
}

.site-header__toggle:hover,
.site-header__toggle:focus {
	background: rgba(255, 255, 255, 0.08);
}

.site-header__toggle-icon {
	width: 24px;
	height: 24px;
}

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 70;
}

.mobile-nav[hidden],
.mobile-nav-overlay[hidden] {
	display: none !important;
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(78%, 300px);
	background: var(--hkf-green-deep);
	color: var(--hkf-cream);
	z-index: 80;
	padding: 4.375rem 1.5rem 1.5rem;
	box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
	overflow-y: auto;
	flex-direction: column;
	gap: 1rem;
}

.mobile-nav.is-open {
	display: flex;
}

.mobile-nav-overlay.is-open {
	display: block;
}

.mobile-nav__close {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	background: none;
	border: 0;
	color: var(--hkf-cream);
	font-size: 1.375rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
	padding: 0.25rem;
	border-radius: var(--hkf-radius-sm);
}

.mobile-nav__close:hover,
.mobile-nav__close:focus {
	opacity: 1;
	background: rgba(255, 255, 255, 0.08);
}

.mobile-nav__brand {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-brand--mobile .site-brand__name--visual {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
}

.mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav__item {
	margin: 0;
}

.mobile-nav__link {
	display: flex;
	align-items: center;
	padding: 0.875rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--hkf-cream);
	text-decoration: none;
	font-size: 0.95rem;
	opacity: 0.9;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus,
.mobile-nav__link[aria-current="page"] {
	opacity: 1;
	color: var(--hkf-gold-soft);
}

.mobile-nav__submenu {
	list-style: none;
	margin: 0;
	padding: 0 0 0.25rem 0.75rem;
}

.mobile-nav__submenu .mobile-nav__link {
	font-size: 0.88rem;
	padding-block: 0.625rem;
	border-bottom-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav__cta-wrap {
	margin-top: auto;
	padding-top: 0.5rem;
}

.site-header__cta--mobile {
	display: block;
	text-align: center;
}

.mobile-nav__social-wrap {
	padding-top: 0.25rem;
}

.mobile-nav__social {
	display: flex;
	gap: 0.625rem;
	flex-wrap: wrap;
}

.mobile-nav__social-link {
	width: 36px;
	height: 36px;
	border-radius: var(--hkf-radius-sm);
	background: rgba(255, 255, 255, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--hkf-cream);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav__social-link:hover,
.mobile-nav__social-link:focus {
	background: var(--hkf-gold);
	color: var(--hkf-green-deep);
}

@media (prefers-reduced-motion: reduce) {
	.site-util-bar__social-link,
	.site-nav__link,
	.site-nav__submenu,
	.site-header__social-link,
	.site-header__cta,
	.mobile-nav__link,
	.mobile-nav__social-link {
		transition: none;
	}
}
