/*
 * Styles for NB Two Column Content Widget
 */

.nb-2col-section {
    padding: 40px 0;
    box-sizing: border-box;
}

/* This container class applies the standard 1200px width and padding */
.elementor-widget-nb-two-column-content .nb-content-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.elementor-widget-nb-two-column-content .nb-2col-inner-box {
    padding: 30px;
    box-sizing: border-box;
    /* Example: To match image_16705f.jpg, set 'Content Box Background' to white */
}

/* --- AFTER --- */
.elementor-widget-nb-two-column-content .nb-2col-section-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px; /* <--- Now matches the one-column widget */
    color: #1A124C; /* Default color */
}

.elementor-widget-nb-two-column-content .nb-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Default gap, adjustable in Elementor */
    align-items: flex-start;
}

.elementor-widget-nb-two-column-content .nb-2col-column {
    font-family: 'IBM Plex Sans', sans-serif;
    /*font-size: 1.2rem;*/
    line-height: 1.7;
    color: #1A124C; /* Default color */
}

/* --- NEW: Styles for H2 inside WYSIWYG --- */
.elementor-widget-nb-two-column-content .nb-2col-column h2 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1A124C;
}

/* Default styles for text inside the WYSIWYG */
.elementor-widget-nb-two-column-content .nb-2col-column p,
.elementor-widget-nb-two-column-content .nb-2col-column ul,
.elementor-widget-nb-two-column-content .nb-2col-column ol {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.elementor-widget-nb-two-column-content .nb-2col-column ul,
.elementor-widget-nb-two-column-content .nb-2col-column ol {
    padding-left: 25px;
}

.elementor-widget-nb-two-column-content .nb-2col-column *:last-child {
    margin-bottom: 0;
}

/* Make images added to a column responsive */
.elementor-widget-nb-two-column-content .nb-2col-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional styling */
}

/* Responsive: Stack columns on mobile */
@media (max-width: 767px) {
    .elementor-widget-nb-two-column-content .nb-2col-grid {
        grid-template-columns: 1fr;
    }

    .elementor-widget-nb-two-column-content .nb-2col-section-title {
        font-size: 2rem;
    }
}

/*
 * Styles for the Feature List in the Two Column Content widget
 */
.elementor-widget-nb-two-column-content .nb-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.elementor-widget-nb-two-column-content .nb-feature-list li {
    font-size: 1.4rem; /* Adjust font size as needed */
    font-weight: 800;
    padding-left: 30px; /* Space for the checkmark */
    position: relative;
    padding-bottom: 10px; /* Space below text */
    margin-bottom: 10px; /* Space for the line */
    /* This matches the color from your other widgets */
    border-bottom: 2px solid #1A124C; 
}

/* Stops the line from appearing after the very last item */
.elementor-widget-nb-two-column-content .nb-feature-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* This creates the checkmark */
.elementor-widget-nb-two-column-content .nb-feature-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    /* This color matches the yellow from your CTA widget */
    color: #FFDA44; 
    font-size: 1.4rem;
    font-weight: 800;
}