/* Page d'accueil IFAN */

/* Bandeau d'actualités */
.home-banner {
    background: linear-gradient(135deg, #2897e8 0%, #1a7bc9 100%);
    padding: 0.75rem 0;
}

.home-banner .breaking-box {
    overflow: hidden;
}

.home-banner a {
    color: white;
    text-decoration: none;
}

.home-banner a:hover {
    text-decoration: underline;
}

/* Cartes revues */
.review-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(40, 151, 232, 0.15);
}

.review-card .card-header-custom {
    background: linear-gradient(135deg, #2897e8 0%, #1a7bc9 100%);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.review-card .card-body-custom {
    padding: 1.5rem;
}

.review-card .card-poster {
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.review-card .issn-badge {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

.review-card .description {
    color: #495057;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card .btn-discover {
    background: linear-gradient(135deg, #2897e8 0%, #1a7bc9 100%);
    border: none;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.review-card .btn-discover:hover {
    transform: translateY(-1px);
    color: white;
}

/* Animation au scroll */
.review-card-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease-out;
}

.review-card-wrapper.slide-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section À propos */
.about-section .review-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    color: #2897e8;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.about-section .review-link:hover {
    background: #f0f7ff;
    border-color: #2897e8;
    color: #1a7bc9;
}

.about-section .review-link .issn {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 0.25rem;
}
