/* Dark navigation bar styling */
.main-navigation {
	background: linear-gradient(90deg, #0B1220, #0E1A2F);
	border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* Default nav links */
.main-navigation .main-nav ul li a {
	color: rgba(255,255,255,0.92);
}

/* Hover + keyboard focus */
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li a:focus-visible {
	color: #60A5FA;
}

/* Current/active menu item: keep readable + add underline indicator */
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a {
	color: #FFFFFF;
	font-weight: 600;
	box-shadow: inset 0 -3px 0 0 #22D3EE; /* underline */
}

/* Dropdown caret icons (if they inherit link colour oddly) */
.main-navigation .dropdown-menu-toggle {
	color: rgba(255,255,255,0.72);
}

/* Sticky sidebar for single post pages */
.single-post .inside-right-sidebar {
	position: sticky;
	top: 20px;
	align-self: flex-start;
}

.category .inside-right-sidebar aside:first-child {
	padding-top: 0;
	padding-bottom: 0;
}

/* Latest posts ticker */
.thrivemag-ticker {
	display: block;
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
	max-width: 100%;
	width: 100%;
}

.thrivemag-ticker__viewport {
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
	width: 100%;
}

.thrivemag-ticker__track {
	display: flex;
	min-width: 100%;
	width: auto;
	align-items: center;
	will-change: transform;
	animation: thrivemag-ticker-scroll 68s linear infinite;
}

.thrivemag-ticker:hover .thrivemag-ticker__track,
.thrivemag-ticker:focus-within .thrivemag-ticker__track {
	animation-play-state: paused;
}

.thrivemag-ticker__group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 100%;
}

.thrivemag-ticker__item {
	flex: 0 0 auto;
	padding: 0.55rem 1rem;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.thrivemag-ticker__item:hover,
.thrivemag-ticker__item:focus-visible {
	color: #60A5FA;
	text-decoration: underline;
}

@keyframes thrivemag-ticker-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
