/* ==========================================================================
   HERO (Opcional, si subes imagen en el metabox)
   ========================================================================== */
.home-hero {
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 200px; /* Se ajusta si no hay foto */
}

/* ==========================================================================
   LISTADO DE ARTISTAS
   ========================================================================== */
.home-artistas {
    background-color: var(--bg-dark);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 5rem; /* Espaciado grande entre artistas */
}

.artista-card {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

/* El círculo rojo de fondo */
.artista-img-container {
    position: relative;
    width: 320px;
    height: 320px;
    flex-shrink: 0;
}

.rojo-background-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-red);
    border-radius: 50%;
    z-index: 1;
}

.artista-photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    /* Opcional: si las fotos de los artistas tienen fondo, esto las oscurece un poco para dar contraste. 
       Lo ideal es subir fotos en PNG con fondo transparente o ya circulares. */
}

.artista-info {
    flex: 1;
}

.artista-name {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Efecto de color en el nombre del artista (Hi, It's [ROJO]) */
.artista-name span { color: var(--accent-red); }

.artista-desc-corta {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-artista-hire {
    display: inline-block;
    border: 2px solid #333;
    color: var(--text-muted);
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}
.btn-artista-hire:hover {
    border-color: var(--accent-red);
    color: #fff;
    background-color: rgba(170, 17, 17, 0.1);
}

/* ==========================================================================
   SECCIÓN BLOG (Qué hay de nuevo)
   ========================================================================== */
.home-blog {
    background-color: #ffffff; /* Fondo blanco para esta sección */
    color: #000;
    padding: 4rem 2rem;
}

.blog-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Cambiado de auto-fit a auto-fill para evitar que un solo artículo ocupe todo el ancho */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center; /* Centra las tarjetas si son pocas */
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding-bottom: 1.5rem;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding-bottom: 1.5rem;
    max-width: 350px; /* Límite absoluto para evitar que se estire */
    width: 100%;
    margin: 0 auto; /* Centrar la tarjeta si hay espacio sobrante */
}

.blog-card h3 {
    font-size: 1.1rem;
    margin: 1rem 1rem 0.5rem;
    line-height: 1.3;
}

.blog-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0 1rem;
}

/* Aseguramos que el enlace ocupe todo el ancho */
.blog-card .blog-card-link {
    display: block;
    width: 100%;
}

/* Forzamos a la imagen a cubrir el 100% del espacio sin deformarse */
.blog-card img,
.blog-card .blog-card-link img {
    width: 100% !important;
    height: 220px !important; /* Altura un poco mayor para que luzca más premium */
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    margin: 0;
    border-radius: 12px 12px 0 0; /* Asegura que las esquinas superiores coincidan con la tarjeta */
}

/* ==========================================================================
   RESPONSIVE (Móviles)
   ========================================================================== */
@media (max-width: 900px) {
    .artista-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .artista-desc-corta { margin: 0 auto 2rem auto; }
}