/* ==============================> BLOG CATEGORÍA — Contenido de categoría */

/* -> CONTENEDOR PRINCIPAL */

.bc-contenido-categoria {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 32px 0;
}

/* -> TÍTULO */

.bc-contenido-categoria .bc-titulo {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
    transition: color .3s ease-in-out;
}

/* -> DESCRIPCIÓN */

.bc-contenido-categoria .bc-descripcion {
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    transition: color .3s ease-in-out;
}

.bc-contenido-categoria .bc-descripcion br {
    display: block;
    content: "";
    margin-top: 8px;
}

/* -> BOTÓN PERSONALIZADO */

.bc-contenido-categoria .bc-boton-personalizado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 12px 24px;
    border-radius: var(--wd-brd-radius, 4px);
    background: var(--e-global-color-primary);
    font-size: 15px;
    line-height: 19px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: background .4s ease-in-out, transform .2s ease-in-out;
}

.bc-contenido-categoria .bc-boton-personalizado:hover {
    background: var(--e-global-color-secondary, #333);
    color: #fff;
    transform: translateY(-2px);
}

.bc-contenido-categoria .bc-boton-personalizado:active {
    transform: translateY(0);
    transition: transform .1s ease-in-out;
}

/* -> INTEGRACIÓN CON BOTÓN WHATSAPP (whatsapp-predeterminado) */

.bc-contenido-categoria .whatsapp-predeterminado {
    align-self: flex-start;
}

/* ==============================> RESPONSIVE — 768px */

/* -> CONTENEDOR */

@media (max-width: 768px) {
    .bc-contenido-categoria {
        padding: 24px 0;
        gap: 14px;
    }
}

/* -> TÍTULO */

@media (max-width: 768px) {
    .bc-contenido-categoria .bc-titulo {
        font-size: 22px;
        line-height: 30px;
    }
}

/* -> DESCRIPCIÓN */

@media (max-width: 768px) {
    .bc-contenido-categoria .bc-descripcion {
        font-size: 15px;
        line-height: 24px;
    }
}

/* -> BOTONES */

@media (max-width: 768px) {
    .bc-contenido-categoria .bc-boton-personalizado,
    .bc-contenido-categoria .whatsapp-predeterminado {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 20px;
        /* Mejora tap targets en iOS */
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Eliminar hover en táctil para evitar estados pegados en iOS */
    .bc-contenido-categoria .bc-boton-personalizado:hover {
        transform: none;
    }
}
