/**
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
*/

/* Widget Próximas Ferias */
.aea-ferias-lista {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.aea-feria-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #d4e4a0;
}

.aea-feria-item:last-child {
    border-bottom: none;
}

.aea-feria-fechas {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #94bb20;
    text-transform: uppercase;
}

strong.aea-feria-nombre,
a.aea-feria-nombre {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a !important;
    text-decoration: none !important;
    display: block;
    margin: 2px 0;
}

a.aea-feria-nombre:hover {
    color: #94bb20 !important;
}

.aea-feria-lugar {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #666;
}

/* Widget Ayudas y Subvenciones */
.aea-ayudas-lista {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.aea-ayuda-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #d4e4a0;
}

.aea-ayuda-item:last-child {
    border-bottom: none;
}

.aea-ayuda-fechas {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #94bb20;
    text-transform: uppercase;
}

strong.aea-ayuda-nombre,
a.aea-ayuda-nombre {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a !important;
    text-decoration: none !important;
    display: block;
    margin: 2px 0;
}

a.aea-ayuda-nombre:hover {
    color: #94bb20 !important;
}

.aea-ayuda-organismo {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Secciones de entradas por categoría */
.aea-seccion-entradas {
    margin: 40px 0;
    padding: 0;
}

.aea-seccion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #94bb20;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.aea-seccion-titulo {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    text-transform: uppercase;
}

.aea-seccion-vertodas {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #94bb20 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.aea-seccion-vertodas:hover {
    color: #7a9c1a !important;
}

.aea-entradas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.aea-entrada-card {
    background: transparent !important;
    border: 1px solid #94bb20 !important;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.aea-entrada-card:hover {
    box-shadow: 0 4px 12px rgba(148,187,32,0.2);
}

.aea-entrada-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.aea-entrada-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #eaf1d2;
}

.aea-entrada-noimg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23eaf1d2" width="100" height="100"/><text x="50" y="55" font-family="sans-serif" font-size="12" fill="%2394bb20" text-anchor="middle">AEA</text></svg>') !important;
}

.aea-entrada-info {
    padding: 15px;
}

.aea-entrada-fecha {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: #94bb20;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.aea-entrada-titulo {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.aea-entrada-card:hover .aea-entrada-titulo {
    color: #94bb20 !important;
}

@media (max-width: 992px) {
    .aea-entradas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .aea-entradas-grid {
        grid-template-columns: 1fr;
    }
}

.site-content {
    margin-bottom: 60px !important;
}

/* Paginación archive */
.aea-paginacion {
    margin-top: 30px;
    text-align: center;
}

.aea-paginacion .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.aea-paginacion .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    border: 1px solid #94bb20;
}

.aea-paginacion .page-numbers.current,
.aea-paginacion .page-numbers:hover {
    background-color: #94bb20;
    color: #fff;
}

/* Etiquetas bajo el artículo */
.aea-post-tags {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #d4e4a0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.aea-tag {
    display: inline-block;
    padding: 4px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #7a9c1a !important;
    background: transparent;
    border: 1px solid #94bb20;
    border-radius: 3px;
    text-decoration: none !important;
}

.aea-tag:hover {
    background: #94bb20;
    color: #fff !important;
    text-decoration: none !important;
}


