/* Custom CSS for PANGEEA - Final */

/* ------------------------ */
/* Global Styles & Fonts     */
/* ------------------------ */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #1d4ed8;
}

/* ------------------------ */
/* Header - keep original color #053975 */
/* ------------------------ */
.pkp_structure_head {
    background-color: #053975;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.pkp_site_name img {
    max-width: 300px;
    height: auto;
}
.pkp_navigation_primary a {
    font-weight: 500;
    padding: 0.75rem 1rem;
}
.pkp_navigation_primary li:hover > a {
    color: #000000; /* changed to black */
}

/* ------------------------ */
/* Sidebar Blocks - Cards   */
/* ------------------------ */
.pkp_structure_sidebar .pkp_block {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    margin-left: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pkp_structure_sidebar .pkp_block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.pkp_structure_sidebar .pkp_block h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.pkp_structure_sidebar .pkp_block ul li a {
    font-size: 0.95rem;
    color: #053975;
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}
.pkp_structure_sidebar .pkp_block ul li a:hover {
    background-color: #053975;
    color: #ffffff;
}

/* ------------------------ */
/* Make a Submission Button */
/* ------------------------ */
.block_make_submission {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 10px;
}
.block_make_submission .content a.block_make_submission_link {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #e5e7eb; /* light gray */
    color: #053975; /* header blue */
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.block_make_submission .content a.block_make_submission_link:hover {
    background-color: #d1d5db; /* darker gray */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ------------------------ */
/* Responsive Design         */
/* ------------------------ */
@media (max-width: 767px) {
    .pkp_structure_content.has_sidebar {
        flex-direction: column;
    }
    .pkp_navigation_primary li a {
        padding: 10px 0;
    }
}

/* ------------------------ */
/* Remove Footer Text        */
/* ------------------------ */
.pkp_brand_footer {
    display: none;
}
