/* define la presentación de pestañas de contenido */
/* ajustes de presentación para escritorio */

.mbn-content-tabs {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}


.mbn-content-tabs__title {
	margin: 0;
	font-family: var(--mbn-roboto-slab-large-font-family, "Roboto Slab", serif) !important;
	font-weight: var(--mbn-roboto-slab-large-font-weight, 500) !important;
	font-size: calc(24px * var(--mbn-text-scale, 1));
	line-height: 1.5;
	color: var(--mbn-text-primary, #333333);
}



.mbn-content-tabs__nav-wrap {
	display: flex;

	align-items: stretch;
	gap: 4px;
	width: 100%;

	border-bottom: 1px solid var(--mbn-border-header, #B3B3B3);
}

.mbn-content-tabs__nav-viewport {
	flex: 1 1 auto;
	min-width: 0;

	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
}


.mbn-content-tabs--js .mbn-content-tabs__nav-viewport {
	scrollbar-width: none;
}

.mbn-content-tabs--js .mbn-content-tabs__nav-viewport::-webkit-scrollbar {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.mbn-content-tabs__nav-viewport {
		scroll-behavior: auto;
	}
}


.mbn-content-tabs .mbn-content-tabs__nav {
	display: flex;
	flex-direction: row;
}

.mbn-content-tabs__nav {
	--bs-nav-tabs-border-width: 0;
	--bs-nav-tabs-border-color: transparent;
	--bs-nav-tabs-link-active-color: var(--mbn-brand-blue, #0F69C4);
	--bs-nav-tabs-link-active-bg: transparent;
	--bs-nav-tabs-link-active-border-color: transparent;
	--bs-nav-tabs-link-hover-border-color: transparent;
	--bs-nav-tabs-border-radius: 0;
	--bs-nav-link-color: var(--mbn-text-strong, #373737);
	--bs-nav-link-hover-color: var(--mbn-brand-blue, #0F69C4);
	--bs-nav-link-padding-x: 8px;
	--bs-nav-link-padding-y: 10px;
	--bs-nav-link-font-size: calc(14px * var(--mbn-text-scale, 1));
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
}

.mbn-content-tabs__nav-item {
	display: flex;

	flex: 1 0 145px;
	max-width: 240px;
}

.mbn-content-tabs__tab {
	width: 100%;
	font-family: var(--mbn-roboto-body-small-font-family, "Roboto", sans-serif);
	font-weight: 400;
	line-height: 1.5;
	text-align: center;

	text-transform: none;

	border-bottom: 4px solid transparent;
	transition: color 120ms ease-out, border-color 120ms ease-out;
}

.mbn-content-tabs__tab.active {
	font-weight: 700;
	border-bottom-color: var(--mbn-brand-blue, #0F69C4);
}

.mbn-content-tabs__tab:focus-visible {
	outline: 3px solid var(--mbn-brand-blue, #0F69C4);
	outline-offset: -3px;
	box-shadow: none;
}



.mbn-content-tabs__scroller {
	flex: 0 0 auto;
	align-self: center;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: none;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.mbn-content-tabs__scroller::before {
	content: "";
	display: block;
	width: 24px;
	height: 24px;

	background-color: var(--mbn-brand-blue, #0F69C4);
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 24px 24px;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: 24px 24px;
}

.mbn-content-tabs__scroller--prev::before {
	mask-image: var(--mbn-content-tabs-prev-icon);
	-webkit-mask-image: var(--mbn-content-tabs-prev-icon);
}

.mbn-content-tabs__scroller--next::before {
	mask-image: var(--mbn-content-tabs-next-icon);
	-webkit-mask-image: var(--mbn-content-tabs-next-icon);
}

.mbn-content-tabs__scroller:hover {
	background-color: var(--mbn-surface-hover, #F2F2F2);
}

.mbn-content-tabs__scroller:focus-visible {
	outline: 3px solid var(--mbn-brand-blue, #0F69C4);
	outline-offset: 2px;
}


.mbn-content-tabs__scroller[aria-disabled="true"] {
	cursor: default;
}

.mbn-content-tabs__scroller[aria-disabled="true"]::before {
	background-color: var(--mbn-text-muted, #808080);
}

.mbn-content-tabs__scroller[aria-disabled="true"]:hover {
	background-color: transparent;
}

/* panel */

.mbn-content-tabs__panel {
	display: flex;
	flex-direction: column;
}


.mbn-content-tabs__panel:focus {
	outline: none;
}

.mbn-content-tabs__panel:focus-visible {
	outline: 3px solid var(--mbn-brand-blue, #0F69C4);
	outline-offset: 4px;
}

.mbn-content-tabs__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.mbn-content-tabs__main {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}


.mbn-content-tabs__panel-title {
	margin: 0;
	font-family: var(--mbn-roboto-slab-medium-font-family, "Roboto Slab", serif) !important;
	font-weight: var(--mbn-roboto-slab-medium-font-weight, 500) !important;
	font-size: calc(20px * var(--mbn-text-scale, 1));
	line-height: 1.5;
	color: var(--mbn-text-primary, #333333);
}

/* bloque de texto */

.mbn-content-tabs__prose > :first-child {
	margin-top: 0;
}

.mbn-content-tabs__prose > :last-child {
	margin-bottom: 0;
}

.mbn-content-tabs__prose p,
.mbn-content-tabs__prose li {
	font-family: var(--mbn-roboto-body-small-font-family, "Roboto", sans-serif);
	font-size: var(--mbn-roboto-body-small-font-size, 16px);
	line-height: 1.5;
	color: var(--mbn-text-primary, #333333);
}

.mbn-content-tabs__prose p {
	margin-bottom: 24px;
}

.mbn-content-tabs__prose ul,
.mbn-content-tabs__prose ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

.mbn-content-tabs__prose li {
	margin-bottom: 4px;
}


.mbn-content-tabs__prose h2,
.mbn-content-tabs__prose h3,
.mbn-content-tabs__prose h4 {
	margin-top: 32px;
	margin-bottom: 12px;
	line-height: 1.5;
	color: var(--mbn-text-primary, #333333);
}

.mbn-content-tabs__prose h2 {
	font-size: calc(20px * var(--mbn-text-scale, 1));
}

.mbn-content-tabs__prose h3 {
	font-size: calc(19px * var(--mbn-text-scale, 1));
}

.mbn-content-tabs__prose h4 {
	font-size: calc(16px * var(--mbn-text-scale, 1));
}


.mbn-content-tabs__prose a {
	color: var(--mbn-link-default, #1D70B8);
	text-decoration: underline;
}

.mbn-content-tabs__prose a:hover,
.mbn-content-tabs__prose a:focus-visible {
	color: var(--mbn-brand-blue-dark, #00268D);
}

.mbn-content-tabs__prose img {
	max-width: 100%;
	height: auto;
}



.mbn-content-tabs__table-wrap:focus-visible {
	outline: 3px solid var(--mbn-brand-blue, #0F69C4);
	outline-offset: 2px;
}

.mbn-content-tabs__table {
	--bs-table-bg: var(--mbn-surface-white, #FFFFFF);
	--bs-table-color: var(--mbn-text-strong, #373737);
	--bs-table-border-color: var(--mbn-table-row-border, rgba(0, 0, 0, 0.26));
	width: 100%;
	margin-bottom: 0;
	font-family: var(--mbn-roboto-body-small-font-family, "Roboto", sans-serif);
	font-size: var(--mbn-roboto-body-small-font-size, 16px);
	line-height: 1.5;
	vertical-align: middle;
}

.mbn-content-tabs__table-caption {
	caption-side: top;
	padding: 0 0 12px;
	font-family: var(--mbn-roboto-slab-medium-font-family, "Roboto Slab", serif);
	font-weight: 500;
	font-size: calc(19px * var(--mbn-text-scale, 1));
	line-height: 1.5;
	color: var(--mbn-text-black, #000000);
}


.mbn-content-tabs__table > :not(caption) > * > * {
	padding: 16px 24px;
}

.mbn-content-tabs__table thead th {
	background-color: var(--mbn-brand-blue, #0F69C4);
	color: var(--mbn-surface-white, #FFFFFF);

	font-weight: 400;
	white-space: nowrap;

	border-bottom: 0;
}


.mbn-content-tabs__table > :not(:first-child) {
	border-top: 0;
}

.mbn-content-tabs__table tbody td {
	color: var(--mbn-text-strong, #373737);
}


.mbn-content-tabs__cell--atomic {
	white-space: nowrap;
}

/* columna lateral ---------- Recuadro gris con las «Cards Horizontales» (340:4649) */

.mbn-content-tabs__aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-self: start;
	padding: 24px;
	background-color: var(--mbn-surface-panel, #F7F7F7);
	border: 1px solid var(--mbn-border-panel, #EAEAEC);
	border-radius: 4px;
}


.mbn-content-tabs__aside-title {
	margin: 0;
	font-family: var(--mbn-roboto-slab-medium-font-family, "Roboto Slab", serif) !important;
	font-weight: 500 !important;
	font-size: calc(19px * var(--mbn-text-scale, 1));
	line-height: 1.5;
	color: var(--mbn-text-black, #000000);
}

.mbn-content-tabs__links {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mbn-content-tabs__link-card {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	background-color: var(--mbn-surface-white, #FFFFFF);
	border: 1px solid var(--mbn-border-divider, #E6E6E6);
	border-radius: 16px;
	text-decoration: none;
	transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}

.mbn-content-tabs__link-card:hover {
	border-color: var(--mbn-brand-blue, #0F69C4);
	box-shadow: var(--mbn-shadow-elevation-2);
}

.mbn-content-tabs__link-card:focus-visible {
	outline: 3px solid var(--mbn-brand-blue, #0F69C4);
	outline-offset: 2px;
}

.mbn-content-tabs__link-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.mbn-content-tabs__link-title {
	font-family: var(--mbn-roboto-body-button-font-family, "Roboto", sans-serif);
	font-weight: 700;
	font-size: var(--mbn-roboto-body-small-font-size, 16px);
	line-height: 1.5;
	color: var(--mbn-text-strong, #373737);
	overflow-wrap: anywhere;
}

.mbn-content-tabs__link-url {
	font-family: var(--mbn-roboto-body-small-font-family, "Roboto", sans-serif);
	font-weight: 400;
	font-size: var(--mbn-roboto-body-small-font-size, 16px);
	line-height: 1.5;
	color: var(--mbn-link-default, #1D70B8);
	overflow-wrap: anywhere;
}

.mbn-content-tabs__link-icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
}



@media (min-width: 768px) {
	.mbn-content-tabs__panel-title {
		font-size: calc(22px * var(--mbn-text-scale, 1));
	}

	.mbn-content-tabs__prose h2 {
		font-size: calc(22px * var(--mbn-text-scale, 1));
	}

	.mbn-content-tabs__link-card {
		padding: 16px 32px;
	}
}

/* ajustes de presentación para escritorio */

@media (min-width: 1200px) {
	.mbn-content-tabs {
		gap: 24px;
	}

	.mbn-content-tabs__nav {
		--bs-nav-link-font-size: var(--mbn-roboto-body-small-font-size, 16px);
	}


	.mbn-content-tabs__nav-item {
		flex: 1 1 0;
		min-width: max-content;
		max-width: none;
	}



	.mbn-content-tabs__tab {
		white-space: nowrap;
	}

	.mbn-content-tabs__panel-title {
		font-size: var(--mbn-roboto-slab-medium-font-size, 24px);
	}

	.mbn-content-tabs__prose h2 {
		font-size: var(--mbn-roboto-slab-medium-font-size, 24px);
	}


	.mbn-content-tabs__layout--aside {
		grid-template-columns: minmax(0, 1fr) 400px;
	}
}
