/*
Theme Name: Astra Child
Template: astra
Description: Tema hijo de Astra con personalizaciones de BROTE (shortcode brote_posts)
Author: BROTE
Version: 1.0.0
Text Domain: astra-child
*/

/* ===== CSS adicional migrado desde Astra (Customizer) ===== */
.ast-primary-header-bar.ast-primary-header.main-header-bar.site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item {
    border: none;
    padding: 0;
    margin: 0;
    border-bottom-color: transparent;
}

.main-header-menu .sub-menu li a {
    color: #47889f!important;
}
.brote-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.brote-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    /*border-radius: 18px;*/
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.brote-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
    border-color: rgba(17, 24, 39, 0.14);
}

.brote-post-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

.brote-post-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}

.brote-post-card:hover .brote-post-image img {
    transform: scale(1.04);
}

.brote-post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.brote-post-category {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 6px 10px;
   /* border-radius: 999px; */
    background: #f5f5f5;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.brote-post-title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 700;
}

.brote-post-title a {
    color: #111827;
    text-decoration: none;
}

.brote-post-date {
    display: block;
    margin-bottom: 14px;
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.4;
}

.brote-post-excerpt {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: .95rem;
    line-height: 1.65;
}

.brote-post-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 42px;
    padding: 10px 16px;
   /* border-radius: 10px; */
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1;
    transition: background .2s ease, transform .2s ease;
}

.brote-post-button:hover {
    background: #000;
    transform: translateY(-1px);
}

/* CTA card */
.brote-post-card-cta {
    position: relative;
    justify-content: center;
/*    background: linear-gradient(180deg, #111827 0%, #1f2937 100%); */
	    background:  linear-gradient(180deg, #907548 0%, #b1976b 100%);
    color: #fff;
    border: none;
}

.brote-post-card-cta:hover {
    border-color: transparent;
}

.brote-post-cta-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 28px 24px;
}

.brote-post-cta-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .75;
}

.brote-post-cta-title {
    margin: 0 0 12px;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.brote-post-cta-desc {
    margin: 0 0 20px;
    color: rgba(255,255,255,.82);
    font-size: .96rem;
    line-height: 1.65;
}

.brote-post-cta-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 44px;
    padding: 11px 16px;
    /* border-radius: 10px;*/
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.brote-post-cta-button:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

/* Tablet */
@media (max-width: 1200px) {
    .brote-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 640px) {
    .brote-posts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .brote-post-content,
    .brote-post-cta-inner {
        padding: 18px;
    }

    .brote-post-title {
        font-size: 1.08rem;
    }

    .brote-post-cta-title {
        font-size: 1.25rem;
    }

    .brote-post-button,
    .brote-post-cta-button {
        width: 100%;
    }
}
p.brote-post-excerpt {
    display: none;
}
.entry-meta {
    display: none;
}
