.std-related-tabs {
	width: 100%;
}

.std-related-tabs-section-is-empty {
	display: none !important;
}

.std-related-tabs__nav {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0 0 30px;
}

.std-related-tabs__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 212px;
	margin: 0;
	padding: 12px 24px;
	border: 1px solid #fff;
	border-radius: 7px;
	background: #fff;
	color: #193548;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	appearance: none;
	cursor: pointer;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.std-related-tabs__tab[aria-selected="true"] {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.std-related-tabs__tab:hover,
.std-related-tabs__tab:focus-visible {
	box-shadow: 0 8px 18px rgba(34, 49, 61, 0.15);
}

.std-related-tabs__tab:focus-visible,
.std-related-tabs__tile:focus-visible,
.std-related-tabs__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.std-related-tabs__panel[hidden] {
	display: none !important;
}

.std-related-tabs__tiles {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: wrap;
	column-gap: 15px;
	row-gap: 15px;
}

.std-related-tabs__tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	max-width: 100%;
	gap: 11px;
	padding: 12px 24px;
	border: 1px solid #e7edf1;
	border-radius: 5px;
	background: #fff;
	color: #334b5b;
	font-size: 16px;
	line-height: 1.2;
	text-align: center;
	text-transform: lowercase;
	text-decoration: none;
	box-shadow: none;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.std-related-tabs__tile[hidden] {
	display: none !important;
}

.std-related-tabs__tile:hover,
.std-related-tabs__tile:focus-visible {
	border-color: #dfe8ed;
	background: #f5f8fa;
	color: #193548;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(34, 49, 61, 0.12);
	transform: translateY(-1px);
}

.std-related-tabs__icon {
	display: block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.std-related-tabs__toggle-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 28px;
}

.std-related-tabs__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 18px;
	line-height: 1.2;
	appearance: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.std-related-tabs__toggle:hover,
.std-related-tabs__toggle:focus,
.std-related-tabs__toggle:focus-visible {
	background: transparent !important;
	color: #dce9ff;
}

.std-related-tabs__toggle:active {
	background: transparent !important;
}

.std-related-tabs__toggle-icon {
	display: block;
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.25s ease;
}

.std-related-tabs__toggle[aria-expanded="true"] .std-related-tabs__toggle-icon {
	transform: rotate(180deg);
}

.std-related-tabs__empty {
	margin: 0;
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
}

.std-related-tabs__editor-notice {
	padding: 14px 16px;
	border: 1px dashed currentColor;
	border-radius: 8px;
	color: #425b6b;
	font-size: 14px;
}

@media (max-width: 767px) {
	.std-related-tabs__nav {
		gap: 10px;
		margin-bottom: 22px;
	}

	.std-related-tabs__tab {
		flex: 1 1 140px;
		min-width: 0;
		padding: 11px 16px;
		font-size: 15px;
	}

	.std-related-tabs__tiles {
		column-gap: 10px;
		row-gap: 10px;
	}

	.std-related-tabs__tile {
		padding: 11px 16px;
		font-size: 15px;
	}

	.std-related-tabs__toggle-wrap {
		margin-top: 22px;
	}

	.std-related-tabs__toggle {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.std-related-tabs__tab,
	.std-related-tabs__tile,
	.std-related-tabs__toggle,
	.std-related-tabs__toggle-icon {
		transition: none;
	}
}
