@media (min-width: 768px) {
	#id-contact-badge {
		top: calc(50%);
	}
}

/* Registration form: focus + invalid (after submit attempt) */
.js-reg-field:focus {
	border: 2px solid #000;
	outline: none;
	box-shadow: none;
}
form.was-validated .js-reg-field:invalid {
	border: 2px solid #dc2626;
	color: #dc2626;
}
form.was-validated .js-reg-field:invalid::placeholder {
	color: #dc2626;
	opacity: 0.7;
}

/* Inline per-field error message (server-side validation) */
.reg-field-error {
	color: #dc2626;
	font-size: 0.875rem;
	margin-top: 6px;
	font-weight: 400;
}

/* Red border + placeholder when field has error (contact, registration, etc.) */
.has-error .js-reg-field {
	border: 2px solid #dc2626;
}
.has-error .js-reg-field::placeholder {
	color: #dc2626;
	opacity: 0.7;
}

.js-reg-field.is-invalid {
	border: 2px solid #dc2626;
}

/* Global (non-field) registration errors – non-bold alert above step content */
.reg-global-errors {
	font-weight: 400;
}
.reg-global-errors li {
	font-weight: 400;
}

/* News article detail – tag badge (Prague festival / Gloria) */
.news-article-badge {
	width: 14%;
	min-width: 120px;
	text-align: center;
}

/* News article detail – masonry gallery, 3 columns on large screens */
@media (min-width: 1024px) {
	.news-detail-gallery .grid-sizer,
	.news-detail-gallery .grid-item {
		width: 33.333%;
	}
}

/* Locale switcher – stable layout, dropdown below, no second arrow */
.id-locale-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.id-locale-trigger {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	white-space: nowrap;
}
.id-locale-dropdown {
	position: absolute;
	top: 100%;
	left: -13px;
	margin-top: 0;
	min-width: calc(100% + 13px);
	padding: 0;
	list-style: none;
	margin-left: 0;
	background: transparent;
	z-index: 50;
}
.id-locale-dropdown li {
	margin: 0;
}
.id-locale-dropdown .id-locale-option {
	display: block;
	padding: 4px 12px;
	text-decoration: none;
	color: #fff;
	white-space: nowrap;
	cursor: pointer;
	background: transparent;
}
.id-locale-dropdown .id-locale-option:hover {
	color: rgba(255, 255, 255, 0.85);
	background: transparent;
}

