.fair-news-modal[hidden] {
	display: none;
}

.fair-news-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fair-news-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 18, 14, 0.6);
	backdrop-filter: blur(2px);
}

.fair-news-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	width: 100%;
	max-width: 1100px;
	max-height: calc(100vh - 40px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.fair-news-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid #ece8e2;
	background: #fff;
}

.fair-news-modal-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
}

.fair-news-modal-close {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	border-radius: 50%;
	color: #555;
	font-size: 18px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.fair-news-modal-close:hover,
.fair-news-modal-close:focus {
	background: #f0ebe3;
	color: #a54843;
	outline: none;
}

.fair-news-modal-body {
	padding: 24px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.fair-news-modal-open {
	overflow: hidden;
}

.fair-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.fair-news-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ece8e2;
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.fair-news-card:hover {
	border-color: #d2cac0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.fair-news-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #f7f5f2;
}

.fair-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fair-news-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
	flex: 1;
}

.fair-news-date {
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fair-news-headline {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

.fair-news-headline a {
	color: #222;
	text-decoration: none;
}

.fair-news-headline a:hover {
	color: #a54843;
}

.fair-news-intro {
	margin: 0;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}

.fair-news-link {
	margin-top: auto;
	align-self: flex-start;
}

.fair-news-empty {
	margin: 0;
	padding: 24px;
	text-align: center;
	color: #888;
	background: #f7f5f2;
	border-radius: 6px;
}
