/* Blog Page Redesign Styles */

.blog-page {
    --blog-bg: #f5f4ef;
    --blog-green: #3a6b4a;
    --blog-green-light: #4a7c59;
    --blog-accent: #d4a373;
    --white: #ffffff;
    --text-main: #333;
    --text-muted: #777;
    --text-light: #999;
    background-color: var(--blog-bg);
}

/* Hero Section */
.blog-hero {
    padding: 160px 10% 100px;
    text-align: center;
    background-color: transparent;
}

.blog-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 5.5rem;
    color: var(--blog-green);
    margin-bottom: 25px;
    font-weight: 400;
}

.blog-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Note Alert Box */
.blog-note-container {
    padding: 20px 10% 80px;
    display: flex;
    justify-content: center;
}

.blog-note-box {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: relative;
}

.blog-note-badge {
    position: absolute;
    top: -16px;
    left: 40px;
    background: var(--blog-green);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-note-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.blog-note-content .pitch-info {
    font-weight: 700;
    color: var(--blog-green);
    text-decoration: none;
}

.blog-note-content .disclaimer {
    color: #aaa;
    font-style: italic;
    font-size: 0.95rem;
}

/* Stories Section Header */
.stories-header {
    padding: 0 10%;
    margin-top: 100px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.stories-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--blog-green);
    font-family: 'Oswald', sans-serif;
    /* Using Oswald for simple title */
    font-size: 2.4rem;
    font-weight: 700;
}

.stories-title svg {
    color: var(--blog-green-light);
}

.stories-line {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.stories-count {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Grid Layout */
.blog-grid {
    padding: 0 5% 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    /* Ensure cards are same height */
}

/* Unified Card Styles */
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-card-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--blog-green);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 5;
}

.arrow-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blog-green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

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

.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    background: var(--blog-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

.post-read-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.post-card-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: var(--blog-green);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-stats {
    margin-top: auto;
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-light);
    font-size: 0.8rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive */
@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 5% 80px;
    }

    .blog-hero h1 {
        font-size: 3.5rem;
    }

    .post-card-content h3 {
        font-size: 1.4rem;
    }
}