/* --- ESTILOS CMS (Compatible con TinyMCE) --- */

.cms-content-wrapper {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    max-width: 900px;
    margin: 0 auto;
}

/* Tipografía */
.cms-heading {
    color: #1a3a5f; /* Tu color primario */
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.cms-lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #2d3748;
    margin-bottom: 2rem;
}

/* Imágenes flotantes */
.cms-image-right {
    float: right;
    margin: 0 0 1.5rem 2rem;
    max-width: 40%;
}
.cms-image-left {
    float: left;
    margin: 0 2rem 1.5rem 0;
    max-width: 40%;
}
.cms-image-right img, .cms-image-left img {
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}
.cms-caption {
    font-size: 0.85rem;
    color: #718096;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Grillas (Columnas) */
.cms-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.cms-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Tarjetas dentro del contenido */
.cms-card {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}
.cms-card h4 {
    color: #e53e3e; /* Tu color acento */
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Destacados (Callouts) */
.cms-callout {
    background-color: #ebf8ff;
    border-left: 5px solid #4299e1;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

/* Listas personalizadas */
.cms-list-check {
    list-style: none;
    padding-left: 0;
}
.cms-list-check li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}
.cms-list-check li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10b981; /* Verde */
}

/* Botones CMS */
.cms-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
}
.cms-btn-primary {
    background-color: #1a3a5f;
    color: white;
}
.cms-btn-primary:hover {
    background-color: #132b47;
    color: white;
    transform: translateY(-2px);
}
.cms-btn-outline {
    border: 2px solid #1a3a5f;
    color: #1a3a5f;
}
.cms-btn-outline:hover {
    background-color: #1a3a5f;
    color: white;
}

.cms-text-center { text-align: center; }
.cms-clearfix { clear: both; }

/* Responsive */
@media (max-width: 768px) {
    .cms-grid-2, .cms-grid-3 { grid-template-columns: 1fr; }
    .cms-image-right, .cms-image-left { float: none; margin: 1.5rem 0; max-width: 100%; }
}