
    /* ========================================================================
       ARCHIVE SECTION - FINAL VERSION
       ======================================================================== */

.archive-section {
    background: #f5f5f5;
    padding: 60px 0 80px;
}

/* Header */
.archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.archive-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #003366;
}

.archive-description {
    color: #666;
    font-size: 1.1rem;
    margin-top: 20px;
}

.archive-description small {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #999;
}

/* CTA Box */
.archive-cta-box {
    background: #003366;
    border-radius: 0;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 51, 102, 0.15);
    border-left: 4px solid #E8F4F8;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    font-size: 2.5rem;
    color: #E8F4F8;
}

.cta-text {
    flex: 1;
    min-width: 250px;
}

.cta-text h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.cta-action {
    flex-shrink: 0;
}

.btn-cta {
    background: #E8F4F8;
    color: #003366;
    border: none;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.btn-cta:hover {
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
    color: #003366;
}

.btn-cta i {
    font-size: 1.2rem;
}

/* Overall Statistics */
.archive-stats-wrapper {
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 0;
    border-top: 4px solid #003366;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.12);
}

.stat-icon {
    background: #003366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003366;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Year Statistics */
.year-stats-section {
    background: white;
    padding: 28px;
    border-radius: 0;
    border-left: 4px solid #003366;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
    margin-bottom: 40px;
}

.year-stats-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.year-stats-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #003366;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.year-selector-inline .form-select {
    min-width: 120px;
    border: 2px solid #003366;
    border-radius: 0;
    font-weight: 700;
    color: #003366;
    font-size: 1.1rem;
    padding: 8px 36px 8px 12px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.year-selector-inline .form-select:hover {
    background-color: #f8f9fa;
}

.year-selector-inline .form-select:focus {
    border-color: #003366;
    box-shadow: 0 0 0 0.2rem rgba(0,51,102,0.15);
}

.mini-stat {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.2s;
}

.mini-stat:hover {
    border-color: #003366;
    background: white;
}

.mini-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
}

.mini-stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Edition Cards */
.archive-container {
    margin-top: 40px;
}

.edition-card {
    background: white;
    border-radius: 0;
    border-top: 4px solid #003366;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.edition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.12);
}

/* A4 Preview */
.edition-preview {
    position: relative;
    width: 100%;
    padding-top: 141.4%; /* A4 aspect ratio */
    background: #f8f9fa;
    overflow: hidden;
}

.edition-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.3s ease;
}

.edition-thumbnail:hover {
    opacity: 0.95;
}

.edition-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
}

.edition-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
}

.edition-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Edition Content */
.edition-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.edition-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
}

.edition-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.edition-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.edition-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edition-actions .btn {
    border-radius: 0;
    font-weight: 600;
    padding: 10px;
    width: 100%;
}

.edition-actions .btn-primary {
    background: #003366;
    border-color: #003366;
}

.edition-actions .btn-primary:hover {
    background: #002244;
}

.edition-actions .btn-outline-primary {
    color: #003366;
    border-color: #003366;
}

.edition-actions .btn-outline-primary:hover {
    background: #003366;
    color: white;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 0;
}

.no-results i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 767px) {
    .archive-section {
        padding: 40px 0 60px;
    }

    .archive-header h2 {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }

    /* CTA Box Mobile */
    .archive-cta-box {
        padding: 24px 20px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-icon {
        width: 70px;
        height: 70px;
    }

    .cta-icon i {
        font-size: 2rem;
    }

    .cta-text h3 {
        font-size: 1.3rem;
    }

    .cta-text p {
        font-size: 0.95rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 1rem;
    }

    .year-stats-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .year-selector-inline {
        width: 100%;
    }

    .year-selector-inline .form-select {
        width: 100%;
    }

    .mini-stat {
        padding: 16px;
    }

    .mini-stat-value {
        font-size: 1.5rem;
    }
}

/* Print */
@media print {
    .archive-section {
        background: white;
    }

    .year-selector-inline,
    .edition-actions,
    .archive-cta-box,
    .sticky-cta-banner {
        display: none;
    }
}

/* ========================================================================
   STICKY CTA BANNER
   ======================================================================== */

.sticky-cta-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #003366;
    border-top: 3px solid #E8F4F8;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideUp 0.5s ease;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.sticky-cta-banner.hidden {
    transform: translateY(100%);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

.sticky-cta-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 48px;
    height: 48px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sticky-cta-icon i {
    font-size: 1.5rem;
    color: #E8F4F8;
}

.sticky-cta-text {
    flex: 1;
    min-width: 200px;
}

.sticky-cta-text strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.sticky-cta-text span {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.btn-sticky-cta {
    background: #E8F4F8;
    color: #003366;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-sticky-cta:hover {
    background: #E8F4F8;
    transform: translateX(4px);
    color: #003366;
}

.btn-sticky-cta i {
    transition: transform 0.3s ease;
}

.btn-sticky-cta:hover i {
    transform: translateX(4px);
}

.sticky-cta-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sticky-cta-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.sticky-cta-close i {
    font-size: 1rem;
}

/* Responsive Sticky Banner */
@media (max-width: 767px) {
    .sticky-cta-content {
        padding: 12px 16px;
        gap: 12px;
    }

    .sticky-cta-icon {
        width: 40px;
        height: 40px;
    }

    .sticky-cta-icon i {
        font-size: 1.2rem;
    }

    .sticky-cta-text strong {
        font-size: 1rem;
    }

    .sticky-cta-text span {
        font-size: 0.85rem;
    }

    .btn-sticky-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .sticky-cta-close {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .sticky-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .sticky-cta-text {
        order: 1;
    }

    .sticky-cta-icon {
        order: 0;
    }

    .btn-sticky-cta {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .sticky-cta-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}
