:root {
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --primary-color: #0f766e;
    --border-color: #eaeaea;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin-bottom: 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.header-actions {
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

.main-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.post-list-section {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.post-card {
    background: var(--card-bg);
    display: flex;
    margin-bottom: 40px;
    overflow: hidden;
}

.post-card-image-link {
    width: 280px;
    flex-shrink: 0;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.post-card-content {
    padding: 10px 0 10px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.post-card-likes {
    color: var(--text-muted);
    font-weight: normal;
}

.post-card-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.post-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-card {
    background: var(--card-bg);
    padding: 40px 20px;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.profile-name {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.profile-bio {
    color: var(--text-main);
    font-size: 0.95rem;
    margin: 0 0 25px 0;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.profile-social a {
    color: var(--text-main);
    font-size: 1.2rem;
}
.profile-social a span {
    font-size: 0.9rem;
    margin-left: 5px;
    font-family: sans-serif;
}

.card {
    background: var(--card-bg);
    padding: 60px;
}

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

.post-title {
    font-size: 2.5rem;
    margin: 15px 0 0 0;
}

.post-date {
    color: var(--primary-color);
    font-weight: bold;
}

.post-image img {
    width: 100%;
    margin-bottom: 40px;
}

.gh-content {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .post-card {
        flex-direction: column;
    }
    .post-card-content {
        padding: 20px 0 0 0;
    }
    .post-card-image-link {
        width: 100%;
    }
}

/* Fix meta alignment */
.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.post-card-date, .post-card-likes {
    display: flex;
    align-items: center;
    gap: 5px;
}
