.certification-page__container {
	width: 100%;
	background-color: #F8F8F8;
	font-family: "Factor A", sans-serif;
}

.certification-hero__container-background-color {
	width: 100%;
	background-color: #121217;
}

.certification-hero__container-background {
	width: 100%;
	display: flex;
	justify-content: center;
	background-color: #121217;
	background-image: url(./img/certification-background-large.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center;
}

.certification-hero__block {
	width: 100%;
	max-width: 1270px;
	background: transparent;
	color: #ffffff;
	margin: 0 auto;
	padding: 80px 0;
	margin: 0 16px;
}

.certification-hero__container {
	display: flex;
}

.certification-hero__text-content {
	width: 100%;
	max-width: 680px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding-top: 30px;
}

.certification-hero__pre-title {
	display: none;
}

.certification-hero__pre-title::after {
	content: "";
	width: 18px;
	height: 11px;
	display: flex;
	background: url(./img/icon-pre-title-arrow.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.certification-hero__title {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 48px;
	font-weight: 500;
	line-height: 100%;
	color: #ffffff;
	text-transform: initial;
}

.certification-hero__descr {
	margin-top: 12px;
	font-size: 20px;
	font-weight: 400;
	line-height: 120%;
	color: #ffffff;
	margin: 0;
}


.certification-component {
	width: 100%;
	display: flex;
	margin: 0 auto;
	background-color: #F8F8F8;
}

.certification-component__sidebar-block {
	width: 100%;
	max-width: 400px;
	display: flex;
	justify-content: flex-end;
	background-color: #ffffff;
}

.certification-component__separator-block {
	width: 10px;
	display: flex;
	justify-content: flex-end;
	background-color: #F2F2F2;
}

.certification-component__content-block {
	width: 100%;
	display: flex;
	justify-content: center;
}

.years-filter__options {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.years-filter__option {
	display: inline-block;
	padding: 8px 16px;
	background: #ffffff;
	border: 1px solid #F2F2F2;
	border-radius: 16px;
	text-decoration: none;
	color: #121217;
	transition: all 0.3s ease;
	font-size: 16px;
	font-weight: 400;
	line-height: 100%;
}

.years-filter__option:hover {
	background: #f0f0f0;
	border-color: #ccc;
}

.years-filter__option.active {
	background: #BD0C1E;
	color: #ffffff;
}

.certification-component__sidebar {
	width: 100%;
	background-color: #FFFFFF;
	padding: 80px 52px 80px 15px;
}

.certification-component__sidebar-info {
	font-size: 20px;
	line-height: 24px;
}

.certification-component__content {
	width: 100%;
	max-width: 1260px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px 0 80px 0;
	margin: 0 16px;
}

.certification-component-content__body .certification-items div.row {
	display: flex;
	flex-wrap: wrap;
}

.certification-component-content__header {
	margin-bottom: 32px;
}

.certification-items {
	margin-bottom: 40px;
}

.certification__faq-container {
	width: 100%;
	display: flex;
	justify-content: center;
	background-color: #FFFFFF;

}

.certification__faq-container-block {
	width: 100%;
	max-width: 1270px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: #121217;
	padding: 80px 0;
	margin: 0 16px;
}

.certification__faq-title {
	font-size: 34px;
	font-weight: 700;
	line-height: 41px;
	color: #121217;
	margin: 0;
}

.certification__faq-blocks {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
}

.certification__faq-block {
	display: grid;
    grid-template-rows: auto 0fr;
    transition: grid-template-rows 0.4s ease;
	cursor: pointer;
	position: relative;
	box-sizing: border-box;
	padding: 24px 0;
}

.certification__faq-block-one, .certification__faq-block-two {
	border-bottom: 1px solid #ddd;
}

.certification__faq-block-title {
	width: 90%;
	font-size: 20px;
	font-weight: 400;
	line-height: 25px;
}

.certification__faq-text-wrapper {
	max-width: 700px;
	overflow: hidden;
}

.certification__faq-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #555;
    margin: 0;
    padding-top: 0;
    opacity: 0;
    transform: translateY(-5px);
    overflow: hidden;
    transition: 
        opacity 0.4s ease 0.1s,
        transform 0.4s ease 0.1s,
        padding-top 0.4s ease;
}

.certification__faq-block.expanded {
	grid-template-rows: auto 1fr;
}

.certification__faq-block.expanded .certification__faq-text {
    opacity: 1;
    transform: translateY(0);
    padding-top: 24px;
}

.certification__faq-block::before {
	content: "";
	width: 24px;
	height: 24px;
	background-image: url(./img/icon-faq-open.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	position: absolute;
	top: 25px;
	right: 20px;
	transition: transform 0.3s ease;
	transform-origin: center;
}

.certification__faq-block.expanded::before {
	transform: rotate(180deg);
	background-image: url(./img/icon-faq-open.svg);
}

.certification__faq-text-link {
	color: #BD0C1E;
	transition: color 0.3s ease;
}

.certification-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.certification-company {
	border-radius: 16px;
	overflow: hidden;
	display: flex;
}

.certification-company__logo {
	background: #F2F2F2;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	width: 250px;
	height: 100%;
	min-height: 250px;
}

.certification-company__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.certification-company__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.certification-company__tags-item {
	display: inline-flex;
	align-items: center;
	background: #ffffff;
	font-family: "Factor A", sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 120%;
	color: #121217;
	border-radius: 16px;
	border: 1px solid #F2F2F2;
	padding: 8px;
}

.certification-company__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	background-color: #ffffff;
	padding: 16px 40px 24px 24px;
	flex: 1;
}

.certification-company__industry {
	font-size: 12px;
	font-weight: 400;
	line-height: 120%;
	color: #B2B2B2;
}

.certification-company__title {
	font-size: 20px;
	font-weight: 400;
	line-height: 25px;
	color: #121217;
}

.certification-company__description {
	font-size: 12px;
	font-weight: 400;
	line-height: 120%;
	color: #626262;
	margin-bottom: 16px;
	text-decoration: none;
}

.certification-company__description:hover {
	text-decoration: underline;
}

.certification-company__tags-item svg {
	color: #BD0C1E;
}

.certification-company__tags .tag-gradient {
	padding: 8px;
	margin-bottom: 0;
}

/* Слайдер */
.certification-slider-wrapper {
	position: relative;
	padding-bottom: 60px;
}

.certification-slider:not(.slick-initialized) .certification-slider__item:not(:first-child) {
	display: none;
}

.certification-slider__item {
	margin: 0 15px;
}

.certification-slider {
	margin: 0 -15px;
}

.certification-slider .slick-arrow {
	position: absolute;
	bottom: -60px;
	left: 50%;
	width: 40px;
	height: 40px;
	background: #F2F2F2;
	border: none;
	border-radius: 6px;
}

.certification-slider .slick-disabled {
	opacity: .5;
}

.certification-slider__navprev {
	transform: translateX(calc(-100% - 10px));
}

.certification-slider__navnext {
	transform: translateX(10px);
}

/* Адаптив */
@media (min-width: 1600px) {
	div.certification-component__content-block {
		width: 100%;
	}
}

@media (max-width: 1550px) {
	.certification-hero__container-background {
		background-size: cover;
	}
}

@media screen and (max-width: 1440px) {
	.certification-company__content {
		padding: 20px 24px;
	}

	.certification-company__tags .tag-gradient {
		font-size: 14px;
	}
}

@media screen and (max-width: 1150px) {
	.certification-company {
		flex-direction: column;
	}

	.certification-company__logo {
		width: 100%;
		height: auto;
		min-height: 202px;
		max-height: 202px;
		object-fit: contain;
		position: relative;
	}

	.certification-company__logo img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateX(-50%) translateY(-50%);
		max-width: 90%;
		max-height: 90%;
	}

	.certification-company__content {
		padding: 16px;
	}

	.certification-company__description {
		margin-bottom: 18px;
	}

	.certification-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1050px) {
	.certification-hero__text-content {
		max-width: 550px;
	}
}

@media (max-width: 1024px) {
	.certification-component__sidebar-info {
		font-size: 18px;
		line-height: 22px;
	}
}

@media (max-width: 992px) {
	.certification-component {
		flex-direction: column;
	}

	.certification-component__sidebar-block {
		max-width: 100%;
	}

	.certification-component__sidebar {
		max-width: 100%;
		padding: 60px 15px 0 15px;
	}

	.certification-component__separator-block {
		display: none;
	}

	.certification-component__content-block {
		width: 100%;
		justify-content: center;
	}

	.certification-items {
		margin-bottom: 20px;
	}

	.certification-items__footer {
		text-align: center;
	}
}

@media (max-width: 870px) {
	.certification-hero__container-background {
		background-image: none;
	}

	.certification-hero__block {
		padding: 40px 0 50px 0;
	}
}

@media (max-width: 850px) {

	.certification-hero__text-content {
		max-width: 550px;
	}

	.certification-hero__pre-title {
		font-size: 20px;
		line-height: 22px;
	}

	.certification-hero__title {
		font-size: 55px;
		line-height: 53px;
	}

	.certification-hero__descr {
		font-size: 18px;
		line-height: 18px;
	}
}

@media screen and (min-width:769px) and (max-width: 992px) {
	.certification-company__content {
		padding: 20px 48px;
	}
}

@media screen and (min-width: 769px) {
	.certification-slider-wrapper {
		display: none;
	}
}


@media (max-width: 760px) {
	.certification-hero__text-content {
		max-width: 500px;
	}

	.certification-hero__pre-title {
		font-size: 18px;
		line-height: 20px;
	}

	.certification-hero__title {
		font-size: 40px;
		line-height: 45px;
	}

	.certification-hero__descr {
		font-size: 17px;
		line-height: 17px;
	}

	.certification__faq-title {
		font-size: 30px;
		line-height: 34px;
	}
}

@media (max-width: 650px) {
	.certification-hero__text-content {
		max-width: 450px;
	}
}

@media (max-width: 600px) {
	.certification__faq-container-block {
		padding: 48px 0;
	}
}

@media (max-width: 450px) {

	.certification-hero__block {
		padding: 32px 0 24px 0;
	}

	.certification-component__content-block div.certification-component__content {
		padding: 24px 0 40px 0;
		gap: 16px;
	}

	.certification-hero {
		padding-top: 40px;
		padding-top: 50px;
	}

	.certification-hero__text-content {
		gap: 16px;
		margin-right: 0;
		padding: 0;
	}


	.certification-hero__pre-title {
		font-size: 20px;
		line-height: 22px;
	}

	.certification-hero__title {
		font-size: 36px;
		line-height: 35px;
	}

	.certification-hero__descr {
		font-size: 14px;
		font-weight: 300;
		line-height: 16px;
		padding: 0;
	}

	.certification__faq-title {
		font-size: 24px;
		line-height: 32px;
		margin-bottom: 16px;
	}

	.certification__faq-blocks {
		gap: 16px;
	}

	.certification__faq-block {
		line-height: 18px;
		padding: 16px 0;
	}

	.certification__faq-block.expanded {
		max-height: fit-content;
		font-size: 18px;
	}

	.certification__faq-block-title {
		font-size: 16px;
		line-height: 21px;
	}

	.certification__faq-text {
		font-size: 18px;
		line-height: 18px;
	}

	.certification-hero__title {
		font-size: 24px;
		font-weight: 700;
		line-height: 32px;
	}

	.certification-hero__pre-title {
		display: flex;
		gap: 5px;
		font-size: 14px;
		font-weight: 900;
		line-height: 110%;
		margin-bottom: 16px;
	}

	.certification-company__description {
		font-size: 14px;
		font-weight: 300;
		margin-bottom: 0;
	}

	.certification-company__description {
		display: none;
	}

	.certification-company__content .certification-company__tags {
		gap: 4px;
	}

	.certification-company__content .certification-company__tags .tag-gradient {
		font-size: 12px;
	}

	.certification__faq-container-block {
		padding: 40px 0 0 0;
	}

	.certification__faq-text {
		font-size: 14px;
		line-height: 16px;
		padding-top: 16px;
	}

	.certification-component-content__body .certification-list {
		grid-template-columns: 1fr;
	}

	.certification-company__title {
		font-size: 16px;
		line-height: 21px;
	}

	.years-filter__option {
		font-size: 16px;
	}

	.certification-company__industry {
		font-size: 14px;
		font-weight: 300;
	}

	.certification__faq-block::before {
		top: 16px;
	}
}

@media (max-width: 410px) {
	.certification__faq-block-title {
		font-size: 16px;
		line-height: 18px;
	}
}