/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */


#module-ph_simpleblog-single h2, #module-ph_simpleblog-single h3{
    margin-bottom: 15px;
    margin-top: 10px;
}
#module-ph_simpleblog-single .rte-content p {
    line-height: 25px !important;
}

#module-ph_simpleblog-single #inner-wrapper{
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

/*.cms-id-4 .elementor-section.elementor-section-boxed > .elementor-container {
   max-width: 100% !important;
}*/

.page-contact .contact-rich .part .icon {
    vertical-align: text-top;
    display: inline-block;
    text-align: center;
    width: 3rem;
    font-size: 11px;
}

.page-contact #mobile-header .m-nav-btn>i, .contact-rich .part .icon i {
    font-size: 18px;
    margin-bottom: 10px;
}

.elementor-element-r4hq2ya .elementor-column{
    margin: 10px;
}

.index-description{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 6vh;
}  

.index-title{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 8vh;
}  

.index-subdescription {
    margin-top: -2vh;
    margin-bottom: 4vh;
}

/* Contenedor principal del contenido */
.page-cms .rte-content {
    line-height: 1.8;
    color: #222;
    font-size: 16px;
}

/* H2 - Títulos de sección principales */
.page-cms .rte-content h2 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
    margin-top: 45px;
    margin-bottom: 20px;
}

/* Primer h2 sin margen superior */
.page-cms .rte-content h2:first-child {
    margin-top: 0;
}

/* H3 - Subsecciones */
.page-cms .rte-content h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    margin-top: 35px;
    margin-bottom: 18px;
}

/* H4 - Subtítulos menores */
.page-cms .rte-content h4 {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    color: #444;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* H5 - Títulos de menor jerarquía */
.page-cms .rte-content h5 {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: #555;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* H6 - Títulos más pequeños (opcional) */
.page-cms .rte-content h6 {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #666;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Párrafos */
.page-cms .rte-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #222;
}

/* Primer párrafo después de títulos sin margen superior */
.page-cms .rte-content h2 + p,
.page-cms .rte-content h3 + p,
.page-cms .rte-content h4 + p,
.page-cms .rte-content h5 + p,
.page-cms .rte-content h6 + p {
    margin-top: 0;
}

/* Listas */
.page-cms .rte-content ul,
.page-cms .rte-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.page-cms .rte-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Imágenes */
.page-cms .rte-content img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 8px;
}

/* Enlaces */
.page-cms .rte-content a {
    color: #638d2e;
    text-decoration: none;
    font-weight: 500;
}

.page-cms .rte-content a:hover {
    text-decoration: underline;
}

/* Blockquotes / Citas */
.page-cms .rte-content blockquote {
    border-left: 4px solid #638d2e;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-size: 18px;
}

/* Tablas (si las usas) */
.page-cms .rte-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.page-cms .rte-content table th,
.page-cms .rte-content table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.page-cms .rte-content table th {
    background-color: #f7f7f7;
    font-weight: 600;
}

/* Código (si lo usas) */
.page-cms .rte-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.page-cms .rte-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 25px 0;
}

/* Separador horizontal */
.page-cms .rte-content hr {
    border: none;
    border-top: 2px solid #ebebeb;
    margin: 40px 0;
}

/* Strong y énfasis */
.page-cms .rte-content strong,
.page-cms .rte-content b {
    font-weight: 700;
}

.page-cms .rte-content em,
.page-cms .rte-content i {
    font-style: italic;
}
.btn {
    border-radius: 5px;
}

li.product-flag {
    border-radius: 5px;
}