/* =========================================
   SOLO PÁGINA INICIAL (AISLADO)
========================================= */

.custom-home {
    background: #f9f3f4;
}

/* HERO */
.custom-home .hero-banner {
    height: 320px;
    background: linear-gradient(
        rgba(123,21,35,0.85),
        rgba(123,21,35,0.85)
    ),
    url('/public/site/images/banner.jpg') center/cover no-repeat;
}

.custom-home .hero-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
}

.custom-home .hero-overlay h1 {
    font-size: 34px;
}

.custom-home .hero-overlay p {
    font-size: 16px;
}

/* CONTENIDO */
.custom-home .container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* TITULO */
.custom-home .section-title {
    text-align: center;
    color: #7b1523;
    margin-bottom: 30px;
}

/* GRID */
.custom-home .journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* TARJETAS */
.custom-home .journal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.custom-home .journal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(123,21,35,0.15);
}

/* IMAGEN */
.custom-home .journal-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* TEXTO */
.custom-home .journal-content {
    padding: 20px;
}

.custom-home .journal-content h3 a {
    color: #7b1523;
    text-decoration: none;
}

/* BOTONES */
.custom-home .journal-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.custom-home .btn-view {
    background: #7b1523;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
}

.custom-home .btn-current {
    background: #a61c2d;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
}

.custom-home .btn-view:hover {
    background: #4a0c15;
}

.custom-home .btn-current:hover {
    background: #5a0f1a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .custom-home .journal-buttons {
        flex-direction: column;
    }
}