
/* Naver Cafe Archive Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: #03c75a;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 24px;
    font-weight: bold;
}

header .cafe-info {
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.9;
}

/* Article List */
.article-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.article-item {
    border-bottom: 1px solid #e9ecef;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.article-item:hover {
    background-color: #f8f9fa;
}

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

.article-number {
    color: #6c757d;
    font-size: 14px;
    min-width: 60px;
    font-weight: 500;
}

.article-title {
    flex: 1;
    margin: 0 20px;
}

.article-title a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.article-title a:hover {
    color: #03c75a;
    text-decoration: underline;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #6c757d;
    font-size: 13px;
}

.article-author {
    min-width: 80px;
}

.article-date {
    min-width: 120px;
}

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

.pagination a, .pagination span {
    padding: 8px 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background-color: #e9ecef;
}

.pagination .current {
    background-color: #03c75a;
    color: white;
    border-color: #03c75a;
    font-weight: bold;
}

.pagination .disabled {
    color: #adb5bd;
    pointer-events: none;
}

/* Article Page */
.article-header {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.article-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-info {
    display: flex;
    gap: 20px;
    color: #6c757d;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.article-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 4px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 10px;
}

.article-navigation a {
    padding: 10px 20px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.article-navigation a:hover {
    background-color: #e9ecef;
}

.back-to-list {
    background-color: #03c75a !important;
    color: white !important;
    border-color: #03c75a !important;
}

.back-to-list:hover {
    background-color: #02b350 !important;
}

/* Comments Section */
.comments-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.comments-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #03c75a;
}

.comments-count {
    color: #03c75a;
    font-weight: bold;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    padding: 15px;
    background-color: #f9f9fa;
    border-radius: 6px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.comment-date {
    font-size: 12px;
    color: #6c757d;
}

.comment-text {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: #6c757d;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-meta {
        margin-top: 10px;
    }
}
