.bn-news-widget {
	--widget-ink: #17222b;
	--widget-muted: #5f6b76;
	--widget-line: #d9e2ea;
	--widget-primary: var(--bn-primary, #124b65);
	min-width: 0;
	background: transparent;
}

.bn-news-widget__head {
	margin-bottom: 10px;
	border-bottom: 1px solid var(--widget-line);
}

.bn-news-widget__head h2 {
	margin: 0;
	border-left: 4px solid var(--widget-primary);
	padding: 0 0 10px 10px;
	color: var(--widget-primary);
	font-size: 22px;
	line-height: 1.25;
	font-weight: 800;
}

.bn-news-widget__empty {
	margin: 0;
	padding: 16px;
	border: 1px dashed var(--widget-line);
	color: var(--widget-muted);
	text-align: center;
}

.bn-news-tabs-widget__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 8px;
	background: #e8eef3;
}

.bn-news-tabs-widget__tabs button {
	min-height: 42px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--widget-primary);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.bn-news-tabs-widget__tabs button.is-active {
	border-bottom-color: var(--widget-primary);
	background: rgba(255, 255, 255, 0.45);
}

.bn-news-tabs-widget__panel {
	display: grid;
	gap: 0;
}

.bn-news-widget__more,
.bn-local-news-widget button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	background: var(--widget-primary);
	color: #fff;
	padding: 0 16px;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.bn-news-widget__more {
	margin-top: 12px;
}

.bn-local-news-widget__form {
	display: grid;
	grid-template-columns: repeat(var(--local-level-count, 3), minmax(0, 1fr)) repeat(2, minmax(150px, 0.75fr)) minmax(150px, 0.8fr);
	gap: 12px;
	align-items: end;
	padding: 14px;
	border: 1px solid var(--widget-line);
	background: #f7fafc;
}

.bn-news-widget--sidebar .bn-local-news-widget__form {
	grid-template-columns: 1fr;
}

.bn-local-news-widget select,
.bn-local-news-widget input[type="date"] {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	border: 1px solid #dce5ed;
	background: #fff;
	color: var(--widget-ink);
	padding: 0 36px 0 12px;
	font: inherit;
	font-weight: 700;
	outline: 0;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.bn-local-news-widget select:focus,
.bn-local-news-widget input[type="date"]:focus {
	border-color: var(--widget-primary);
	box-shadow: 0 0 0 3px rgba(18, 75, 101, 0.12);
}

.bn-local-news-widget select:disabled {
	color: #8a96a3;
	cursor: not-allowed;
	opacity: 0.72;
}

.bn-local-news-widget select.is-loading {
	background-image: linear-gradient(90deg, transparent, rgba(18, 75, 101, 0.08), transparent);
	background-size: 220% 100%;
	animation: bn-location-loading 1s linear infinite;
}

@keyframes bn-location-loading {
	to {
		background-position-x: -220%;
	}
}

.bn-home-section__component {
	margin: 18px 0;
}

.bn-home-section__component:first-child {
	margin-top: 0;
}

.bn-home-section__sidebar {
	min-width: 0;
	border-left: 1px solid var(--home-line, #e2e8ee);
	padding-left: 16px;
}

.bn-home-section__sidebar--left {
	border-right: 1px solid var(--home-line, #e2e8ee);
	border-left: 0;
	padding-right: 16px;
	padding-left: 0;
}

.bn-home-section__layout--sidebar-left > .bn-home-section__sidebar {
	order: -1;
}

@media (max-width: 900px) {
	.bn-home-section__sidebar,
	.bn-home-section__sidebar--left {
		border: 0;
		padding: 0;
	}

	.bn-home-section__layout--sidebar-left > .bn-home-section__sidebar {
		order: 0;
	}
}

@media (max-width: 700px) {
	.bn-local-news-widget__form {
		grid-template-columns: 1fr;
	}

	.bn-news-widget__head h2 {
		font-size: 20px;
	}
}
