/**
 * Two Column Content Widget CSS
 * 
 * This file contains styles specific to the Two Column Content widget.
 * All styles are designed to work with Elementor's dynamic styling system.
 */

/* ==========================================
   TWO COLUMN CONTENT WIDGET
   ========================================== */

/* Base layout structure - NO STYLING */
.cew-two-column-content-widget {
    position: relative;
    /* padding: 80px 0; */
}

/* Content container */
.cew-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 15px; */
}

.cew-two-column-content {
    width: 100%;
}
.cew-two-column-text-content{
    padding-right: 21px;

}

/* Row and column layout */
.cew-row {
    display: flex;
    flex-wrap: wrap;
    /* margin: 0 -30px; */
}

.cew-col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    /* padding: 0 14px; */
}

/* Text content area */
.cew-two-column-text-content {
    /* padding-right: 40px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Title structural only - NO FONT, COLOR, SIZE */
.cew-two-column-title {
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.2;
}

/* Title underline - keep decorative styles */
.cew-two-column-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #007bff;
}

/* Description structural only - NO FONT, COLOR, SIZE */
.cew-two-column-description {
    margin-bottom: 2rem;
}

/* Description paragraphs - structural only */
.cew-two-column-description p {
    margin-bottom: 1rem;
}

.cew-two-column-description p:last-child {
    margin-bottom: 0;
}

/* Highlighted terms - keep special styling but allow color override */
.cew-highlighted-term {
    font-weight: 600;
    transition: all 0.3s ease;
    /* Default color - can be overridden by Elementor controls */
    color: #ff0000;
    background-color: rgba(255, 0, 0, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* .cew-highlighted-term:hover {
    opacity: 0.8;
    background-color: rgba(255, 0, 0, 0.2);
} */

/* Button structural only - NO APPEARANCE OVERRIDES */
.cew-two-column-btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 500;
    text-align: center;
}

.cew-two-column-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cew-two-column-button-wrapper {
    margin-top: 2rem;
}

/* Image wrapper */
.cew-two-column-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    /* border-radius: 0px; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

/* Image styling */
.cew-two-column-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    /* transition: all 0.3s ease; */
}

/* .cew-two-column-image:hover {
    transform: scale(1.05);
} */

/* Responsive Design */
@media screen and (max-width:1366px) {
    .cew-row{row-gap: 20px;}
    .cew-col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .cew-two-column-text-content {
        padding-right: 0;
    }
}
@media screen and (max-width: 991px) {
    
}

@media screen and (max-width: 767px) {
    /* .cew-two-column-content-widget {
        padding: 40px 0;
    } */

    .cew-row {
        margin: 0;
    }
    .cew-col-lg-6 {padding: 0 ;}
    .cew-two-column-text-content {
        /* padding-right: 0; */
        /* text-align: center; */
    }

    .cew-two-column-image-wrapper {
        /* margin-top: 30px; */
    }

    .cew-two-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 575px) {
    /* .cew-two-column-content-widget {
        padding: 30px 0;
    } */

    .cew-two-column-image-wrapper {
        /* margin-top: 20px; */
    }

    .cew-two-column-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

/* Elementor Editor Specific Styles */
.elementor-widget.elementor-widget-two_column_content .elementor-heading-title {
    margin-bottom: 0;
}

.elementor-widget.elementor-widget-two_column_content .elementor-text-editor {
    margin-bottom: 0;
}

.elementor-widget.elementor-widget-two_column_content .elementor-button {
    margin-top: 0;
} 