/**
* 2022 Anvanto
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
*
*  @author    Anvanto <anvantoco@gmail.com>
*  @copyright 2022 Anvanto
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*/

.an_banner {
    margin-bottom: 40px;
}
.an_banner-img {
    overflow: hidden;
}
.an_banner a {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
}
.an_banner img:not(.b-lazy),
.an_banner img.b-loaded {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.an_banner-content {
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    left: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 35px 36px 28px;
}
.an_banner-content .an_banner-title {
    line-height: 1.2;
    margin-bottom: 3px;
    color: inherit;
}
.an_banner-content p:not(.an_banner-title) {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 11px;
    color: inherit;
}
.an_banner-content p span {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}
.an_banner-type2 .an_banner-content {
    color: #fff;
}
.an_banner-type2 .an_banner-content .btn {
    align-self: center;
}
.an_banner-img {
    position: relative;
    overflow: hidden;
}

.an_banner-img::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.an_banner-link:hover+.an_banner-img::before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

@-webkit-keyframes shine {
    100% {
        left: 125%;
    }
}
@keyframes shine {
    100% {
        left: 125%;
    }
}