/* --- ZERONE LANKA BLOG STYLES --- */
:root {
    --primary-color: #6D28D9;
    --secondary-color: #4F46E5;
    --text-light: #E2E8F0;
    --text-dark: #94A3B8;
    --bg-dark-primary: #0F172A;
    --bg-dark-secondary: #1E293B;
}

/* Base Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark-primary);
    color: var(--text-light);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Reusable Header & Footer styles from main site */
.navbar-sticky { position: sticky; top: 0; z-index: 50; background-color: rgba(15, 23, 42, 0.8); backdrop-filter: blur(12px); transition: all 0.3s ease; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.navbar-scrolled { box-shadow: 0 6px 12px -2px rgba(0,0,0,0.15); padding-top: 0.5rem; padding-bottom: 0.5rem; background-color: rgba(15, 23, 42, 0.95); }
.logo-text { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.05em; text-decoration: none; }
.logo-text .one { color: var(--primary-color); }
.nav-link { padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--text-dark); transition: all 0.2s ease; position: relative; text-decoration: none; }
.nav-link:hover { color: var(--text-light); background-color: var(--bg-dark-secondary); }
.nav-link-active { color: var(--primary-color) !important; }
.hamburger { cursor: pointer; display: none; }
.hamburger .line { width: 28px; height: 3px; background-color: var(--text-light); display: block; margin: 5px auto; transition: all 0.3s ease-in-out; }
.hamburger.is-active .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active .line:nth-child(2) { opacity: 0; }
.hamburger.is-active .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: rgba(15, 23, 42, 0.98); backdrop-filter: blur(8px); padding: 1rem 0; border-top: 1px solid var(--bg-dark-secondary); }
.mobile-menu a { display: block; padding: 0.75rem 1.5rem; color: var(--text-light); text-align: center; }
@media (max-width: 768px) { .desktop-nav { display: none; } .hamburger { display: block; } .mobile-menu.is-active { display: block; } }

/* Main Blog Listing Page Styles */
.blog-listing-header {
    background: linear-gradient(160deg, var(--bg-dark-secondary) 0%, var(--bg-dark-primary) 100%);
}

.blog-card {
    background-color: var(--bg-dark-secondary);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}
.blog-card-image {
    width: 100%;
    height: 12rem; /* 192px */
    object-fit: cover;
}
.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    flex-grow: 1;
}
.blog-card-title a:hover {
    color: var(--primary-color);
}
.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.blog-card-read-more {
    font-weight: 600;
    color: var(--text-light);
    margin-top: auto;
}
.blog-card-read-more:hover {
    color: var(--primary-color);
}

/* Single Blog Post Article Styles */
.article-header {
    background: linear-gradient(160deg, var(--bg-dark-secondary) 0%, var(--bg-dark-primary) 100%);
}
.article-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.125rem; /* 18px */
}
.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
}
.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.article-content p {
    margin-bottom: 1.5rem;
}
.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.article-content ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}
.article-content li {
    margin-bottom: 0.75rem;
}

/* --- New styles for images inside articles --- */
.article-content figure {
    margin: 2.5rem 0;
}

.article-content figure img {
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.article-content figure figcaption {
    font-size: 0.875rem; /* 14px */
    color: var(--text-dark);
    text-align: center;
    margin-top: 0.75rem;
}