/* CTA Card */
.cta-popup-card-a5e102b1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

/* Full-height stretch: ensure the Elementor widget wrapper also stretches */
.elementor-widget-cta_popup_a5e102b1 {
    height: 100%;
}

.elementor-widget-cta_popup_a5e102b1 .elementor-widget-container {
    height: 100%;
}

/* CTA Card Image */
.cta-popup-card-image-a5e102b1 {
    width: 100%;
    line-height: 0;
    cursor: pointer;
}

.cta-popup-card-image-a5e102b1 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.cta-popup-card-image-a5e102b1:hover img {
    opacity: 0.85;
}

.cta-popup-card-title-a5e102b1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-popup-card-desc-a5e102b1 {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Button - push to bottom when card stretches */
.cta-popup-btn-a5e102b1 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: auto;
}

.cta-popup-btn-a5e102b1:hover {
    transform: translateY(-1px);
}

.cta-popup-btn-icon-a5e102b1 {
    display: inline-flex;
    align-items: center;
}

.cta-popup-btn-icon-a5e102b1 i {
    font-size: 14px;
}

.cta-popup-btn-icon-a5e102b1 svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Overlay */
.cta-popup-overlay-a5e102b1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-popup-overlay-a5e102b1.cta-popup-visible-a5e102b1 {
    opacity: 1;
}

/* Modal Content */
.cta-popup-modal-content-a5e102b1 {
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.cta-popup-overlay-a5e102b1.cta-popup-visible-a5e102b1 .cta-popup-modal-content-a5e102b1 {
    transform: scale(1) translateY(0);
}

/* Close Button */
.cta-popup-close-a5e102b1 {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    color: #333;
    z-index: 2;
    transition: background-color 0.2s ease;
    padding: 0;
}

.cta-popup-close-a5e102b1:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* Popup Image */
.cta-popup-modal-image-a5e102b1 {
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.cta-popup-modal-image-a5e102b1 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Popup Title & Body */
.cta-popup-modal-title-a5e102b1 {
    margin: 0;
    padding: 24px 24px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-popup-modal-body-a5e102b1 {
    padding: 16px 24px 24px;
    font-size: 15px;
    line-height: 1.7;
}

.cta-popup-modal-body-a5e102b1 p:first-child {
    margin-top: 0;
}

.cta-popup-modal-body-a5e102b1 p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .cta-popup-modal-content-a5e102b1 {
        width: 92vw !important;
    }

    .cta-popup-modal-image-a5e102b1 img {
        height: 180px;
    }
}
