/* Blog Index Page Styles */
.blog-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding-top: 100px;
    padding-bottom: 40px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 163, 224, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.blog-hero h1 .highlight {
    color: var(--industrial-accent);
}

.blog-hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Blog Grid */
.blog-grid-section {
    padding: 80px 0;
    background: var(--steel-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--industrial-accent);
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.15) 0%, rgba(0, 163, 224, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    color: var(--industrial-accent);
    opacity: 0.6;
}

.blog-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0, 163, 224, 0.9);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--industrial-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card-link {
    color: var(--industrial-accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-link {
    gap: 10px;
}

/* Blog Article Page Styles */
.article-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding-top: 100px;
    padding-bottom: 40px;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 163, 224, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.article-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    padding: 4px 14px;
    background: rgba(0, 163, 224, 0.2);
    border: 1px solid rgba(0, 163, 224, 0.4);
    color: var(--industrial-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
}

.article-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.article-read-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.article-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Article Content */
.article-content {
    padding: 60px 0 80px;
    background: var(--steel-dark);
}

.article-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 163, 224, 0.2);
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.article-body ul, .article-body ol {
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    font-size: 1.05rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: var(--white);
}

.article-body blockquote {
    border-left: 3px solid var(--industrial-accent);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 163, 224, 0.05);
    border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    max-width: 780px;
    margin: 3rem auto 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1) 0%, rgba(0, 163, 224, 0.03) 100%);
    border: 1px solid rgba(0, 163, 224, 0.25);
    border-radius: 16px;
    text-align: center;
}

.article-cta h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
    border-bottom: none;
}

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

/* Back to blog link */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--industrial-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: gap 0.3s ease;
}

.back-to-blog:hover {
    gap: 12px;
}

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

@media (max-width: 768px) {
    .blog-hero, .article-hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid-section, .article-content {
        padding: 60px 0;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }
}
