@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

.page_index_statistics {
    padding: 2rem 1rem;
    background-color: #f8fafc;
    min-height: 100vh;
}

.page_index_statistics h1 {
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.page_index_statistics .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 2rem 0;
}

.page_index_statistics .heading {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.page_index_statistics .stats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.page_index_statistics .stats-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 140px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.page_index_statistics .stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

.page_index_statistics .stats-title {
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
}

.page_index_statistics .stats-icon {
    width: 38px;
    height: 38px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page_index_statistics .stats-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 1rem;
    line-height: 1;
}

/* Card Specific Styling (Scoped colors) */
/* 1. Journals */
.page_index_statistics .stats-list .stats-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border-left: 4px solid #3b82f6;
}

.page_index_statistics .stats-list .stats-item:nth-child(1):hover {
    border-color: #3b82f6;
}

.page_index_statistics .stats-list .stats-item:nth-child(1) .stats-icon {
    color: #2563eb;
    background-color: #dbeafe;
}

.page_index_statistics .stats-list .stats-item:nth-child(1) .stats-value {
    color: #1e40af;
}

/* 2. Issues */
.page_index_statistics .stats-list .stats-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-left: 4px solid #10b981;
}

.page_index_statistics .stats-list .stats-item:nth-child(2):hover {
    border-color: #10b981;
}

.page_index_statistics .stats-list .stats-item:nth-child(2) .stats-icon {
    color: #059669;
    background-color: #d1fae5;
}

.page_index_statistics .stats-list .stats-item:nth-child(2) .stats-value {
    color: #065f46;
}

/* 3. Articles */
.page_index_statistics .stats-list .stats-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
    border-left: 4px solid #8b5cf6;
}

.page_index_statistics .stats-list .stats-item:nth-child(3):hover {
    border-color: #8b5cf6;
}

.page_index_statistics .stats-list .stats-item:nth-child(3) .stats-icon {
    color: #7c3aed;
    background-color: #ede9fe;
}

.page_index_statistics .stats-list .stats-item:nth-child(3) .stats-value {
    color: #5b21b6;
}

/* 4. Downloads */
.page_index_statistics .stats-list .stats-item:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    border-left: 4px solid #f97316;
}

.page_index_statistics .stats-list .stats-item:nth-child(4):hover {
    border-color: #f97316;
}

.page_index_statistics .stats-list .stats-item:nth-child(4) .stats-icon {
    color: #ea580c;
    background-color: #ffedd5;
}

.page_index_statistics .stats-list .stats-item:nth-child(4) .stats-value {
    color: #9a3412;
}

/* Grids and Articles Lists */
.page_index_statistics .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .page_index_statistics .grid {
        grid-template-columns: 1fr 1fr;
    }
}

.page_index_statistics .list-heading {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page_index_statistics .submission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page_index_statistics .submission-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 1rem;
}

.page_index_statistics .submission-item:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateX(6px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.page_index_statistics .submission-title {
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.page_index_statistics .submission-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.page_index_statistics .submission-context {
    color: #64748b;
    font-weight: 500;
    background-color: #f1f5f9;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page_index_statistics .submission-metric {
    display: inline-flex;
    align-items: center;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #dbeafe;
    gap: 0.375rem;
}

.page_index_statistics .metric-icon {
    color: #3b82f6;
}

/* Remove text-shadow from breadcrumbs and main headings to avoid duplicate/blurry text effect */
.breadcrumb,
.breadcrumb a,
.breadcrumb > li,
.breadcrumb > .active,
h1,
h2,
h3,
h4,
h5,
h6,
.page-header h1,
.page-header h2 {
    text-shadow: none !important;
}