/* ============================================
   BIZFORGE — Blog Styles
   ============================================ */

/* --- BLOG HERO --- */
.blog-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 700px 500px at 30% 20%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 75% 60%, rgba(6, 182, 212, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.blog-hero .container {
    position: relative;
    z-index: 1;
}
.blog-hero__label {
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--primary-light);
    margin-bottom: 16px;
}
.blog-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.blog-hero__sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- ARTICLE GRID --- */
.blog-grid {
    padding: 0 0 100px;
}
.blog-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    list-style: none;
}

/* --- ARTICLE CARD --- */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(124, 58, 237, 0.08);
    border-color: var(--border-light);
}
.blog-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}
.blog-card__img--placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.blog-card__body {
    padding: 28px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    color: var(--text-dim);
}
.blog-card__tag {
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text);
    transition: color 0.2s;
}
.blog-card:hover .blog-card__title {
    color: var(--primary-light);
}
.blog-card__excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.blog-card__read {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}
.blog-card:hover .blog-card__read {
    gap: 10px;
}

/* --- ARTICLE PAGE --- */
.article-hero {
    padding: 160px 0 48px;
    position: relative;
    overflow: hidden;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 600px 400px at 25% 30%, rgba(124, 58, 237, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 400px 300px at 80% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.article-hero .container {
    position: relative;
    z-index: 1;
    max-width: 780px;
}
.article-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    transition: color 0.2s;
}
.article-hero__back:hover {
    color: var(--primary-light);
}
.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: var(--text-dim);
}
.article-hero__tag {
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.article-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 18px;
}
.article-hero__sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- ARTICLE CONTENT --- */
.article-content {
    padding: 48px 0 80px;
}
.article-content .container {
    max-width: 780px;
}
.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(244, 244, 248, 0.88);
}
.article-body h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 48px 0 18px;
    color: var(--text);
}
.article-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 36px 0 14px;
    color: var(--text);
}
.article-body p {
    margin-bottom: 20px;
}
.article-body ul, .article-body ol {
    margin: 0 0 20px 24px;
}
.article-body li {
    margin-bottom: 8px;
}
.article-body strong {
    color: var(--text);
    font-weight: 700;
}
.article-body a {
    color: var(--primary-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.article-body a:hover {
    color: var(--accent);
}
.article-body blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 28px 0;
    background: rgba(124, 58, 237, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}
.article-body img {
    border-radius: var(--radius);
    margin: 32px 0;
    border: 1px solid var(--border);
}

/* --- ARTICLE CTA BANNER --- */
.article-cta {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    margin: 56px 0 0;
    position: relative;
    overflow: hidden;
}
.article-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.article-cta__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.article-cta__sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* --- BLOG FOOTER --- */
.blog-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.82rem;
}
.blog-footer a {
    color: var(--text-muted);
    transition: color 0.2s;
}
.blog-footer a:hover {
    color: var(--primary-light);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .blog-grid__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-card__body {
        padding: 22px 20px 24px;
    }
    .article-cta {
        padding: 32px 24px;
    }
}
@media (max-width: 480px) {
    .blog-hero {
        padding: 140px 0 60px;
    }
    .article-hero {
        padding: 140px 0 36px;
    }
}
