/* Pasek informacyjny o terminie realizacji (zadanie #1008). Ładowany tylko, gdy pasek jest aktywny. */

:root {
	--pik-pasek-h: 40px; /* nadpisuje js/termin-realizacji.js po zmierzeniu */
}

.pik-pasek {
	background: var(--hover);
	color: var(--second);
	font-size: 13px;
	line-height: 1.35;
	position: relative;
	z-index: 11;
}

.pik-pasek__wnetrze {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 12px;
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: center;
}

.pik-pasek__przycisk {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-weight: 700;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
	white-space: nowrap;
}

.pik-pasek__przycisk:hover,
.pik-pasek__przycisk:focus-visible {
	text-decoration: none;
}

/* Nagłówek ma stałą wysokość, więc rośnie o wysokość paska. */
.pik-ma-pasek header,
.pik-ma-pasek header .fixed {
	height: calc(84px + var(--pik-pasek-h));
}

@media (min-width:1279px) {
	.pik-ma-pasek header,
	.pik-ma-pasek header .fixed {
		height: calc(150px + var(--pik-pasek-h));
	}
}

.pik-pasek-okno {
	max-width: 560px;
	width: calc(100% - 32px);
	padding: 32px 28px 24px;
	border: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	color: var(--first);
	font-size: 15px;
	line-height: 1.5;
}

.pik-pasek-okno::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.pik-pasek-okno__tytul {
	font-size: 20px;
	margin: 0 24px 16px 0;
}

.pik-pasek-okno__tresc p {
	margin: 0 0 12px;
}

.pik-pasek-okno__tresc a {
	color: inherit;
	text-decoration: underline;
	white-space: nowrap; /* adres e-mail w jednej linii, bez łamania po dywizie */
}

.pik-pasek-okno__zamknij {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--first);
}
