/* Estone CTA Banner Gutenberg Block Styling */

.estonetech-cta-banner-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 30 !important;
}

/* Footer Top Overlap Mode (Fixed on top edge of footer) */
.estonetech-cta-banner-wrapper.overlap-footer {
    position: relative !important;
    z-index: 35 !important;
    margin-top: 40px !important;
    margin-bottom: -110px !important;
}


/* Inline Standard Mode (Use Anywhere on Page Canvas) */
.estonetech-cta-banner-wrapper:not(.overlap-footer) {
    position: relative !important;
    z-index: 30 !important;
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}


.estonetech-cta-banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 48px 55px;
    color: #ffffff !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    min-height: 240px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.estonetech-cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.estonetech-cta-title {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
    text-align: left !important;
}

.estonetech-cta-desc {
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif !important;
    font-size: 15px !important;
    color: #f1f5f9 !important;
    line-height: 1.6 !important;
    margin: 0 0 26px 0 !important;
    text-align: left !important;
}

/* Multiple Buttons Container */
.estonetech-cta-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Base Button Styling */
.estonetech-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    padding: 10px 26px;
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', Tahoma, Arial, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #c61d23;
    background-color: #c61d23;
    color: #ffffff;
}

.estonetech-cta-btn:hover {
    background-color: #a8171c;
    border-color: #a8171c;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(198, 29, 35, 0.45);
    transform: translateY(-2px);
}

/* Button Style: Solid */
.estonetech-cta-btn.btn-style-solid {
    border: 1px solid #c61d23;
    background: #c61d23;
    color: #ffffff;
}

.estonetech-cta-btn.btn-style-solid:hover {
    background: #a8171c;
    border-color: #a8171c;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(198, 29, 35, 0.45);
    transform: translateY(-2px);
}

.estonetech-cta-btn .arr {
    font-size: 13px;
    font-weight: 600;
}

/* Responsive Breakdown */
@media (max-width: 1024px) {
    .estonetech-cta-banner-card {
        padding: 38px 32px;
        min-height: 220px;
    }
    .estonetech-cta-title {
        font-size: 26px !important;
    }
    .estonetech-cta-desc {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .estonetech-cta-banner-wrapper.overlap-footer {
        margin-bottom: -40px !important;
    }
    .estonetech-cta-banner-card {
        padding: 28px 20px;
        height: auto !important;
        min-height: 190px;
    }
    .estonetech-cta-title {
        font-size: 22px !important;
    }
    .estonetech-cta-btns {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .estonetech-cta-btn {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .estonetech-cta-banner-card {
        padding: 24px 16px;
    }
    .estonetech-cta-title {
        font-size: 20px !important;
        line-height: 26px !important;
    }
    .estonetech-cta-desc {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }
    .estonetech-cta-btn {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
}


