/* Revue Page Styles */

/* Base Layout */
.revue-container {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Filter Section */
.revue-filter-section {
    display: flex;
    justify-content: space-between;
    /* Space between date/input and button if needed */
    align-items: center;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.revue-filter-date-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.revue-filter-label {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.revue-date-selector {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
}

.revue-date-select {
    border: none;
    background: transparent;
    font-size: 15px;
    color: #555;
    outline: none;
    cursor: pointer;
    padding-right: 20px;
    /* Space for arrow */
}

.revue-filter-btn {
    background-color: #ED2024;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.revue-filter-btn:hover {
    background-color: #c41e22;
}

/* Grid Layout */
.revue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Card Styles */
.revue-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.revue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.revue-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.revue-card-title {
    font-size: 16px;
    color: #ED2024;
    /* Red color from design */
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.revue-card-subtitle {
    font-size: 14px;
    color: #333;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.revue-card-status {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.revue-card-image-container {
    width: 100%;
    margin-bottom: 25px;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 5px;
    box-sizing: border-box;
}

.revue-card-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 350px;
    object-fit: contain;
}

/* Download Button in Card */
.revue-download-btn {
    margin-top: auto;
    width: calc(100% - 40px);
    padding: 12px;
    border: 1px solid #2e7d32;
    /* Green border */
    border-radius: 8px;
    color: #2e7d32;
    background: transparent;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin: 0 auto 20px;
    box-sizing: border-box;
}

.revue-download-btn:hover {
    background-color: #2e7d32;
    color: #ffffff;
}

/* Pagination */
.revue-pagination {
    margin-top: 50px;
    text-align: center;
}

.revue-load-more-btn {
    background-color: #ED2024;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.revue-load-more-btn:hover {
    background-color: #c41e22;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .revue-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .revue-filter-section {
        flex-direction: column;
        align-items: stretch;
    }

    .revue-filter-btn {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
