/* Offer topbar - see template-parts/header/header-offer-bar.php */
.offer-topbar {
	position: relative;
	z-index: 1000;
	background-color: #1e75b9;
	color: #ffffff;
	max-height: 200px;
	overflow: hidden;
	transition: max-height 300ms ease-in-out, opacity 300ms ease-in-out;
}

.offer-topbar.is-closing {
	max-height: 0;
	opacity: 0;
}

.offer-topbar__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px 50px;
	text-align: center;
}

.offer-topbar__text {
	margin: 0;
	padding: 0;
	font-family: "Futura Cyrillic Demi", sans-serif;
	font-size: 17px;
	line-height: 1.4;
	color: #ffffff;
}

.offer-topbar__link {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	margin-left: 6px;
	white-space: nowrap;
	transition: color 300ms ease-in-out;
}

.offer-topbar__link:hover,
.offer-topbar__link:focus {
	color: #ffffff;
	text-decoration-color: #ea1d26;
}

.offer-topbar__close {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	font-size: 26px;
	line-height: 32px;
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 200ms ease-in-out;
}

.offer-topbar__close:hover,
.offer-topbar__close:focus {
	opacity: 1;
}

@media (max-width: 767px) {
	.offer-topbar__inner {
		padding: 8px 40px 8px 15px;
	}

	.offer-topbar__text {
		font-size: 14px;
	}
}
