/* Blog styles for CCPA Audit Kit */

/* Blog listing page */
.blog-hero {
    padding: 4rem 0 2rem;
}

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.blog-hero p {
    color: #a0aec0;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.blog-card {
    background: #1a202c;
    border: 1px solid #4a5568;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(89, 25, 193, 0.15);
    transform: translateY(-2px);
    border-color: #5919C1;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-tag {
    display: inline-block;
    background: rgba(89, 25, 193, 0.15);
    color: #5919C1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: #5919C1;
}

.blog-card-excerpt {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: #718096;
}

/* Blog post page */
.blog-post {
    padding: 3rem 0 4rem;
}

.blog-post-header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.blog-post-tag {
    display: inline-block;
    background: rgba(89, 25, 193, 0.15);
    color: #5919C1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-post-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.blog-post-meta {
    color: #718096;
    font-size: 0.9rem;
}

.blog-post-content {
    max-width: 760px;
    margin: 0 auto;
}

.blog-post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 2.5rem 0 0.75rem;
}

.blog-post-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 2rem 0 0.5rem;
}

.blog-post-content p {
    color: #cbd5e0;
    margin-bottom: 1rem;
    line-height: 1.75;
}

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

.blog-post-content li {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.blog-post-content ul li {
    list-style: disc;
}

.blog-post-content ol li {
    list-style: decimal;
}

.blog-post-content strong {
    color: #fff;
}

.blog-post-content a {
    color: #5919C1;
    font-weight: 500;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

.blog-post-content blockquote {
    border-left: 3px solid #5919C1;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: #a0aec0;
    font-style: italic;
}

/* Blog CTA box */
.blog-cta {
    background: #1a202c;
    border: 2px solid #5919C1;
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.blog-cta h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-cta p {
    color: #a0aec0;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-cta .btn-cta {
    display: inline-block;
    background: #5919C1;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.blog-cta .btn-cta:hover {
    background: #4A16A3;
}

/* Blog breadcrumb */
.blog-breadcrumb {
    padding: 1.5rem 0;
    border-bottom: 1px solid #2d3748;
}

.blog-breadcrumb a {
    color: #5919C1;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-breadcrumb span {
    color: #718096;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-cta {
        padding: 1.5rem 1.25rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }
}
