/*!
Theme Name: nightmayor
Author: NightMayor
Description: nightmayor theme for nightmayor club
Version: 1.0.2
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nightmayor
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

nightmayor is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face {
	font-family: 'Akira';
	src: url('assets/fonts/akira.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

:root {
	--nm-bg: #1B1B1B;
	--nm-form-bg: #212121;
	--nm-highlight-yellow: #FEFF54;
	--nm-bg-yellow: #D3D95C;
	--nm-black: #0B0B0B;
	--nm-keyword-bg: #282828;
	--nm-white: #ffffff;
	--nm-gray: #888888;
	--nm-font-heading: 'Akira', sans-serif;
	--nm-font-body: 'Be Vietnam Pro', sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: var(--nm-bg);
	color: var(--nm-white);
	font-family: var(--nm-font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
}

body.mobile-menu-active {
	overflow: hidden;
	touch-action: none;
}


h1,
h2,
.site-title,h3,
h4,
h5,
h6,
.main-navigation a {
	font-family: var(--nm-font-body);
	font-weight: 700;
}

a {
	color: var(--nm-highlight-yellow);
	text-decoration: none;
	transition: all 0.3s ease;
}


.nm-container {
	max-width: 1680px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 30px);
}
.nm-container-box {
	max-width: 1230px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 30px);
}

.site-footer .nm-container {
	max-width: 1680px;
}

/* Header Design */
.site-header {
	background: var(--nm-bg);
	padding: 20px 0;
	top: 0;
	z-index: 1000;
	padding-top: 50px;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px 28px;
	width: min(100%, 1680px);
	max-width: 100%;
	margin: 0 auto;
	padding-left: clamp(12px, 3vw, 24px);
	padding-right: clamp(12px, 3vw, 24px);
	box-sizing: border-box;
}
.page-template-nomination-template .site-header{
	padding-top: 80px;
}
.page-template-default header.entry-header {
    margin-bottom: 20px;
}
.site-branding a {
    width: 200px;
    display: block;
    padding: 10px;
    text-align: center;
}

.site-brand-main {
	flex-shrink: 0;
	min-width: 0;
}

/* Default (Site Identity) + optional second logo from Customizer — same row */
.nm-site-branding-logos {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(10px, 2vw, 24px);
}

.nm-site-branding-logos .custom-logo-link {
	flex: 0 1 auto;
	width: auto;
	max-width: min(200px, 42vw);
	padding: 10px;
	box-sizing: border-box;
}

.nm-drawer-brand .nm-site-branding-logos {
	gap: 12px;
}

.nm-drawer-brand .nm-site-branding-logos .custom-logo-link {
	max-width: min(130px, 38vw);
	padding: 0;
}

a.custom-logo-link img {
    width: 90%;
}
.site-header .nm-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	max-width: 100%;
	padding: 0;
}

.site-title {
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -1px;
}

.site-title a {
	color: var(--nm-highlight-yellow);
}

/* Full Width Main */
#primary {
	width: 100%;
}

.page-template-nomination-template header#masthead {
	position: absolute;
	width: min(100%, 1680px);
	max-width: 100%;
	background: transparent;
	margin: 0 auto;
	left: 0;
	right: 0;
	padding-left: clamp(12px, 3vw, 24px);
	padding-right: clamp(12px, 3vw, 24px);
	box-sizing: border-box;
}

.page-template-nomination-template .main-navigation li a {
	color: #6C6B00;
}

.page-template-nomination-template main#main {
	padding-top: clamp(120px, 18vw, 200px);
}

/* Header Extra Elements */
.nm-header-extra {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nm-header-extra .nm-social-links {
	display: flex;
	gap: 15px;
	align-items: center;
}

.nm-header-left {
	display: flex;
	align-items: center;
	gap: 50px;
}

.nm-social-icon {
	color: var(--nm-black);
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
	font-size: 20px;
	width: 40px;
	height: 40px;
	background: var(--nm-white);
	text-align: center;
	border-radius: 100%;
	justify-content: center;
	transition: all 0.3s ease;
}

.nm-social-icon:hover {
	color: var(--nm-black);
	background-color: var(--nm-bg-yellow);
	transition: all 0.3s ease;
}

.nm-header-btn {
    background: var(--nm-highlight-yellow);
    color: var(--nm-black) !important;
    padding: 8px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 12px;
}


.nm-icon-megaphone {
	width: 28px;
	height: auto;
}

.nm-btn-svg {
	width: 66px;
	height: auto;
	transition: all 0.3s ease;
}

@media (max-width: 1199px) {
	.site-header {
		padding-top: clamp(20px, 4vw, 40px);
	}

	/* Hamburger + logo share one row; bar aligns to the right */
	.site-header .nm-container {
		justify-content: flex-end;
		flex: 1 1 auto;
	}
	.site-branding a {
		width: 180px;
	}

	.nm-site-branding-logos .custom-logo-link {
		width: auto;
		max-width: min(160px, 42vw);
	}

	.site-header .custom-logo-link img,
	.site-header .custom-logo img,
	.site-branding .custom-logo-link img {
		width: 100%;
		height: auto;
	}

	.nm-header-extra {
		display: none;
	}
}
a.custom-logo-link.nm-header-extra-logo-link,.page-template-nomination-template a.custom-logo-link {
    display: none;
}
.page-template-nomination-template a.custom-logo-link.nm-header-extra-logo-link {
    display: block;
}

/* Navigation Menu */
.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 30px;
}

.main-navigation li {
	position: relative;
}

.main-navigation li a {
	color: #8B8B8B;
	font-size: 17px;
	font-weight: bold;
	text-transform: capitalize;
	padding: 10px 0;
	position: relative;
	display: flex;
	align-items: center;
	transition: color 0.3s ease;
}

.main-navigation li a:hover,
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
	color: #ffffff;
}

/* Dropdown Sub-Menu Styling */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #1B1B1B;
	display: block;
	padding: 10px 0;
	margin: 0;
	border-radius: 12px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.05);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 999;
}

/* 3rd Level and Deeper */
.main-navigation ul ul ul {
	top: 0;
	left: 100%;
	margin-left: 1px;
	transform: translateX(10px);
}

.main-navigation li:hover>ul {
	opacity: 1;
	visibility: visible;
	transform: translate(0, 0);
}

.main-navigation ul ul li {
	width: 100%;
}

.main-navigation ul ul a {
	padding: 12px 25px;
	font-size: 15px;
	color: #8B8B8B !important;
	background: transparent !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main-navigation ul ul a:hover {
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.03) !important;
}

/* Arrow indicators - Using SVG or CSS for max stability */
.menu-item-has-children>a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-left: 10px;
	display: inline-block;
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.main-navigation ul ul .menu-item-has-children>a::after {
	transform: rotate(-45deg);
	/* Right arrow */
}

/* Remove underlines from sub-menus */
.main-navigation ul ul a::after {
	display: none !important;
}

.page-template-nomination-template .main-navigation li a:hover,
.page-template-nomination-template .main-navigation li.current_page_item a {
	color: #0B0B0B;
}


.main-navigation li.current-menu-item a {
	color: var(--nm-highlight-yellow);
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	width: 30px;
	min-width: 44px;
	min-height: 44px;
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 6px;
	padding: 8px;
	margin: -8px;
	box-sizing: border-box;
}

.menu-toggle .icon-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--nm-highlight-yellow);
	border-radius: 2px;
	transition: transform 0.35s ease, opacity 0.35s ease;
	flex-shrink: 0;
}

.menu-toggle .icon-bar:first-child {
	margin-top: 0;
}

body.mobile-menu-active .menu-toggle .icon-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

body.mobile-menu-active .menu-toggle .icon-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

body.mobile-menu-active .menu-toggle .icon-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle:focus-visible {
	outline: 2px solid var(--nm-highlight-yellow);
	outline-offset: 4px;
	border-radius: 4px;
}

@media (max-width: 1199px) {
	.menu-toggle {
		display: flex !important;
	}

	/* Primary menu list hidden — off-canvas drawer */
	.main-navigation ul {
		display: none !important;
	}
}

/* Mid-desktop: slightly tighter primary nav when visible */
@media (max-width: 1399px) and (min-width: 1200px) {
	.main-navigation ul {
		gap: 18px;
	}

	.main-navigation li a {
		font-size: 15px;
	}

	.nm-header-extra {
		gap: 20px;
	}

	.nm-header-btn {
		padding: 8px 22px;
		font-size: 16px;
	}

	.nm-btn-svg {
		width: 64px;
	}
}

/* Primary Form Designs - Scoped to Frontend Content */
.site-main input[type="text"],
.site-main input[type="email"],
.site-main input[type="url"],
.site-main input[type="tel"],
.site-main input[type="password"],
.site-main textarea
 {
	background: var(--nm-form-bg) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: var(--nm-white) !important;
	padding: 32px 20px !important;
	border-radius: 8px !important;
	width: 100%;
	transition: border-color 0.3s ease;
}
.site-main select{
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: var(--nm-white) !important;
	padding: 32px 20px !important;
	border-radius: 8px !important;
	width: 100%;
	transition: border-color 0.3s ease;
}
.site-main select::placeholder{
	color: var(--nm-form-bg) !important
}
.site-main input:focus,
.site-main textarea:focus {
	border-color: var(--nm-highlight-yellow) !important;
	outline: none;
}

/* Global Content Layout */
.nm-main-content-wrapper {
	padding: 0px 0 100px;
}

.nm-page-title {
	font-family: var(--nm-font-heading);
	font-size: clamp(40px, 5vw, 42px);
	line-height: 1.1;
	text-transform: uppercase;
	margin-bottom: 50px;
	color: #ffffff;
}

/* Post Listings Architecture */
.nm-post-thumb {
	margin-bottom: 30px;
	border-radius: 15px;
	overflow: hidden;
	background: #000;
}

.nm-post-thumb img {
	width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
}
h2.entry-title.nm-entry-title{
	font-family: var(--nm-font-body);
	font-size: 25px;
	font-weight: 500;
	margin-bottom: 15px;
	line-height: 1.2;
	color: #ffffff;
}

.nm-entry-title {
	margin-bottom: 15px !important;
}

.nm-read-more-wrapper {
	margin-top: 30px;
}

.nm-btn-readmore {
	display: inline-block;
	background: var(--nm-highlight-yellow);
	color: var(--nm-black);
	text-decoration: none;
	font-weight: 800;
	font-size: 15px;
	text-transform: capitalize;
	padding: 12px 30px;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.site-main article {
	margin-bottom: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-main article:last-child {
	border-bottom: none;
}

.site-main header.entry-header h2 a {
	color: #ffffff;
	text-decoration: none;
	font-size: 32px;
	font-weight: bold;
	transition: color 0.3s ease;
	line-height: 42px;
}

.site-main header.entry-header h2 a:hover {
	color: var(--nm-highlight-yellow);
}

.entry-meta {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	display: none;
}

.entry-content {
	font-size: 18px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.7);
}

/* Pagination */
.posts-navigation {
	margin-top: 50px;
}

.posts-navigation .nav-links {
	display: flex;
	gap: 20px;
}

.posts-navigation a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	padding: 12px 25px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.posts-navigation a:hover {
	background: var(--nm-highlight-yellow);
	border-color: var(--nm-highlight-yellow);
	color: #000;
}

/* 404 Cinematic Overhaul */
.nm-404-content {
	position: relative;
	padding: 100px 0;
	text-align: center;
	overflow: hidden;
}

.nm-404-glitch {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--nm-font-heading);
	font-size: clamp(200px, 40vw, 500px);
	font-weight: 900;
	line-height: 1;
	color: rgba(255, 255, 255, 0.03);
	z-index: 1;
	pointer-events: none;
	text-transform: uppercase;
}

.error-404 {
	position: relative;
	z-index: 2;
}

.nm-404-title {
	font-family: var(--nm-font-heading);
	font-size: clamp(32px, 8vw, 64px);
	margin-bottom: 20px;
	letter-spacing: -2px;
}

.nm-404-desc {
	font-size: 20px;
	opacity: 0.6;
	margin-bottom: 50px;
}

.nm-error-search {
	max-width: 600px;
	margin: 0 auto 50px;
}

.nm-error-search .search-form {
	display: flex;
	background: #252525;
	padding: 8px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.nm-error-search .search-form label {
	flex-grow: 1;
	margin: 0;
	display: flex;
}

.nm-error-search .search-form .screen-reader-text {
	display: none;
}

.nm-error-search .search-form input[type="search"] {
	background: transparent !important;
	border: none !important;
	color: #fff !important;
	padding: 15px 25px !important;
	width: 100%;
}

.nm-error-search .search-form input[type="submit"] {
	background: var(--nm-highlight-yellow) !important;
	color: #000 !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	padding: 0 30px !important;
	border-radius: 8px !important;
	cursor: pointer;
	transition: all 0.3s ease;
}

.nm-error-search .search-form input[type="submit"]:hover {
	background: #fff !important;
}

.nm-404-actions {
	margin-top: 50px;
}

/* Footer Design */
.site-footer {
	padding: 40px 0;
	text-align: left;
	color: var(--nm-gray);
	font-size: 14px;
}

.footer-bottom-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 24px;
}

#footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin: 0;
	padding: 0;
}

#footer-menu li a {
	color: var(--nm-white);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

#footer-menu li a:hover {
	opacity: 1;
}

.footer-right .site-info {
	font-weight: 400;
	opacity: 0.6;
}

@media (max-width: 600px) {
	.footer-bottom-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-main {
		padding: 40px 0;
	}

	.nm-main-content-wrapper {
		padding: 0px 0 100px;
	}
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.site-main .entry-content iframe {
	max-width: 100%;
}

/* Off-Canvas mobile menu — Canva-inspired: soft surface, large tap targets, calm typography */
.nm-mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: min(100%, 400px);
	height: 100%;
	height: 100dvh;
	max-height: 100dvh;
	background: linear-gradient(165deg, #222222 0%, #141414 45%, #0f0f0f 100%);
	z-index: 10001;
	padding: 0;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
	display: flex;
	flex-direction: column;
	box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55);
	transform: translateX(100%);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
	overscroll-behavior: contain;
}

body.mobile-menu-active .nm-mobile-drawer {
	transform: translateX(0);
	box-shadow: -32px 0 100px rgba(0, 0, 0, 0.65);
}

.nm-drawer-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	padding: 24px 20px 28px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.nm-mobile-overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	height: 100dvh;
	background: rgba(8, 8, 10, 0.45);
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.mobile-menu-active .nm-mobile-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.nm-drawer-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 28px;
	flex-shrink: 0;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nm-drawer-brand img {
	max-width: 140px !important;
	height: auto !important;
	display: block;
}

.nm-drawer-brand .nm-drawer-site-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
}

.nm-drawer-brand .nm-drawer-site-title a {
	color: #fff;
	text-decoration: none;
}

.nm-drawer-close {
	background: rgba(255, 255, 255, 0.08);
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
}

.nm-drawer-close:hover {
	background: rgba(255, 255, 255, 0.14);
	transform: scale(1.05);
}

.nm-drawer-close:focus-visible {
	outline: 2px solid var(--nm-highlight-yellow);
	outline-offset: 2px;
}

.nm-mobile-nav {
	flex: 1;
	min-height: 0;
}

.nm-mobile-nav > ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nm-mobile-nav ul li {
	margin: 0;
}

/* Top-level row links */
.nm-mobile-nav > ul > li > a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-size: 17px;
	font-weight: 600;
	text-transform: none;
	font-family: var(--nm-font-body);
	letter-spacing: -0.01em;
	transition: background 0.2s ease, color 0.2s ease;
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 16px 18px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.nm-mobile-nav > ul > li > a:hover,
.nm-mobile-nav > ul > li.current-menu-item > a {
	color: var(--nm-black);
	background: var(--nm-highlight-yellow);
	border-color: transparent;
}

/* Rows that include a submenu: link + toggle; submenu spans full width below */
.nm-mobile-nav li.menu-item-has-children,
.nm-mobile-nav li.page_item_has_children {
	display: grid;
	grid-template-columns: 1fr 48px;
	gap: 8px;
	align-items: stretch;
}

.nm-mobile-nav li.menu-item-has-children > a,
.nm-mobile-nav li.page_item_has_children > a {
	grid-column: 1;
}

/* JS-injected control: tap to expand/collapse only (parent link still navigates) */
.nm-mobile-nav .nm-submenu-toggle {
	grid-column: 2;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	min-height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
}

.nm-mobile-nav .nm-submenu-toggle:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.18);
}

.nm-mobile-nav .nm-submenu-toggle:focus-visible {
	outline: 2px solid var(--nm-highlight-yellow);
	outline-offset: 2px;
}

.nm-mobile-nav .nm-submenu-toggle::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	transition: transform 0.25s ease;
}

.nm-mobile-nav li.nm-submenu-open > .nm-submenu-toggle::after {
	transform: rotate(225deg);
	margin-top: 4px;
}

.nm-mobile-nav li.nm-submenu-open > .nm-submenu-toggle {
	color: var(--nm-black);
	background: var(--nm-highlight-yellow);
	border-color: transparent;
}

/* Hide all nested sub-menus until opened */
.nm-mobile-nav li.menu-item-has-children > .sub-menu,
.nm-mobile-nav li.page_item_has_children > .sub-menu {
	grid-column: 1 / -1;
	list-style: none;
	margin: 4px 0 0 0;
	padding: 0 0 0 12px;
	border-left: 2px solid rgba(255, 255, 255, 0.12);
	display: none;
	flex-direction: column;
	gap: 6px;
}

.nm-mobile-nav li.menu-item-has-children.nm-submenu-open > .sub-menu,
.nm-mobile-nav li.page_item_has_children.nm-submenu-open > .sub-menu {
	display: flex;
}

/* Nested link rows (any depth inside .sub-menu) */
.nm-mobile-nav .sub-menu li > a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	font-weight: 500;
	padding: 12px 14px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	min-width: 0;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nm-mobile-nav .sub-menu li > a:hover,
.nm-mobile-nav .sub-menu li.current-menu-item > a {
	color: var(--nm-highlight-yellow);
	background: rgba(254, 255, 84, 0.08);
	border-color: rgba(254, 255, 84, 0.2);
}

/* No decorative chevron on the text link — the square button is the control */
.nm-mobile-nav .menu-item-has-children > a::after,
.nm-mobile-nav .page_item_has_children > a::after {
	display: none !important;
	content: none !important;
}

.nm-drawer-footer {
	flex-shrink: 0;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.nm-drawer-footer .nm-social-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.nm-drawer-footer .nm-social-icon {
	width: 34px;
	height: 34px;
	font-size: 15px;
}

.nm-drawer-footer .nm-header-btn {
	width: auto;
	max-width: 100%;
	justify-content: center;
	text-align: center;
	padding: 8px 20px;
	font-size: 15px;
	font-weight: 700;
	gap: 8px;
	border-radius: 999px;
}

.nm-drawer-footer .nm-header-btn .nm-btn-svg {
	width: 44px;
}

.nm-drawer-footer .nm-social-links:empty {
	display: none;
}