html.js .body-content-wrapper {
    visibility: visible;
    opacity: 1;
}

.homepage-slide {
    width: 250px;
    flex-shrink: 0;
}

.search-bar {
    min-height: 310px;
}

@media only screen and (min-width: 1050px) {
    .search-bar {
        min-height: 90px;
    }

    .input-group-field {
        height: 90px;
    }

    .input-group-button {
        height: 90px;
    }

    .input-group-button input {
        width: 125px;
    }
}

.skeleton-slide {
    border-radius: 8px;
    background: linear-gradient(90deg, #ddd 25%, #eee 50%, #ddd 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    margin: 0 1em;
    flex-shrink: 0;
    height: 300px;
}

.carousel-skeleton {
    justify-content: center;
    background: white;
    z-index: 11;
    position: absolute;
    top: 24px;
}

.search-bar {
    position: relative;
}

.search-bar-skeleton {
    background: linear-gradient(90deg, #ddd 25%, #eee 50%, #ddd 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}



.tests--section {
    margin-top: 6.375rem;
    margin-bottom: 6.375rem;
    padding-left: 15px;
    padding-right: 15px;
}

.test--section__wrapper {
    position: relative;
    min-height: 600px;
}

.test--section__wrapper h2,
.test--section__wrapper p,
.test--section__wrapper a {
    max-width: calc(100% - 600px);
    margin-bottom: 2rem;
}

.test--section__wrapper a {
    margin-top: 1.5rem;
}

.test--section__wrapper p {
    margin-bottom: 3rem;
    font-size: 20px;
    line-height: 32px;
}


.test--section__wrapper .grid-block {
    grid-gap: 1.5rem;
    grid-template-columns: 352px 205px;
    margin: 14px 0 15px 16px;
    display: grid;
    position: absolute;
    top: 0;
    right: 0;
}

.grid-block__left-wrap {
    grid-gap: 1.5rem;
    grid-template-columns: 157px 171px;
    justify-items: end;
    display: grid;
    position: relative;
}

.grid-block__left-wrap::after {
    content: "";
    width: 90px;
    height: 120px;
    background-image: url(/lib/img/homepage/icon.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    left: 39px;
}

.grid-block__right-wrap {
    position: relative;
}

.grid-block__right-wrap::after {
    content: "";
    width: 85px;
    height: 52px;
    background-image: url(/lib/img/homepage/icon2.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: 28px;
    right: 80px;
}

.grid-block__left-wrap img {
    object-position: top;
    object-fit: cover;
}

.grid-block__right-wrap img {
    object-position: top;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.grid-block__left-wrap>img:first-of-type {
    width: 267px;
    height: 312px;
    border-radius: 140px 15px 15px;
    grid-column: 1 / span 2;
    margin-top: 73px;
}

.grid-block__left-wrap>img:nth-child(2) {
    width: 157px;
    height: 118px;
    border-radius: 15px 15px 15px 70px;
    grid-area: 2 / 1;
}

.grid-block__left-wrap>img:nth-child(3) {
    width: 171px;
    height: 162px;
    border-radius: 15px 15px 70px;
    grid-area: 2 / 2;
}

.grid-block__right-wrap>img:first-of-type {
    width: 107px;
    height: 102px;
    border-radius: 70px 15px 15px;
}

.grid-block__right-wrap>img:nth-child(2) {
    width: 150px;
    height: 172px;
    border-radius: 15px 70px 15px 15px;
}

.grid-block__right-wrap>img:nth-child(3) {
    width: 196px;
    height: 148px;
    border-radius: 15px 70px 15px 15px;
}

.specialties--section {
    margin-top: 6.375rem;
    margin-bottom: 6.375rem;
}

.specialties--section__wrapper {
    padding-left: 4%;
    padding-right: 4%;
    overflow: hidden;
}

.specialties--section__wrapper  .slick-list {
    overflow: unset;
}
.specialties--section h2 {
    max-width: 50rem;
    margin-bottom: 20px;
}

.specialties--section p {
    max-width: 50rem;
    margin-bottom: 20px;

}

.specialties__wrap .specialties__slide {
    height: 400px;
    width: 320px;
    position: relative;
    margin-right: 14px;
}

.specialties--section__wrapper .slick-dots li.slick-active button {
    background: #63caba;

}

.specialties__wrap .specialties__slide:hover .button {
    background-color: #63caba;
    color: #fff;
}

.specialties__wrap .specialties__slide img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.specialties__wrap .specialties__slide .button{
    position: absolute;
    z-index: 1;
    bottom: 15px;
    left: 15px;
    max-width: 290px;
}


.faq--section {
	padding: 6.375rem 0;
	background: #f5f5f5;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 50px;
}

.faq--section h2 {
    text-align: center;
}
.faq-item {
	border-bottom: 1px solid #ddd;
}

.faq-header {
	cursor: pointer;
	position: relative;
	padding: 1rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.faq-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
    padding-right: 10px;
}

.faq-toggle {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #8d8d8d;
	border-radius: 4px;
	color: #333;
	flex-shrink: 0;
	position: relative;
	transition: background-color 0.3s ease, color 0.3s ease;
	overflow: hidden;
}

.faq-toggle span {
	display: inline-block;
	font-size: 1.3rem;
	line-height: 1;
	transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle span {
	transform: rotate(180deg);
}

.faq-body {
	display: none;
	padding: 0 0 1rem 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

@media (max-width: 991px) {
    .test--section__wrapper {
        min-height: 420px;
        max-width: 750px;
        margin: 0  auto;
    }

    .test--section__wrapper h2 {
        max-width: 504px;
        margin-bottom: 1.5rem;
    }

    .test--section__wrapper p {
        max-width: calc(100% - 335px);
        margin-bottom: 1.5rem;
        font-size: 1rem;
        line-height: 28px;
    }

    .test--section__wrapper a {
        max-width: calc(100% - 335px);
        margin-bottom: 2rem;
    }

    .test--section__wrapper .grid-block {
        grid-gap: 12px;
        grid-template-columns: 177px 105px;
        margin: 112px 0 0;
    }

    .grid-block__left-wrap {
        grid-gap: 12px;
        grid-template-columns: 79px 86px;
    }

    .grid-block__right-wrap img {
        margin-bottom: 12px;
    }

    .grid-block__left-wrap::after {
        width: 50px;
        height: 65px;
        left: 1.75rem;
    }

    .grid-block__right-wrap::after {
        width: 50px;
        height: 30px;
        bottom: 24px;
        right: 40px;
    }

    .grid-block__left-wrap>img:first-of-type {
        width: 134px;
        height: 157px;
        border-radius: 70px 15px 15px;
        margin-top: 50px;
    }

    .grid-block__left-wrap>img:nth-child(2) {
                width: 79px;
        height: 59px;
        border-radius: 10px 10px 10px 40px;
    }

    .grid-block__left-wrap>img:nth-child(3) {
        width: 86px;
        height: 81px;
        border-radius: 10px 10px 40px;
    }

    .grid-block__right-wrap>img:first-of-type {
                width: 53px;
        height: 51px;
        border-radius: 40px 10px 10px;
    }

    .grid-block__right-wrap>img:nth-child(2) {
                width: 75px;
        height: 86px;
        border-radius: 10px 40px 10px 10px;
    }

    .grid-block__right-wrap>img:nth-child(3) {
        width: 98px;
        height: 74px;
        border-radius: 10px 40px 10px 10px;
    }
}

@media (max-width: 767px) {
    .specialties--section {
        margin-bottom: 60px;
        margin-top: 60px;
    }
    .tests--section {
        margin-bottom: 60px;
        margin-top: 60px;
    }
    .faq-wrapper {
        max-width: 600px;
        display: block;
        margin: 0 auto;
        
    }
    .test--section__wrapper h2 {
        text-align: center;
        margin: 0 auto 1.5rem;
    }

    .test--section__wrapper p {
        text-align: center;
        max-width: 100%;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        line-height: 28px;
    }

    .test--section__wrapper a {
        max-width: 100%;
        width: 100%;
    }

    .test--section__wrapper .grid-block {
        grid-gap: 14px;
        grid-template-columns: 206px 114px;
        justify-content: center;
        margin: 8px 0 8px 8px;
        position: relative;
    }

    .grid-block__left-wrap {
        grid-gap: 14px;
        grid-template-columns: 92px 100px;
    }

    .grid-block__left-wrap>img:first-of-type {
        width: 156px;
        height: 181px;
        border-radius: 70px 15px 15px;
        margin-top: 50px;
    }

    .grid-block__left-wrap>img:nth-child(2) {
        width: 91px;
        height: 68px;
        border-radius: 10px 10px 10px 40px;
    }

    .grid-block__left-wrap>img:nth-child(3) {
        width: 99px;
        height: 94px;
        border-radius: 10px 10px 40px;
    }

    .grid-block__right-wrap>img:first-of-type {
        width: 62px;
        height: 59px;
        border-radius: 40px 10px 10px;
    }

    .grid-block__right-wrap>img:nth-child(2) {
        width: 87px;
        height: 100px;
        border-radius: 10px 40px 10px 10px;
    }

    .grid-block__right-wrap>img:nth-child(3) {
        width: 114px;
        height: 86px;
        border-radius: 10px 40px 10px 10px;
    }

    .grid-block__left-wrap::after {
        width: 50px;
        height: 65px;
        left: 1.75rem;
    }

    .grid-block__right-wrap::after {
        width: 50px;
        height: 30px;
        bottom: 24px;
        right: 40px;
    }
}