@charset "utf-8";
/* CSS Document */

.guide-banner {
    display: block;
    position: relative;
    overflow: hidden;
    height: 350px;
    color: #fff !important;
    text-decoration: none;
}

.guide-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .5s ease;
}

.guide-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(231,49,55,.72),
        rgba(0,48,87,.12)
    );
}

.guide-banner-content {
    position: absolute;
    z-index: 1;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
    transition: transform .4s ease;
}

.guide-banner-content span {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff !important;
}

.guide-banner-content h2 {
    margin: 8px 0 15px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff !important;
}

.guide-banner-button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff !important;
    background: transparent;
}

.guide-banner:hover,
.guide-banner:focus,
.guide-banner:visited {
    color: #fff !important;
    text-decoration: none;
}

.guide-banner:hover img {
    transform: scale(1.05);
}

.guide-banner:hover .guide-banner-content {
    transform: translate(10px, -50%);
}

@media (max-width: 576px) {
    .guide-banner {
        height: 220px;
    }

    .guide-banner-content {
        left: 7%;
        right: 7%;
    }

    .guide-banner-content h2 {
        font-size: 1.7rem;
    }

    .guide-banner-button {
        padding: 8px 16px;
        font-size: .9rem;
    }
}
