.fabula-page-action-oftalmologiya {
}

.fabula-oftalmologiya-top-block {
    height: 700px;
    position: relative;
    padding: 130px 100px 100px 100px;
    background: url("/promo/oftalmologiya/img/banner.jpg") center no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.fabula-oftalmologiya-top-block::after {
    content: "";
    position: absolute;
    right: 30px;
    top: 30px;
    width: 290px;
    height: 290px;
    background-image: url("/promo/oftalmologiya/img/stock_icon.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.fabula-oftalmologiya-top-block-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 640px;
    height: 100%;

    * {
        color: #fff;
        text-align: left;
    }
}

.fabula-oftalmologiya-top-block__title {
    font-size: 70px;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 700;
}

.fabula-oftalmologiya-top-block__desc {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    line-height: 1.1;
}

.fabula-oftalmologiya-top-block__icon {
    margin-top: auto;

    &.light {
        display: none;
    }
}

@media screen and (max-width: 1520px) {
    .fabula-oftalmologiya-top-block__title {
        font-size: 60px;
    }
}

@media screen and (max-width: 1400px) {
    .fabula-oftalmologiya-top-block {
        background-position: -80px 0;
    }
}

@media screen and (max-width: 1262px) {
    .fabula-oftalmologiya-top-block {
        background-position: center;
        padding: 70px 40px;
    }

    .fabula-oftalmologiya-top-block::after {
        width: 220px;
        height: 220px;
    }

    .fabula-oftalmologiya-top-block__title {
        font-size: 54px;
    }

    .fabula-oftalmologiya-top-block__desc {
        font-size: 20px;
    }
}

@media screen and (max-width: 1016px) {
    .fabula-oftalmologiya-top-block {
        height: 355px;
        background: url("/promo/oftalmologiya/img/banner-tablet.jpg") center no-repeat;
        padding: 48px 40px;
        background-size: cover;
        grid-template-columns: 360px auto;
    }

    .fabula-oftalmologiya-top-block::after {
        width: 170px;
        height: 170px;
        top: 10px;
        right: 18px;
    }

    .fabula-oftalmologiya-top-block__title {
        font-size: 32px;
    }

    .fabula-oftalmologiya-top-block__desc {
        font-size: 16px;
    }

    .fabula-oftalmologiya-top-block__icon {
        width: 194px;
    }
}

@media screen and (max-width: 768px) {
    .fabula-oftalmologiya-top-block {
        height: 480px;
        grid-template-columns: 1fr 1fr;
    }

    .fabula-oftalmologiya-top-block__title {
    }

    .fabula-oftalmologiya-top-block::after {
        width: 140px;
        height: 140px;
    }
}

@media screen and (max-width: 520px) {
    .fabula-oftalmologiya-top-block {
        height: 400px;
        background: url("/promo/oftalmologiya/img/banner-mobile.jpg") center no-repeat;
        background-size: cover;
        grid-template-columns: 1fr;
        justify-content: center;
        padding: 24px 17px 17px;
    }

    .fabula-oftalmologiya-top-block::after {
        width: 150px;
        height: 150px;
        position: absolute;
        right: 0;
        top: 155px;
        width: 120px;
        height: 120px;
    }

    .fabula-oftalmologiya-top-block-info {
        align-items: center;
    }

    .fabula-oftalmologiya-top-block__title {
        text-align: center;
        line-height: 0.8;

        span {
            font-size: 24px;
        }
    }

    .fabula-oftalmologiya-top-block__desc {
        text-align: center;
        font-size: 14px;
    }

    .fabula-oftalmologiya-top-block__icon {
        width: 144px;

        &.light {
            display: block;
        }
        &.dark {
            display: none;
        }
    }
}

/*  */
.fabula-info-img {
    margin-bottom: 0 !important;
}
