/* assets/css/home.css */

.main-feature {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: white;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(116, 58, 213, 0.1);
}

.main-feature img {
    width: 100%;
    /*height: 400px;*/
    object-fit: cover;
}

.main-feature h2 {
    color: var(--moonflow-purple);
}

.article-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(116, 58, 213, 0.1);
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.article-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--moonflow-purple);
}

.article-card h5 {
    color: var(--moonflow-purple);
}
.button-bottom {
    margin-top: 10%;
}

.card-content {
    height: 210px;
    display: grid;
    align-content: space-between;
}
.card-foot {
    padding-bottom: 15px;
    padding-right: 15px;
}

@media (max-width: 768px) {
    .card-foot {
        padding-bottom: 0;
        padding-right: 0;
    }
}

