/* ==================================================
   ESTILOS BLOG: Category Hero
   Hechizos de Amor - Floristería
   
   Ubicación: /css/global/templates/blog/blog-category.css
   Se auto-carga via load-global-styles.php
   
   Nota: Solo contiene los estilos del hero de categoría.
   El grid, cards, filtros, paginación y newsletter se
   reutilizan de blog-archive.css sin modificaciones.
   ================================================== */


/* ─── CATEGORY HERO ─── */

.hda-category-hero {
    position: relative;
    width: 100%;
    height: 32rem;
    overflow: hidden;
    background: #3D0E1E;
    border-radius: 0 0 3rem 3rem;
}

.hda-category-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hda-category-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(61,14,30,0) 0%, rgba(61,14,30,0.15) 30%, rgba(61,14,30,0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 2rem 3.5rem;
}

.hda-category-hero__content {
    max-width: 60rem;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.hda-category-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Founders Grotesk Official', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #F3DBD7;
    border: 1px solid rgba(243,219,215,0.3);
    padding: 0.8rem 1.5rem 0.4rem 1.5rem;
    border-radius: 2rem;
    margin-bottom: 1.2rem;
}

.hda-category-hero__badge svg {
    opacity: 0.7;
    margin-top: -5px;
}

.hda-category-hero__title {
    font-family: 'Qalogre Fit', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.hda-category-hero__description {
    font-family: 'Founders Grotesk Official', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.65;
}

/* Limpiar el <p> que WordPress envuelve en category_description() */
.hda-category-hero__description p {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    text-align: center;
    width: auto !important;
}

.hda-category-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hda-category-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Founders Grotesk Official', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
}

.hda-category-hero__meta-item svg {
    opacity: 0.5;
    position: relative;
    top: -2px;
}


/* ==================================================
   RESPONSIVE: Category Hero
   ================================================== */

@media screen and (max-width: 767px) {

    .hda-category-hero {
        height: 24rem;
    }

    .hda-category-hero__overlay {
        padding: 0 1.2rem 2rem;
    }

    .hda-category-hero__description {
        font-size: 0.95rem;
    }

    .hda-category-hero__meta {
        flex-direction: column;
        gap: 0.6rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    .hda-category-hero {
        height: 28rem;
    }
}