/* ================================================
   BLOG POST STYLES - CLEAN ARCHITECTURE
   Extracted from post.html inline styles
   ================================================ */

.post-article {
    background: var(--color-background);
    border-radius: 8px;
    overflow: hidden;
}

.post-header {
    padding: 2rem 2rem 1rem;
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-category {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-text-on-primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.post-meta-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-text-primary);
}

.post-date {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-background);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background: var(--color-background-light);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.post-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.post-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.post-content h2 {
    font-size: 1.8rem;
    color: var(--color-text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-tags {
    padding: 0 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--color-background-light);
    color: var(--color-text-secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--color-primary);
    color: var(--color-text-on-primary);
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }

    .post-header {
        padding: 1.5rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-image-container {
        height: 250px;
    }

    .post-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .post-actions {
        width: 100%;
        justify-content: flex-end;
    }
}