/**
 * HandlaOnline — CTA sections (campaign variant + shared tweaks)
 */

.ho-campaign-cta {
    position: relative;
    overflow: hidden;
}

.ho-campaign-cta--has-bg {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.ho-campaign-cta--plain {
    padding-top: 0;
    padding-bottom: 0;
}

.ho-campaign-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
    will-change: transform;
}

.ho-campaign-cta:hover .ho-campaign-cta__bg {
    transform: scale(1.04);
}

.ho-campaign-cta__overlay {
    position: absolute;
    inset: 0;
    background: #101924;
    pointer-events: none;
}

.ho-campaign-cta__box {
    min-height: 280px;
    border: 1px solid rgba(16, 25, 36, 0.06);
}

.ho-campaign-cta__media {
    min-height: 280px;
}

.ho-campaign-cta__media img {
    display: block;
}

.ho-campaign-cta__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ho-campaign-cta__body {
    line-height: 1.75;
}

.ho-campaign-cta__body p:last-child {
    margin-bottom: 0;
}

.ho-campaign-cta__ribbon {
    top: 0;
    right: 0;
    margin: 0;
    padding: 0.5rem 1rem 0.6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    background: var(--primary, #0088cc);
    color: #fff;
    border-radius: 0 0 0 0.5rem;
    box-shadow: 0 4px 12px rgba(16, 25, 36, 0.12);
}

.ho-campaign-cta__ribbon span {
    display: block;
}

/* Simple / split CTA body text with Summernote colors */
.section-cta .ho-cta-body font,
.section-cta .ho-cta-body span[style*="color"] {
    line-height: inherit;
}

@media (max-width: 991px) {
    .ho-campaign-cta--has-bg {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .ho-campaign-cta__media {
        min-height: 220px;
    }

    .ho-campaign-cta__media img {
        min-height: 220px !important;
    }
}

@media (max-width: 575px) {
    .ho-campaign-cta__box {
        border-radius: 0.75rem !important;
    }

    .ho-campaign-cta__ribbon {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}
