/* Archive Page Specific Styles */

.archive-header {
    margin: 40px 0;
}

.back-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Search Container */
.search-container {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* Archive Stats */
.archive-stats {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.archive-stats strong {
    color: var(--primary-color);
}

/* Entries Grid */
.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.entry-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.entry-card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
}

.entry-card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.entry-card-date {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 15px;
}

.entry-card-summary {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 15px;
}

.entry-card-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 2px solid var(--secondary-color);
}

.entry-card-read-more {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Loading Skeleton */
.loading-skeleton {
    display: contents;
}

.skeleton-card {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 15px;
    height: 300px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 15px;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    color: white;
    border-color: var(--primary-color);
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-results-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.no-results p {
    font-size: 1.1rem;
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 1.2rem;
}

.view-all-container {
    text-align: center;
    margin: 30px 0;
}

.view-all-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .entries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .entry-card {
        padding: 20px;
    }
    
    .entry-card-title {
        font-size: 1.2rem;
    }
    
    .entry-card-icon {
        font-size: 2.5rem;
    }
}





