/* ============================================================
   CTA Banner Widget
   ============================================================ */

.rmt-cta-banner {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #1a1a1a;
}

/* ---- Background Image ---- */
.rmt-cta-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 0;
}

/* ---- Overlay ---- */
.rmt-cta-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(55, 65, 81, 0.7);
    z-index: 1;
}

/* ---- Inner (flex container for positioning) ---- */
.rmt-cta-banner__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
}

/* ---- Content ---- */
.rmt-cta-banner__content {
    max-width: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* When alignment is left */
.rmt-cta-banner__content[style*="text-align: left"] {
    align-items: flex-start;
}

/* When alignment is right */
.rmt-cta-banner__content[style*="text-align: right"] {
    align-items: flex-end;
}

/* ---- Title ---- */
.rmt-cta-banner__title {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    padding: 0;
}

/* ---- Description ---- */
.rmt-cta-banner__description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 0;
}

/* ---- Button — styled via shared .rmt-glass-btn class ---- */
.rmt-cta-banner__btn {
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
}

/* ---- Button Arrow Icon ---- */
.rmt-cta-banner__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.rmt-cta-banner__btn-icon svg {
    width: 16px;
    height: 16px;
    fill: #FFFFFF;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .rmt-cta-banner__title {
        font-size: 20px;
    }

    .rmt-cta-banner__description {
        font-size: 13px;
    }

    .rmt-cta-banner__btn {
        font-size: 12px;
        padding: 8px 20px;
    }
}
