/* ==========================================================================
   News Cycle Link Widget
   ========================================================================== */

.news-cycle-widget__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	text-decoration: none;
	color: #222;
	font-weight: 600;
	line-height: 1.3;
	background-color: #f4f4f4;
	border-radius: 6px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.news-cycle-widget__link:hover {
	color: #000;
	background-color: #eaeaea;
	text-decoration: none;
}

.news-cycle-widget__text {
	flex: 1;
}

.news-cycle-widget__arrow {
	display: flex;
	align-items: center;
	font-size: 1.5em;
	font-weight: 300;
	line-height: 1;
	color: #999;
	transition: color 0.15s ease, transform 0.15s ease;
}

.news-cycle-widget__link:hover .news-cycle-widget__arrow {
	color: #555;
	transform: translateX(2px);
}

/* Dark mode
   ========================================================================== */

:is(html.aeon-dark-mode-active, body.dark-mode) .news-cycle-widget__link {
	color: rgba(255, 255, 255, 0.9);
	background-color: rgba(255, 255, 255, 0.08);
}

:is(html.aeon-dark-mode-active, body.dark-mode) .news-cycle-widget__link:hover {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.12);
}

:is(html.aeon-dark-mode-active, body.dark-mode) .news-cycle-widget__arrow {
	color: rgba(255, 255, 255, 0.4);
}

:is(html.aeon-dark-mode-active, body.dark-mode) .news-cycle-widget__link:hover .news-cycle-widget__arrow {
	color: rgba(255, 255, 255, 0.7);
}
