.news-page {
	font-family: var(--sypn-font);
	color: var(--brand-asphalt-black);
}

.news-page h1,
.news-page h2,
.news-page h3 {
	margin: 0;
	font-weight: 700;
}

/* =========================================================
   Hero
   ========================================================= */

.sypn-hero--news {
	justify-content: flex-end;
	min-height: 200px;
	padding: 48px var(--sypn-gutter);
}

.sypn-hero--news .sypn-hero-content {
	gap: var(--sypn-space-sm);
}

.sypn-hero--news h1 {
	font-size: 48px;
	line-height: 56px;
}

.sypn-hero--news p {
	max-width: 664px;
}

/* =========================================================
   Listing
   ========================================================= */

.news-listing {
	display: grid;
	grid-template-columns: 296px minmax(0, 1fr);
	gap: var(--sypn-space-md);
	align-items: start;
	padding: 40px var(--sypn-gutter) 0;
}

.news-filters-toggle {
	display: none;
}

.news-filters {
	border: 1px solid var(--brand-asphalt-grey-25);
	border-radius: var(--sypn-radius-md);
	background: var(--neutral-white);
}

.news-filters__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.news-filters__head h2 {
	font-size: 20px;
	line-height: 32px;
}

.news-filters__head p {
	margin: 0;
	color: var(--brand-asphalt-black-75);
	font-size: 14px;
	line-height: 20px;
}

.news-filter {
	padding: 0 16px 16px;
}

.news-filter--dates {
	padding-top: 16px;
}

.news-filter__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	list-style: none;
	cursor: pointer;
}

.news-filter__summary::-webkit-details-marker {
	display: none;
}

.news-filter__chevron {
	font-size: 24px;
	transition: transform 0.2s ease;
}

.news-filter:not([open]) .news-filter__chevron {
	transform: rotate(180deg);
}

.news-filter__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
}

.news-filter--dates .news-filter__body {
	gap: 12px;
}

.news-check {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
}

.news-check:has(input:checked) span {
	font-weight: 700;
}

.news-check input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 3px;
	border: 0;
	border-radius: 2px;
	background: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.news-check input::before {
	content: 'check_box_outline_blank';
	display: block;
	width: 24px;
	height: 24px;
	margin: -3px;
	overflow: hidden;
	color: var(--brand-asphalt-grey-50);
	font-family: 'Material Symbols Outlined';
	font-size: 24px;
	line-height: 1;
	white-space: nowrap;
	font-feature-settings: 'liga';
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	-webkit-font-smoothing: antialiased;
}

.news-check input:checked::before {
	content: 'check_box';
	color: var(--brand-molten-orange);
	font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.news-check input:focus-visible {
	outline: var(--sypn-focus-outline);
	outline-offset: -2px;
	box-shadow: var(--sypn-focus-ring);
}

.news-date {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.news-date label {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.news-date__box {
	position: relative;
}

.news-date__box input {
	width: 100%;
	height: 48px;
	padding: 0 40px;
	border: 2px solid var(--brand-asphalt-black-50);
	border-radius: var(--sypn-radius-sm);
	background: var(--neutral-white);
	color: var(--brand-asphalt-black);
	font: inherit;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
}

.news-date__box input::-webkit-calendar-picker-indicator {
	display: none;
}

.news-date__box input:focus {
	border-color: var(--brand-asphalt-black);
	outline: 0;
}

.news-date__box input:focus-visible:not([data-pointer-focus]) {
	border-color: var(--brand-asphalt-black);
	outline: 0;
	box-shadow: var(--sypn-focus-ring);
}

.news-date__icon,
.news-date__chevron {
	position: absolute;
	top: 50%;
	color: var(--brand-asphalt-black-75);
	font-size: 20px;
	transform: translateY(-50%);
	pointer-events: none;
}

.news-date__icon {
	left: 12px;
}

.news-date__chevron {
	right: 12px;
}

.news-filters__actions {
	display: flex;
	align-items: center;
	gap: var(--sypn-space-sm);
	padding: 16px;
	border-top: 1px solid var(--brand-asphalt-black-25);
}

.news-filters__apply {
	flex: 1 1 auto;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sypn-space-md) var(--sypn-space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-grid > li {
	display: flex;
}

.news-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	padding: var(--sypn-space-sm);
	border: 1px solid var(--brand-asphalt-grey-75);
	border-radius: var(--sypn-radius-md);
	background: var(--neutral-white);
	color: var(--brand-asphalt-black);
	text-decoration: none;
}

.news-card:hover {
	color: var(--brand-asphalt-black);
}

.news-card:hover .news-card__title {
	text-decoration: underline;
}

.news-card:hover .sypn-arrow-btn {
	background: var(--sypn-orange-mid);
}

.news-card__image {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: var(--sypn-radius-md);
	object-fit: cover;
}

.news-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.news-card__date {
	margin: 0;
	color: var(--brand-asphalt-black-75);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

.news-page .news-card__title {
	font-size: 20px;
	line-height: 28px;
}

.news-card__arrow {
	align-self: flex-end;
	margin-top: auto;
}

.news-listing__empty {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.news-listing .tt-pagination {
	margin-top: 0;
	padding: var(--sypn-space-sm) 0 var(--sypn-space-xl);
}

.news-listing .tt-pagination__number,
.news-listing .tt-pagination__arrow {
	border: 2px solid var(--brand-asphalt-black-50);
	background: var(--neutral-white);
	font-family: var(--sypn-font);
}

.news-listing .tt-pagination__number.is-current {
	border-color: var(--brand-asphalt-black);
	background: var(--brand-molten-orange);
}

.news-listing .tt-pagination__arrow {
	border-color: var(--brand-asphalt-black);
	background: var(--brand-molten-orange);
}

.news-listing .tt-pagination__arrow.is-disabled {
	border-color: var(--brand-charcoal-50);
	background: var(--brand-asphalt-grey-25);
}

.news-listing .tt-pagination__arrow.is-disabled .material-symbols-outlined {
	color: var(--brand-asphalt-black-75);
}

.news-listing .tt-pagination__ellipsis {
	width: 48px;
	font-family: var(--sypn-font);
}

/* =========================================================
   Article
   ========================================================= */

.sypn-campaign--dark .sypn-campaign__copy {
	background: var(--brand-asphalt-black);
}

.sypn-campaign--dark .sypn-campaign__copy {
	color: var(--neutral-white);
}

.news-page .sypn-campaign__text {
	margin: 0;
}

.news-article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 282px;
	gap: var(--sypn-space-md);
	align-items: start;
	padding: 40px var(--sypn-gutter) 64px;
}

.news-article--no-side {
	grid-template-columns: minmax(0, 1fr);
}

.news-article__main {
	display: flex;
	flex-direction: column;
	gap: var(--sypn-space-md);
	min-width: 0;
}

.news-article__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.news-article__title {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.news-article__title h2 {
	font-size: 32px;
	line-height: 40px;
}

.news-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	color: var(--brand-asphalt-grey);
	font-size: 14px;
	line-height: 20px;
}

.news-article__notice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--utilities-info);
	border-radius: var(--sypn-radius-md);
	background: var(--alerts-info-fill);
	color: var(--brand-asphalt-black-75);
	font-size: 16px;
	line-height: 24px;
}

.news-article__notice .material-symbols-outlined {
	flex-shrink: 0;
	margin-top: 4px;
	font-size: 16px;
}

.news-article__intro {
	margin: 0;
	color: var(--brand-asphalt-black-75);
	font-size: 20px;
	line-height: 32px;
}

.news-article__block {
	color: var(--brand-asphalt-black-75);
	font-size: 16px;
	line-height: 24px;
}

.news-article__block > :first-child {
	margin-top: 0;
}

.news-article__block > :last-child {
	margin-bottom: 0;
}

.news-article__block p,
.news-article__block ul,
.news-article__block ol {
	margin: 0 0 var(--sypn-space-sm);
}

.news-article__block h2,
.news-article__block h3,
.news-article__block h4 {
	margin: var(--sypn-space-md) 0 var(--sypn-space-xs);
	color: var(--brand-asphalt-black);
}

.news-article__block h2 {
	font-size: 24px;
	line-height: 32px;
}

.news-article__block h3 {
	font-size: 20px;
	line-height: 28px;
}

.news-article__block a {
	color: var(--brand-asphalt-black);
	font-weight: 700;
	text-decoration: underline;
}

.news-article__block img {
	max-width: 100%;
	height: auto;
	border-radius: var(--sypn-radius-md);
}

.news-article__side > * + * {
	margin-top: 16px;
}

.news-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.news-tag {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 8px;
	border-radius: var(--sypn-radius-md);
	background: var(--brand-asphalt-black);
	color: var(--neutral-white);
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-decoration: none;
}

a.news-tag:hover {
	background: var(--brand-asphalt-black-75);
	color: var(--neutral-white);
}

/* =========================================================
   Tablet and mobile
   ========================================================= */

@media (max-width: 1199.98px) {
	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.sypn-hero--news {
		min-height: 216px;
	}

	.sypn-hero--news h1 {
		font-size: 40px;
		line-height: 48px;
	}

	.news-listing {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--sypn-space-sm);
		padding-top: var(--sypn-space-sm);
	}

	.news-page.is-enhanced .news-filters-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 100%;
		height: 48px;
		padding: 8px 40px;
		border: 1px solid var(--brand-asphalt-black-25);
		border-radius: var(--sypn-radius-md);
		background: var(--neutral-white);
		color: var(--brand-asphalt-black);
		font-size: 16px;
		font-weight: 700;
		line-height: 24px;
	}

	.news-page.is-enhanced .news-filters:not(.is-open) {
		display: none;
	}

	.news-page.is-enhanced .news-filters {
		margin-top: 16px;
	}

	.news-grid {
		gap: var(--sypn-space-sm);
	}

	.news-listing .tt-pagination {
		padding-bottom: var(--sypn-space-md);
	}

	.news-article {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--sypn-space-sm);
		padding: var(--sypn-space-sm) var(--sypn-gutter);
	}

	.news-article__main {
		gap: var(--sypn-space-sm);
	}

	.news-article__meta {
		flex-direction: column;
		color: var(--brand-asphalt-black-75);
	}

	.news-article__dot {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.news-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
