/* Force Full-Width Breakout & Zero-Out Astra Spacing */
.ctabs-section {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
   
    box-sizing: border-box !important;
    clear: both !important;
    overflow: hidden !important;
}

/* Neutralize Astra entry-content and block gap margins */
.entry-content > .ctabs-section,
.ast-container > .ctabs-section,
.site-content > .ctabs-section {
    margin-top: 0 !important;
}

/* Target preceding elements in Astra that push down content */
.entry-content > *:last-child {
    margin-bottom: 0 !important;
}

.ctabs-section + * {
    margin-top: 0 !important;
}

/* Inner Container - Keeps your content boxed and centered */
.ctabs-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.ctabs-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.ctabs-left-column {
    flex: 1.1;
    min-width: 320px;
}

.ctabs-right-column {
    flex: 0.9;
    min-width: 300px;
    height: 380px;
}

/* Right Side Full Cover Image Container */
.ctabs-image-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.ctabs-title {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.ctabs-desc {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ctabs-desc p {
    margin: 0 0 15px 0;
}

.ctabs-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
}

/* Custom Styled Buttons (Active only when override is checked) */
.ctabs-btn {
    display: inline-block;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

/* Responsive layout adjustments */
@media (max-width: 768px) {
    .ctabs-grid {
        flex-direction: column-reverse;
    }
    .ctabs-right-column {
        height: 280px;
        width: 100%;
    }
    .ctabs-title {
        font-size: 30px;
    }
}