/*AIMS and SCOPE*/
.jmst-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-wrapper h2 {
            color: #1a4d7c;
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .jmst-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }

        /* Interactive Scope List */
        .jmst-scope-list {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }

        .jmst-scope-list li {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-left: 4px solid #1a4d7c;
            margin-bottom: 12px;
            padding: 16px 20px;
            border-radius: 0 6px 6px 0;
            transition: all 0.3s ease;
            cursor: default;
        }

        /* Hover interaction */
        .jmst-scope-list li:hover {
            transform: translateX(8px);
            background-color: #f0f7ff;
            border-color: #cbd5e1;
            box-shadow: 0 4px 10px rgba(26, 77, 124, 0.1);
        }

        .jmst-scope-list strong {
            color: #1a4d7c;
            display: block;
            margin-bottom: 6px;
            font-size: 1.05em;
        }

        /* Priority Highlight Box */
        .jmst-priority-box {
            background-color: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-left: 5px solid #22c55e;
            padding: 20px;
            border-radius: 6px;
            margin-top: 30px;
            box-shadow: 0 2px 5px rgba(34, 197, 94, 0.05);
        }

        .jmst-priority-box h4 {
            margin-top: 0;
            color: #166534;
            font-size: 1.1em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        /* Lists formatting */
        .jmst-wrapper ul {
            margin-top: 5px;
            margin-bottom: 15px;
            padding-left: 20px;
        }

        .jmst-wrapper li {
            margin-bottom: 8px;
        }

        /* Criteria Cards (Prioritized vs Out of Scope) */
        .jmst-criteria-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 20px;
        }

        @media (min-width: 768px) {
            .jmst-criteria-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        .jmst-card {
            border-radius: 8px;
            padding: 20px;
            border-left: 5px solid;
        }

        .jmst-prioritized {
            background-color: #f0fdf4;
            border-left-color: #22c55e;
            box-shadow: 0 1px 3px rgba(34, 197, 94, 0.2);
        }

        .jmst-prioritized h3 {
            color: #166534;
        }

        .jmst-prioritized ul li::marker {
            color: #22c55e;
        }

        .jmst-out-scope {
            background-color: #fef2f2;
            border-left-color: #ef4444;
            box-shadow: 0 1px 3px rgba(239, 68, 68, 0.2);
        }

        .jmst-out-scope h3 {
            color: #991b1b;
        }

        .jmst-out-scope ul li::marker {
            color: #ef4444;
        }

/*PEER REVIEW PROCESS*/
.jmst-pr-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-pr-wrapper h2 {
            color: #1a4d7c;
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .jmst-pr-wrapper h3 {
            color: #2c3e50;
            font-size: 1.2em;
            margin-top: 25px;
            margin-bottom: 15px;
        }

        .jmst-pr-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }

        /* Introduction Highlight */
        .jmst-intro-box {
            background-color: #f0f7ff;
            border-left: 4px solid #1a4d7c;
            padding: 15px 20px;
            margin-bottom: 25px;
            border-radius: 0 8px 8px 0;
        }

        /* Flowchart Placeholder */
        .jmst-flowchart-container {
            text-align: center;
            background-color: #f8f9fa;
            border: 2px dashed #cbd5e1;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 30px;
        }

        .jmst-flowchart-container img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

        .jmst-img-instruction {
            font-size: 0.9em;
            color: #64748b;
            margin-top: 10px;
            font-style: italic;
        }

        /* Accordion / Step-by-Step Styles */
        .jmst-pr-accordion {
            margin-bottom: 30px;
        }

        .jmst-pr-accordion details {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .jmst-pr-accordion details[open] {
            border-color: #1a4d7c;
            box-shadow: 0 3px 10px rgba(26, 77, 124, 0.1);
        }

        .jmst-pr-accordion summary {
            padding: 16px 20px;
            font-weight: 600;
            font-size: 1.05em;
            cursor: pointer;
            background-color: #f8fafc;
            color: #0f172a;
            list-style: none; /* Hide default arrow */
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 4px solid transparent;
        }

        .jmst-pr-accordion summary:hover {
            background-color: #f1f5f9;
            border-left: 4px solid #94a3b8;
        }
        
        .jmst-pr-accordion details[open] summary {
            background-color: #f0f7ff;
            border-left: 4px solid #1a4d7c;
            color: #1a4d7c;
            border-bottom: 1px solid #e2e8f0;
        }

        .jmst-pr-accordion summary::-webkit-details-marker {
            display: none;
        }

        .jmst-pr-accordion summary::after {
            content: "▼";
            font-size: 0.8em;
            color: #64748b;
            transition: transform 0.3s ease;
        }

        .jmst-pr-accordion details[open] summary::after {
            transform: rotate(180deg);
            color: #1a4d7c;
        }

        .jmst-pr-content {
            padding: 20px;
            background-color: #ffffff;
        }

        /* Decision Categories Cards */
        .jmst-decision-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-top: 15px;
        }

        .jmst-decision-card {
            padding: 15px;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
            border-left: 5px solid;
            background-color: #f8fafc;
        }

        .jmst-decision-card h4 {
            margin-top: 0;
            margin-bottom: 8px;
            font-size: 1.1em;
        }

        .jmst-decision-card p {
            margin-bottom: 0;
            font-size: 0.95em;
        }

        .dec-accepted { border-left-color: #16a34a; }
        .dec-accepted h4 { color: #16a34a; }

        .dec-minor { border-left-color: #3b82f6; }
        .dec-minor h4 { color: #3b82f6; }

        .dec-major { border-left-color: #f59e0b; }
        .dec-major h4 { color: #d97706; }

        .dec-resubmit { border-left-color: #8b5cf6; }
        .dec-resubmit h4 { color: #7c3aed; }

        .dec-rejected { border-left-color: #ef4444; }
        .dec-rejected h4 { color: #dc2626; }

        /* Final Policy Box */
        .jmst-policy-box {
            background-color: #fffbeb;
            border: 1px solid #fde68a;
            border-left: 5px solid #f59e0b;
            padding: 20px;
            border-radius: 6px;
            margin-top: 30px;
        }
        
        .jmst-policy-box h4 {
            margin-top: 0;
            color: #b45309;
            font-size: 1.1em;
            margin-bottom: 10px;
        }

/*Author Guidelines*/
.jmst-ag-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-ag-wrapper h2 {
            color: #1a4d7c;
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .jmst-ag-wrapper h3 {
            color: #2c3e50;
            font-size: 1.2em;
            margin-top: 25px;
            margin-bottom: 15px;
        }

        .jmst-ag-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }
        
        .jmst-ag-wrapper ul {
            margin-top: 5px;
            margin-bottom: 15px;
            padding-left: 20px;
        }

        .jmst-ag-wrapper li {
            margin-bottom: 8px;
        }

        /* Quick Facts Highlight Box */
        .jmst-quick-facts {
            background-color: #f8fafc;
            border: 1px solid #cbd5e1;
            border-left: 5px solid #1a4d7c;
            padding: 20px;
            border-radius: 6px;
            margin-bottom: 25px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        @media (min-width: 768px) {
            .jmst-quick-facts {
                grid-template-columns: 1fr 1fr;
            }
        }

        .jmst-quick-facts h4 {
            margin-top: 0;
            margin-bottom: 10px;
            color: #0f172a;
            font-size: 1.1em;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 5px;
        }

        .jmst-fact-item {
            display: flex;
            align-items: baseline;
            margin-bottom: 8px;
        }

        .jmst-fact-label {
            font-weight: bold;
            color: #1a4d7c;
            width: 120px;
            flex-shrink: 0;
        }

        /* Accordion / Step-by-Step Styles */
        .jmst-ag-accordion {
            margin-bottom: 30px;
        }

        .jmst-ag-accordion details {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .jmst-ag-accordion details[open] {
            border-color: #1a4d7c;
            box-shadow: 0 3px 10px rgba(26, 77, 124, 0.1);
        }

        .jmst-ag-accordion summary {
            padding: 16px 20px;
            font-weight: 600;
            font-size: 1.05em;
            cursor: pointer;
            background-color: #f1f5f9;
            color: #0f172a;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 4px solid transparent;
        }

        .jmst-ag-accordion summary:hover {
            background-color: #e2e8f0;
            border-left: 4px solid #94a3b8;
        }
        
        .jmst-ag-accordion details[open] summary {
            background-color: #f0f7ff;
            border-left: 4px solid #1a4d7c;
            color: #1a4d7c;
            border-bottom: 1px solid #e2e8f0;
        }

        .jmst-ag-accordion summary::-webkit-details-marker {
            display: none;
        }

        .jmst-ag-accordion summary::after {
            content: "+";
            font-size: 1.5em;
            font-weight: normal;
            color: #64748b;
            transition: transform 0.3s ease;
        }

        .jmst-ag-accordion details[open] summary::after {
            content: "−";
            transform: rotate(180deg);
            color: #1a4d7c;
        }

        .jmst-ag-content {
            padding: 20px;
            background-color: #ffffff;
        }

        /* Reference Example Box */
        .jmst-ref-box {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            padding: 15px;
            border-radius: 6px;
            margin-top: 10px;
        }
        
        .jmst-ref-type {
            font-weight: bold;
            color: #0f172a;
            margin-top: 10px;
            margin-bottom: 5px;
            display: block;
        }
        
        .jmst-ref-example {
            padding-left: 20px;
            text-indent: -20px; /* Hanging indent for references */
            margin-bottom: 10px;
            font-family: "Times New Roman", Times, serif; /* Academic look for refs */
        }

        .jmst-download-btn {
            display: inline-block;
            background-color: #1a4d7c;
            color: #ffffff !important;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: bold;
            margin-top: 15px;
            transition: background-color 0.3s;
        }

        .jmst-download-btn:hover {
            background-color: #10365c;
            text-decoration: none;
        }

/*Article Processing Charge*/
.jmst-fee-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-fee-wrapper h2 {
            color: #1a4d7c; /* JMST Scholarly Blue */
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .jmst-fee-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }

        /* Highlight Box for the APC Amount */
        .jmst-price-box {
            background-color: #f0f7ff;
            border: 2px solid #1a4d7c;
            border-radius: 8px;
            padding: 30px 20px;
            text-align: center;
            margin: 30px 0;
            box-shadow: 0 4px 10px rgba(26, 77, 124, 0.08);
        }

        .jmst-amount {
            font-size: 2.4em;
            font-weight: bold;
            color: #1a4d7c;
            margin: 0 0 5px 0;
            line-height: 1.2;
        }

        .jmst-price-note {
            font-size: 1.15em;
            color: #475569;
            font-weight: 600;
            margin: 0;
        }

        /* Policy Cards Grid */
        .jmst-policy-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 30px;
        }

        @media (min-width: 768px) {
            .jmst-policy-grid {
                grid-template-columns: 1fr 1fr 1fr; /* 3 columns on desktop */
            }
        }

        .jmst-policy-card {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            padding: 20px;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.04);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .jmst-policy-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.08);
        }

        .jmst-policy-card h4 {
            color: #0f172a;
            margin-top: 0;
            margin-bottom: 12px;
            font-size: 1.1em;
            padding-bottom: 10px;
            border-bottom: 1px solid #f1f5f9;
        }

        .jmst-policy-card p {
            font-size: 0.95em;
            margin-bottom: 0;
            text-align: left;
            color: #475569;
        }

        /* Colored top borders for visual distinction */
        .card-green { border-top: 4px solid #22c55e; }
        .card-blue { border-top: 4px solid #3b82f6; }
        .card-orange { border-top: 4px solid #f59e0b; }

/*Advertising and Direct Marketing Policy*/
.jmst-pol-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-pol-wrapper h2 {
            color: #1a4d7c;
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 40px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        /* First h2 doesn't need huge top margin */
        .jmst-pol-wrapper h2:first-of-type {
            margin-top: 10px;
        }

        .jmst-pol-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }

        /* Intro Highlight Box */
        .jmst-intro-box {
            background-color: #f8fafc;
            border-left: 4px solid #1a4d7c;
            padding: 15px 20px;
            margin-bottom: 20px;
            border-radius: 0 6px 6px 0;
            color: #1e293b;
        }

        /* Interactive Accordion Styles */
        .jmst-pol-accordion {
            margin-bottom: 30px;
        }

        .jmst-pol-accordion details {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .jmst-pol-accordion details[open] {
            border-color: #1a4d7c;
            box-shadow: 0 3px 10px rgba(26, 77, 124, 0.1);
        }

        .jmst-pol-accordion summary {
            padding: 16px 20px;
            font-weight: 600;
            font-size: 1.05em;
            cursor: pointer;
            background-color: #f1f5f9;
            color: #0f172a;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 4px solid transparent;
        }

        .jmst-pol-accordion summary:hover {
            background-color: #e2e8f0;
            border-left: 4px solid #94a3b8;
        }
        
        .jmst-pol-accordion details[open] summary {
            background-color: #f0f7ff;
            border-left: 4px solid #1a4d7c;
            color: #1a4d7c;
            border-bottom: 1px solid #e2e8f0;
        }

        .jmst-pol-accordion summary::-webkit-details-marker {
            display: none;
        }

        .jmst-pol-accordion summary::after {
            content: "+";
            font-size: 1.5em;
            font-weight: normal;
            color: #64748b;
            transition: transform 0.3s ease;
        }

        .jmst-pol-accordion details[open] summary::after {
            content: "−";
            transform: rotate(180deg);
            color: #1a4d7c;
        }

        .jmst-pol-content {
            padding: 20px;
            background-color: #ffffff;
        }

        /* Specific Highlight Cards within Accordions */
        .jmst-alert-box {
            background-color: #fef2f2;
            border: 1px solid #fecaca;
            border-left: 4px solid #ef4444;
            padding: 15px;
            border-radius: 4px;
            margin-top: 15px;
        }

        .jmst-alert-box h4 {
            color: #b91c1c;
            margin-top: 0;
            margin-bottom: 10px;
        }
        
        .jmst-alert-box ul {
            margin: 0;
            padding-left: 20px;
            color: #7f1d1d;
        }

        .jmst-success-box {
            background-color: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-left: 4px solid #22c55e;
            padding: 15px;
            border-radius: 4px;
            margin-top: 15px;
        }

        .jmst-success-box h4 {
            color: #166534;
            margin-top: 0;
            margin-bottom: 10px;
        }

/*Publishing Schedule*/
.jmst-pub-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-pub-wrapper h2 {
            color: #1a4d7c;
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .jmst-pub-wrapper h3 {
            color: #2c3e50;
            font-size: 1.2em;
            margin-top: 30px;
            margin-bottom: 15px;
        }

        .jmst-pub-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }

        /* Schedule Quick Stats Grid */
        .jmst-schedule-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin: 25px 0;
        }

        @media (min-width: 768px) {
            .jmst-schedule-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .jmst-stat-card {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-top: 4px solid #1a4d7c;
            border-radius: 6px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.04);
            transition: transform 0.3s ease;
        }

        .jmst-stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(26, 77, 124, 0.1);
        }

        .jmst-stat-title {
            color: #64748b;
            font-size: 0.9em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .jmst-stat-value {
            color: #1a4d7c;
            font-size: 1.4em;
            font-weight: 700;
            line-height: 1.2;
        }

        .jmst-workflow-list {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            padding: 20px 20px 20px 40px;
            margin-bottom: 25px;
        }

        .jmst-workflow-list li {
            margin-bottom: 8px;
            color: #334155;
        }

        /* Important Policy Notice Box */
        .jmst-policy-box {
            background-color: #fffbeb;
            border: 1px solid #fde68a;
            border-left: 5px solid #f59e0b;
            padding: 20px;
            border-radius: 6px;
            margin-top: 30px;
        }
        
        .jmst-policy-box h4 {
            margin-top: 0;
            color: #b45309;
            font-size: 1.1em;
            margin-bottom: 10px;
        }

/*Publication Ethics and Policies*/

.jmst-ethics-wrapper {
            font-family: inherit;
            color: #333;
            line-height: 1.6;
            max-width: 100%;
            margin: 0 auto;
        }

        .jmst-ethics-wrapper h2 {
            color: #1a4d7c;
            border-bottom: 2px solid #1a4d7c;
            padding-bottom: 8px;
            margin-top: 30px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .jmst-ethics-wrapper p {
            margin-bottom: 15px;
            text-align: justify;
        }
        
        .jmst-ethics-wrapper ul {
            margin-top: 5px;
            margin-bottom: 15px;
            padding-left: 20px;
        }

        .jmst-ethics-wrapper li {
            margin-bottom: 8px;
        }

        /* Highlight Boxes */
        .jmst-cope-box {
            background-color: #f0f7ff;
            border-left: 4px solid #1a4d7c;
            padding: 15px 20px;
            margin-bottom: 25px;
            border-radius: 0 6px 6px 0;
            color: #1e293b;
        }
        
        .jmst-statement-box {
            background-color: #f8fafc;
            border: 1px solid #cbd5e1;
            padding: 12px 15px;
            border-radius: 4px;
            font-family: monospace;
            font-size: 1.1em;
            color: #0f172a;
            margin: 10px 0;
            text-align: center;
        }

        /* Interactive Accordion Styles */
        .jmst-ethics-accordion {
            margin-bottom: 30px;
        }

        .jmst-ethics-accordion details {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            margin-bottom: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .jmst-ethics-accordion details[open] {
            border-color: #1a4d7c;
            box-shadow: 0 3px 10px rgba(26, 77, 124, 0.1);
        }

        .jmst-ethics-accordion summary {
            padding: 16px 20px;
            font-weight: 600;
            font-size: 1.05em;
            cursor: pointer;
            background-color: #f8fafc;
            color: #0f172a;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 4px solid transparent;
        }

        .jmst-ethics-accordion summary:hover {
            background-color: #f1f5f9;
            border-left: 4px solid #94a3b8;
        }
        
        .jmst-ethics-accordion details[open] summary {
            background-color: #f0f7ff;
            border-left: 4px solid #1a4d7c;
            color: #1a4d7c;
            border-bottom: 1px solid #e2e8f0;
        }

        .jmst-ethics-accordion summary::-webkit-details-marker {
            display: none;
        }

        .jmst-ethics-accordion summary::after {
            content: "+";
            font-size: 1.5em;
            font-weight: normal;
            color: #64748b;
            transition: transform 0.3s ease;
        }

        .jmst-ethics-accordion details[open] summary::after {
            content: "−";
            transform: rotate(180deg);
            color: #1a4d7c;
        }

        .jmst-ethics-content {
            padding: 20px;
            background-color: #ffffff;
        }
        
        .jmst-ethics-content p:last-child {
            margin-bottom: 0;
        }