/*
Theme Name: OceanWP child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/
/* ********************* estilos del blog ********************/
/* ===== ESTILOS GENERALES ===== */
.single-post .entry-content {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
}

/* ===== JERARQUÍA DE TÍTULOS ===== */
.single-post .entry-content h1 {
    font-size: 2em;
    color: #1a365d;
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-weight: 700;
}

.single-post .entry-content h2 {
    margin: 40px 0 20px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.single-post .entry-content h3 {
    color: #2c3e50;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin: 30px 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.single-post .entry-content h4 {
    color: #2c3e50;
    padding-bottom: 5px;
    margin: 25px 0 15px 0;
    font-size: 1.1em;
    font-weight: 600;
}

/* ===== PÁRRAFOS Y ESPACIADO ===== */
.single-post .entry-content p {
    margin-bottom: 1.2em;
    text-align: justify;
}

.single-post .entry-content p:last-child {
    margin-bottom: 0;
}

/* ===== LISTAS ===== */
.single-post .entry-content ul, 
.single-post .entry-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.single-post .entry-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.single-post .entry-content ul li {
    list-style-type: disc;
}

.single-post .entry-content ol li {
    list-style-type: decimal;
}

/* Listas con iconos */
.single-post .entry-content ul.checklist {
    list-style: none;
    margin-left: 0;
}

.single-post .entry-content ul.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.single-post .entry-content ul.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a7f37;
    font-weight: bold;
    font-size: 1.1em;
}

/* ===== BLOQUES DESTACADOS ===== */
.single-post .entry-content blockquote,
.single-post .wp-block-quote {
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-left: 4px solid #007cba;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-style: normal;
}

.single-post .entry-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Bloques de información */
.single-post .entry-content .info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.single-post .entry-content .warning-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.single-post .entry-content .success-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

/* ===== CÓDIGO Y PRE ===== */
.single-post .entry-content code {
    background-color: #f1f3f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #c7254e;
}

.single-post .entry-content pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

.single-post .entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* ===== TABLAS ===== */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.single-post .entry-content th {
    background: #4a5568;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.single-post .entry-content td {
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.single-post .entry-content tr:nth-child(even) {
    background-color: #f7fafc;
}

.single-post .entry-content tr:hover {
    background-color: #edf2f7;
}

/* ===== IMÁGENES ===== */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 15px 0;
}

.single-post .entry-content .wp-block-image,
.single-post .entry-content figure {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.single-post .entry-content figcaption {
    font-style: italic;
    color: #718096;
    margin-top: 8px;
    font-size: 0.9em;
}

/* ===== ENLACES ===== */
.single-post .entry-content a {
    color: #e95112;
    text-decoration: none;
    border-bottom: 1px dotted #e95112;
    transition: all 0.2s ease;
}

.single-post .entry-content a:hover {
    color: #145a2e;
    border-bottom: 1px solid #145a2e;
}

/* ===== BOTONES ===== */
.single-post .entry-content .button {
    display: inline-block;
    background: #e95112;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 5px;
}

.single-post .entry-content .button:hover {
    background: #145a2e;
    color: white;
    text-decoration: none;
    border-bottom: none;
}

.single-post .entry-content .button-secondary {
    background: #718096;
}

.single-post .entry-content .button-secondary:hover {
    background: #4a5568;
}

/* ===== SEPARADORES ===== */
.single-post .entry-content hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* ===== ELEMENTOS DE FORMULARIO ===== */
.single-post .entry-content input[type="text"],
.single-post .entry-content input[type="email"],
.single-post .entry-content input[type="password"],
.single-post .entry-content textarea,
.single-post .entry-content select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 16px;
    margin: 5px 0 15px 0;
    transition: border 0.3s ease;
}

.single-post .entry-content input[type="text"]:focus,
.single-post .entry-content input[type="email"]:focus,
.single-post .entry-content input[type="password"]:focus,
.single-post .entry-content textarea:focus,
.single-post .entry-content select:focus {
    border-color: #1a7f37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 127, 55, 0.1);
}

/* ===== BLOQUES DE PASOS ===== */
.single-post .entry-content .step {
    counter-increment: step-counter;
    margin: 25px 0;
    padding-left: 50px;
    position: relative;
}

.single-post .entry-content .step:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #1a7f37;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.single-post .entry-content .steps-container {
    counter-reset: step-counter;
    margin: 30px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .single-post .entry-content {
        padding: 15px;
        font-size: 15px;
    }
    .single-post .entry-content p {
        text-align: left;
    }
    .single-post .entry-content h1 {
        font-size: 1.7em;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.3em;
        padding: 12px 15px;
    }
    
    .single-post .entry-content h3 {
        font-size: 1.2em;
    }
    
    .single-post .entry-content ul, 
    .single-post .entry-content ol {
        margin-left: 20px;
    }
    
    .single-post .entry-content .step {
        padding-left: 40px;
    }
    
    .single-post .entry-content .step:before {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .single-post .entry-content {
        padding: 10px;
        font-size: 14px;
    }
    
   .single-post  .entry-content h1 {
        font-size: 1.5em;
    }
    
    .single-post .entry-content h2 {
        font-size: 1.2em;
        padding: 10px 12px;
    }
}

/* ===== ANIMACIONES SUAVES ===== */
.single-post .entry-content * {
    transition: all 0.2s ease;
}

/* ===== CLASES UTILITARIAS ===== */
.single-post .entry-content .text-center {
    text-align: center;
}

.single-post .entry-content .text-right {
    text-align: right;
}

.single-post .entry-content .text-justify {
    text-align: justify;
}

.single-post .entry-content .bold {
    font-weight: bold;
}

.single-post .entry-content .italic {
    font-style: italic;
}

.single-post .entry-content .highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

.single-post .entry-content .divider {
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}
/* ************************  fin estilos delo blog **************** */

.wpforms-container label{
    font-size: 13px!important;
}
.single-post #main #content-wrap.container {
    width: 1140px;
}
figure.size-full img{
    max-width: 800px;
    padding: 0 20px 0 20px;
}
.boton-envio{
    width: 100%!important;
    font-size: 18px!important;
    letter-spacing: 0!important;
    border:none!important;
    height: auto!important;
}
.form-newsletter .wpforms-field {
    padding: 20px 0!important;
}
.arrow_box{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}
.arrow_box:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 79, 255, 0);
    border-bottom-color: #0A0E2F;
    border-width: 10px;
    margin-left: -10px;
}
/* Estilos para la lista de subpáginas en columnas */
ul.lista-subpaginas-con-imagen {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* dos columna por defecto (para móvil) */
    gap: 20px; /* Espacio entre los elementos */
    list-style: none; /* Quita los puntos de la lista */
    padding: 0;
    margin: 0;
    justify-items: center;
}

ul.lista-subpaginas-con-imagen li {
    text-align: center;
    margin: 0;
    width: 100%; /* Ocupa todo el ancho de su columna */
    line-height: 1.4;
}

ul.lista-subpaginas-con-imagen li:hover,
.gallery img:hover {
    opacity: 0.8;
}

ul.lista-subpaginas-con-imagen li img {
    width: 100%; /* Hace que la imagen ocupe todo el ancho de la columna */
    height: auto;
    border-radius: 8px; /* Bordes redondeados opcionales */
}

ul.lista-subpaginas-con-imagen li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
}
ul.lista-subpaginas-con-imagen li a:hover {
    color: #0073aa; /* Cambia el color al pasar el cursor */
}

/* Media Queries para columnas en pantallas más grandes */
@media (min-width: 576px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas */
    }
}

@media (min-width: 768px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
    }
}

@media (min-width: 992px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas medianas */
    }
}
/*
@media (min-width: 1200px) {
    ul.lista-subpaginas-con-imagen {
        grid-template-columns: repeat(5, 1fr); /* 5 columnas en pantallas grandes */
/*    }
}*/

/* fin Estilos para la lista de subpáginas en columnas */


#cerrar-popup{
    display: block;
    line-height: 1.4;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 25px;
    padding: 0 10px;
    font-weight: bold;
    border: solid 1px #ddd;
    background: #ccc;
    cursor: pointer;
    z-index: 999;
}
#my-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.7);
    z-index: 999;
}
.page #cliente-form{
    display: none;
}
#cliente-form{
    width: 600px;
    z-index: 99999;
    max-width: 80%;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    position: fixed;
    top: 100px;
    right: 0;
    left: 0;  
    border-radius: 16px;
    overflow: hidden;
}
#cliente-form.form-popup{
    animation: smoothScroll 1s forwards;
    display: block!important;
}

.my-btn > a .text-wrap {
    background: #E95112;
    padding-right: 15px;
    padding-left: 15px;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
}
.my-btn > a .text-wrap:hover {
    opacity: 0.8;
}
#colophon ul{
	list-style: none;
	margin: 0;
	padding: 0;
}
.single-post .site-breadcrumbs{
    color: #fff
}
#colophon ul a:hover{
    color: #E95112;
}
#colophon li{
	margin-bottom: 15px;
    line-height: 1.3;
}
#colophon #contacto-wa a{
	color: #fff;
}

@media (max-width: 1300px) { 

}

@media (max-width: 960px) {	

}
@media (max-width: 768px) {  
      
    #cliente-form{
        max-width: 90%;
        padding: 10px;
        top: 10px;
        overflow: auto;
        max-height: 95vh;
    }

}

@media (max-width: 650px) {   
    #colophon #contacto-wa {
        width: 100%;
    }




}

@media (max-width: 450px) { 

}