.blog-card h3.ellipsis {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    white-space: normal;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@keyframes blog-hero-zoom {
    from {
        transform: scale(1.12);
    }
}

@keyframes blog-hero-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

.blog-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 520px;
    overflow: hidden;
    background: #032855;
}

.blog-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: blog-hero-zoom 1.6s cubic-bezier(.2, .8, .2, 1) both;
}

.blog-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 20, 45, .25) 0%, rgba(3, 20, 45, .55) 45%, rgba(3, 20, 45, .92) 100%),
        linear-gradient(90deg, rgba(28, 56, 102, .5) 0%, rgba(28, 56, 102, .15) 100%);
}

.blog-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 110px;
    color: #fff;
}

.blog-hero__content > * {
    animation: blog-hero-rise .8s cubic-bezier(.2, .8, .2, 1) both;
}

.blog-hero__content > :nth-child(2) {
    animation-delay: .1s;
}

.blog-hero__content > :nth-child(3) {
    animation-delay: .2s;
}

.blog-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

.blog-hero__back:hover,
.blog-hero__back:focus {
    color: #fff;
    text-decoration: none;
    transform: translateX(-4px);
}

.blog-hero__title {
    max-width: 900px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.blog-hero__title::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin-top: 22px;
    border-radius: 4px;
    background: #fff;
}

.blog-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.blog-hero__meta i {
    margin-right: 6px;
    color: rgba(255, 255, 255, .85);
}

.blog-hero + .container_gray_bg > .margin_60 {
    position: relative;
    z-index: 2;
    margin-top: -70px;
    padding-top: 0;
}

.blog-hero + .container_gray_bg .box_style_1 {
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(3, 40, 85, .12);
}

.blog-hero + .container_gray_bg .wrapper_indent img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .blog-hero {
        min-height: 420px;
    }

    .blog-hero__title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        min-height: 360px;
    }

    .blog-hero__content {
        padding-top: 110px;
        padding-bottom: 90px;
    }

    .blog-hero__title {
        font-size: 26px;
    }

    .blog-hero__title::after {
        margin-top: 16px;
    }

    .blog-hero__meta {
        gap: 12px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-hero__img,
    .blog-hero__content > * {
        animation: none;
    }
}

.blog-hero__img {
    color: transparent;
}
