.content-layout__about {
    background: url(/assets/image/about-top.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-position: 78% 14%;
    background-size: cover;
}

@media (max-width: 1279px) {
    .content-layout__about {
        background: url(/assets/image/about-top-tablet.webp);
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (max-width: 600px) {
    .content-layout__about {
        background: url(/assets/image/about-top-mv.webp);
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.page-about {
	overflow: hidden;
	background: var(--white-color);
}

.about-story__box {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 20px;
}

.about-story__slogan {
	color: var(--primary-color);
	font-size: 30px;
	font-weight: 600;
	line-height: 38px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.about-story__slogan span {
	color: var(--color-dark-grey);
}

.about-story__description {
	color: var(--color-dark-grey);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

@media (max-width: 1279px) {
	.about-story__box {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.about-story__slogan {
		font-size: 22px;
		line-height: 28px;
		letter-spacing: 0.44px;
	}

	.about-story__slogan br {
		display: none;
	}
}

@media (max-width: 767px) {
	.about-story__box {
		gap: 28px;
	}

	.about-story__slogan {
		font-size: 16px;
		line-height: 24px;
		letter-spacing: 0.16px;
	}

	.about-story__slogan br {
        display: block;
    }

}

.about-bg__mount {
	display: block;
	width: 100%;
	object-fit: cover;
	margin-top: -1%;
	margin-bottom: -2px;	
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    opacity: 1;
}

@keyframes slideRevealImage {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media (min-width: 767px) {
	.about-bg__mount, .about-card--person .about-card__box:before {
		animation: slideRevealImage 2.5s ease-out forwards;
	}
}

@media (max-width: 767px) {
	.about-bg__mount {
		margin-top: 15px;
	}
	.about-bg.active .about-bg__mount, .about-card--person .about-card__box.active:before {
		animation: slideRevealImage 1.3s ease-out forwards;
	}
}

.about-card {
    padding-bottom: var(--block-padding-bottom);
}

.about-card--person .about-card__box {
	position: relative;
	overflow: hidden;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    padding: 48px 0 35px 0;
}

.about-card--person .about-card__box:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #334D4E;
	clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    opacity: 1;
}

.about-card .wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-card__image,
.about-card__video-img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.about-card__video {
    position: relative;
}

.about-card--person .about-card__video {
    grid-column: 2;
    grid-row: 1;
}

.about-card--person .about-card__picture {
    grid-column: 1;
    grid-row: span 2;
}

.about-card--person .about-card__content {
    grid-column: 2;
    grid-row: 2;
}

.about-card__video-play {
    position: absolute;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 70px;
    height: 70px;
    transition: all 0.25s linear;
}

.about-card__video:hover .about-card__video-play {
    padding: 5px;
}

.about-card__video-container, .about-card__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.about-card__content {
    gap: 12px;
}

.about-card__title {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.44px;
    text-transform: uppercase;
}

.about-card--person .about-card__title {
	color: var(--white-color);
}

.about-card__text {
    color: var(--color-dark-grey);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.about-card--person .about-card__title, .about-card--person .about-card__text {
	color: var(--white-color);
}

.about-card__author {
    color: var(--color-light-grey);
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    margin-top: 8px;
}

.about-card__link {
	position: relative;
	display: block;
	width: max-content;
	color: var(--white-color);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0.28px;
	text-transform: uppercase;
	background: var(--primary-color);
	border-radius: 6px;
	padding: 14px 24px;
	margin-top: 12px;
}

.about-card__link.button-style--circle {
    border-color: transparent;
}

.about-card__link.button-style--circle:hover {
  border-color: var(--color-dark-grey);
  background: 
    radial-gradient(circle, var(--color-dark-grey) 0.2em, transparent 0.3em) 6em 6em / 1em 1em,
    radial-gradient(circle, var(--color-dark-grey) 0.2em, transparent 0.3em) 0 0 / 1em 1em;
  background-repeat: repeat;
}

.about-card .swiper {
	width: 100%;
}

.about-card .swiper-wrapper {
	height: unset;
}

.about-card .swiper-pagination {
	bottom: unset;
    top: unset;
    left: unset;
	margin-top: 14px;
}

.about-card .swiper-pagination-bullet {
	background: var(--inactive-olive-light);
	opacity: 1;
	width: 4px;
	height: 4px;
}

.about-card .swiper-pagination-bullet-active {
	width: 26px;
	border-radius: 28px;
	background: var(--inactive-olive-light);
}

@media (max-width: 1279px) {
    .about-card--person .wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 27px;
    }

    .about-card--person .about-card__video {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .about-card--person .about-card__picture {
        grid-column: 1;
        grid-row: 2;
    }

    .about-card--person .about-card__content {
        grid-column: 2 / -1;
        grid-row: 2;
    }
}

@media (max-width: 767px) {
    .about-card--person .about-card__box{
        padding: 23px 0 40px 0;
    }
    
    .about-card--person .about-card__title {
        display: none;
    }

    .about-card--person .wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card--person .about-card__video,
    .about-card--person .about-card__picture,
    .about-card--person .about-card__content {
        grid-column: 1;
        grid-row: auto;
    }

    .about-card--person .about-card__video {
        order: 1;
    }

    .about-card--person .about-card__content {
        order: 2;
    }

    .about-card--person .about-card__picture {
        order: 3;
    }

    .about-card__author {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 600px) {
	.about-card__link {
		width: 100%;
		text-align: center;
	}
}

/* About-card--adviсe */
.about-card__slide-img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.about-card--adviсe .about-card__video {
	margin-bottom: 12px;
}

@media (max-width: 1279px) {
	.about-card--adviсe .wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.about-card--adviсe .about-card__video {
		margin-bottom: 0;
	}

	.about-card--adviсe .swiper {
		order: 1;
		padding-bottom: 24px;
	}

	.about-card--adviсe .about-card__content {
		order: 2;
		gap: 20px;
	}

	.about-card--adviсe .about-card__video {
		order: 5;
	}

	.about-card--adviсe .about-card__cont {
		position: relative;
		order: 6;
	}
	.about-card--adviсe .about-card__link {
		margin-top: 0;
	}

	.about-card--adviсe .about-card__title, .about-card--steps .about-card__title {
		font-size: 16px;
		line-height: 24px; 
		letter-spacing: 0.16px;
	}

	.about-card .swiper-pagination {
		margin-top: 8px;
	}
}

@media (max-width: 767px) {
	.about-card--adviсe .about-card__title, .about-card--steps .about-card__title {
		font-size: 14px;
		line-height: 22px;
		letter-spacing: 0.14px;
	}

	.about-card--adviсe .about-card__content {
		gap: 12px;
	}

	.about-card--adviсe .about-card__video {
		margin: 8px 0;
	}
}

/* About-card--steps */
.about-card--steps .swiper {
	grid-column: 1;
    grid-row: span 2;
	padding-bottom: 24px;
}

.about-card--steps .swiper-pagination {
	margin-top: 8px;
}

.about-card--steps .about-card__video-preview {
    grid-column: 2;
    grid-row: 1;
	margin-bottom: -8%;
}

.about-card--steps .about-card__content {
    grid-column: 2;
    grid-row: 2;
}

.about-card--steps .about-card__author {
	color: var(--primary-color);
}

@media (max-width: 1279px) {
	.about-card--steps .wrapper {
        grid-template-columns: 1fr;
    }

	 .about-card--steps .about-card__video-preview {
        grid-column: 1;
        grid-row: 1;
		margin-bottom: 0;
    }
    
    .about-card--steps .swiper {
        grid-column: 1;
        grid-row: 2;
    }
    
    .about-card--steps .about-card__content {
        grid-column: 1;
        grid-row: 3;
    }

	.about-card--steps .about-card__author {
		font-size: 16px;
		line-height: 24px;
	}
}