/* ========== Journal List Page Styles ========== */

/* Scope all styles to journal list page only */
.journal-list-page {
    /* Journal list page specific styles */
}

/* ===== Hero Section ===== */
.journal-list-page .journal-list-hero-section {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 50%, var(--primary-dark) 100%);
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
}

.journal-list-page .journal-list-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.journal-list-page .journal-list-hero-section .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.journal-list-page .journal-list-hero-section .hero-text {
    text-align: center;
    color: var(--light-bg);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.journal-list-page .journal-list-hero-section .hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--light-bg);
}

.journal-list-page .journal-list-hero-section .hero-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Journals List Section ===== */
.journal-list-page .journals-list-section {
    padding: var(--spacing-xxl) 0;
    background: var(--light-bg);
}

.journal-list-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.journal-list-page .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.journal-list-page .results-info {
    font-size: 1rem;
    color: var(--text-secondary);
}

.journal-list-page .results-text {
    color: var(--text-secondary);
}

.journal-list-page .results-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.journal-list-page .journals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.journal-list-page .journal-card {
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: var(--spacing-lg);
    min-height: 280px;
    position: relative;
}

.journal-list-page .journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.journal-list-page .journal-cover-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.journal-list-page .journal-cover-link {
    display: block;
    transition: var(--transition);
}

.journal-list-page .journal-cover {
    width: 150px;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--light-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.journal-list-page .journal-card:hover .journal-cover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.journal-list-page .cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.journal-list-page .journal-card:hover .cover-image {
    transform: scale(1.05);
}

.journal-list-page .journal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.journal-list-page .journal-info-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.journal-list-page .journal-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.journal-list-page .journal-title-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.journal-list-page .journal-title-link:hover {
    color: var(--primary-color);
}

.journal-list-page .journal-introduction-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
    flex: 1;
    min-height: 0;
}

.journal-list-page .journal-introduction {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

.journal-list-page .journal-info-bottom {
    margin-top: auto;
    padding-top: var(--spacing-md);
}

.journal-list-page .journal-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    width: 100%;
}

.journal-list-page .meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.5;
}

.journal-list-page .meta-item-open-access {
    justify-content: flex-end !important;
    margin-bottom: var(--spacing-xs);
}

.journal-list-page .meta-label {
    color: var(--text-muted);
    font-weight: 500;
}

.journal-list-page .meta-value {
    color: var(--text-secondary);
    font-weight: 400;
}

.journal-list-page .badge {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.journal-list-page .badge-open-access {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

/* ===== Pagination ===== */
.journal-list-page .pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xxl);
}

.journal-list-page .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: var(--spacing-xs);
}

.journal-list-page .page-item {
    display: flex;
    align-items: center;
}

.journal-list-page .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    color: var(--text-primary);
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.journal-list-page .page-link:hover {
    color: var(--primary-color);
    background: var(--light-secondary);
    border-color: var(--primary-color);
}

.journal-list-page .page-item.active .page-link {
    color: var(--light-bg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-color: var(--primary-color);
    font-weight: 600;
}

.journal-list-page .page-item.disabled .page-link {
    color: var(--text-muted);
    background: var(--light-secondary);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.6;
}

.journal-list-page .page-item.disabled .page-link:hover {
    color: var(--text-muted);
    background: var(--light-secondary);
    border-color: var(--border-color);
}

/* ===== Scroll Animation ===== */
.journal-list-page [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.journal-list-page [data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
    .journal-list-page .journals-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .journal-list-page .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .journal-list-page .journal-list-hero-section .hero-title {
        font-size: 2.5rem;
    }

    .journal-list-page .journal-list-hero-section .hero-subtitle {
        font-size: 1rem;
    }

    .journal-list-page .section-title {
        font-size: 2rem;
    }

    .journal-list-page .journal-card {
        flex-direction: column;
        padding: var(--spacing-lg);
    }

    .journal-list-page .journal-cover-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: var(--spacing-lg);
    }

    .journal-list-page .journal-cover {
        width: 120px;
        height: 160px;
    }

    .journal-list-page .journal-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .journal-list-page .journal-list-hero-section {
        min-height: 35vh;
        padding: var(--spacing-xl) 0;
    }

    .journal-list-page .journal-list-hero-section .hero-title {
        font-size: 2rem;
    }

    .journal-list-page .section-title {
        font-size: 1.75rem;
    }

    .journal-list-page .journal-card {
        padding: var(--spacing-md);
    }

    .journal-list-page .pagination {
        flex-wrap: wrap;
    }

    .journal-list-page .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

