/* --- Styled Archive Posts --- */
.styled-archive-container {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
}

.styled-post-item {
    margin-bottom: 40px;
}

.post-media {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.post-media .date-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: #f12535;
    color: white;
    padding: 10px;
    text-align: center;
    z-index: 2;
}

.post-media .date-box .day {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.post-media .date-box .year-month {
    font-size: 10px;
    line-height: 1;
}

.post-media .post-thumbnail-wrapper {
    position: relative;
}

.post-media .post-thumbnail-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(241, 37, 53, 0.4);
    z-index: 1;
}

.post-media img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    padding: 0 15px;
}

.post-content .post-title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #333;
}

.post-content .post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.post-content .author-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.post-content .author-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.post-content .view-counts {
    display: flex;
    align-items: center;
    color: #666;
    gap: 5px;
}

.post-content .view-counts::before {
    content: '👁';
    font-size: 18px;
    line-height: 1;
}

.post-content .post-excerpt {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 15px;
}

.post-content .read-more {
    text-decoration: none;
    font-weight: bold;
    color: #f12535;
    text-transform: uppercase;
    font-size: 14px;
}

.post-content .read-more:hover {
    text-decoration: underline;
}

/* --- Pagination Styles --- */
.archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.archive-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px;
}

.archive-pagination .page-numbers li {
    display: inline-block;
}

.archive-pagination .page-numbers .page-numbers {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-pagination .page-numbers .current {
    background-color: #f12535;
    color: white;
    border-color: #f12535;
}

.archive-pagination .page-numbers .next,
.archive-pagination .page-numbers .prev {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.archive-pagination .page-numbers a:hover {
    background-color: #f12535;
    color: white;
    border-color: #f12535;
}

/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .post-content {
        padding: 0;
    }
}