/* ==========================================================================
   MIGRACIÓN FINAL DESDE STYLE.CSS (PROCESO DE ALIGERAMIENTO) - INICIO
   ========================================================================== */
/* 1. CSS RESET ESENCIAL */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
cite,
code,
del,
em,
img,
ins,
q,
small,
strong,
sub,
sup,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
table,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
menu,
nav,
section,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Seguridad global contra scroll horizontal */
}

/* 2. ESTRUCTURA Y CONTENEDORES BASE */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.l-page-width {
    width: 1150px;
    max-width: 95%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}


/* 3. ELEMENTOS GLOBALES */
strong,
b {
    font-weight: 700;
}

em,
i {
    font-style: italic;
}

blockquote {
    font-style: italic;
    position: relative;
    padding: 15px 40px;
}

/* ==========================================================================
   MIGRACIÓN FINAL DESDE STYLE.CSS - FIN
   ========================================================================== */

/* Ajustes básicos para CENDI Arcoiris Mágico */
body {
    font-family: Lato, sans-serif;
    color: #a2825c;
    font-size: 16px;
    line-height: 1.375;
}


.kids-bg-level-1 {
    background-color: #8fc0ea;
    position: relative;
}

.kids_top_content,
#kids_middle_container {
    margin: 0 !important;
    padding: 0 !important;
}

.cws_button,
.button {
    background-color: #3185cb;
    font-family: 'Lobster Two';
    border: none;
    padding: 10px 20px;
    color: #fff;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
}

.cws_button:hover,
.button:hover {
    background-color: #ff633c;
}

.section-title {
    font-size: 32px;
    color: #3185cb;
    font-family: 'Lobster Two', cursive;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lobster Two', cursive;
    color: #3185cb;
}

.kids_top_content_middle,
.post-entry,
.callout_widget {
    background-color: #ffffff;
    border-color: #fee6b4;
}

.kids_top_content_middle {
    padding: 0 0 40px 0;
    border: 1px solid #fee6b4;
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: 10;
}

/* Grid System */
.grid_col_4 {
    width: 33.33%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.grid_col_3 {
    width: 25%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.grid_col_6 {
    width: 50%;
    float: left;
    padding: 0 15px;
    box-sizing: border-box;
}

.kids_image_wrapper img {
    width: 100%;
    height: auto;
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post_item img {
    width: 100%;
    border: 4px solid #fff;
    border-radius: 8px;
}

/* Grid System (Ajustado) */

.img_slider img {
    width: 100%;
    border: 6px solid #fff;
    border-radius: 10px;
}

/* Clases CSS adicionales para Noticias Navigables */
.news-thumb {
    width: 35%;
    float: left;
    position: relative;
}

.news-text {
    width: 60%;
    float: right;
}

/* Footer */
.main-footer {
    background-color: #8fc0ea;
    padding: 40px 0;
    text-align: center;
}

.main-footer p {
    color: #fff;
    font-family: 'Lato';
    margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .l-page-width {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .grid_col_3,
    .grid_col_4,
    .grid_col_6 {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 30px;
    }

    .news-thumb,
    .news-text {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }

    .post_item img,
    .kids_image_wrapper img,
    .img_slider img {
        max-width: 100%;
        height: auto;
    }

    .section-title {
        text-align: center;
        font-size: 32px !important;
    }

    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 32px !important;
    }
}