.osb-tab-news-wrap {
	--osb-tab-news-primary: #00a0e8;
	--osb-tab-news-primary-dark: #007fba;
	--osb-tab-news-border: #e4e8ec;
	--osb-tab-news-text: #333b43;
	--osb-tab-news-muted: #6f7a83;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	color: var(--osb-tab-news-text);
	background: #fff;
	border: 1px solid var(--osb-tab-news-border);
	border-radius: 8px;
	box-shadow: 0 3px 14px rgb(28 50 64 / 6%);
}

.osb-tab-news-wrap,
.osb-tab-news-wrap * {
	box-sizing: border-box;
}

.osb-tab-news-tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	background: #f2f5f7;
	border-bottom: 1px solid var(--osb-tab-news-border);
}

.osb-tab-news-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 52px;
	margin: 0;
	padding: 10px 8px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--osb-tab-news-primary-dark);
	text-align: center;
	cursor: pointer;
	background: #f9fbfc;
	border: 0;
	border-right: 1px solid var(--osb-tab-news-border);
	border-radius: 0;
	appearance: none;
	transition: color 160ms ease, background-color 160ms ease;
}

.osb-tab-news-tab:last-child {
	border-right: 0;
}

.osb-tab-news-tab:hover {
	color: var(--osb-tab-news-primary-dark);
	background: #eaf7fd;
}

.osb-tab-news-tab[aria-selected="true"] {
	font-weight: 700;
	color: #fff;
	background: var(--osb-tab-news-primary);
}

.osb-tab-news-tab[aria-selected="true"]:hover {
	color: #fff;
	background: var(--osb-tab-news-primary-dark);
}

.osb-tab-news-tab:focus {
	position: relative;
	z-index: 1;
	outline: 3px solid #004f75;
	outline-offset: -3px;
}

.osb-tab-news-tab:focus:not(:focus-visible) {
	outline: none;
}

.osb-tab-news-tab:focus-visible {
	outline: 3px solid #004f75;
	outline-offset: -3px;
}

.osb-tab-news-tab-label {
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.osb-tab-news-panel {
	min-width: 0;
	padding: 4px 20px;
	background: #fff;
}

.osb-tab-news-panel[hidden] {
	display: none;
}

.osb-tab-news-panel:focus {
	outline: 2px solid var(--osb-tab-news-primary);
	outline-offset: -2px;
}

.osb-tab-news-panel:focus:not(:focus-visible) {
	outline: none;
}

.osb-tab-news-panel:focus-visible {
	outline: 2px solid var(--osb-tab-news-primary);
	outline-offset: -2px;
}

.osb-tab-news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.osb-tab-news-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--osb-tab-news-border);
}

.osb-tab-news-item:last-child {
	border-bottom: 0;
}

.osb-tab-news-link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	min-width: 0;
	padding: 9px 2px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--osb-tab-news-text);
	text-decoration: none;
	transition: color 160ms ease;
}

.osb-tab-news-link:hover {
	color: var(--osb-tab-news-primary);
	text-decoration: none;
}

.osb-tab-news-link:focus {
	color: var(--osb-tab-news-primary-dark);
	outline: 2px solid var(--osb-tab-news-primary);
	outline-offset: -2px;
}

.osb-tab-news-link:focus:not(:focus-visible) {
	outline: none;
}

.osb-tab-news-link:focus-visible {
	outline: 2px solid var(--osb-tab-news-primary);
	outline-offset: -2px;
}

.osb-tab-news-thumbnail-wrap {
	display: block;
	flex: 0 0 75px;
	width: 75px;
	height: 75px;
	overflow: hidden;
	background: #f2f3f4;
}

.osb-tab-news-thumbnail-wrap .osb-tab-news-thumbnail,
.osb-tab-news-thumbnail-placeholder {
	display: block;
	width: 75px;
	height: 75px;
}

.osb-tab-news-thumbnail-wrap .osb-tab-news-thumbnail {
	object-fit: cover;
}

.osb-tab-news-thumbnail-placeholder {
	background: #f2f3f4;
}

.osb-tab-news-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

.osb-tab-news-empty {
	margin: 0;
	padding: 18px 2px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--osb-tab-news-muted);
}

@media (max-width: 1023px) {
	.osb-tab-news-tab {
		padding-right: 6px;
		padding-left: 6px;
		font-size: 14px;
	}

	.osb-tab-news-panel {
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media (max-width: 767px) {
	.osb-tab-news-tab {
		min-height: 50px;
		padding: 8px 2px;
		font-size: clamp(10.5px, 2.95vw, 14px);
		letter-spacing: -0.025em;
	}

	.osb-tab-news-panel {
		padding: 2px 12px;
	}

	.osb-tab-news-link {
		padding: 8px 2px;
		font-size: 15px;
		line-height: 1.6;
	}

	.osb-tab-news-empty {
		padding: 16px 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.osb-tab-news-tab,
	.osb-tab-news-link {
		transition: none;
	}
}
