/* استایل صفحه آرشیو */
.archive-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.innerbanner {

    padding: 80px 0;
    text-align: center;
}

.bannerHeadline {
    font-size: 48px;
    color: white;
    margin: 0;
}

.bannerHeadline span {
    color: #f39c12;
}

.archive-section {
    padding: 60px 0;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.heading {
    font-size: 36px;
    color: #1a472a;
    display: block;
    margin-bottom: 10px;
}

.heading .mx {
    color: #dd4b39;
}

.archive-description {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* فرم انتخاب فصل */
.season-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.season-form {
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.season-form label {
    font-weight: 600;
    color: #1a472a;
}

.season-select {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.season-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.season-title i {
    font-size: 32px;
    color: #f39c12;
}

.season-title h2 {
    font-size: 24px;
    color: #1a472a;
    margin: 0;
}

/* بخش‌ها */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0 20px;
}

.section-header i {
    font-size: 24px;
    color: #1a472a;
}

.section-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

/* اخبار */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1a472a;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #888;
}

.news-meta i {
    margin-left: 5px;
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a472a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #f39c12;
}

/* جدول لیگ */
.filter-form-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-form-inline .form-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-form-inline select {
    padding: 8px 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: white;
}

.btn-sm {
    background: linear-gradient(135deg, #1a472a, #2d6a3b);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-responsive {
    overflow-x: auto;
}

.league-table {
    width: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.league-table th {
    background: linear-gradient(135deg, #1a472a, #2d6a3b);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.league-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.league-table tr:hover {
    background: #f5f5f5;
}

.win-cell {
    color: #00a65a;
    font-weight: 600;
}

.draw-cell {
    color: #f39c12;
    font-weight: 600;
}

.loss-cell {
    color: #dd4b39;
    font-weight: 600;
}

.points-cell {
    font-weight: 700;
    color: #1a472a;
}

/* گالری */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card a {
    text-decoration: none;
}

.gallery-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 71, 42, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 32px;
    color: white;
}

.gallery-overlay span {
    color: white;
    font-size: 12px;
}

.gallery-info-archive {
    padding: 15px;
    text-align: center;
}

.gallery-info-archive h5 {
    font-size: 16px;
    color: #1a472a;
    margin-bottom: 8px;
}

.gallery-info-archive p {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.image-count {
    display: inline-block;
    font-size: 11px;
    color: #999;
}

.image-count i {
    margin-left: 4px;
}

/* صفحه‌بندی */
.pagination-wrapper {
    margin-top: 30px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.pagination li a, .pagination li span {
    display: inline-block;
    padding: 8px 14px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination li a:hover, .pagination li.active a {
    background: #1a472a;
    color: white;
    border-color: #1a472a;
}

/* حالت خالی */
.empty-state {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.empty-state-large {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
}

.empty-state-large i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

.empty-state-large h3 {
    color: #666;
    margin-bottom: 10px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .bannerHeadline {
        font-size: 32px;
    }
    .heading {
        font-size: 28px;
    }
    .season-form {
        flex-direction: column;
        border-radius: 30px;
        padding: 15px;
    }
    .filter-form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .league-table th, .league-table td {
        font-size: 12px;
        padding: 8px 4px;
    }
}

@media (max-width: 480px) {
    .league-table {
        font-size: 11px;
    }
    .league-table th, .league-table td {
        padding: 6px 2px;
    }
}
