/* --------------------------------------------------------------------------
 * Nav dropdown (KYRD_Nav_Walker: li.dropdown > ul.shadow-box)
 * --------------------------------------------------------------------------
 * The walker has always emitted dropdown markup, but the site had no submenus
 * until the brand pages were added, so the styles were never written — the
 * submenu rendered as a bare list spilling over the header. These rules give it
 * the panel behaviour the markup assumes.
 * ----------------------------------------------------------------------- */

/* ---- Desktop: hover / keyboard-focus panel ---- */
.hidden.lg\:block nav .menu-item.dropdown,
nav[aria-label="Ana menü"] .menu-item.dropdown {
	position: relative;
}

nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 13.5rem;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: #14181c;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 0.25rem;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.35rem);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* A small invisible bridge so the panel does not close while the cursor
   travels from the parent link down into it. */
nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box::before {
	content: "";
	position: absolute;
	top: -0.6rem;
	left: 0;
	right: 0;
	height: 0.6rem;
}

nav[aria-label="Ana menü"] .menu-item.dropdown:hover > ul.shadow-box,
nav[aria-label="Ana menü"] .menu-item.dropdown:focus-within > ul.shadow-box {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box li {
	list-style: none;
}

nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box a {
	display: block;
	padding: 0.5rem 1.1rem;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.18s, background 0.18s;
}

nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box a:hover,
nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box a:focus-visible {
	color: var(--color-orange, #f15a29);
	background: rgba(255, 255, 255, 0.045);
}

/* The parent keeps its underline treatment; the submenu links must not get it. */
nav[aria-label="Ana menü"] .menu-item.dropdown > ul.shadow-box a::after {
	display: none;
}

/* ---- Mobile drawer: nested, always visible, indented ---- */
nav[aria-label="Mobil menü"] .menu-item.dropdown > ul.shadow-box {
	list-style: none;
	margin: 0.35rem 0 0.6rem;
	padding: 0 0 0 0.9rem;
	border-left: 2px solid rgba(255, 255, 255, 0.12);
}

nav[aria-label="Mobil menü"] .menu-item.dropdown > ul.shadow-box a {
	display: block;
	padding: 0.4rem 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.65);
}

nav[aria-label="Mobil menü"] .menu-item.dropdown > ul.shadow-box a:hover {
	color: var(--color-orange, #f15a29);
}
