.site-main:has(.promille-price-archive),
.site-main:has(.promille-price-links) {
	padding: 48px 0 72px;
}

.site-main:has(.promille-price-archive) .entry-header,
.site-main:has(.promille-price-archive) .entry-content,
.site-main:has(.promille-price-links) .entry-header,
.site-main:has(.promille-price-links) .entry-content {
	max-width: 1140px;
	min-width: 0;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

.site-main:has(.promille-price-archive) .entry-title,
.site-main:has(.promille-price-links) .entry-title {
	display: block;
	margin: 0 0 28px;
	padding-bottom: 16px;
	color: #212121;
	font-family: Montserrat, sans-serif;
	font-size: 32px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	position: relative;
}

.site-main:has(.promille-price-archive) .entry-title::after,
.site-main:has(.promille-price-links) .entry-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 70px;
	height: 3px;
	background: #af215a;
}

.promille-price-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.promille-price-links li {
	display: inline-block;
	margin: 0 0.75rem 0.25rem 0;
}

.entry-content .promille-price-links a {
	color: #af215a;
	font-weight: 700;
}

.entry-content .promille-price-links a:hover {
	color: #212121;
}

.promille-price-archive {
	min-width: 0;
	margin: 0;
	color: #555;
}

.promille-price-table {
	max-width: 100%;
	overflow-x: auto;
	border: 1px solid #eee;
	-webkit-overflow-scrolling: touch;
}

.promille-price-archive table {
	width: 100%;
	border-collapse: collapse;
}

.promille-price-archive th {
	padding: 12px 14px;
	background: #212121;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.promille-price-archive td {
	padding: 14px;
	border-bottom: 1px solid #eee;
	text-align: left;
	vertical-align: middle;
	white-space: nowrap;
}

.promille-price-archive tbody tr:last-child td {
	border-bottom: 0;
}

.promille-price-archive tbody tr:hover td {
	background: #faf7f8;
}

.promille-price-current td {
	background: #fdf3f6;
}

.promille-price-file {
	color: #212121;
	font-weight: 600;
	white-space: normal;
	min-width: 12rem;
}

.promille-price-badge {
	display: inline-block;
	padding: 3px 8px;
	background: #f2f2f2;
	color: #555;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
	text-transform: uppercase;
}

.promille-price-badge.is-current {
	background: #af215a;
	color: #fff;
}

.promille-price-button {
	display: inline-block;
	padding: 8px 12px;
	background: #af215a;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 3px;
}

.promille-price-button:hover {
	background: #212121;
	color: #fff;
}

.promille-price-missing {
	color: #999;
}

.promille-price-pagination {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-top: 18px;
}

.promille-price-pagination a {
	color: #af215a;
	font-weight: 700;
}

.promille-price-pagination a:hover {
	color: #212121;
}

@media (max-width: 575px) {
	.site-main:has(.promille-price-archive) .entry-title,
	.site-main:has(.promille-price-links) .entry-title {
		font-size: 26px;
	}
}

@media (max-width: 640px) {
	.promille-price-archive table,
	.promille-price-archive tbody,
	.promille-price-archive tr,
	.promille-price-archive td {
		display: block;
		width: auto;
		min-width: 0;
		white-space: normal;
	}

	.promille-price-archive thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.promille-price-archive tr {
		padding: 12px 0;
		border-bottom: 1px solid #eee;
	}

	.promille-price-archive tr:last-child {
		border-bottom: 0;
	}

	.promille-price-archive td {
		padding: 6px 14px;
		border-bottom: 0;
	}

	.promille-price-archive td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 2px;
		color: #888;
		font-family: Montserrat, sans-serif;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.3;
		text-transform: uppercase;
	}
}
