:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2a;
    --light-green: #7fb069;
    --accent-green: #a8d5ba;
}

.site-logo { color: var(--primary-green); }

.nav-link {
    color: var(--primary-green);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.nav-link:hover { background: rgba(45, 80, 22, 0.1); }

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-header {
    padding: 0.75rem 1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-green);
}

.nav-dropdown-item {
    display: block;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.nav-dropdown-item:hover { background: #f0f9f4; }

.nav-dropdown-title {
    display: block;
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.95rem;
}

.nav-dropdown-date {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

.nav-dropdown-footer {
    display: block;
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    color: var(--secondary-green);
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-dropdown-footer:hover { background: #f0f9f4; }

.mobile-menu {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 200;
    overflow-y: auto;
}

.mobile-menu-inner { padding: 1.5rem; min-height: 100%; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.mobile-menu-header button {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
}

.mobile-menu-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-section { padding: 1rem 0; border-bottom: 1px solid #e5e7eb; }

.mobile-menu-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-green);
    margin-bottom: 0.75rem;
}

.mobile-menu-sublink {
    display: block;
    padding: 0.6rem 0 0.6rem 0.75rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    border-left: 3px solid var(--accent-green);
    margin-bottom: 0.35rem;
}

.mobile-menu-sublink:hover { color: var(--primary-green); }

.mobile-menu-more {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--secondary-green);
    text-decoration: none;
    font-size: 0.9rem;
}

body.mobile-menu-open { overflow: hidden; }

.article-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.card-date {
    font-size: 0.8rem;
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.view-more-btn {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.material-card-link {
    text-decoration: none;
    color: inherit;
}

.material-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary-green);
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.listing-sidebar {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.listing-sidebar label {
    display: block;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.listing-sidebar input,
.listing-sidebar select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.listing-sidebar input:focus,
.listing-sidebar select:focus {
    outline: none;
    border-color: var(--secondary-green);
}

.listing-card-date { font-size: 0.85rem; color: #6b7280; margin-bottom: 0.5rem; }

.listing-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.listing-card-excerpt { color: #4b5563; line-height: 1.6; margin-bottom: 0.75rem; }

.listing-card-link {
    font-weight: 600;
    color: var(--secondary-green);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .listing-layout { grid-template-columns: 1fr; }
    .listing-sidebar { position: static; }
}
