/*
Theme Name: Aerolistados
Description: Tema personalizado para clasificados aeronáuticos
Version: 1.0.0
Author: Gonzalo
*/

/* CSS PARA TODAS LAS PÁGINAS LEGALES */
body.postid-2898 main#primary article,
body.postid-2898 main#primary .post-content,
body.postid-2905 main#primary article,
body.postid-2905 main#primary .post-content,
body.postid-2907 main#primary article,
body.postid-2907 main#primary .post-content,
body.postid-2909 main#primary article,
body.postid-2909 main#primary .post-content,
body.postid-2911 main#primary article,
body.postid-2911 main#primary .post-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 40px;
}

body.postid-2898 main#primary h1.wp-block-heading,
body.postid-2905 main#primary h1.wp-block-heading,
body.postid-2907 main#primary h1.wp-block-heading,
body.postid-2909 main#primary h1.wp-block-heading,
body.postid-2911 main#primary h1.wp-block-heading {
    color: #000;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
}

body.postid-2898 main#primary h2.wp-block-heading,
body.postid-2905 main#primary h2.wp-block-heading,
body.postid-2907 main#primary h2.wp-block-heading,
body.postid-2909 main#primary h2.wp-block-heading,
body.postid-2911 main#primary h2.wp-block-heading {
    color: #12437c;
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    padding: 15px;
    border-left: 4px solid #12437c;
    background: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

body.postid-2898 main#primary h3.wp-block-heading,
body.postid-2905 main#primary h3.wp-block-heading,
body.postid-2907 main#primary h3.wp-block-heading,
body.postid-2909 main#primary h3.wp-block-heading,
body.postid-2911 main#primary h3.wp-block-heading {
    color: #1a5490;
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    padding: 8px 0;
}

body.postid-2898 main#primary p,
body.postid-2905 main#primary p,
body.postid-2907 main#primary p,
body.postid-2909 main#primary p,
body.postid-2911 main#primary p {
    margin: 0 0 18px 0;
    text-align: justify;
    color: #444;
    line-height: 1.7;
    font-size: 16px;
}

body.postid-2898 main#primary ul.wp-block-list,
body.postid-2905 main#primary ul.wp-block-list,
body.postid-2907 main#primary ul.wp-block-list,
body.postid-2909 main#primary ul.wp-block-list,
body.postid-2911 main#primary ul.wp-block-list {
    margin: 15px 0 20px 20px;
    padding-left: 20px;
}

body.postid-2898 main#primary ul.wp-block-list li,
body.postid-2905 main#primary ul.wp-block-list li,
body.postid-2907 main#primary ul.wp-block-list li,
body.postid-2909 main#primary ul.wp-block-list li,
body.postid-2911 main#primary ul.wp-block-list li {
    margin: 8px 0;
    color: #444;
    line-height: 1.6;
}

body.postid-2898 main#primary a,
body.postid-2905 main#primary a,
body.postid-2907 main#primary a,
body.postid-2909 main#primary a,
body.postid-2911 main#primary a {
    color: #12437c;
    text-decoration: none;
    border-bottom: 1px dotted #12437c;
}

body.postid-2898 main#primary a:hover,
body.postid-2905 main#primary a:hover,
body.postid-2907 main#primary a:hover,
body.postid-2909 main#primary a:hover,
body.postid-2911 main#primary a:hover {
    color: #0f3766;
    border-bottom: 1px solid #0f3766;
}

body.postid-2898 main#primary strong,
body.postid-2898 main#primary b,
body.postid-2905 main#primary strong,
body.postid-2905 main#primary b,
body.postid-2907 main#primary strong,
body.postid-2907 main#primary b,
body.postid-2909 main#primary strong,
body.postid-2909 main#primary b,
body.postid-2911 main#primary strong,
body.postid-2911 main#primary b {
    color: #12437c;
    font-weight: 600;
}

/* FOOTER CON FUERZA MÁXIMA - ANCHO COMPLETO */
#aerolistados-footer {
    background: #f8f9fa !important;
    border-top: 3px solid #12437c !important;
    margin-top: 40px !important;
    width: 100% !important;
    max-width: none !important;
}

#aerolistados-footer .footer-main {
    padding: 35px 0 25px !important;
}

#aerolistados-footer .footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

#aerolistados-footer .footer-column h3 {
    color: #12437c !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    border-left: none !important;
}

#aerolistados-footer .footer-column h4,
#aerolistados-footer .footer-column h5 {
    color: #12437c !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    padding-bottom: 6px !important;
    border-bottom: 2px solid #e9ecef !important;
    border-left: none !important;
    background: none !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    text-align: left !important;
}

#aerolistados-footer .footer-tagline {
    color: #6c757d !important;
    font-style: italic !important;
    margin-bottom: 15px !important;
    font-size: 14px !important;
    text-align: left !important;
}

#aerolistados-footer .footer-description {
    color: #495057 !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
    margin: 0 !important;
    text-align: left !important;
}

#aerolistados-footer .footer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#aerolistados-footer .footer-menu li {
    margin-bottom: 10px !important;
}

#aerolistados-footer .footer-menu a,
#aerolistados-footer .contact-email a, {
    color: #495057 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    border-bottom: none !important;
    display: block !important;
    padding: 3px 0 !important;
}

#aerolistados-footer .footer-menu a:hover,
#aerolistados-footer .contact-email a:hover {
    color: #12437c !important;
    text-decoration: underline !important;
    border-bottom: none !important;
}

#aerolistados-footer .contact-info {
    margin-bottom: 20px !important;
}

#aerolistados-footer .contact-email {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}


#aerolistados-footer .footer-bottom {
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef !important;
    padding: 15px 0 !important;
    text-align: center !important;
}

#aerolistados-footer .footer-bottom .copyright p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #6c757d !important;
    text-align: center !important;
}

/* Responsive para footer */
@media (max-width: 768px) {
    #aerolistados-footer .footer-container {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
        padding: 0 15px !important;
    }
    
    #aerolistados-footer .footer-branding {
        text-align: center !important;
    }
    
    #aerolistados-footer .social-icons {
        justify-content: center !important;
    }
}

/* Responsive para términos y política - SOLO EL CONTENIDO */
@media (max-width: 768px) {
    body.postid-2898 main#primary article,
    body.postid-2898 main#primary .post-content,
    body.postid-2905 main#primary article,
    body.postid-2905 main#primary .post-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    body.postid-2898 main#primary h2.wp-block-heading,
    body.postid-2905 main#primary h2.wp-block-heading {
        font-size: 20px;
        padding: 10px;
    }
    
    body.postid-2898 main#primary p,
    body.postid-2905 main#primary p {
        text-align: left;
    }
}