body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #FF9D43;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    color: #666;
}

.navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.nav-button {
    background-color: #FF9D43;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin: 0 10px;
    text-decoration: none;
}

.nav-button:hover {
    background-color: #e58935;
}

.archive-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.archive-title {
    color: #FF9D43;
    text-align: center;
    margin-bottom: 20px;
}

.blog-list {
    list-style: none;
    padding: 0;
}

.blog-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    transition: background-color 0.2s;
}

.blog-item:hover {
    background-color: rgba(255, 157, 67, 0.05);
}

.blog-thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-info {
    flex-grow: 1;
}

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

.blog-title {
    font-weight: bold;
    font-size: 1.3rem;
    color: #FF9D43;
    margin-bottom: 10px;
    cursor: pointer;
}

.blog-title:hover {
    text-decoration: underline;
}

.blog-description {
    color: #555;
    margin-bottom: 10px;
}

.blog-date {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-button {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.page-button:hover {
    background-color: #f5f5f5;
}

.page-button.active {
    background-color: #FF9D43;
    color: white;
    border-color: #FF9D43;
}

.page-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: none;
}

.blog-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.blog-header h2 {
    color: #FF9D43;
    margin-bottom: 10px;
}

.blog-date-header {
    color: #888;
    font-style: italic;
}


.blog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.blog-content img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.blog-content p,
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    text-align: center;
    width: 100%;
}

.back-to-list {
    background-color: #FF9D43;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back-to-list:hover {
    background-color: #e58935;
}

.loading-container, .error-container {
    text-align: center;
    padding: 50px 0;
}

.loading-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #FF9D43;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #888;
}

.refresh-button {
    background-color: #FF9D43;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.refresh-button:hover {
    background-color: #e58935;
}

.credits {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.creator {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.creator-name {
    color: var(--accent-color);
    font-weight: 700;
}

.social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f5f5f5; /* Updated from var(--container-bg) */
    border-radius: 50px;
    color: #FF9D43; /* Updated from var(--accent-color) */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* Updated from var(--shadow-color) */
}

.social-links a:hover {
    color: white;
    background-color: #FF9D43; /* Updated from var(--accent-color) */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 157, 67, 0.5); /* Updated from var(--accent-shadow) */
}

.social-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}



@media (max-width: 600px) {
    .blog-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-thumbnail {
        width: 100%;
        height: 120px;
        margin-bottom: 15px;
    }
}
