/* Shared top-stories carousel for home, category, and municipality/topic archives. */
.aaws-news-slider {
	position: relative;
	overflow: hidden;
	border: 1px solid #e1e6ea;
	background: #fff;
	box-shadow: 0 4px 18px rgb(18 63 97 / 8%);
}

.aaws-archive-slider {
	margin-inline: 0;
}

.aaws-news-slider__slides {
	display: grid;
	background: #fff;
}

.aaws-news-slider__slide {
	grid-area: 1 / 1;
	margin: 0;
	padding: 0 !important;
	border: 0;
	background: #fff;
}

.aaws-news-slider:not(.is-ready) .aaws-news-slider__slide:not(.is-active) {
	display: none;
}

.aaws-news-slider.is-ready .aaws-news-slider__slide {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 420ms ease, visibility 420ms ease;
}

.aaws-news-slider.is-ready .aaws-news-slider__slide.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.aaws-news-slider .aaws-hero-story,
.aaws-news-slider .aaws-hero-story__link {
	height: 360px;
}

.aaws-news-slider .aaws-hero-story__link {
	display: grid;
	grid-template-columns: 55% minmax(0, 45%);
	background: #fff;
	color: #222;
	text-decoration: none;
}

.aaws-news-slider .aaws-hero-story__image {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #eef2f5;
}

.aaws-news-slider .aaws-hero-story__image img,
.aaws-news-slider .aaws-hero-story__image .aaws-story-image__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.aaws-news-slider .aaws-hero-story__overlay {
	display: none;
}

.aaws-news-slider .aaws-image-preview-button {
	inset: 0 auto 0 0;
	width: 55%;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: transparent;
	opacity: 0;
	transform: none;
}

.aaws-news-slider .aaws-image-preview-button svg {
	display: none;
}

.aaws-news-slider .aaws-image-preview-button:hover {
	border: 0;
	background: transparent;
	color: transparent;
	transform: none;
}

.aaws-news-slider .aaws-image-preview-button:focus-visible {
	opacity: 1;
	outline: 3px solid #ffb000;
	outline-offset: -3px;
}

.aaws-news-slider .aaws-hero-story__content {
	display: flex;
	position: static;
	flex-direction: column;
	justify-content: center;
	padding: 30px 28px 64px;
	background: #fff;
	color: #222;
}

.aaws-news-slider .aaws-hero-story__content .aaws-story-label {
	margin: 0 0 10px;
	color: #0b5f9b;
	font-family: var(--aaws-condensed);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.aaws-news-slider .aaws-hero-story__title {
	max-width: none;
	color: #20262b;
	font-family: var(--aaws-display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.16;
}

.aaws-news-slider__excerpt {
	display: -webkit-box;
	margin-top: 13px;
	overflow: hidden;
	color: #555f66;
	font-size: 14px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.aaws-news-slider__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-top: 13px;
	color: #89939a;
	font-size: 10px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aaws-news-slider .aaws-news-slider__meta time {
	display: inline;
	margin: 0;
	color: inherit;
	font-size: inherit;
	text-transform: inherit;
}

.aaws-news-slider__controls {
	display: flex;
	position: absolute;
	right: 16px;
	bottom: 15px;
	z-index: 3;
	gap: 5px;
}

.aaws-news-slider__control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-height: 30px;
	padding: 0;
	border: 1px solid #cbd5dc;
	border-radius: 2px;
	background: #fff;
	color: #123f61;
	box-shadow: none;
	cursor: pointer;
}

.aaws-news-slider__control svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.aaws-news-slider__toggle-icon {
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: -2px;
	transform: translateX(-1px);
}

.aaws-news-slider__control:hover,
.aaws-news-slider__control:focus-visible {
	border-color: #123f61;
	background: #123f61;
	color: #fff;
}

.aaws-news-slider__control:focus-visible,
.aaws-news-slider__dot:focus-visible {
	outline: 3px solid #ffb000;
	outline-offset: 2px;
}

.aaws-news-slider__dots {
	display: flex;
	position: absolute;
	bottom: 26px;
	left: calc(55% + 28px);
	z-index: 3;
	align-items: center;
	gap: 6px;
}

.aaws-news-slider__dot {
	width: 7px;
	height: 7px;
	min-height: 7px;
	padding: 0;
	border: 1px solid #8ea2b1;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.aaws-news-slider__dot.is-active {
	border-color: #123f61;
	background: #123f61;
	box-shadow: 0 0 0 2px rgb(18 63 97 / 14%);
}

@media (max-width: 991px) {
	.aaws-news-slider .aaws-hero-story,
	.aaws-news-slider .aaws-hero-story__link {
		height: 310px;
	}

	.aaws-news-slider .aaws-hero-story__link {
		grid-template-columns: 50% minmax(0, 50%);
	}

	.aaws-news-slider .aaws-image-preview-button {
		width: 50%;
	}

	.aaws-news-slider .aaws-hero-story__content {
		padding: 24px 22px 58px;
	}

	.aaws-news-slider .aaws-hero-story__title {
		font-size: 25px;
	}

	.aaws-news-slider__excerpt {
		font-size: 13px;
		-webkit-line-clamp: 2;
	}

	.aaws-news-slider__dots {
		left: calc(50% + 22px);
	}
}

@media (max-width: 768px) {
	.aaws-news-slider .aaws-hero-story,
	.aaws-news-slider .aaws-hero-story__link {
		height: auto;
	}

	.aaws-news-slider .aaws-hero-story__link {
		grid-template-rows: auto minmax(200px, auto);
		grid-template-columns: 1fr;
	}

	.aaws-news-slider .aaws-hero-story__image {
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.aaws-news-slider .aaws-image-preview-button {
		top: 0;
		right: 0;
		bottom: auto;
		left: 0;
		width: 100%;
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.aaws-news-slider .aaws-hero-story__content {
		padding: 18px 17px 54px;
	}

	.aaws-news-slider .aaws-hero-story__content .aaws-story-label {
		margin-bottom: 7px;
		font-size: 9px;
	}

	.aaws-news-slider .aaws-hero-story__title {
		font-size: clamp(19px, 3.2vw, 23px);
		line-height: 1.18;
	}

	.aaws-news-slider__excerpt {
		margin-top: 8px;
		font-size: 12.5px;
		line-height: 1.4;
		-webkit-line-clamp: 2;
	}

	.aaws-news-slider__meta {
		gap: 5px;
		margin-top: 8px;
		font-size: 9px;
	}

	.aaws-news-slider__controls {
		right: 11px;
		bottom: 11px;
	}

	.aaws-news-slider__control {
		width: 27px;
		height: 27px;
		min-height: 27px;
	}

	.aaws-news-slider__dots {
		bottom: 21px;
		left: 17px;
	}
}

@media (max-width: 520px) {
	.aaws-news-slider .aaws-hero-story,
	.aaws-news-slider .aaws-hero-story__link {
		height: auto;
	}

	.aaws-news-slider .aaws-hero-story__link {
		grid-template-rows: auto minmax(195px, auto);
		grid-template-columns: 1fr;
	}

	.aaws-news-slider .aaws-image-preview-button {
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.aaws-news-slider .aaws-hero-story__content {
		padding: 17px 17px 53px;
	}

	.aaws-news-slider .aaws-hero-story__title {
		font-size: 21px;
	}

	.aaws-news-slider__dots {
		bottom: 20px;
		left: 17px;
	}
}

@media (max-width: 390px) {
	.aaws-news-slider .aaws-hero-story,
	.aaws-news-slider .aaws-hero-story__link {
		height: auto;
	}

	.aaws-news-slider .aaws-hero-story__link {
		grid-template-rows: auto minmax(185px, auto);
	}

	.aaws-news-slider .aaws-image-preview-button {
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.aaws-news-slider .aaws-hero-story__title {
		font-size: 20px;
	}

	.aaws-news-slider__excerpt {
		font-size: 12px;
		-webkit-line-clamp: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aaws-news-slider.is-ready .aaws-news-slider__slide {
		transition: none;
	}
}
