/* Archive Pages Styles */

/* Events Archive */
.events-archive {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.events-listing {
    margin-top: 2rem;
}

.event-item-archive {
    background: white;
    border-radius: 0.5rem; padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-item-archive:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Event Date Badge */
.event-date-badge {
    flex-shrink: 0;
    width: 3.75rem; height: 3.75rem; background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    border-radius: 0.5rem; display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-title-archive {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.event-title-archive a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title-archive a:hover {
    color: #2c5aa0;
}

.event-excerpt {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
}

/* News Archive */
.news-archive {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.archive-header {
    margin-bottom: 2rem;
}

.archive-title {
    color: var(--bs-dark, #212529);
    font-weight: 600;
}

.archive-description {
    font-size: 1rem;
}

/* News Listing */
.news-listing {
    background: white;
    padding: 0;
}

/* Scope to archive pages only - NOT front page */
.archive .news-item,
.news-archive .news-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.archive .news-item:hover,
.news-archive .news-item:hover {
    background-color: #f8f9fa;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.5rem;
}

.news-item:last-child {
    border-bottom: none;
}

/* Circular Image */
.news-image-container {
    width: 100px;
    height: 100px;
    position: relative;
}

.news-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    display: block;
}

.news-image[alt]:after {
    content: attr(alt);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    color: #6c757d;
    font-size: 0.7rem;
    text-align: center;
    padding: 5px;
    border-radius: 50%;
}

.news-image-link {
    position: relative;
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.news-image-link:hover .news-image {
    border-color: var(--bs-primary, #0d6efd);
    transform: scale(1.05);
}

.news-image-placeholder {
    width: 100px;
    height: 100px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* News Content */
.news-date {
    font-size: 0.9rem;
    font-weight: 500;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0;
}

.news-link {
    color: var(--bs-dark, #212529);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--bs-primary, #0d6efd);
}

/* Simple Pagination - Premium Style */
.simple-pagination {
    text-align: center;
    margin: 50px 0 30px;
}

.simple-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.simple-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: transparent;
    color: #495057;
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.simple-pagination .page-numbers:hover {
    color: #2c3e50;
    transform: translateY(-2px);
}

.simple-pagination .page-numbers.current {
    color: #2c3e50;
    font-weight: 600;
}

.simple-pagination .page-numbers.current::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
}

.simple-pagination .page-numbers.dots {
    pointer-events: none;
    color: #adb5bd;
}

/* Responsive */
@media (max-width: 768px) {
    .event-date-badge {
        width: 50px;
        height: 50px;
    }
    
    .event-date-badge .day {
        font-size: 1.25rem;
    }
    
    .event-title-archive {
        font-size: 1.1rem;
    }
}

/* ================================================
   INTERESTING ARCHIVE STYLES
   ================================================ */

/* Archive Container */
.archive-interesting-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Archive Header */
.interesting-archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.interesting-archive-header h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.interesting-archive-header .description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.interesting-archive-header .count {
    margin-top: 20px;
    color: #f39c12;
    font-weight: 500;
}

/* Interesting Content Grid */
.interesting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Interesting Card */
.interesting-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.interesting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.interesting-card img {
    transition: transform 0.3s ease;
}

.interesting-card:hover img {
    transform: scale(1.05);
}

/* Category Badge */
.interesting-category-badge-archive {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--category-color, #95a5a6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}

/* Content Type Indicator */
.interesting-type-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    z-index: 2;
}

.interesting-type-indicator.youtube {
    background: rgba(255, 0, 0, 0.9);
}

.interesting-type-indicator.external {
    background: rgba(0, 0, 0, 0.8);
}

/* Featured Image */
.interesting-featured-image-archive {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.interesting-featured-image-archive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interesting-featured-image-archive .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
}

/* Placeholder (No Image) */
.interesting-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--category-color, #95a5a6), var(--category-color-light, #95a5a688));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Card Content */
.interesting-card-content {
    padding: 25px;
}

.interesting-card-content h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.interesting-card-content .excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem; }

/* Meta Information */
.interesting-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.interesting-meta-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 0.9rem;
}

/* Action Indicator */
.interesting-action-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--category-color, #95a5a6);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Pagination */
.interesting-pagination {
    margin-top: 50px;
    text-align: center;
}

/* No Content Message */
.interesting-no-content {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.interesting-no-content .icon {
    font-size: 5rem;
    margin-bottom: 1.875rem; }

.interesting-no-content h2 {
    color: #666;
    margin-bottom: 1.25rem; }

.interesting-no-content p {
    color: #999;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .interesting-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .interesting-archive-header h1 {
        font-size: 2.2rem;
    }
    
    .interesting-card {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .interesting-card {
        border-radius: 0.625rem; }
    
    .interesting-card-content {
        padding: 1.25rem; }
    
    .interesting-category-badge-archive {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* ================================================
   CATEGORY ARCHIVE STYLES
   ================================================ */

.category-archive-main {
    background: #f8f9fa;
    padding: 2rem 0;
}

.category-unified-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.category-unified-header .container {
    text-align: left;
}

.category-unified-header .page-title {
    margin-bottom: 1rem;
    color: #212529;
    font-size: 2rem;
    font-weight: 600;
}

/* Category Breadcrumbs */
.category-breadcrumbs .breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-breadcrumbs .breadcrumb-list li {
    display: flex;
    align-items: center;
}

.category-breadcrumbs .breadcrumb-list a {
    color: #007bff;
    text-decoration: none;
}

.category-breadcrumbs .breadcrumb-list a:hover {
    text-decoration: underline;
}

.category-breadcrumbs .breadcrumb-separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

.category-breadcrumbs .breadcrumb-current {
    color: #6c757d;
}

/* Category Post */
.category-post {
    background: white;
    border-radius: 0.625rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 2.5rem; }

.category-description {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.category-content {
    padding: 5vh 2vw;
    line-height: 1.8;
}

/* Category Pagination */
.category-pagination {
    margin-top: 2rem;
    text-align: center;
}

