/**
* 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: 30px;
}
.an_banner-img {
    overflow: hidden;
}
.an_banner a {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    left: 15px;
    z-index: 2;
}
.an_banner img:not(.b-lazy),
.an_banner img.b-loaded {
    width: 100%;
    height: auto;
}

.an_banner-content {
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    left: 15px;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.an_banner p.an_banner-title {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 28px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.an_banner p:not(.an_banner-title) {
    font-size: 10px;
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
}
.an_banner-link::before,
.an_banner-link::after {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s,-webkit-transform 0.35s;
    transition: opacity 0.35s,transform 0.35s;
}
.an_banner-link::before {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
}
.an_banner-link::after {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
}
.an_banner-link:hover::before,
.an_banner-link:hover::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
@media (max-width: 767px) {
    .an_banner {
        width: 100%;
    }
}