/* News Archive Page Styles */
.news-archive-page {
	padding-top: 40px;
	padding-bottom: 80px;
}

/* Header (Figma Node: 1:1467 Desktop / 1:1491 Mobile) */
.news-archive-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 2px solid #FFFFFF;
	padding-bottom: 24px;
	position: relative;
	margin-bottom: 48px;
}

.news-archive-title-wrapper {
	position: relative;
}

.news-archive-title {
	font-family: 'DIN Pro', sans-serif;
	font-size: 48px;
	font-weight: 700;
	/* Condensed Bold */
	font-stretch: condensed;
	line-height: 1.1;
	color: #FFFFFF;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

/* Sticker rotated -15deg */
.news-archive-sticker-wrapper {
	position: absolute;
	left: 94px;
	top: 30px;
	z-index: 10;
}

.news-archive-sticker {
	background-color: #E30613;
	padding: 8px;
	transform: rotate(-15deg);
	display: inline-block;
}

.news-archive-sticker span {
	font-family: 'DD_02', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: #F5F5F5;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Category Filter Tags (Figma Node: 1:1469) */
.news-archive-tags-container {
	display: flex;
	align-items: center;
}

.news-archive-tags-row {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
}

.news-archive-tag {
	background: transparent;
	border: 1px solid #FFFFFF;
	padding: 10px 16px;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
	border-radius: 0;
}

.news-archive-tag span {
	font-family: 'DIN Pro', sans-serif;
	font-size: 20px;
	font-weight: 400;
	/* Condensed Regular */
	font-stretch: condensed;
	line-height: 1.2;
	color: #FFFFFF;
	white-space: nowrap;
}

.news-archive-tag.active {
	background-color: #E30613;
	border-color: #E30613;
}

.news-archive-tag.active span {
	font-weight: 700;
	/* Condensed Bold */
}

.news-archive-tag:hover:not(.active) {
	background-color: rgba(255, 255, 255, 0.1);
}

/* Grid & Masonry Styles */
.news-archive-grid-wrapper {
	width: 100%;
}

.news-archive-grid {
	width: 100%;
	margin-left: -16px;
	margin-right: -16px;
}

.news-archive-grid-inner {
	width: 100%;
}

.news-grid-sizer {
	width: 25%;
}

.news-archive-card {
	float: left;
	padding-left: 16px;
	padding-right: 16px;
	margin-bottom: 40px;
	box-sizing: border-box;
}

.news-card-link-wrapper {
	display: block;
	text-decoration: none;
	color: #FFFFFF;
}

/* Card Type Widths */
.news-card-type-1 {
	width: 25%;
}

.news-card-type-2 {
	width: 25%;
}

.news-card-type-3 {
	width: 50%;
}

/* Common Card elements */
.news-card-img {
	position: relative;
	overflow: hidden;
	background: #1a1a1a;
	width: 100%;
}

.news-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease-in-out;
}

.news-card-link-wrapper:hover .news-card-img img {
	transform: scale(1.05);
}

.news-card-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	margin-top: 16px;
}

.news-card-sticker {
	background-color: #E30613;
	padding: 4px 8px;
	display: inline-block;
}

.news-card-sticker span {
	font-family: 'DIN Pro', sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-stretch: condensed;
	line-height: 1.2;
	color: #FFFFFF;
	text-transform: uppercase;
}

.news-card-title {
	font-family: 'DD_02', sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	color: #FFFFFF;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

.news-card-desc {
	font-family: 'DIN Pro', sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-stretch: condensed;
	line-height: 1.2;
	color: #FFFFFF;
	margin: 0;
	padding: 0;
	opacity: 0.8;
}

/* CARD TYPE SPECIFICS */

/* Type-1: Row layout */
.news-card-type-1 .news-card-link-wrapper {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.news-card-type-1 .news-card-img {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
}

.news-card-type-1 .news-card-content {
	margin-top: 0;
	flex: 1;
}

/* Type-2: Column layout (Medium) */
.news-card-type-2 .news-card-img {
	height: 232px;
}

/* Type-3: Column layout (Large) */
.news-card-type-3 .news-card-img {
	height: 373px;
}

.news-card-type-3 .news-card-content {
	max-width: 496px;
}

.news-card-type-3 .news-card-title {
	font-size: 32px;
	color: #E30613;
}

/* No news messaging */
.news-no-posts {
	font-family: 'DIN Pro', sans-serif;
	font-size: 20px;
	color: #FFFFFF;
	text-align: center;
	padding: 40px;
	width: 100%;
}


/* Responsive Styling (Mobile: 1:1491, 1:1509) */
@media (max-width: 767px) {
	.news-archive-page {
		padding-top: 0px;
		padding-bottom: 60px;
	}

	.news-archive-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		border-bottom-width: 1px;
		padding-bottom: 12px;
		margin-bottom: 24px;
	}

	.news-archive-sticker-wrapper {
		left: 140px;
		top: 5px;
	}

	.news-archive-tags-container {
		width: 100%;
	}

	.news-archive-tags-row {
		flex-wrap: wrap;
		gap: 12px;
		width: 100%;
	}

	.news-archive-tag {
		flex: 0 0 auto;
		padding: 10px 16px;
		text-align: center;
	}

	.news-archive-tag span {
		font-size: 16px;
	}

	/* Stack cards vertically */
	.news-archive-grid {
		margin-left: 0;
		margin-right: 0;
	}

	.news-grid-sizer {
		width: 100%;
	}

	.news-archive-card {
		width: 100% !important;
		float: none;
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 32px;
	}

	/* Mobile specific card styles */
	.news-card-type-1 .news-card-link-wrapper {
		gap: 16px;
	}

	.news-card-type-1 .news-card-img {
		width: 120px;
		height: 120px;
	}

	.news-card-type-1 .news-card-content {
		width: auto;
	}

	.news-card-type-2 .news-card-img {
		height: 232px;
	}

	.news-card-type-3 .news-card-img {
		height: 240px;
		/* Reduces from 373px */
	}

	.news-card-type-3 .news-card-title {
		font-size: 24px;
		/* Scaled down from 32px */
		color: #FFFFFF;
		/* Turns back to white on mobile */
	}
}