.ip-news-popup {
	bottom: 34px;
	box-sizing: border-box;
	font-family: inherit;
	left: 34px;
	max-width: min(568px, calc(100vw - 40px));
	position: fixed;
	width: 568px;
	z-index: 9999999;
}

.ip-news-popup,
.ip-news-popup * {
	box-sizing: border-box;
}

.ip-news-popup[hidden] {
	display: none;
}

.ip-news-popup__frame {
	background: #23345e;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
	padding: 16px;
}

.ip-news-popup__content {
	background: #fff;
	color: #404040;
	padding: 26px 32px 30px;
}

.ip-news-popup__topline {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 22px;
}

.ip-news-popup__label {
	background: #f1f4fa;
	border-radius: 999px;
	color: #2c3240;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	padding: 7px 12px;
	text-transform: uppercase;
}

.ip-news-popup__close {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #e0e4ec;
	border-radius: 8px;
	color: #212638;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 36px;
	font: inherit;
	font-size: 24px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 36px;
}

.ip-news-popup__close:hover,
.ip-news-popup__close:focus {
	border-color: #cbd2df;
	color: #23345e;
	outline: none;
}

.ip-news-popup__title {
	color: #111;
	font-family: inherit;
	font-size: 23px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.28;
	margin: 0 0 16px;
}

.ip-news-popup__body {
	color: #6b6f78;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 26px;
}

.ip-news-popup__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ip-news-popup__primary,
.ip-news-popup__secondary {
	align-items: center;
	border-radius: 9px;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.2;
	min-height: 50px;
	padding: 14px 22px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ip-news-popup__primary {
	background: #2f82ff;
	border: 1px solid #2f82ff;
	color: #fff;
}

.ip-news-popup__primary:visited {
	color: #fff;
}

.ip-news-popup__primary:hover,
.ip-news-popup__primary:focus {
	background: #1e6fe4;
	border-color: #1e6fe4;
	color: #fff;
	outline: none;
	text-decoration: none;
}

.ip-news-popup__secondary {
	appearance: none;
	background: #fff;
	border: 1px solid #e2e5eb;
	color: #1b1b1b;
}

.ip-news-popup__secondary:visited {
	color: #1b1b1b;
}

.ip-news-popup__secondary:hover,
.ip-news-popup__secondary:focus {
	border-color: #cbd2df;
	color: #23345e;
	outline: none;
}

@media (max-width: 640px) {
	.ip-news-popup {
		bottom: 18px;
		left: 18px;
		max-width: calc(100vw - 36px);
		width: calc(100vw - 36px);
	}

	.ip-news-popup__frame {
		padding: 12px;
	}

	.ip-news-popup__content {
		padding: 22px 20px 24px;
	}

	.ip-news-popup__title {
		font-size: 20px;
	}

	.ip-news-popup__body {
		font-size: 15px;
	}

	.ip-news-popup__primary,
	.ip-news-popup__secondary {
		width: 100%;
	}
}
