/**
 * Path: wp-content/themes/moviestream-child-gogotv/assets/css/category-dropdown-v214.css
 * GogoTV v2.1.4 desktop category dropdown.
 *
 * The existing header design is preserved. Only the desktop "카테고리"
 * interaction is converted to the supplied vertical dark dropdown style.
 */

@media screen and (min-width: 861px) {
	body.gogotv-child .gogo-site-header,
	body.gogotv-child .gogo-site-header__inner,
	body.gogotv-child .gogo-site-nav {
		overflow: visible !important;
	}

	body.gogotv-child .gogo-desktop-category-menu {
		position: relative;
		display: flex;
		align-items: center;
		align-self: stretch;
		min-width: 0;
	}

	body.gogotv-child .gogo-site-nav .gogo-desktop-category-trigger {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		height: 100% !important;
		margin: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #ececec !important;
		cursor: pointer !important;
		white-space: nowrap !important;
	}

	body.gogotv-child .gogo-desktop-category-menu:hover .gogo-desktop-category-trigger,
	body.gogotv-child .gogo-desktop-category-menu:focus-within .gogo-desktop-category-trigger,
	body.gogotv-child .gogo-desktop-category-menu.is-open .gogo-desktop-category-trigger {
		color: #ffffff !important;
	}

	body.gogotv-child .gogo-desktop-category-dropdown {
		position: absolute !important;
		top: 100% !important;
		left: 50% !important;
		z-index: 100020 !important;
		width: 174px !important;
		min-width: 174px !important;
		max-height: min(72vh, 520px) !important;
		margin: 0 !important;
		padding: 4px 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		border: 1px solid rgba(255, 255, 255, 0.08) !important;
		border-radius: 0 !important;
		background: #242424 !important;
		box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48) !important;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate(-50%, -7px);
		transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
	}

	body.gogotv-child .gogo-desktop-category-menu:hover .gogo-desktop-category-dropdown,
	body.gogotv-child .gogo-desktop-category-menu:focus-within .gogo-desktop-category-dropdown,
	body.gogotv-child .gogo-desktop-category-menu.is-open .gogo-desktop-category-dropdown {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}

	body.gogotv-child .gogo-site-nav .gogo-desktop-category-dropdown a {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 0 16px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #d7d7d7 !important;
		font-size: 13px !important;
		font-weight: 650 !important;
		line-height: 1.35 !important;
		letter-spacing: -0.025em !important;
		text-align: left !important;
		white-space: nowrap !important;
		text-decoration: none !important;
	}

	body.gogotv-child .gogo-site-nav .gogo-desktop-category-dropdown a.has-divider-before {
		border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	}

	body.gogotv-child .gogo-site-nav .gogo-desktop-category-dropdown a:hover,
	body.gogotv-child .gogo-site-nav .gogo-desktop-category-dropdown a:focus-visible {
		background: #303030 !important;
		color: #ffffff !important;
		outline: 0 !important;
	}
}

@media screen and (max-width: 860px) {
	body.gogotv-child .gogo-desktop-category-menu,
	body.gogotv-child .gogo-desktop-category-dropdown {
		display: none !important;
	}
}
