/* ========================================
   UNREPLUG BLOG STYLES
   ======================================== */

/* ---- BLOG HEADER ---- */

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-logo {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.blog-header nav {
    display: flex;
    gap: 1.5rem;
}

.blog-header nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-header nav a:hover {
    color: var(--text);
}

/* ---- BLOG LIST ---- */

.blog-list {
    padding: 4rem 2rem;
}

.blog-list h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-list-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blog-preview {
    background: var(--bg-section);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: border-color 0.2s;
}

.blog-preview:hover {
    border-color: var(--accent-dim);
}

.blog-preview-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.blog-preview h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-preview h2 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-preview h2 a:hover {
    color: var(--accent);
}

.blog-preview p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* ---- BLOG POST ---- */

.blog-post {
    padding: 4rem 2rem;
}

.post-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.blog-post h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 3rem;
}

.post-body h2 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.post-body p {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: rgba(232, 232, 239, 0.9);
}

.post-body strong {
    color: var(--text);
}

.post-body em {
    color: var(--accent);
    font-style: italic;
}

.post-body ol,
.post-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: rgba(232, 232, 239, 0.9);
}

/* ---- COMPARISON TABLE ---- */

.comparison-table {
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

.comp-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-header {
    background: var(--bg-card);
}

.comp-header .comp-cell {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
}

.comp-cell {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.comp-label {
    color: var(--text);
    font-weight: 500;
}

.comp-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

/* ---- CLICHE LIST ---- */

.cliche-list {
    list-style: none;
    padding-left: 0;
}

.cliche-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cliche-list li:last-child {
    border-bottom: none;
}

.cliche-list li strong {
    color: var(--yellow);
}

/* ---- DIVIDER ---- */

.post-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 2.5rem 0;
}

/* ---- POST CTA ---- */

.post-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-section);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-align: center;
}

.post-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 600px) {
    .blog-header {
        padding: 1rem 1.5rem;
    }

    .blog-list {
        padding: 2rem 1.5rem;
    }

    .blog-post {
        padding: 2rem 1.5rem;
    }

    .blog-preview {
        padding: 1.5rem;
    }

    .comp-row {
        grid-template-columns: 1fr;
    }

    .comp-header {
        display: none;
    }

    .comp-cell {
        padding: 0.5rem 1rem;
    }

    .comp-label {
        padding-top: 1rem;
    }
}
