@charset "UTF-8";
.archive-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
}

.year-group {
    margin-bottom: 1.5rem;
}

.year-header {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.year-header:hover {
    background: #e9ecef;
}

.year-header.active {
    background: #007bff;
    color: white;
}

.month-group {
    padding-left: 2rem;
    margin-top: 1rem;
}

.month-title {
    font-size: 1.1rem;
    color: #666;
    margin: 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.post-list {
    column-count: 2;
    column-gap: 1rem;
    margin-bottom: 1.5rem;
}

.honey-post-item {
    padding: 0;
    background: #f8f9fa;
    border-radius: 6px;
    transition: transform 0.2s;
}

.honey-post-item:hover {
    transform: translateY(-2px);
    background: #e9ecef;
}

@media (max-width: 768px) {
    .post-list {
        column-count: 1;
    }
    
    .chart-container {
        padding: 1rem;
    }
}
.chart-category-title{
    font-size:23px;
    display:flex;
    justify-content: center;
    font-weight:bold;
}

.year-title {
    cursor: pointer;
    padding: 1rem;
    background: #e9ecef;
    border-radius: 5px;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    word-break: break-all;
    transition: all 0.3s ease;
}

.year-title:hover {
    background: #dee2e6;
}

.year-title::after {
    content: "\25BC";
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.year-title.collapsed::after {
    transform: rotate(-90deg);
}

.post-list {
    margin-left: 2rem;
    border-left: 2px solid #dee2e6;
    padding-left: 1rem;
}
.post-title {
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;    
    font-size:18px;
}
.honey-post-item {
    padding: 0.8rem;
    margin-top:10px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.2s ease;
    break-inside: avoid;
}

.honey-post-item:hover {
    transform: translateX(5px);
    background-color: #f8f9fa;
}

.post-date {
    color: #6c757d;
    font-size: 0.9em;
}

.archive-loading {
    text-align: center;
    padding: 1rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .honey-post-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-date {
        margin-top: 0.5rem;
    }
}
.archive-category-title{
    font-size:23px;
    display:flex;
    justify-content: center;
    margin-bottom:30px;
    font-weight:bold;
}
.year-group:not(:first-child){
     margin-top:-10px;   
    }
.archived-load-more {
    text-align: center;
    margin: 30px 0;
}

.archived-load-btn {
    padding: 12px 36px;
    background: var(--bearhoney-accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.archived-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

.archived-load-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}
[data-theme="dark"] .archive-list {
    background: #1f2937;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

[data-theme="dark"] .year-title {
    background: #374151;
    color: #e5e7eb;
}

[data-theme="dark"] .year-title:hover {
    background: #4b5563;
}

[data-theme="dark"] .year-title.active {
    background: #3b82f6;
}

[data-theme="dark"] .month-title {
    color: #9ca3af;
    border-bottom-color: #4b5563;
}

[data-theme="dark"] .post-list {
    border-left-color: #4b5563;
}

[data-theme="dark"] .honey-post-item {
    background: #374151 !important;
    border-bottom-color: #4b5563;
}

[data-theme="dark"] .honey-post-item:hover {
    background: #4b5563 !important;
}

[data-theme="dark"] .post-date {
    color: #9ca3af;
}

[data-theme="dark"] .archived-load-btn {
    background: var(--bearhoney-accent-color);
    color: #f3f4f6;
}


.honey-post-item {
    padding: 0 !important;
    margin: 8px 0;
}

.honey-post-item > * {
    margin: 0;
    padding: 8px 12px;
}