/* ========================================================================
   IRJEMS Custom Theme (Atlas Style Clone for Bootstrap 3)
   ======================================================================== */

/* 1. Fonts & Main Background */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600&display=swap');

body {
    background: #fbfaf7; /* Atlas light background */
    /* Warm gradient background seen in Atlas */
    background-image: radial-gradient(circle at top right, rgba(208, 70, 23, 0.1), transparent 50%), 
                      radial-gradient(circle at top left, rgba(243, 240, 233, 0.8), transparent 50%);
    color: #0a0907; 
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* 2. Typography (Big Serif Headings) */
h1, h2, h3, h4, h5, 
.pkp_structure_main h1, 
.pkp_structure_main h2, 
.obj_article_summary .title a {
    font-family: 'Lora', serif;
    font-weight: 500;
    color: #0a0907;
    letter-spacing: -0.02em;
}

/* 3. Header Styling */
.pkp_structure_head {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e2d2;
    padding: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.pkp_site_name {
    font-family: 'Lora', serif;
    font-size: 32px;
    color: #0a0907;
    text-decoration: none;
}

.pkp_navigation_primary a, 
.pkp_navigation_user a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #4a4339;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pkp_navigation_primary a:hover, 
.pkp_navigation_user a:hover {
    background: #f3f0e9;
    color: #0a0907;
    text-decoration: none;
}

/* 4. Orange "Submit" Button Style (Pill shape) */
.btn-primary, 
.cmp_button_link,
a.pkp_button {
    background-color: #e67345; /* Orange/Peach color from Atlas */
    color: #ffffff !important;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(230, 115, 69, 0.3);
}

.btn-primary:hover, 
.cmp_button_link:hover,
a.pkp_button:hover {
    background-color: #d05d33;
    transform: translateY(-2px);
}

/* 5. Article Cards & PDF Buttons */
.obj_article_summary {
    background: #ffffff;
    border: 1px solid #e8e2d2;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.2s ease;
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.obj_article_summary .title a {
    font-size: 24px;
    line-height: 1.3;
    color: #0a0907;
}

.obj_article_summary .title a:hover {
    color: #e67345;
    text-decoration: none;
}

.obj_article_summary .authors {
    font-family: 'Inter', sans-serif;
    color: #76705f;
    font-size: 14px;
    margin-top: 10px;
}

/* PDF Galley Button */
.obj_galley_link {
    background-color: #f3f0e9;
    color: #0a0907 !important;
    border: 1px solid #e8e2d2;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
}

.obj_galley_link:hover {
    background-color: #e8e2d2;
    text-decoration: none;
}

/* 6. Footer */
.pkp_structure_footer {
    background: #f3f0e9;
    border-top: 1px solid #e8e2d2;
    padding: 40px 0;
    color: #4a4339;
    margin-top: 60px;
}