/* ========================================
   JOURNAL OF LUMBINI MEDICAL COLLEGE
   Light Theme Custom CSS (Masculine Edition)
   ======================================== */

/* ------------------------------
   GLOBAL LIGHT THEME STYLES
   ------------------------------ */
   
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #2c3e50;
}

.container {
    max-width: 1280px;
}

/* ------------------------------
   HEADER & NAVIGATION
   ------------------------------ */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand img,
.navbar-logo img {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover,
.navbar-logo img:hover {
    transform: scale(1.02);
}

/* Navigation links - FIXED HOVER (Dark text on light hover or vice versa) */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #1a2a3a !important;
    margin: 0 0.25rem;
    padding: 0.6rem 1rem !important;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: #1e3a5f !important;  /* Deep masculine blue */
    color: #ffffff !important;  /* White text on dark background */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(30, 58, 95, 0.3);
}

/* Special styling for "Make a Submission" - Masculine colors */
.navbar-nav .nav-item:last-child .nav-link,
.nav-item.nmi_type_submissions .nav-link {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2b45 100%);
    color: #ffffff !important;
    padding: 0.6rem 1.2rem !important;
    margin-left: 0.5rem;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
    font-weight: 700;
}

.navbar-nav .nav-item:last-child .nav-link:hover,
.nav-item.nmi_type_submissions .nav-link:hover {
    background: linear-gradient(135deg, #0d2b45 0%, #1e3a5f 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(30, 58, 95, 0.4);
}

/* User badge - Masculine colors */
.badge-light {
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    color: white;
    border-radius: 30px;
    padding: 0.25rem 0.6rem;
    margin-left: 0.3rem;
}

/* User dropdown link - Masculine */
.nav-item.nmi_type_user_dashboard .nav-link {
    background: #2c553d !important;  /* Deep masculine green */
    color: #ffffff !important;
    border-radius: 40px;
    padding: 0.6rem 1rem !important;
}

.nav-item.nmi_type_user_dashboard .nav-link:hover {
    background: #1e3f2e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(44, 85, 61, 0.3);
}

.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    animation: fadeInUp 0.2s ease;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    color: white;
    padding-left: 1.8rem;
}

/* ------------------------------
   HOMEPAGE ISSUE SECTION
   ------------------------------ */
.container-homepage-issue {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.homepage-issue-current {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem !important;
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.homepage-issue-identifier {
    font-size: 2.8rem !important;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.homepage-issue-published {
    color: #7f8c8d;
    font-size: 1rem;
    border-bottom: 2px solid #1e3a5f20;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.issue-toc-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(95deg, #1e3a5f, #0d2b45);
    border-image-slice: 1;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.article-summary {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid #eef2f6;
}

.article-summary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 58, 95, 0.3);
}

.article-summary-authors {
    font-size: 0.85rem;
    color: #1e3a5f;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.article-summary-pages {
    font-size: 0.8rem;
    color: #95a5a6;
    font-weight: 500;
}

.article-summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.article-summary-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-summary-title a:hover {
    color: #1e3a5f;
}

/* PDF Button Contrast Fix */

.article-summary-galleys .btn-primary {
    background: #1e3a5f !important;  /* Solid dark blue */
    color: #ffffff !important;       /* Pure white text - high contrast */
    border: none;
    border-radius: 40px;
    padding: 0.35rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.article-summary-galleys .btn-primary:hover {
    background: #0d2b45 !important;
    color: #ffffff !important;
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(30, 58, 95, 0.4);
}

.text-center .btn {
    background: transparent;
    border: 2px solid #1e3a5f;
    color: #1e3a5f;
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.text-center .btn:hover {
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.3);
}

/* ------------------------------
   ANIMATIONS
   ------------------------------ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
   RESPONSIVE TWEAKS
   ------------------------------ */
@media (max-width: 768px) {
    .container-homepage-issue {
        padding: 1.5rem;
        border-radius: 24px;
    }
    
    .homepage-issue-identifier {
        font-size: 1.8rem !important;
    }
    
    .article-summary {
        padding: 1rem;
    }
    
    .article-summary-title {
        font-size: 1rem;
    }
}

/* ------------------------------
   MODAL STYLES (Light)
   ------------------------------ */
.modal-content {
    background: #ffffff;
    border: none;
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal .btn-primary {
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    border: none;
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
}

/* ------------------------------
   SCROLLBAR (Optional)
   ------------------------------ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

/* ========================================
   COMPLETE FOOTER CSS - responsive and fixed duplicate logo
   ======================================== */

/* Main Footer Container */
.site-footer {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    margin-top: 4rem;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6, #1e3a5f);
}

/* Sidebar Section (Partner Logos) */
.site-footer-sidebar {
    background: rgba(15, 23, 42, 0.6);
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-sidebar .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.site-footer-sidebar .pkp_block {
    background: transparent;
    margin: 0;
    padding: 0.3rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: inline-block;
}

.site-footer-sidebar .pkp_block img {
    max-height: 40px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.site-footer-sidebar .pkp_block:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Footer Content Section */
.site-footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 1.5rem;
}

/* Top Row - Three columns */
.footer-top-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-box.journal-info {
    flex: 2;
    min-width: 200px;
}

.footer-box.credits-info {
    flex: 2;
    min-width: 200px;
}

.ojs-branding-wrapper {
    flex: 1;
    min-width: 120px;
    text-align: right;
}

.footer-box-title {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-box-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1e3a5f);
    border-radius: 2px;
}

.journal-info p, .credits-info p {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.journal-info strong, .credits-info strong {
    color: #ffffff;
    font-weight: 600;
    min-width: 65px;
    display: inline-block;
}

.journal-info a {
    color: #60a5fa;
    text-decoration: none;
}

.journal-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.custom-ojs-brand {
    max-height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.custom-ojs-brand:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Bottom Row - License Info */
.footer-bottom-row {
    width: 100%;
}

.license-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.license-text {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
}

.license-text a {
    color: #60a5fa;
    text-decoration: none;
}

.license-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ========================================
   FIX: Hide duplicate OJS logo completely
   ======================================== */
.site-footer-content .col-md-2,
.site-footer-content .col-md-2.align-self-center.text-right,
.col-md-2.align-self-center.text-right,
.site-footer-content .col-md-2 .footer-brand-image,
.footer-brand-image {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer-sidebar {
        padding: 1rem 0.5rem;
    }
    
    .site-footer-sidebar .row {
        gap: 0.5rem 0.75rem;
    }
    
    .site-footer-sidebar .pkp_block img {
        max-height: 35px;
    }
    
    .site-footer-content {
        padding: 1.5rem;
    }
    
    .footer-top-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-box.journal-info,
    .footer-box.credits-info,
    .ojs-branding-wrapper {
        text-align: center;
        flex: auto;
        width: 100%;
    }
    
    .footer-box-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .license-text {
        font-size: 0.75rem;
    }
    
    .ojs-branding-wrapper {
        text-align: center;
    }
    
    /* Double ensure duplicate is hidden on mobile too */
    .site-footer-content .col-md-2,
    .footer-brand-image {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .site-footer-sidebar .pkp_block img {
        max-height: 30px;
    }
}

/* Hover effects */
.site-footer-sidebar .pkp_block:hover {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.3));
}

.site-footer a {
    transition: all 0.2s ease;
}

/* ========================================
   ARCHIVES PAGE STYLES
   Matches JLMC Light Theme + Dark Footer
   ======================================== */

/* Archives Page Header */
.page-archives {
    padding: 2rem 0 3rem;
}

.page-archives-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.page-archives-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.page-archives-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6);
    border-radius: 3px;
}

/* Issue Summary Cards */
.issue-summary {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    height: 100%;
}

.issue-summary:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(30, 58, 95, 0.12);
}

.issue-summary .card-img-top {
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    width: 100%;
    height: 200px;
    transition: transform 0.4s ease;
}

.issue-summary:hover .card-img-top {
    transform: scale(1.02);
}

.issue-summary .card-body {
    padding: 1.25rem;
    background: #ffffff;
}

.issue-summary-series {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.issue-summary-series a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.issue-summary-series a:hover {
    color: #0d2b45;
    text-decoration: underline;
}

.issue-summary-date {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.issue-summary-title {
    font-size: 0.8rem;
    color: #1e3a5f;
    font-weight: 600;
    margin-bottom: 0;
    background: #f0f4f9;
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

/* Card Text styling */
.issue-summary .card-text p {
    margin-bottom: 0.25rem;
}

/* Responsive adjustments for archives */
@media (max-width: 768px) {
    .page-archives {
        padding: 1rem 0 2rem;
    }
    
    .page-archives-header h1 {
        font-size: 2rem;
    }
    
    .issue-summary .card-img-top {
        height: 160px;
    }
    
    .issue-summary-series a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .issue-summary .card-img-top {
        height: 140px;
    }
    
    .issue-summary .card-body {
        padding: 1rem;
    }
    
    .issue-summary-series a {
        font-size: 0.85rem;
    }
}

/* Row spacing for archive grid */
.page-archives .row {
    margin-bottom: 0.5rem;
}

.page-archives .row [class*="col-"] {
    margin-bottom: 1rem;
}

/* ========================================
   EDITORIAL POLICY PAGE STYLES
   Matches JLMC Light Theme + Dark Footer
   ======================================== */

/* Editorial Policy Page Container */
.page-custom {
    padding: 2rem 0 3rem;
}

/* Page Header */
.page-custom .page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-custom .page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.page-custom .page-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6);
    border-radius: 3px;
}

/* Main Content Area */
.page-custom .page-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    margin-top: 1rem;
}

/* Typography */
.page-custom .page-content p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.page-custom .page-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(30, 58, 95, 0.15);
}

.page-custom .page-content h3:first-of-type {
    margin-top: 0;
}

/* Nested headings inside divs */
.page-custom .page-content div h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(30, 58, 95, 0.15);
}

.page-custom .page-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d2b45;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Lists */
.page-custom .page-content ul,
.page-custom .page-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
}

.page-custom .page-content li {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.page-custom .page-content ul li {
    list-style-type: disc;
}

.page-custom .page-content ol li {
    list-style-type: decimal;
}

/* Nested lists */
.page-custom .page-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.page-custom .page-content ul ul li {
    list-style-type: circle;
}

/* Links */
.page-custom .page-content a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 95, 0.2);
}

.page-custom .page-content a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* Small text / date */
.page-custom .page-content em small {
    color: #7f8c8d;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Section divs with IDs */
.page-custom .page-content div[id] {
    scroll-margin-top: 80px;
}

/* Strong text */
.page-custom .page-content strong {
    color: #1a2a3a;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-custom {
        padding: 1rem 0 2rem;
    }
    
    .page-custom .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-custom .page-content {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .page-custom .page-content h3 {
        font-size: 1.3rem;
    }
    
    .page-custom .page-content p,
    .page-custom .page-content li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .page-custom .page-content {
        padding: 1.25rem;
    }
    
    .page-custom .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-custom .page-content h3 {
        font-size: 1.2rem;
    }
}

/* Additional polish for readability */
.page-custom .page-content {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* Style for the introductory paragraph */
.page-custom .page-content > p:first-of-type {
    font-size: 1.05rem;
    color: #1e3a5f;
    font-weight: 500;
}

/* Block styling for important sections */
.page-custom .page-content #fees p,
.page-custom .page-content #openaccess p {
    background: rgba(30, 58, 95, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border-left: 3px solid #1e3a5f;
}

/* ========================================
   WIDEN EDITORIAL POLICY PAGe
   ======================================== */

/* Simple and effective */
.page-custom .col-md-8 {
    width: 90% !important;
    flex: 0 0 90% !important;
    max-width: 90% !important;
}

@media (min-width: 992px) {
    .page-custom .col-md-8 {
        width: 85% !important;
        flex: 0 0 85% !important;
        max-width: 85% !important;
    }
}

/* ========================================
   SUBMISSIONS / AUTHOR GUIDELINES PAGE STYLES
   Matches JLMC Light Theme + Dark Footer
   ======================================== */

/* Submissions Page Container */
.page-submissions {
    padding: 2rem 0 3rem;
}

/* Page Header */
.page-submissions .page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-submissions .page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.page-submissions .page-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6);
    border-radius: 3px;
}

/* Main Content Area */
.page-submissions .page-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    margin-top: 1rem;
}

/* Alert Box for Make a new submission */
.page-submissions .alert.alert-primary {
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    border: none;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
    text-align: center;
}

.page-submissions .alert.alert-primary a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.page-submissions .alert.alert-primary a:hover {
    border-bottom-color: #ffffff;
    text-decoration: none;
}

/* Section Headings (h2) */
.page-submissions .page-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(30, 58, 95, 0.15);
    position: relative;
}

.page-submissions .page-content h2:first-of-type {
    margin-top: 0;
}

/* Edit Button Link */
.page-submissions .btn-edit-link {
    background: #eef2f6;
    color: #1e3a5f;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-submissions .btn-edit-link:hover {
    background: #1e3a5f;
    color: #ffffff;
}

/* Typography */
.page-submissions .page-content p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.page-submissions .page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0d2b45;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Lists */
.page-submissions .page-content ul,
.page-submissions .page-content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.8rem;
}

.page-submissions .page-content li {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.page-submissions .page-content ul li {
    list-style-type: disc;
}

.page-submissions .page-content ol li {
    list-style-type: decimal;
}

/* Nested lists with show class */
.page-submissions .page-content li.show {
    list-style-type: inherit;
}

/* Links */
.page-submissions .page-content a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 95, 0.2);
}

.page-submissions .page-content a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* Top navigation menu */
.page-submissions #topMenu {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid #eef2f6;
}

.page-submissions #topMenu a {
    border-bottom: none;
}

/* Top link */
.page-submissions a[href="#top"] {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0.5rem 0;
    border-bottom: none;
}

.page-submissions a[href="#top"]:hover {
    color: #3b82f6;
}

/* Strong text */
.page-submissions .page-content strong {
    color: #1a2a3a;
    font-weight: 700;
}

/* Small text / date */
.page-submissions .page-content em small,
.page-submissions .page-content p em {
    color: #7f8c8d;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Div containers with IDs */
.page-submissions .page-content div[id] {
    scroll-margin-top: 80px;
}

/* NoBr div */
.page-submissions #noBr {
    background: transparent;
}

/* Tables (if any in guidelines) */
.page-submissions .page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.page-submissions .page-content th,
.page-submissions .page-content td {
    border: 1px solid #e2e6ea;
    padding: 0.75rem;
    text-align: left;
}

.page-submissions .page-content th {
    background: #f0f4f9;
    color: #1e3a5f;
    font-weight: 700;
}

/* Submission Checklist and other sections */
.page-submissions .submissions-checklist,
.page-submissions .submissions-copyright-notice,
.page-submissions .submissions-privacy-statement {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f6;
}

/* Numbered top menu styling */
.page-submissions #topMenu ol,
.page-submissions #topMenu ul {
    margin-bottom: 0.25rem;
}

.page-submissions #topMenu > li {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e3a5f;
}

.page-submissions #topMenu ol li,
.page-submissions #topMenu ul li {
    font-weight: normal;
    color: #2c3e50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-submissions {
        padding: 1rem 0 2rem;
    }
    
    .page-submissions .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-submissions .page-content {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .page-submissions .page-content h2 {
        font-size: 1.4rem;
    }
    
    .page-submissions .page-content h3 {
        font-size: 1.2rem;
    }
    
    .page-submissions .page-content p,
    .page-submissions .page-content li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .page-submissions #topMenu {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .page-submissions .page-content {
        padding: 1.25rem;
    }
    
    .page-submissions .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-submissions .page-content h2 {
        font-size: 1.2rem;
    }
    
    .page-submissions .alert.alert-primary {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Widen Submissions page */
.page-submissions .col-md-8 {
    width: 90% !important;
    flex: 0 0 90% !important;
    max-width: 90% !important;
}

@media (min-width: 992px) {
    .page-submissions .col-md-8 {
        width: 85% !important;
        flex: 0 0 85% !important;
        max-width: 85% !important;
    }
}

/* ========================================
   ABOUT THE JOURNAL PAGE STYLES
   Matches JLMC Light Theme + Dark Footer
   ======================================== */

/* About Page Container */
.page-about {
    padding: 2rem 0 3rem;
}

/* Page Header */
.page-about .page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-about .page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.page-about .page-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6);
    border-radius: 3px;
}

/* Main Content Area */
.page-about .page-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    margin-top: 1rem;
}

/* Typography */
.page-about .page-content p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

/* Strong/Bold text */
.page-about .page-content strong {
    color: #1a2a3a;
    font-weight: 700;
}

/* Links */
.page-about .page-content a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 95, 0.2);
}

.page-about .page-content a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* List styling */
.page-about .page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
}

.page-about .page-content li {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.page-about .page-content ul li {
    list-style-type: disc;
}

/* List items with show class */
.page-about .page-content li.show {
    list-style-type: disc;
}

/* Edit Button Link */
.page-about .btn-edit-link {
    background: #eef2f6;
    color: #1e3a5f;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-top: 1.5rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-about .btn-edit-link:hover {
    background: #1e3a5f;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-about {
        padding: 1rem 0 2rem;
    }
    
    .page-about .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-about .page-content {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .page-about .page-content p,
    .page-about .page-content li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .page-about .page-content {
        padding: 1.25rem;
    }
    
    .page-about .page-header h1 {
        font-size: 1.5rem;
    }
}

/* Widen About page */
.page-about .col-md-8 {
    width: 90% !important;
    flex: 0 0 90% !important;
    max-width: 90% !important;
}

@media (min-width: 992px) {
    .page-about .col-md-8 {
        width: 85% !important;
        flex: 0 0 85% !important;
        max-width: 85% !important;
    }
}

/* ========================================
   CONTACT PAGE STYLES
   Matches JLMC Light Theme + Dark Footer
   ======================================== */

/* Contact Page Container */
.page-contact {
    padding: 2rem 0 3rem;
}

/* Page Header */
.page-contact .page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-contact .page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e3a5f, #0d2b45);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.page-contact .page-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1e3a5f, #3b82f6);
    border-radius: 3px;
}

/* Main Content Area */
.page-contact .page-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    margin-top: 1rem;
}

/* Contact Section */
.page-contact .contact-section {
    text-align: center;
}

/* Address Styling */
.page-contact .address {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Contact Sections (Principal Contact & Support Contact) */
.page-contact .contact-primary,
.page-contact .contact-support {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.page-contact .contact-primary:hover,
.page-contact .contact-support:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.08);
    border-color: rgba(30, 58, 95, 0.2);
}

/* Section Headings */
.page-contact .contact-primary h2,
.page-contact .contact-support h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(30, 58, 95, 0.15);
    display: inline-block;
}

/* Contact Name */
.page-contact .contact-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d2b45;
    margin-bottom: 0.5rem;
}

/* Affiliation */
.page-contact .contact-affiliation {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.75rem;
    font-style: italic;
}

/* Phone Number */
.page-contact .contact-phone {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.page-contact .contact-phone .label {
    font-weight: 700;
    color: #1e3a5f;
    margin-right: 0.5rem;
}

.page-contact .contact-phone .value {
    color: #2c3e50;
}

/* Email */
.page-contact .contact-email {
    margin-top: 0.5rem;
}

.page-contact .contact-email a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(30, 58, 95, 0.2);
    font-size: 0.95rem;
}

.page-contact .contact-email a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* Edit Button Link */
.page-contact .btn-edit-link {
    background: #eef2f6;
    color: #1e3a5f;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-contact .btn-edit-link:hover {
    background: #1e3a5f;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact {
        padding: 1rem 0 2rem;
    }
    
    .page-contact .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-contact .page-content {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .page-contact .address {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .page-contact .contact-primary h2,
    .page-contact .contact-support h2 {
        font-size: 1.2rem;
    }
    
    .page-contact .contact-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-contact .page-content {
        padding: 1.25rem;
    }
    
    .page-contact .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-contact .contact-primary,
    .page-contact .contact-support {
        padding: 1rem;
    }
}

/* Widen Contact page */
.page-contact .col-md-6 {
    width: 90% !important;
    flex: 0 0 90% !important;
    max-width: 90% !important;
}

@media (min-width: 992px) {
    .page-contact .col-md-6 {
        width: 70% !important;
        flex: 0 0 70% !important;
        max-width: 70% !important;
    }
}