/* ============================================================
   VEZOZA Theme – Design Blog Post Styles
   blog-design-posts.css
   Enqueue via functions.php or child theme
   ============================================================ */

/* ── Project Meta Card ─────────────────────────────────────── */
.vz-project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem 1.5rem;
    background: rgba(82, 82, 82, 0.08);
    border: 1px solid rgba(136, 136, 136, 0.20);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    font-size: 0.9375rem;
}

.vz-project-meta__row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.vz-project-meta__key {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888888;
}

.vz-project-meta__val {
    color: #e5e5e5;
    font-weight: 500;
}

/* ── Hero Image ────────────────────────────────────────────── */
.vz-post-hero-img {
    margin: 0 0 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(136, 136, 136, 0.25);
    background: rgba(82, 82, 82, 0.05);
}

.vz-post-hero-img__img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* ── Post Content Typography ───────────────────────────────── */
.entry-content h2,
.single-post .vz-blogpost-content h2,
.post-content h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: #ffffff;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(136, 136, 136, 0.15);
}

.entry-content h2:first-of-type,
.single-post .vz-blogpost-content h2:first-of-type {
    margin-top: 1.5rem;
}

.entry-content p,
.single-post .vz-blogpost-content p {
    color: #b4b4b4;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.entry-content strong,
.single-post .vz-blogpost-content strong {
    color: #e5e5e5;
    font-weight: 600;
}

/* ── Checklist / Feature List ──────────────────────────────── */
.entry-content ul.vz-list,
.single-post .vz-blogpost-content ul.vz-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.75rem;
}

.entry-content ul.vz-list li,
.single-post .vz-blogpost-content ul.vz-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.625rem;
    color: #b4b4b4;
    line-height: 1.7;
}

.entry-content ul.vz-list li::before,
.single-post .vz-blogpost-content ul.vz-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #888888;
    font-weight: 700;
    font-size: 0.875rem;
    top: 0.1em;
}

/* ── Blog Archive Cards (category=design) ──────────────────── */
.category-design .vz-blog-card,
.tax-category .vz-blog-card {
    position: relative;
    overflow: hidden;
}

/* Thumbnail as card background hint */
.category-design .vz-blog-card .post-thumbnail img,
.single-post .wp-post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
    margin-bottom: 0;
}

/* ── Single Post: Layout wrapper ───────────────────────────── */
.single-post .vz-blogpost-content {
    max-width: 760px;
    margin-inline: auto;
}

/* ── Category badge: Design ────────────────────────────────── */
.vz-badge--design {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

/* ── Tools footer line ─────────────────────────────────────── */
.vz-post-tools {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(136, 136, 136, 0.15);
    font-size: 0.875rem;
    color: #888888;
}

.vz-post-tools strong { color: #b4b4b4; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vz-project-meta {
        grid-template-columns: 1fr 1fr;
        padding: 1.25rem 1.5rem;
    }

    .vz-post-hero-img {
        border-radius: 10px;
        margin-bottom: 2rem;
    }

    .entry-content h2,
    .single-post .vz-blogpost-content h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .vz-project-meta {
        grid-template-columns: 1fr;
    }
}
