/* Týden svobody – banner s přihlášením k newsletteru */

.tsnl {
	box-sizing: border-box;
	background: #ee263e;
	color: #111;
	border-radius: 14px;
	padding: clamp(36px, 6vw, 80px) clamp(20px, 4vw, 56px);
	font-family: inherit;
	scroll-margin-top: 24px;
}

.tsnl *,
.tsnl *::before,
.tsnl *::after {
	box-sizing: border-box;
}

.tsnl__inner {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.tsnl .tsnl__title {
	margin: 0;
	font-family: inherit;
	font-size: clamp(34px, 4.6vw, 60px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	text-wrap: balance;
	color: #111;
}

.tsnl .tsnl__perex {
	margin: 0;
	max-width: 34em;
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.5;
	color: #111;
}

.tsnl__form {
	width: 100%;
	max-width: 560px;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.tsnl__field {
	display: flex;
	gap: 6px;
	width: 100%;
	padding: 6px;
	background: #fff;
	border: 2px solid #fff;
	border-radius: 999px;
	transition: border-color .15s;
}

.tsnl.is-invalid .tsnl__field {
	border-color: #111;
}

.tsnl .tsnl__field input {
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	font: inherit;
	font-size: 17px;
	line-height: 1.3;
	color: #111;
	outline: none;
}

.tsnl .tsnl__field input::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

.tsnl .tsnl__field button {
	flex: 0 0 auto;
	margin: 0;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: #111;
	color: #fff;
	box-shadow: none;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background .15s;
}

.tsnl .tsnl__field button:hover {
	background: #333;
}

.tsnl .tsnl__field button[disabled] {
	opacity: .6;
	cursor: wait;
}

.tsnl__field:focus-within {
	border-color: #111;
}

.tsnl .tsnl__error {
	margin: 0;
	padding: 6px 14px;
	background: #111;
	color: #fff;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.tsnl .tsnl__error[hidden] {
	display: none;
}

.tsnl__done {
	display: none;
}

.tsnl.is-done .tsnl__done {
	display: block;
	padding: 16px 28px;
	background: #111;
	color: #fff;
	border-radius: 999px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.tsnl.is-done .tsnl__form {
	display: none;
}

.tsnl .tsnl__consent {
	margin: 0;
	max-width: 44em;
	font-size: 13px;
	line-height: 1.55;
	color: #111;
}

.tsnl .tsnl__consent a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tsnl .tsnl__consent a:hover {
	color: #fff;
}

/* Skryté pole proti robotům. */
.tsnl__hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 420px) {
	.tsnl__field {
		flex-direction: column;
		border-radius: 20px;
	}
	.tsnl .tsnl__field button {
		width: 100%;
	}
}
