/* --- Base Styles --- */
body {
    font-family: var(--font-family-base);
    background-color: var(--bg);
    color: var(--ink);
    margin: 0;
    line-height: 1.6;
}

/* --- Navigation Bar --- */
.main-nav {
    height: var(--nav-height);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.companyname {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    text-decoration: none;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a.active-link,
.nav-menu a:hover {
    color: var(--brand);
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--ink);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--ink);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* --- Main Content Wrapper --- */
.blog-main-content {
    padding: 5rem 1.5rem;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.blog-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.blog-post-img {
    width: 100%;
    height: 250px;
}

.blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.blog-post-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-excerpt {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.read-more-link {
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--brand-2);
}

/* --- Responsive Layout --- */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .blog-post {
        grid-template-columns: 300px 1fr;
        gap: 3rem;
    }
}