/**
 * Store Notice bar (GWT_Store_Notice): 1–4 centred columns on wide screens,
 * one rotating item at a time on narrow ones (store-notice.js).
 */

.gwt-store-notice {
	background: var(--gwt-store-notice-bg, #2F5D50);
	color: var(--gwt-store-notice-color, #ffffff);
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
}

.gwt-store-notice__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 56px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px 16px;
}

.gwt-store-notice__item p {
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.gwt-store-notice__item a,
.gwt-store-notice__item a:visited,
.gwt-store-notice__item a:hover,
.gwt-store-notice__item a:focus {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gwt-store-notice__item strong {
	font-weight: 600;
}

/* Narrow screens: all items share one cell and fade in turn. */
@media (max-width: 900px) {
	.gwt-store-notice__inner {
		display: grid;
		padding: 8px 16px;
	}

	.gwt-store-notice__item {
		grid-area: 1 / 1;
		align-self: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.4s ease, visibility 0.4s ease;
	}

	.gwt-store-notice__item.is-active {
		opacity: 1;
		visibility: visible;
	}
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
	.gwt-store-notice__item {
		transition: none;
	}
}
