/* Home: CTA Banner Block */

.home-cta-banner {
    padding: 1.5rem 0;
}

.home-cta-banner__container {
    max-width: 1140px;
    margin: 0 auto;
}

.home-cta-banner__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0D4D55;
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.25s ease;
}

.home-cta-banner__bar:hover {
    background-color: #0A3D44;
}

.home-cta-banner__bar.has-bg-image:hover {
    background-color: #0D4D55;
}

.home-cta-banner__bar:hover .home-cta-banner__arrow {
    transform: translateX(4px);
}

.home-cta-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-cta-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-cta-banner__bar.has-bg-image .home-cta-banner__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(10, 26, 28, 0.55);
}

.home-cta-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.home-cta-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.home-cta-banner__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.home-cta-banner__text {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.home-cta-banner__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #E84E0F;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s ease;
}

/* md: 768px */
@media (min-width: 768px) {
    .home-cta-banner {
        padding: 2rem 0;
    }

    .home-cta-banner__bar {
        padding: 1.25rem 2rem;
    }

    .home-cta-banner__content {
        gap: 1rem;
    }

    .home-cta-banner__text {
        font-size: 16px;
    }
}
