.ht-site-notice-modal {
	width: 92%;
}

.ht-site-notice__counter {
	float: right;
	font-size: 0.75rem;
	font-weight: bold;
	margin: 12px 14px 0 0;
}

.ht-site-notice__content {
	max-height: min(72vh, 640px);
}

.ht-site-notice__image {
	background: #e8f8ff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	margin-bottom: 10px;
	overflow: hidden;
	text-align: center;
}

.ht-site-notice__image img {
	display: block;
	height: auto;
	max-height: 220px;
	object-fit: cover;
	width: 100%;
}

.ht-site-notice__body {
	color: #27323a;
	font-size: 0.95rem;
	line-height: 1.5;
}

.ht-site-notice__body > :first-child {
	margin-top: 0;
}

.ht-site-notice__body > :last-child {
	margin-bottom: 0;
}

.ht-site-notice__actions {
	align-items: center;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	margin-top: 12px;
	padding-top: 10px;
}

.ht-site-notice__remember {
	align-items: center;
	color: #26343d;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.85rem;
	font-weight: 700;
	gap: 6px;
	line-height: 1.25;
}

.ht-site-notice__remember input {
	margin: 0;
}

.ht-site-notice__buttons {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-left: auto;
}

.ht-site-notice__buttons .button.button-small {
	padding: 10px 14px;
}

@media (max-width: 520px) {
	.ht-site-notice__counter {
		clear: both;
		float: left;
		margin: 2px 0 8px 14px;
	}

	.ht-site-notice__actions,
	.ht-site-notice__buttons {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.ht-site-notice__buttons {
		margin-left: 0;
	}
}
