/**
 * CLICKaligners Clinical Examples & Cases
 * Package: CLICKALIGNERS Astra Child Theme
 */

/*clinical-examples*/
.clinical_examples_finals {
    background: #F6F6F6;
    border-radius: 0px 0px 30px 30px;
    padding: 80px 80px 60px 30px;
}

.acf-gallery {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.acf-gallery a {
    width: 25%;
}

.acf-gallery-with-thumbnails {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    position: sticky;
    top: 70px;
}

.acf-gallery-with-thumbnails .main-image {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    border-radius: 10px;
}



.acf-gallery-with-thumbnails .main-image img {
    max-width: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    object-fit: contain;
    max-height: 100%;
    border-radius: 15px;
}

.acf-gallery-with-thumbnails .iframe-wrapper {
    width: 100%;
}

.acf-gallery-with-thumbnails .iframe-wrapper iframe {
    border-radius: 15px;
    overflow: hidden;
}

.acf-gallery-with-thumbnails .thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.acf-gallery-with-thumbnails .thumbnail {
    cursor: pointer;
    border-radius: 10px;
    object-fit: cover;
    transition: all .5s;
}

.acf-gallery-with-thumbnails .thumbnail.active {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all .5s;
}

.acf-gallery-with-thumbnails .thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all .5s;
}

.thumbnail.iframe-thumbnail {
    border: 1px solid var(--ast-global-color-0);
    place-content: center;
    flex-wrap: wrap;
    color: var(--ast-global-color-0);
    background: linear-gradient(28deg, white, #B7D3FE);
}

.acf-gallery-with-thumbnails .thumbnails .thumbnail {
    aspect-ratio: 4/3;
    width: 100%;
}

.acf-gallery-with-thumbnails .iframe-thumbnail {}

.Correction_block {
    padding: 30px 88px 110px 30px;
    background: var(--ast-global-color-0);
    border-radius: 30px;
    color: #fff;
    margin-bottom: -30px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
}

.Correction_block h2 {
    color: #fff;
    font-size: 40px;
    width: 100%;
    margin-bottom: 20px;
}

.Base_block h2 {
    color: var(--ast-global-color-0);
    font-size: 40px;
    width: 100%;
    margin-bottom: 20px;
}

.Correction_block img {

    width: 29px;
}

.Correction_block__text,
.Base_block__text {
    width: 50%;
    padding: 0px 35px 0px 0px;
}

.Correction_block__gallery {
    width: 50%;
    padding: 0px 0px 0px 87px;
}

.Base_block {
    padding: 30px 88px 30px 30px;
    background: #F6F6F6;
    border-radius: 30px;
    color: #000;
    margin-bottom: 0px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
}

.post-hashtag:hover {
    padding: 5px 10px;
    background: var(--ast-global-color-0);
    color: #fff !important;
    border-radius: 20px;
}

.Base_block .Base_head {
    width: 100%;
    font-size: 40px;
    margin-bottom: 20px;

    i {
        font-size: 30px;
    }
}

.clinical_final_text p {
    font-size: 15px;
    font-weight: 500;
}

a.knowledge-base-card.filter-card {
    background: url(https://click.nextaligners.ru/wp-content/uploads/2025/01/card-bg.png);
    background-position: center;
    background-size: cover;
    border-radius: 20px;
    max-height: 177px;
}

.knowledge-base-card.filter-card .card-top {
    place-content: center;
}

.knowledge-base-card.filter-card .card-content {
    text-align: center;
    align-self: center;
}

.knowledge-base-card.filter-card p {
    padding: unset;
}

@media (max-width: 1024px) {

    .Correction_block__text,
    .Correction_block__gallery,
    .Base_block__text {
        width: 100%;
        padding: 0;
    }

    .Correction_block,
    .Base_block {
        padding: 30px 30px 110px 30px;
    }

    .Base_block h2,
    .Correction_block h2 {
        font-size: 25px !important;
    }

}

@media screen and (max-width:768px) {
    .acf-gallery-with-thumbnails .thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}


.add_information_block__text {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;

    & .Base_head {
        font-size: 25px;
    }
}

/*END clinical-examples*/
