/* ==================================================
   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 {
    background: #3D0E1E;
    padding: 4rem 2rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hda-category-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 28rem;
    height: 28rem;
    background: rgba(150,9,70,0.15);
    border-radius: 50%;
}

.hda-category-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -5%;
    width: 22rem;
    height: 22rem;
    background: rgba(187,93,128,0.08);
    border-radius: 50%;
}

.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.4rem 1.5rem;
    border-radius: 2rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.hda-category-hero__badge svg {
    opacity: 0.7;
}

.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;
    position: relative;
    z-index: 1;
}

.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;
    position: relative;
    z-index: 1;
    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;
    position: relative;
    z-index: 1;
}

.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;
}


/* ─── BREADCRUMB (override para categoría) ─── */
/* Posicionamiento dentro de .hda-blog-archive */

.hda-blog-archive > .hda-blog-breadcrumb {
    max-width: 60rem;
    padding: 1.2rem 1.5rem 0;
}


/* ==================================================
   RESPONSIVE: Category Hero
   ================================================== */

@media screen and (max-width: 767px) {

    .hda-category-hero {
        padding: 3rem 1.2rem 2.5rem;
    }

    .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 {
        padding: 3.5rem 2rem 3rem;
    }
}
