/* Growth Fraction Blog Post Styles */

.post-article {
    background: var(--white);
    color: var(--bg-dark);
}

/* Post Header */
.post-header {
    background: var(--bg-dark);
    color: var(--white);
    padding: 80px 60px 60px;
    text-align: center;
}

.post-header .container {
    max-width: 800px;
}

.post-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-lime);
    margin-bottom: 16px;
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
    color: var(--white);
}

/* Feature Image */
.post-feature-image {
    margin: 0;
}

.post-feature-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.post-feature-image figcaption {
    text-align: center;
    padding: 16px;
    font-size: 0.85rem;
    color: var(--gray-mid);
    background: var(--gray-light);
}

/* Post Content */
.post-content {
    padding: 60px;
}

.post-content .container {
    max-width: 720px;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--bg-dark);
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--bg-dark);
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
}

.post-content a {
    color: var(--bg-dark);
    text-decoration: underline;
}

.post-content a:hover {
    color: #000;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.post-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--gray-light);
    border-left: 4px solid var(--accent-lime);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--bg-dark);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
}

.post-content pre {
    background: var(--bg-dark);
    color: var(--white);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
}

.post-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

/* Post Footer */
.post-footer {
    padding: 40px 60px 80px;
    border-top: 1px solid #e0e0e0;
}

.post-footer .container {
    max-width: 720px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-tags {
    display: flex;
    gap: 8px;
}

.post-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bg-dark);
    background: var(--gray-light);
    border-radius: 4px;
    text-decoration: none;
}

.post-tags .tag:hover {
    background: var(--accent-lime);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
}

.post-share span {
    color: var(--gray-mid);
}

.post-share a {
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 500;
}

.post-share a:hover {
    color: var(--accent-lime);
}

/* Responsive */
@media (max-width: 768px) {
    .post-header {
        padding: 60px 24px 40px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 12px;
    }

    .post-content {
        padding: 40px 24px;
    }

    .post-footer {
        padding: 24px;
    }

    .post-footer .container {
        flex-direction: column;
        gap: 24px;
    }
}
