/* ==========================================================================
   The Capital — Hotel Sub Nav
   ========================================================================== */

.elementor-widget-tc-hotel-subnav {
	width: 100%;
	position: absolute;
	top: 100%;
}

.elementor-widget-tc-hotel-subnav {
	position: relative;
	top: 0; /* overridden by JS once header height is known */
	left: 0;
	right: 0;
	background-color: #0000007D;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transform: translateY(-110%);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	pointer-events: none;
		width: 100%;
	position: absolute;
	top: 100%;
	height: 0;
}

.tc-hotel-subnav--visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
	height: auto;
}

/* Show statically in Elementor editor so the client can configure it */
.tc-hotel-subnav--editor {
	position: relative !important;
	top: auto !important;
	transform: none !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.tc-hotel-subnav__inner {
	display: flex;
	align-items: stretch;
	justify-content: center;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 40px;
}

.tc-hotel-subnav__inner::-webkit-scrollbar {
	display: none;
}

.tc-hotel-subnav__link {
	display: flex;
	align-items: center;
	padding: 14px 20px;
	color: rgba(255, 255, 255, 1);
	text-decoration: none;
	font-family: 'DM Sans', sans-serif;
	font-weight: 400;
	letter-spacing: 0.02em;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.tc-hotel-subnav__link:hover {
	color: #fff;
}

.tc-hotel-subnav__link.is-active {
	color: #fff;
	border-bottom-color: var(--tc-gold, #eba318);
}

/* Links whose target section doesn't exist on this page */
.tc-hotel-subnav__link[data-missing] {
	display: none;
}

/* ------------------------------------------------------------------
   Scroll arrows (mobile only) — signal that the row scrolls, and give
   a tap target as an alternative to swiping. Hidden until JS confirms
   the row actually overflows (.tc-hotel-subnav--has-overflow), and
   faded out at whichever end is already fully scrolled.
   ------------------------------------------------------------------ */
.tc-hotel-subnav__arrow {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	z-index: 6;
	transition: opacity 0.2s ease;
}

.tc-hotel-subnav__arrow svg {
	display: block;
	width: 7px;
	height: auto;
}

.tc-hotel-subnav__arrow--prev {
	left: 4px;
}

.tc-hotel-subnav__arrow--next {
	right: 4px;
}

.tc-hotel-subnav__arrow[disabled] {
	opacity: 0;
	pointer-events: none;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.tc-hotel-subnav__inner {
		padding: 0 24px;
	}

	.tc-hotel-subnav__link {
		padding: 12px 16px;
		font-size: 11px;
	}
}

@media (max-width: 767px) {
	.tc-hotel-subnav__inner {
		justify-content: flex-start;
		padding: 0 16px;
		overflow: visible;
	}

	.tc-hotel-subnav__link {
		padding: 11px 12px;
	}

	.tc-hotel-subnav--has-overflow .tc-hotel-subnav__inner {
		padding-left: 34px;
		padding-right: 34px;
	}

	.tc-hotel-subnav--has-overflow .tc-hotel-subnav__arrow {
		display: flex;
	}

	.tc-hotel-subnav {
		overflow: auto;
	}
}
