/* Previous Issues Section Styles */
.previous-issues-section-area {
    padding: 80px 0;
    background: var(--ztc-bg-bg-1, #ffffff);
}

.previous-issue-card {
    background: var(--ztc-bg-bg-1, #ffffff);
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.previous-issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 16px 48px rgba(0, 0, 0, 0.12);
}

/* Issue Header */
.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
}

.issue-badge {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.issue-number {
    color: var(--ztc-text-text-2, #1a1a1a);
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.issue-date {
    color: var(--ztc-text-text-3, #666666);
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.issue-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.issue-status.archived {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.issue-status i {
    font-size: 10px;
}

/* Issue Cover */
.issue-cover {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.issue-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.previous-issue-card:hover .issue-cover img {
    transform: scale(1.05);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.previous-issue-card:hover .cover-overlay {
    opacity: 1;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--ztc-bg-bg-2, #007bff);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.previous-issue-card:hover .download-btn {
    transform: translateY(0);
}

.download-btn:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
}

/* Issue Content */
.issue-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.issue-title {
    margin-bottom: 16px;
}

.issue-title a {
    color: var(--ztc-text-text-2, #1a1a1a);
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.issue-title a:hover {
    color: var(--ztc-text-text-4, #007bff);
}

.issue-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ztc-text-text-3, #666666);
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 14px;
    font-weight: 500;
}

.meta-item img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.issue-description {
    color: var(--ztc-text-text-3, #666666);
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

/* Issue Actions */
.issue-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--ztc-family-font1, 'Inter');
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-btn.primary {
    background: var(--ztc-bg-bg-2, #007bff);
    color: white;
    flex: 1;
    justify-content: center;
}

.action-btn.primary:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.action-btn.secondary {
    background: transparent;
    color: var(--ztc-text-text-2, #1a1a1a);
    border-color: #e9ecef;
    flex: 1;
    justify-content: center;
}

.action-btn.secondary:hover {
    background: #f8f9fa;
    color: var(--ztc-text-text-2, #1a1a1a);
    border-color: #dee2e6;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 12px;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.pagination {
    margin-bottom: 0;
}

.pagination .page-item {
    margin: 0 4px;
}

.pagination .page-link {
    border: 2px solid #e9ecef;
    color: var(--ztc-text-text-2, #1a1a1a);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--ztc-family-font1, 'Inter');
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
}

.pagination .page-link:hover {
    border-color: var(--ztc-bg-bg-2, #007bff);
    color: var(--ztc-bg-bg-2, #007bff);
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--ztc-bg-bg-2, #007bff);
    border-color: var(--ztc-bg-bg-2, #007bff);
    color: white;
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 991px) {
    .previous-issues-section-area {
        padding: 60px 0;
    }

    .issue-content {
        padding: 20px;
    }

    .issue-title a {
        font-size: 18px;
    }

    .issue-cover {
        height: 240px;
    }
}

@media (max-width: 767px) {
    .previous-issues-section-area {
        padding: 40px 0;
    }

    .issue-header {
        padding: 16px 20px 12px;
    }

    .issue-content {
        padding: 20px 16px;
    }

    .issue-cover {
        height: 200px;
    }

    .issue-actions {
        flex-direction: column;
    }

    .action-btn {
        justify-content: center;
    }

    .pagination .page-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .pagination-wrapper {
        margin-top: 40px;
        padding-top: 30px;
    }
}

@media (max-width: 575px) {
    .issue-meta {
        flex-direction: column;
        gap: 8px;
    }

    .issue-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Utility Classes */
.mb-140 {
    margin-bottom: 140px;
}

@media (max-width: 991px) {
    .mb-140 {
        margin-bottom: 80px;
    }
}

@media (max-width: 767px) {
    .mb-140 {
        margin-bottom: 60px;
    }
}

/* Animation Enhancement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.previous-issue-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects for Better UX */
.previous-issue-card:hover .issue-title a {
    color: var(--ztc-text-text-4, #007bff);
}

.previous-issue-card:hover .issue-status.archived {
    background: rgba(108, 117, 125, 0.2);
    transform: scale(1.05);
}

/* Focus States for Accessibility */
.action-btn:focus,
.download-btn:focus,
.pagination .page-link:focus {
    outline: 2px solid var(--ztc-bg-bg-2, #007bff);
    outline-offset: 2px;
}