:root {
    --primary-color: #E60012; /* China Red */
    --primary-hover: #C4000F;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-color: #f2f2f7; /* Slightly darker Apple gray for better contrast */
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
    --radius-lg: 20px;
    --radius-md: 12px;
    --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    --font-serif: "New York", "Songti SC", "SimSun", serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Glassmorphism */
.site-header {
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 52px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
}

.logo a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 60px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Post List Grid */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    padding-bottom: 80px;
}

/* Card Design */
.post-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

/* Card Image */
.post-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f0f0f0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.03);
}

/* Card Content */
.card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-quote {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.5;
    color: var(--primary-color);
    margin-bottom: 16px;
    position: relative;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}

.post-summary {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Comment Box */
.post-comment {
    background-color: #fff5f5; /* Light red tint */
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
}

.comment-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.comment-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Card Footer / Button */
.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.read-more-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.read-more-btn::after {
    content: "→";
    margin-left: 4px;
    transition: transform 0.2s;
}

.post-card:hover .read-more-btn::after {
    transform: translateX(4px);
}

/* Footer */
.site-footer {
    background-color: #fff;
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .post-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .card-content {
        padding: 24px;
    }
}
