/* Hero image */

.hero-banner {
    position: relative;
}

.hero-banner .text-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(21, 21, 21, 0.64);
    padding-bottom: var(--section-padding);
}

.hero-banner h2 {
    max-width: 660px;
    font-size: 2.75rem;
    line-height: 1.36;
}

.hero-banner h4 {
    max-width: 907px;
    line-height: 1.6;
}

@media screen and (max-width: 991px) {
    .hero-banner h2 {
        font-size: 1.5rem;
        line-height: 1.6;
        width: 360px;
        max-width: 100%;
    }

    .hero-banner h4 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-banner .text-content {
        padding: 0 27px;
    }
}

@media screen and (min-width: 992px) {
    .hero-banner .banner {
        height: calc(100vh - var(--section-padding));
    }
}

/* Link list */

.link-lists {
    background: url("/img/main/background.png") center/cover;
    /*! padding: 10px 0 30px; */
}
.link-lists > .container {
    --container-width: 1050px;
}
.link-lists img {
    height: 164px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* .link-lists ul {
    margin: 0 -15px;
} */

.link-lists li {
    margin-bottom: 30px;
    padding: 0 15px;
    position: relative;
}

.link-lists li > a:not(.arrow) {
    text-decoration: none;
    border: 1px solid var(--extra-light-gray);
    box-shadow: 0 4px 16px var(--gray-box-shadow);
    transition: all 0.3s ease-in-out;
    border-radius: 5px 5px 0 0;
    border-bottom: none;
    background: var(--white);
}

.link-lists li .arrow {
    position: absolute;
    bottom: -4px;
    background: var(--light-red);
    width: calc(100% - 30px);
    transition: all 0.3s ease-in-out;
    height: 4px;
}

.link-lists li .arrow svg {
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.link-lists h4 {
    color: var(--active-links);
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.link-lists p {
    color: var(--gray-links);
    margin: 0;
}

.link-lists .content-wrapper {
    position: relative;
    padding: 35px 24px 32px;
}

.link-lists .content-wrapper svg {
    position: absolute;
    right: 15px;
    top: 10px;
    opacity: 0.11;
    fill: var(--light-red);
    width: 65px;
    height: 80px;
}

.link-lists li:hover > a:first-child {
    transform: translateY(-12px);
}

.link-lists li:hover .arrow {
    height: 32px;
    transform: translateY(16px);
}

.link-lists li:hover .arrow svg {
    opacity: 1;
}
@media screen and (max-width: 991px) {
    .link-lists {
        padding: 40px 0 30px;
    }
    .link-lists .container > ul {
        padding: 0 15px;
    }
    .link-lists li .arrow {
        width: calc(100% - 24px);
    }
}

@media screen and (min-width: 992px) {
    .link-lists {
        position: relative;
        /*! padding: 0 0 93px; */
    }

    .link-lists li {
        transform: translateY(calc(0px - var(--section-padding)));
        margin: 0;
    }

    .link-lists li > a:not(.arrow) {
        height: 100%;
    }

    .link-lists li .arrow {
        margin: 0 auto;
    }
}

/* Blog posts */

.blog-list {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
.blog-list a {
    text-decoration: none;
}

.blog-list h4 {
    color: var(--hover-links);
    font-size: 1.25rem;
}

.blog-list p {
    color: var(--gray-links);
}

.blog-list .date-wrapper {
    box-shadow: 0 3px 6px var(--gray-shadow-light);
    background: var(--white);
    color: var(--gray-links);
    border-radius: 5px;
    padding: 16px 12px;
    margin-right: 20px;
}

.blog-list .date-wrapper div:first-child {
    font-size: 1.25rem;
    padding-bottom: 11.5px;
    line-height: 1.2;
}

.blog-list .date-wrapper div:last-child {
    border-top: 1px solid var(--gray-links);
    padding-top: 11.5px;
    line-height: 1.5;
    font-size: 1rem;
}

.blog-list .excerpt-wrapper p {
    font-size: 0.75rem;
}

.blog-list li a {
    margin-top: 32px;
}

/* .blog-list li:first-child a {
    margin-top: 40px;
} */

.blog-list li a:hover .date-wrapper {
    background: var(--main-red);
    color: var(--white);
}

.blog-list li a:hover .year {
    border-color: var(--white);
}

.blog-list .button {
    background: var(--beige-color);
    color: var(--white);
    display: block;
    margin: 32px auto 0;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    padding: 12px 5px;
    text-align: center;
    box-shadow: 0 3px 12px var(--beige-color);
}

.blog-list .button svg {
    margin-left: 16px;
}

.blog-list .button:hover,
.blog-list .button:focus {
    background: var(--beige-hover);
}

@media screen and (min-width: 992px) {
    .blog-list .content {
        padding: 0 30px;
    }

    .blog-list li a {
        /* padding: 0 14px; */
        margin-top: 45px;
    }

    .blog-list .button {
        max-width: 240px;
        margin: 65px auto 0;
    }
}
