.tabs {
	position: relative;
}

.tabs .image {
	position: relative;
}

.tabs .image > img {
	width: 100%;
    height: auto;
    object-fit: cover;
	box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.15);
}

.tabs .image:before {
	content: url('image-tri.svg');
	width: 42px;
	height: 37px;
	position: absolute;
	right: 0.8rem;
	bottom: 0.8rem;
	z-index: 9;
}

.tabs h2.heading {
	font-weight: 400;
}

.tabs h2.heading strong {
	font-weight: 600;
	color: var(--wp--preset--color--mep-red);
}

.tabs h4.subheading {
	font-weight: 400;
	color: var(--wp--preset--color--mep-grey);
	margin: 0 0 0.5rem;
}

ul.nav-tabs {
    border: 0 none;
}

.nav-tabs button.nav-link, .nav-tabs button.nav-link:hover {
	font-size: 1em;
	background: none;
	padding: 0;
	border: 0 none;
	color: var(--wp--preset--color--mep-grey);
}

.nav-tabs button.nav-link:after {
	content: "";
	display: none;
}

.nav-tabs button.nav-link span {
	position: relative;
	padding-bottom: 0.6em;
}

.nav-tabs button.nav-link span:before {
	content: "";
    position: absolute;
    width: 0;
    bottom: 0;
    border-bottom: 2px solid var(--wp--preset--color--mep-red);
	opacity: 0;
	transition: all ease 0.3s;
}

.nav-tabs button.nav-link:hover span:before, .nav-tabs button.nav-link.active span:before {
	opacity: 1;
	width: 100%;
}

.nav-tabs button.nav-link.active {
	font-weight: 500;
	background: none;
}

.tab-content .accordion-body {
	background: var(--wp--preset--color--mep-white);
}


@media screen and (max-width: 1399px) {
	
	.wp-block-cbd-block-tabs {
		max-width: 1010px!important;
		margin: 0 auto;
	}
	
}