/* --- 1. THE MODERN COLOR PALETTE --- */
:root {
    --primary-color: #1a4731; /* Deep Forest Green - perfect for Biology/Museums */
    --accent-color: #d4af37;  /* Subtle Gold for links/buttons */
    --bg-light: #f9fafb;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- 2. LAYOUT & BACKGROUND --- */
body {
    background-color: var(--bg-light);
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

/* --- 3. THE HEADER (Professional & Slim) --- */
.pkp_structure_head {
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand img {
    max-height: 65px !important; /* Keeps your logo elegant */
    transition: transform 0.3s ease;
}

/* --- 4. ARTICLE CARDS (The "Pop" Factor) --- */
.obj_article_summary {
    background: #ffffff;
    border: 1px solid #edf2f7 !important;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.obj_article_summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: var(--primary-color) !important;
}

/* Style the Title */
.obj_article_summary .title a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    text-decoration: none;
}

/* --- 5. SIDEBAR REFINEMENT --- */
.pkp_block {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pkp_block .title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* --- 6. BUTTONS & GALLEYS (PDFs) --- */
.obj_galley_link {
    background-color: var(--primary-color) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.obj_galley_link:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* --- 7. TYPOGRAPHY POLISH --- */
h1, h2, h3 {
    color: #0f172a;
    font-weight: 800;
}

.meta .authors {
    font-style: italic;
    color: #64748b;
}

/* --- 8. PROFESSIONAL NAVIGATION (Desktop & Mobile) --- */

/* Desktop Links: Sharper, professional typography */
.navbar-nav > li > a {
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 15px 20px !important;
    transition: color 0.2s ease-in-out;
}

/* Mobile Hamburger: Modernized */
.navbar-toggler {
    border: none !important;
    padding: 10px !important;
}

/* Inside Mobile Menu: Better spacing and clean dividers */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 12px 12px;
        padding: 15px;
    }
    .navbar-nav > li > a {
        border-bottom: 1px solid #f1f5f9;
        padding: 12px 10px !important;
        color: #1e293b !important;
    }
    .navbar-nav > li:last-child > a {
        border-bottom: none;
    }
}

