/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ——— FONDO GENERAL ——— */
body {
    background-color: #f6f3ee;
}

/* ——— CABECERA ——— */
.ast-header-wrap {
    background-color: #ffffff;
    border-bottom: 1px solid #e0dcd5;
}

/* ——— MENÚ DE NAVEGACIÓN ——— */
.ast-main-header-nav .main-header-menu a {
    color: #333333;
    font-weight: 500;
    padding: 10px 15px;
}
.ast-main-header-nav .main-header-menu a:hover {
    color: #0056b3;
}

/* ——— BOTONES ——— */
button,
input[type="submit"],
.wp-block-button__link {
    background-color: #0056b3;
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
}
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background-color: #003d82;
    color: #ffffff !important;
}

/* ——— BOTÓN SECUNDARIO ——— */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #0056b3 !important;
    border: 2px solid #0056b3;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #e6f2ff;
    color: #003d82 !important;
}

/* ——— PIE DE PÁGINA ——— */
.site-footer {
    background-color: #f6f3ee;
    color: #333333;
    border-top: 1px solid #e0dcd5;
    padding: 40px 0 20px;
}
.site-footer a {
    color: #0056b3;
}
.site-footer a:hover {
    color: #003d82;
}

/* ——— TEXTO Y CONTENIDO ——— */
.entry-content,
.widget-area {
    line-height: 1.7;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: #003d82;
    margin-top: 1.5em;
}

/* ——— IMÁGENES DESTACADAS EN ANUNCIOS ——— */
.property-featured-image {
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.property-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ——— IMÁGENES GENERALES ——— */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ——— ENLACES ——— */
a {
    color: #0056b3;
    text-decoration: none;
}
a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* ——— FORZAR IMÁGENES DESTACADAS (fallback) ——— */
.post .wp-post-image {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* ——— RESPONSIVE BÁSICO ——— */
@media (max-width: 768px) {
    .ast-header-wrap {
        padding: 10px 0;
    }
    .site-footer {
        padding: 30px 15px 15px;
    }
    .entry-content {
        padding: 15px;
    }
    .property-featured-image {
        margin: 0 0 15px 0;
        border-radius: 6px;
    }
}