/* Estilos para Ciudadanía - ASANEC */

/* General Layout */
body {
    margin: 0;
    padding: 0;
}

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
} */

.main-content {
    margin-bottom: 50px;
}

.wpb_row {
    position: relative;
    box-sizing: border-box;
}

/* Flexbox Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.vc_col-sm-12 {
    width: 100%;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.vc_col-sm-6 {
    width: 50%;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    display: flex; /* Make column a flex container */
    flex-direction: column;
}

@media (max-width: 768px) {
    .vc_col-sm-6 {
        width: 100%;
    }
}

.vc_column-inner {
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1; /* Allow inner content to fill height */
    display: flex;
    flex-direction: column;
}

.wpb_wrapper {
    position: relative;
    width: 100%;
    flex-grow: 1;
}

/* Child Columns (Cards) */
.child_column2 {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 250px; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    border-radius: 20px;
    z-index: 1; 
} 

.child_column2.text-align-center {
    align-items: center;
}

.padding-6-percent {
    padding: 6%;
}

/* Image Backgrounds & Overlays */
.column-image-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1; /* Adjusted z-index */
    border-radius: 20px;
}

.column-image-bg {
    background-size: cover;
    background-position: center center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1 !important; /* Force visibility */
    visibility: visible !important;
}

.column-bg-overlay-wrap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2; /* Above image */
    border-radius: 20px;
}

.column-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/* Specific Adjustments for Right Column Background */
.child_column2.asanec-responde-bg .column-image-bg {
    background-color: var(--accent-color); /* Fallback color matching the yellow/orange */
}

/* Content Wrapper inside Cards */
.child_column2 > .wpb_wrapper {
    position: relative;
    z-index: 10; /* Ensure content is above overlay */
}

/* Buttons */
.nectar-button {
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s linear;
    border-radius: 50px; /* Pill shape */
    margin-top: 15px;
}

.nectar-button.large {
    font-size: 16px;
    padding: 15px 30px;
}

.nectar-button.accent-color2 {
    background-color: var(--main-color);
    color: #fff;
}

.nectar-button.accent-color2:hover {
    background-color: var(--accent-color);
}

/* Typography */
h1 {
    font-family: 'Open Sans', sans-serif;
    color: #2b2b2b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-size: 2.5em; /* Match typical H1 size */
}

.nectar-responsive-text {
    position: relative;
    z-index: 10;
}

.nectar-responsive-text p {
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.4;
}

.nectar-responsive-text strong {
    font-weight: 700;
}

.white-text p, .white-text strong {
    color: #fff;
}

.blue-text p, .blue-text strong {
    color: #0e2f77;
}

/* Right Column Specifics */
.img-with-aniamtion-wrap {
    margin-bottom: 20px;
}

.img-with-aniamtion-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-align-center {
    text-align: center;
}

/* Responsive Font Sizes */
@media (max-width: 999px) {
    .nectar-responsive-text p {
        font-size: 16px;
    }
}
