.fw-news-banner {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: #0d0d0d;
	overflow: hidden;
}

.fw-news-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/wp-content/uploads/2025/11/Bla-Skiss-Fras.webp') center center no-repeat;
	background-size: cover;
	opacity: 0.6;
}

.fw-news-banner::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg,
		rgba(0,0,0,0.4) 0%,
		rgba(13,13,13,0.3) 50%,
		rgba(0,0,0,0.4) 100%);
}

.fw-news-container {
	position: relative;
	z-index: 1;
	max-width: 1300px;
	margin: 0 auto;
	padding: 20px 30px;
	display: flex;
	align-items: center;
	gap: 30px;
}

.fw-news-label {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.fw-news-dot {
	width: 12px;
	height: 12px;
	background: #46b4e7;
	border-radius: 50%;
	animation: fwPulse 2s infinite;
}

@keyframes fwPulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.6);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(241, 196, 15, 0);
	}
}

.fw-news-label-text {
	color: #46b4e7;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.fw-news-divider {
	width: 1px;
	height: 40px;
	background: #46b4e7;
	flex-shrink: 0;
}

.fw-news-slider {
	flex: 1;
	position: relative;
	min-height: 50px;
	overflow: hidden;
}

.fw-news-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 20px;
	opacity: 0;
	transform: translateX(30px);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.fw-news-item.active {
	opacity: 1;
	transform: translateX(0);
	pointer-events: all;
}

.fw-news-date {
	color: #46b4e7;
	font-size: 15px;
	font-weight: 600;
	flex-shrink: 0;
}

.fw-news-title {
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	flex: 1;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.3s ease;
}

.fw-news-title:hover {
	color: #46b4e7;
}

.fw-news-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff !important;
	text-decoration: underline !important;
	font-size: 13px;
	font-weight: 600;
	padding: 12px 24px;
	border: none !important;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.fw-news-link:hover {
	color: #46b4e7 !important;
}

.fw-news-link svg {
	width: 14px;
	height: 14px;
	transition: transform 0.3s ease;
}

.fw-news-link:hover svg {
	transform: translateX(4px);
}

.fw-news-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.fw-news-nav-btn {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.fw-news-nav-btn:hover {
	background: rgba(241, 196, 15, 0.4);
}

.fw-news-nav-btn.active {
	background: #46b4e7;
	border-color: #46b4e7;
}

/* Tablet */
@media (max-width: 1024px) {
	.fw-news-container {
		padding: 20px;
		gap: 20px;
	}
	.fw-news-title {
		font-size: 15px;
	}
	.fw-news-link {
		padding: 10px 18px;
		font-size: 12px;
	}
}

/* Mobil */
@media (max-width: 768px) {
	.fw-news-container {
		flex-direction: column;
		align-items: flex-start;
		padding: 15px 20px;
		gap: 5px;
	}

	.fw-news-label {
		display: none;
	}

	.fw-news-divider {
		display: none !important;
	}

	.fw-news-slider {
		width: 100%;
		min-height: auto;
		margin-bottom: 5px;
	}

	.fw-news-item {
		display: none;
		flex-direction: column;
		position: relative;
		padding-right: 25px;
		transform: none;
		opacity: 1;
	}

	.fw-news-item.active {
		display: flex;
	}

	.fw-news-date {
		display: block;
		font-size: 11px;
		font-weight: 700;
		color: #46b4e7;
		text-transform: uppercase;
		letter-spacing: 1px;
		margin-bottom: 4px;
		opacity: 0.8;
	}

	.fw-news-date::before {
		content: 'NYHETER \2022\00a0';
		color: #46b4e7;
	}

	.fw-news-title {
		width: 100%;
		font-size: 16px;
		line-height: 1.3;
		margin-bottom: 0;
		font-weight: 600;
		text-align: center;
		color: #ffffff !important;
	}

	.fw-news-link {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		padding: 0;
		font-size: 0;
		width: 20px;
		height: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.fw-news-link svg {
		width: 16px;
		height: 16px;
		transform: none !important;
	}

	.fw-news-link:hover svg {
		transform: none;
	}

	/* AT-2026-08-31-001: punkterna är enda vägen vidare på mobil när
	   autorotationen är av, därför större tryckyta via ::after. */
	.fw-news-nav {
		width: 100%;
		justify-content: center;
		margin-top: 5px;
		padding-top: 0;
		border: none;
		gap: 20px;
	}
	.fw-news-nav-btn {
		position: relative;
		width: 8px;
		height: 8px;
		background: rgba(255,255,255,0.2);
	}
	.fw-news-nav-btn::after {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		width: 26px;
		height: 32px;
		transform: translate(-50%, -50%);
	}
	.fw-news-nav-btn.active {
		background: #46b4e7;
		transform: scale(1.2);
	}
}

/* AT-2026-08-31-001: ingen dekorativ rörelse när användaren bett om det. */
@media (prefers-reduced-motion: reduce) {
	.fw-news-dot {
		animation: none;
	}
	.fw-news-item {
		transition: none;
	}
	.fw-news-link svg,
	.fw-news-link:hover svg {
		transition: none;
		transform: none;
	}
}
