/* tjmm.css */

/* ==========================================================================
   1. HARD STRUCTURAL RESET
   Neutralize inherited OJS layout constraints unconditionally.
   ========================================================================== */

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

.pkp_structure_page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Global sizing and responsive media rules */
*, *::before, *::after {
    box-sizing: border-box;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

/* Strip all default widths, max-widths, and padding from parent wrappers */
.has_site_logo .pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_structure_head,
.pkp_structure_footer_wrapper,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Neutralize inherited OJS absolute positioning on site title and logo */
.pkp_site_name,
.pkp_site_name_wrapper,
.has_site_logo .pkp_site_name {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    float: none !important;
    overflow: visible !important;
    white-space: normal !important;
}

/* Remove decorative float borders from parent */
.pkp_structure_main::before,
.pkp_structure_main::after {
    display: none !important;
}

/* Constrain all inner pages (non-homepage) to a centralized 1280px container */
body:not(.pkp_page_index) .pkp_structure_main {
    max-width: 1280px !important;
    margin: 60px auto !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. TJMM BASE LAYOUT SYSTEM
   ========================================================================== */

/* Universal container for 1280px */
.tjmm-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ==========================================================================
   3. TYPOGRAPHY & COLORS
   ========================================================================== */
:root {
    --tjmm-navy: #152542;
    --tjmm-medical-blue: #0A527A;
    --tjmm-accent: #B69156;
    --tjmm-bg-light: #F8F9FA;
    --tjmm-white: #FFFFFF;
    --tjmm-text-dark: #2C3E50;
    --tjmm-text-muted: #64748B;
    --tjmm-border: #E2E8F0;
    --tjmm-radius-lg: 12px;
    
    --tjmm-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--tjmm-font);
    color: var(--tjmm-text-dark);
    background-color: var(--tjmm-bg-light);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.tjmm-site-header {
    background: var(--tjmm-white) !important;
    border-bottom: 1px solid var(--tjmm-border) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tjmm-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.tjmm-journal-brand {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-right: 48px !important;
}

.tjmm-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.tjmm-logo-mark {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--tjmm-navy);
    border: 3px solid var(--tjmm-navy);
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1;
}

.tjmm-logo-text {
    display: flex;
    flex-direction: column;
}

.tjmm-logo-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--tjmm-navy);
    line-height: 1.2;
}

.tjmm-logo-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--tjmm-medical-blue);
}

.tjmm-brand-logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Mobile-only elements hidden by default on desktop */
.tjmm-nav-toggle {
    display: none !important;
}

.tjmm-mobile-nav-extras {
    display: none !important;
}

.tjmm-submenu-toggle {
    display: none !important;
}

.tjmm-nav-backdrop {
    display: none !important;
}

/* Primary Navigation */
.tjmm-nav-bar {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.tjmm-primary-nav-list {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 32px !important;
}

.tjmm-primary-nav-list a {
    color: var(--tjmm-navy);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tjmm-primary-nav-list a:hover {
    color: var(--tjmm-medical-blue);
}

/* Header Actions */
.tjmm-header-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-shrink: 0;
    margin-left: 32px;
}

.tjmm-search-link {
    color: var(--tjmm-navy);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tjmm-search-link:hover {
    color: var(--tjmm-medical-blue);
}

/* User Menu */
.tjmm-user-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 16px;
    align-items: center;
}

.tjmm-user-menu li {
    margin: 0;
    padding: 0;
}

.tjmm-user-menu a {
    color: var(--tjmm-text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.tjmm-user-menu a:hover {
    color: var(--tjmm-medical-blue);
}

/* Dropdowns for primary nav */
.tjmm-primary-nav-list li {
    position: relative;
}

.tjmm-primary-nav-list ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--tjmm-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--tjmm-border);
    border-radius: 4px;
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.tjmm-primary-nav-list li:hover > ul {
    display: block;
}

.tjmm-primary-nav-list ul li {
    padding: 0;
}

.tjmm-primary-nav-list ul a {
    padding: 8px 20px;
    display: block;
    font-weight: 500;
    font-size: 14px;
}

.tjmm-primary-nav-list ul a:hover {
    background: var(--tjmm-bg-light);
}

/* Dropdowns for user menu */
.tjmm-user-menu li {
    position: relative;
}

.tjmm-user-menu ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--tjmm-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--tjmm-border);
    border-radius: 4px;
    min-width: 150px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.tjmm-user-menu li:hover > ul {
    display: block;
}

.tjmm-user-menu ul li {
    padding: 0;
}

.tjmm-user-menu ul a {
    padding: 8px 20px;
    display: block;
    font-weight: 500;
}

.tjmm-user-menu ul a:hover {
    background: var(--tjmm-bg-light);
}

.tjmm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.4;
    white-space: nowrap;
}

.tjmm-btn--sm {
    padding: 6px 14px;
    font-size: 13px;
    min-height: 36px;
    border-radius: 5px;
}

.tjmm-btn-icon {
    margin-right: 8px;
}

.tjmm-btn--primary {
    background: var(--tjmm-navy);
    color: var(--tjmm-white);
    border: 1px solid var(--tjmm-navy);
}

.tjmm-btn--primary:hover {
    background: var(--tjmm-medical-blue);
    border-color: var(--tjmm-medical-blue);
    color: var(--tjmm-white);
}

.tjmm-btn--outline {
    background: transparent;
    color: var(--tjmm-navy);
    border: 1px solid var(--tjmm-navy);
}

.tjmm-btn--outline:hover {
    background: var(--tjmm-bg-light);
}

.tjmm-btn--outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--tjmm-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tjmm-btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--tjmm-white);
}

.tjmm-btn--block {
    display: flex;
    width: 100%;
}


/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.tjmm-hero {
    background: linear-gradient(135deg, var(--tjmm-navy) 0%, var(--tjmm-medical-blue) 100%);
    padding: 80px 0 100px; /* height ~360-450px depending on content */
    position: relative;
    overflow: hidden;
}

/* Subtle scientific abstract background via CSS */
.tjmm-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(182, 145, 86, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.tjmm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tjmm-hero-badge {
    color: var(--tjmm-accent);
    font-weight: 700;
    font-size: clamp(11px, 1.2vw, 13px);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
    display: inline-block;
}

.tjmm-hero-title {
    font-size: clamp(24px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--tjmm-white);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 18px 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.tjmm-hero-desc {
    font-size: clamp(15px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 660px;
}

.tjmm-hero-actions {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   6. TRUST BAND
   ========================================================================== */
.tjmm-trust-band {
    background: var(--tjmm-white);
    border-bottom: 1px solid var(--tjmm-border);
    padding: 24px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.tjmm-trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.tjmm-trust-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--tjmm-border);
}

.tjmm-trust-item:last-child {
    border-right: none;
}

.tjmm-trust-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.tjmm-trust-label {
    display: block;
    font-size: 14px;
    color: var(--tjmm-text-muted);
}

/* ==========================================================================
   7. MAIN CONTENT (GRID LAYOUT)
   ========================================================================== */
.tjmm-homepage-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 48px 0 80px;
}

.tjmm-homepage-main {
    min-width: 0;
    overflow: hidden;
}

.tjmm-homepage-sidebar {
    min-width: 0;
    overflow: hidden;
}

/* ==========================================================================
   8. CURRENT ISSUE
   ========================================================================== */
.tjmm-current-issue-card {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 48px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.tjmm-issue-meta-panel {
    display: flex;
    gap: 32px;
}

.tjmm-issue-cover {
    width: 180px;
    flex-shrink: 0;
}

.tjmm-issue-cover img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tjmm-issue-info {
    flex: 1;
}

.tjmm-issue-badge {
    display: inline-block;
    color: var(--tjmm-medical-blue);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tjmm-issue-identification {
    font-size: 32px;
    font-weight: 800;
    color: var(--tjmm-navy);
    margin: 0 0 12px 0;
}

.tjmm-issue-date {
    font-size: 15px;
    color: var(--tjmm-text-muted);
    margin: 0 0 24px 0;
}

.tjmm-issue-cover--placeholder {
    background: linear-gradient(135deg, var(--tjmm-bg-light) 0%, #e2e8f0 100%);
    border: 1px solid var(--tjmm-border);
    border-radius: 4px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tjmm-issue-cover-placeholder-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-decoration: none;
    color: var(--tjmm-navy);
}

.tjmm-issue-cover-placeholder-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--tjmm-medical-blue);
}

.tjmm-issue-cover-placeholder-issue {
    font-size: 14px;
    font-weight: 600;
    color: var(--tjmm-text-muted);
}

/* ==========================================================================
   9. ARTICLES
   ========================================================================== */
.tjmm-article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Section Header */
.tjmm-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.tjmm-section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--tjmm-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tjmm-section-title-accent {
    width: 4px;
    height: 28px;
    background: var(--tjmm-medical-blue);
    border-radius: 2px;
    display: inline-block;
}

.tjmm-section-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--tjmm-medical-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.tjmm-section-more:hover {
    color: var(--tjmm-navy);
}

.tjmm-article-card {
    background: transparent;
    border-bottom: 1px solid var(--tjmm-bg-light);
    padding: 24px 0;
    transition: background 0.2s ease;
}

.tjmm-article-card:last-child {
    border-bottom: none;
}

.tjmm-article-card:hover {
    background: var(--tjmm-bg-light);
    border-radius: 6px;
    padding: 24px 16px;
    margin: 0 -16px;
}

.tjmm-article-section-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--tjmm-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tjmm-article-title {
    font-size: 22px; /* 20-22px */
    font-weight: 700;
    color: var(--tjmm-navy);
    line-height: 1.3;
    margin: 0 0 12px 0;
    text-decoration: none;
}

.tjmm-article-title a {
    color: inherit;
    text-decoration: none;
}

.tjmm-article-title a:hover {
    color: var(--tjmm-medical-blue);
}

.tjmm-article-authors {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--tjmm-text-dark);
    margin-bottom: 8px;
}

.tjmm-article-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--tjmm-text-muted);
    margin-bottom: 16px;
}

.tjmm-galley-list {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tjmm-galley-item a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    background: var(--tjmm-bg-light);
    color: var(--tjmm-navy);
    border: 1px solid var(--tjmm-border);
    transition: all 0.2s ease;
}

.tjmm-galley-item a:hover {
    background: var(--tjmm-medical-blue);
    color: var(--tjmm-white);
    border-color: var(--tjmm-medical-blue);
}

/* ==========================================================================
   10. SIDEBAR
   ========================================================================== */
.tjmm-sidebar-card {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.tjmm-sidebar-card-title {
    background: var(--tjmm-bg-light);
    padding: 16px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--tjmm-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--tjmm-border);
}

/* Submit CTA Card */
.tjmm-cta-card {
    background: linear-gradient(135deg, var(--tjmm-navy) 0%, #1a3259 100%);
    border-color: var(--tjmm-navy);
    color: var(--tjmm-white);
    padding: 28px 24px;
    text-align: center;
}

.tjmm-cta-card .tjmm-sidebar-card-title {
    background: transparent;
    color: var(--tjmm-white);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}

.tjmm-cta-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.tjmm-cta-card .tjmm-btn--primary {
    background: var(--tjmm-accent);
    border-color: var(--tjmm-accent);
    color: var(--tjmm-white);
    margin-bottom: 10px;
}

.tjmm-cta-card .tjmm-btn--primary:hover {
    background: #cba871;
    border-color: #cba871;
}

.tjmm-cta-card .tjmm-btn--outline {
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.3);
    background: transparent;
}

.tjmm-cta-card .tjmm-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    color: var(--tjmm-white);
    border-color: rgba(255,255,255,0.5);
}

/* ISSN Info Card */
.tjmm-issn-card {
    padding: 0;
}

.tjmm-issn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid var(--tjmm-bg-light);
}

.tjmm-issn-item:last-child {
    border-bottom: none;
}

.tjmm-issn-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--tjmm-medical-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tjmm-issn-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--tjmm-navy);
    font-family: 'SF Mono', 'Menlo', 'Monaco', monospace;
}

.tjmm-sidebar-title {
    background: var(--tjmm-bg-light);
    padding: 16px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--tjmm-navy);
    text-transform: uppercase;
    border-bottom: 1px solid var(--tjmm-border);
}

.tjmm-quick-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tjmm-quick-links li {
    border-bottom: 1px solid var(--tjmm-bg-light);
}

.tjmm-quick-links li:last-child {
    border-bottom: none;
}

.tjmm-quick-links a {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    color: var(--tjmm-text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tjmm-quick-links a:hover {
    background: var(--tjmm-bg-light);
    color: var(--tjmm-medical-blue);
    padding-left: 24px;
}

/* Sidebar Submit CTA */
.tjmm-sidebar-cta {
    background: var(--tjmm-navy);
    color: var(--tjmm-white);
    padding: 32px 24px;
    border-radius: 6px;
    text-align: center;
}

.tjmm-sidebar-cta h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--tjmm-white);
}

.tjmm-sidebar-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px 0;
}

.tjmm-sidebar-cta .tjmm-btn {
    background: var(--tjmm-accent);
    color: var(--tjmm-white);
    border: none;
    width: 100%;
}

.tjmm-sidebar-cta .tjmm-btn:hover {
    background: #cba871;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.tjmm-footer {
    background: var(--tjmm-navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 64px 0 24px;
    margin-top: 64px;
}

.tjmm-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.tjmm-footer-col--brand .tjmm-footer-abbr {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
}

.tjmm-footer-col--brand .tjmm-footer-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.tjmm-footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.tjmm-footer h3,
.tjmm-footer h4,
.tjmm-footer-heading {
    color: var(--tjmm-white);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tjmm-footer ul,
.tjmm-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tjmm-footer li {
    margin-bottom: 10px;
}

.tjmm-footer a,
.tjmm-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.tjmm-footer a:hover,
.tjmm-footer-links a:hover {
    color: var(--tjmm-white);
}

.tjmm-footer-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 8px 0;
}

.tjmm-footer-meta-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tjmm-footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tjmm-accent) !important;
}

.tjmm-footer-contact-link:hover {
    color: #ffffff !important;
}

.tjmm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.tjmm-footer-bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
/* Tablet & Small Desktop (<= 1024px) */
@media (max-width: 1024px) {
    .tjmm-header-inner {
        padding: 0 24px !important;
    }
    .tjmm-journal-brand {
        margin-right: 28px !important;
    }
    .tjmm-primary-nav-list {
        gap: 20px !important;
    }
    .tjmm-homepage-layout {
        grid-template-columns: 1fr;
    }

    .tjmm-homepage-sidebar {
        max-width: 100%;
    }
    
    .tjmm-hero-title {
        font-size: 34px;
    }
    
    .tjmm-trust-grid {
        flex-wrap: wrap;
    }
    
    .tjmm-trust-item {
        min-width: 200px;
        margin-bottom: 16px;
        border-right: none;
    }
    
    .tjmm-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Desktop Only (>= 769px) */
@media (min-width: 769px) {
    .tjmm-journal-brand {
        margin-right: 48px !important;
    }
    .tjmm-primary-nav-list {
        gap: 32px !important;
    }
    .tjmm-mobile-nav-extras {
        display: none !important;
    }
    .tjmm-submenu-toggle {
        display: none !important;
    }
    .tjmm-nav-toggle {
        display: none !important;
    }
    .tjmm-nav-backdrop {
        display: none !important;
    }
}

/* Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
    body:not(.pkp_page_index) .pkp_structure_main {
        margin: 24px auto !important;
        padding: 0 16px !important;
    }

    .tjmm-container {
        padding: 0 16px;
    }

    .tjmm-site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--tjmm-white);
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    }

    /* Fixed single-row header bar on mobile: Never wraps, never shifts height */
    .tjmm-header-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 0 16px !important;
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* Mobile Hamburger Toggle: Touch target >= 44x44px */
    .tjmm-nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 8px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        order: 1 !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
        transition: background 0.2s ease !important;
        z-index: 10001 !important;
    }

    .tjmm-nav-toggle:hover,
    .tjmm-nav-toggle.is-active {
        background: #f1f5f9 !important;
    }

    .tjmm-nav-toggle__bar {
        width: 20px;
        height: 2px;
        background: var(--tjmm-navy);
        margin: 2.5px 0;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .tjmm-nav-toggle.is-active .tjmm-nav-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .tjmm-nav-toggle.is-active .tjmm-nav-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .tjmm-nav-toggle.is-active .tjmm-nav-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Brand Logo / Title: Anchored securely in top row, NEVER overlaps menu items */
    .tjmm-journal-brand {
        order: 2 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 1 1 auto !important;
        margin: 0 8px !important;
        padding: 0 !important;
        height: 100% !important;
        max-height: 60px !important;
        min-width: 0 !important;
        overflow: hidden !important;
        z-index: 10001 !important;
    }

    .tjmm-brand-logo {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        height: 100% !important;
    }

    .tjmm-brand-logo img {
        height: 36px !important;
        max-height: 36px !important;
        width: auto !important;
        max-width: 150px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .tjmm-brand-custom {
        gap: 8px !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }

    .tjmm-logo-mark {
        font-size: 14px !important;
        font-weight: 900 !important;
        padding: 3px 6px !important;
        border: 2px solid var(--tjmm-navy) !important;
        border-radius: 4px !important;
        flex-shrink: 0 !important;
        color: var(--tjmm-navy) !important;
        line-height: 1 !important;
    }

    .tjmm-logo-text {
        min-width: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .tjmm-logo-title {
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        color: var(--tjmm-navy) !important;
    }

    .tjmm-logo-subtitle {
        font-size: 10px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        color: var(--tjmm-medical-blue) !important;
    }

    /* Top Row Action Area: Compact Search & Submit button */
    .tjmm-header-actions {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        z-index: 10001 !important;
    }

    /* Hide desktop user menu from the top bar row (handled inside the drawer) */
    .tjmm-header-actions .tjmm-user-actions {
        display: none !important;
    }

    .tjmm-search-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 16px !important;
        color: var(--tjmm-navy) !important;
        padding: 0 !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        transition: background 0.2s ease, color 0.2s ease !important;
    }

    .tjmm-search-link:hover,
    .tjmm-search-link:active {
        color: var(--tjmm-medical-blue) !important;
        background: #f1f5f9 !important;
    }

    #submitManuscriptBtn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 36px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        background: var(--tjmm-navy) !important;
        color: #ffffff !important;
        border: 1px solid var(--tjmm-navy) !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    #submitManuscriptBtn:hover,
    #submitManuscriptBtn:active {
        background: var(--tjmm-medical-blue) !important;
        border-color: var(--tjmm-medical-blue) !important;
        color: #ffffff !important;
    }

    /* Mobile Navigation Drawer: Positions cleanly BELOW the 60px header row */
    .tjmm-nav-bar {
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        border-top: 1px solid var(--tjmm-border) !important;
        border-bottom: 2px solid var(--tjmm-navy) !important;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16) !important;
        padding: 12px 20px 24px !important;
        padding-left: max(20px, env(safe-area-inset-left)) !important;
        padding-right: max(20px, env(safe-area-inset-right)) !important;
        padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
        box-sizing: border-box !important;
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        margin: 0 !important;
        border-radius: 0 0 12px 12px !important;
        display: none;
    }

    .tjmm-nav-bar.is-open {
        display: block !important;
        animation: tjmmNavDropdown 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* Mobile Drawer Backdrop */
    .tjmm-nav-backdrop {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 60px) !important;
        background: rgba(15, 23, 42, 0.45) !important;
        -webkit-backdrop-filter: blur(2px) !important;
        backdrop-filter: blur(2px) !important;
        z-index: 9998 !important;
        display: none;
        opacity: 0;
        transition: opacity 0.2s ease !important;
    }

    .tjmm-nav-backdrop.is-active,
    body.tjmm-menu-open .tjmm-nav-backdrop {
        display: block !important;
        opacity: 1 !important;
    }

    /* Primary Navigation Links inside Drawer */
    .tjmm-primary-nav-list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .tjmm-primary-nav-list > li {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .tjmm-primary-nav-list > li > a {
        display: flex !important;
        align-items: center !important;
        min-height: 48px !important;
        padding: 12px 4px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: var(--tjmm-navy) !important;
        text-decoration: none !important;
        flex: 1 !important;
        transition: color 0.15s ease !important;
    }

    .tjmm-primary-nav-list > li > a:hover,
    .tjmm-primary-nav-list > li > a:active {
        color: var(--tjmm-medical-blue) !important;
    }

    /* Submenu Toggle Button inside Drawer (touch target >= 44x44px) */
    .tjmm-submenu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        color: var(--tjmm-medical-blue) !important;
        font-size: 15px !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }

    li.submenu-open > .tjmm-submenu-toggle {
        transform: rotate(180deg) !important;
        color: var(--tjmm-navy) !important;
    }

    /* Expandable Submenu inside Drawer */
    .tjmm-primary-nav-list li > ul {
        display: none;
        width: 100% !important;
        background: #f8fafc !important;
        border-left: 3px solid var(--tjmm-medical-blue) !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        border-right: none !important;
        border-radius: 0 6px 6px 0 !important;
        padding: 6px 12px !important;
        margin: 4px 0 12px !important;
        list-style: none !important;
        position: static !important;
        box-shadow: none !important;
    }

    li.submenu-open > ul {
        display: block !important;
        animation: tjmmSlideDown 0.2s ease-out !important;
    }

    .tjmm-primary-nav-list li > ul a {
        display: flex !important;
        align-items: center !important;
        min-height: 44px !important;
        padding: 8px 10px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #334155 !important;
        text-decoration: none !important;
    }

    .tjmm-primary-nav-list li > ul a:active {
        background: #e2e8f0 !important;
        border-radius: 4px !important;
    }

    /* Mobile Drawer Extras: Consistent Auth buttons & Primary Submit */
    .tjmm-mobile-nav-extras {
        display: block !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
        border-top: 1px solid var(--tjmm-border) !important;
    }

    .tjmm-mobile-user-links {
        display: flex !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    .tjmm-mobile-user-links .tjmm-btn {
        flex: 1 1 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 44px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        border: 1.5px solid var(--tjmm-navy) !important;
        color: var(--tjmm-navy) !important;
        background: #ffffff !important;
        text-decoration: none !important;
        gap: 8px !important;
        transition: all 0.2s ease !important;
    }

    .tjmm-mobile-user-links .tjmm-btn:hover,
    .tjmm-mobile-user-links .tjmm-btn:active {
        background: #f1f5f9 !important;
        color: var(--tjmm-navy) !important;
    }

    .tjmm-mobile-nav-submit {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 18px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        background: var(--tjmm-navy) !important;
        color: #ffffff !important;
        text-decoration: none !important;
        gap: 8px !important;
        border: 1px solid var(--tjmm-navy) !important;
        box-shadow: 0 4px 14px rgba(21, 37, 66, 0.25) !important;
        transition: all 0.2s ease !important;
    }

    .tjmm-mobile-nav-submit:hover,
    .tjmm-mobile-nav-submit:active {
        background: var(--tjmm-medical-blue) !important;
        border-color: var(--tjmm-medical-blue) !important;
        color: #ffffff !important;
    }

    /* Hero Section Responsive */
    .tjmm-hero {
        padding: clamp(32px, 5vw, 48px) 0 clamp(40px, 6vw, 56px) !important;
    }

    .tjmm-hero-content {
        max-width: 100% !important;
    }

    .tjmm-hero-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
        margin-bottom: 12px !important;
    }

    .tjmm-hero-title {
        font-size: clamp(22px, 5.5vw, 28px) !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.3px !important;
    }

    .tjmm-hero-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 22px !important;
        max-width: 100% !important;
    }

    .tjmm-hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .tjmm-hero-actions .tjmm-btn {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
        font-size: 14px !important;
    }

    /* Trust Grid Responsive */
    .tjmm-trust-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .tjmm-trust-item {
        min-width: 0 !important;
        padding: 14px 10px !important;
        margin: 0 !important;
        border: 1px solid var(--tjmm-border) !important;
        background: var(--tjmm-white) !important;
        border-radius: 8px !important;
        text-align: center !important;
    }

    /* Last odd trust item spans full width for visual balance */
    .tjmm-trust-item:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }

    .tjmm-trust-icon {
        margin: 0 auto 8px !important;
    }

    /* Current Issue Card Responsive */
    .tjmm-current-issue-card {
        padding: 20px 16px !important;
    }

    .tjmm-issue-meta-panel {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }

    .tjmm-issue-cover {
        width: 100% !important;
        max-width: 150px !important;
        margin: 0 auto !important;
    }

    .tjmm-issue-identification {
        font-size: clamp(20px, 4vw, 26px) !important;
        line-height: 1.3 !important;
    }

    .tjmm-issue-actions .tjmm-btn {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
    }

    /* Article Summary Card Responsive - 2-Column Grid */
    .tjmm-article-list,
    .cmp_article_list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    /* Last odd article spans full width for visual balance */
    .tjmm-article-list > .tjmm-article-card:last-child:nth-child(odd),
    .cmp_article_list > li:last-child:nth-child(odd),
    .cmp_article_list > .obj_article_summary:last-child:nth-child(odd) {
        grid-column: 1 / -1 !important;
    }

    .tjmm-article-card {
        padding: 16px !important;
        background: var(--tjmm-white) !important;
        border: 1px solid var(--tjmm-border) !important;
        border-radius: 8px !important;
        border-bottom: 1px solid var(--tjmm-border) !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
    }

    .tjmm-article-card:hover {
        margin: 0 !important;
        padding: 16px !important;
    }

    .tjmm-article-title {
        font-size: clamp(14px, 3.2vw, 17px) !important;
        line-height: 1.35 !important;
    }

    .tjmm-article-authors {
        font-size: 13px !important;
    }

    .tjmm-article-meta {
        flex-wrap: wrap !important;
        gap: 4px 8px !important;
        align-items: center !important;
        font-size: 12px !important;
    }

    .tjmm-galley-list {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .tjmm-galley-item {
        width: 100% !important;
    }

    .tjmm-galley-item .galley_link {
        width: 100% !important;
        min-height: 40px !important;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 12px !important;
    }

    /* Sidebar on mobile - full width, clean layout */
    .tjmm-homepage-sidebar {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .tjmm-sidebar-card {
        border-radius: 8px !important;
    }

    /* Footer Responsive */
    .tjmm-footer {
        padding: 40px 0 24px !important;
        margin-top: 40px !important;
    }

    .tjmm-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .tjmm-footer-col--brand .tjmm-footer-abbr {
        font-size: 22px !important;
    }

    .tjmm-footer-links li {
        margin-bottom: 8px !important;
    }

    .tjmm-footer-links a {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 36px !important;
        padding: 4px 0 !important;
    }

    .tjmm-footer-bottom-inner {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }
}

/* Extra Small Devices (<= 480px) */
@media (max-width: 480px) {
    .tjmm-trust-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .tjmm-logo-subtitle {
        display: none !important;
    }
    .tjmm-hero-title {
        font-size: clamp(20px, 5.5vw, 24px) !important;
    }
    .tjmm-current-issue-card,
    .tjmm-article-card {
        padding: 16px 12px !important;
    }
}

/* Tiny Devices (<= 360px - e.g. iPhone SE 1st gen) */
@media (max-width: 360px) {
    .tjmm-container {
        padding: 0 10px !important;
    }
    .tjmm-header-inner {
        padding: 0 10px !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }
    .tjmm-nav-bar {
        top: 56px !important;
        padding: 10px 14px 20px !important;
    }
    .tjmm-nav-backdrop {
        top: 56px !important;
    }
    .tjmm-brand-logo img {
        height: 30px !important;
        max-height: 30px !important;
        max-width: 120px !important;
    }
    .tjmm-nav-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    .tjmm-search-link {
        min-width: 38px !important;
        min-height: 38px !important;
        font-size: 15px !important;
    }
    #submitManuscriptBtn {
        min-height: 32px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
    }
    .tjmm-trust-grid {
        grid-template-columns: 1fr !important;
    }
    .tjmm-mobile-user-links {
        flex-direction: column !important;
        gap: 8px !important;
    }
}

@keyframes tjmmNavDropdown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tjmmSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   13. AUTH PAGES (LOGIN / REGISTER)
   ========================================================================== */
.tjmm-auth-page {
    background: var(--tjmm-bg-light);
    min-height: 80vh;
    padding: 48px 20px 72px;
}

.tjmm-auth-container {
    max-width: 480px;
    margin: 0 auto;
}

.tjmm-auth-container--wide {
    max-width: 900px;
}

.tjmm-auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.tjmm-auth-brand-link {
    display: inline-block;
    text-decoration: none;
}

.tjmm-auth-logo {
    max-height: 80px;
    margin: 0 auto;
    display: block;
}

.tjmm-auth-abbr {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #0d233a;
    letter-spacing: -1px;
}

/* Registration Hero Header Banner */
.tjmm-register-hero-banner {
    background: linear-gradient(135deg, #0d233a 0%, #0A527A 100%);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 32px 40px;
    border-bottom: 3px solid var(--tjmm-accent);
    box-shadow: 0 4px 16px rgba(13, 35, 58, 0.08);
}

.tjmm-register-badge {
    display: inline-block;
    background: rgba(182, 145, 86, 0.2);
    border: 1px solid rgba(182, 145, 86, 0.5);
    color: #e6c896;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.tjmm-register-main-title {
    font-size: clamp(24px, 3vw, 30px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -0.4px !important;
}

.tjmm-register-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    margin: 0;
    max-width: 720px;
}

.tjmm-auth-card {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: var(--tjmm-radius-lg);
    padding: 36px;
    box-shadow: 0 8px 24px rgba(13, 35, 58, 0.05);
}

.tjmm-register-card {
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 36px 40px 44px;
}

.tjmm-register-card-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tjmm-border);
}

.tjmm-register-card-topbar .cmp_breadcrumbs {
    margin-bottom: 0 !important;
}

.tjmm-auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0d233a;
    margin: 0 0 6px;
}

.tjmm-auth-required-note {
    font-size: 13px;
    font-weight: 500;
    color: var(--tjmm-text-muted);
    margin: 0;
}

.tjmm-req-star {
    color: #dc2626;
    font-weight: 700;
    margin-left: 2px;
}

.tjmm-opt-tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--tjmm-text-muted);
    margin-left: 4px;
}

.tjmm-auth-message {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0369a1;
    margin-bottom: 20px;
}

/* Section Headers (Section A & Section B) */
.tjmm-register-section {
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--tjmm-border);
}

.tjmm-register-section:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
    padding-bottom: 8px;
}

.tjmm-register-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0d233a;
    border-radius: 8px;
    padding: 16px 20px;
}

.tjmm-register-step-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #0d233a;
    color: var(--tjmm-accent);
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(13, 35, 58, 0.15);
}

.tjmm-register-section-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0d233a !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
}

.tjmm-register-section-desc {
    font-size: 13.5px;
    color: var(--tjmm-text-muted);
    margin: 0;
    line-height: 1.45;
}

/* 2-Column Desktop Grid for Form Fields */
.tjmm-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.tjmm-field {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.tjmm-auth-form:not(.tjmm-register-form) .tjmm-field {
    margin-bottom: 18px;
}

.tjmm-field--full {
    grid-column: 1 / -1;
}

/* Fieldset Reset */
.tjmm-auth-form fieldset,
.tjmm-register-form fieldset,
.tjmm-fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.tjmm-auth-form legend,
.tjmm-register-form legend,
.tjmm-sublegend {
    font-size: 14px;
    font-weight: 700;
    color: #0d233a;
    margin-bottom: 12px;
    width: 100%;
}

.tjmm-field label {
    display: block;
    font-size: 14px;
    color: var(--tjmm-text-dark);
    width: 100%;
}

.tjmm-field-label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #0d233a;
    margin-bottom: 7px;
    letter-spacing: 0.1px;
}

.tjmm-field-hint {
    display: block;
    font-size: 12px;
    color: var(--tjmm-text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

/* Inputs, Selects & Textareas */
.tjmm-input,
.tjmm-select,
.tjmm-textarea,
.tjmm-auth-form input[type="text"],
.tjmm-auth-form input[type="email"],
.tjmm-auth-form input[type="tel"],
.tjmm-auth-form input[type="password"],
.tjmm-register-form input[type="text"],
.tjmm-register-form input[type="email"],
.tjmm-register-form input[type="tel"],
.tjmm-register-form input[type="password"],
.tjmm-register-form select,
.tjmm-register-form textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14.5px;
    font-family: var(--tjmm-font);
    color: var(--tjmm-text-dark);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.tjmm-textarea,
.tjmm-register-form textarea {
    min-height: 88px;
    resize: vertical;
    line-height: 1.5;
}

.tjmm-input::placeholder,
.tjmm-textarea::placeholder {
    color: #94a3b8;
}

.tjmm-input:hover,
.tjmm-select:hover,
.tjmm-textarea:hover {
    border-color: #94a3b8;
}

.tjmm-input:focus,
.tjmm-select:focus,
.tjmm-textarea:focus,
.tjmm-auth-form input[type="text"]:focus,
.tjmm-auth-form input[type="email"]:focus,
.tjmm-auth-form input[type="tel"]:focus,
.tjmm-auth-form input[type="password"]:focus,
.tjmm-register-form input[type="text"]:focus,
.tjmm-register-form input[type="email"]:focus,
.tjmm-register-form input[type="tel"]:focus,
.tjmm-register-form input[type="password"]:focus,
.tjmm-register-form select:focus,
.tjmm-register-form textarea:focus {
    border-color: #0d233a;
    box-shadow: 0 0 0 3px rgba(13, 35, 58, 0.1);
}

/* ORCID Input Group */
.tjmm-orcid-input-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tjmm-orcid-input-wrap:focus-within {
    border-color: #0d233a;
    box-shadow: 0 0 0 3px rgba(13, 35, 58, 0.1);
}

.tjmm-orcid-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    background: #f1f5f9;
    border-right: 1px solid #cbd5e1;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tjmm-orcid-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
}

.tjmm-orcid-input:focus {
    box-shadow: none !important;
}

/* Consent & Reviewer Box */
.tjmm-consent-box {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid var(--tjmm-border);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tjmm-reviewer-fieldset {
    margin-top: 8px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.tjmm-optin {
    margin-bottom: 10px;
}

.tjmm-optin:last-child {
    margin-bottom: 0;
}

.tjmm-optin label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--tjmm-text-dark);
    cursor: pointer;
}

.tjmm-optin label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #0d233a;
    cursor: pointer;
}

.tjmm-optin a {
    color: var(--tjmm-medical-blue);
    font-weight: 600;
    text-decoration: underline;
}

.tjmm-checkbox-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.tjmm-forgot-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--tjmm-text-muted);
    text-decoration: none;
}

.tjmm-forgot-link:hover {
    color: #0d233a;
    text-decoration: underline;
}

/* Error Notification Banner */
.tjmm-form-error,
.cmp_form .pkp_form_error,
.cmp_form .pkp_form_error_list {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 4px solid #e11d48;
    border-radius: 8px;
    padding: 16px 20px;
    color: #9f1239;
    font-size: 14px;
    margin-bottom: 24px;
}

/* Buttons & Actions */
.tjmm-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.tjmm-register-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--tjmm-border);
}

.tjmm-register-submit-btn {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
    font-weight: 700;
    background: #0d233a !important;
    border-color: #0d233a !important;
    color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(13, 35, 58, 0.2);
}

.tjmm-register-submit-btn:hover {
    background: var(--tjmm-medical-blue) !important;
    border-color: var(--tjmm-medical-blue) !important;
    transform: translateY(-1px);
}

.tjmm-register-login-prompt {
    font-size: 14px;
    color: var(--tjmm-text-muted);
    text-align: center;
}

.tjmm-register-login-prompt a {
    color: #0d233a;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.tjmm-register-login-prompt a:hover {
    color: var(--tjmm-medical-blue);
    text-decoration: underline;
}

/* Mobile Responsive (1-Column Layout <= 768px) */
@media (max-width: 768px) {
    .tjmm-auth-page {
        padding: 24px 12px 48px;
    }

    .tjmm-register-hero-banner {
        padding: 24px 20px;
    }

    .tjmm-auth-card,
    .tjmm-register-card {
        padding: 24px 18px;
    }

    .tjmm-form-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .tjmm-register-section-header {
        padding: 14px 16px;
        gap: 12px;
    }

    .tjmm-orcid-input-wrap {
        flex-direction: column;
    }

    .tjmm-orcid-prefix {
        padding: 8px 12px;
        border-right: none;
        border-bottom: 1px solid #cbd5e1;
        font-size: 12px;
    }

    .tjmm-consent-box {
        padding: 16px;
    }
}

/* Login Page Specific Overrides (.tjmm-login-page) */
.page.page_login.tjmm-login-page {
    background: #f8fafc !important;
    min-height: calc(100vh - 180px) !important;
    padding: 44px 16px 72px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.tjmm-login-wrapper {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
}

.tjmm-login-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
}

.tjmm-login-topbar .cmp_breadcrumbs {
    margin-bottom: 0 !important;
    padding: 8px 14px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.tjmm-login-shell {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(13, 35, 58, 0.07) !important;
}

.tjmm-login-banner {
    background: linear-gradient(135deg, #0d233a 0%, #163656 100%) !important;
    border-bottom: 4px solid var(--tjmm-accent) !important;
    padding: 28px 36px !important;
    color: #ffffff !important;
}

.tjmm-login-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(182, 145, 86, 0.2) !important;
    border: 1px solid rgba(182, 145, 86, 0.45) !important;
    color: #f3e5ab !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
}

.tjmm-login-banner h1.tjmm-login-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.25 !important;
    letter-spacing: -0.3px !important;
}

.tjmm-login-subtitle {
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.tjmm-login-body {
    padding: 32px 36px 36px !important;
}

.page_login .cmp_form .fields > div input[type="text"],
.page_login .cmp_form .fields > div input[type="password"],
.tjmm-login-form input.tjmm-login-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

.page_login .cmp_form .buttons button.tjmm-login-submit,
button.tjmm-login-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    padding: 13px 24px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #0d233a !important;
    background-image: none !important;
    border: 1.5px solid #0d233a !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(13, 35, 58, 0.18) !important;
}

.page_login .cmp_form .buttons a.tjmm-login-register-btn,
a.tjmm-login-register-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    padding: 12px 20px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0d233a !important;
    background: #ffffff !important;
    background-image: none !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   14. INNER PAGES STYLING (Article, Archives, Search, etc.)
   ========================================================================== */

/* Breadcrumbs */
.cmp_breadcrumbs {
    margin-bottom: 24px !important;
    font-size: 13px !important;
    color: var(--tjmm-text-muted) !important;
    background: var(--tjmm-white) !important;
    border: 1px solid var(--tjmm-border) !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    display: inline-block !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}

.cmp_breadcrumbs ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
}

.cmp_breadcrumbs li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.cmp_breadcrumbs a {
    color: var(--tjmm-medical-blue) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.cmp_breadcrumbs a:hover {
    text-decoration: underline !important;
    color: var(--tjmm-navy) !important;
}

.cmp_breadcrumbs .separator {
    color: #cbd5e1 !important;
    padding: 0 2px !important;
}

.cmp_breadcrumbs .current {
    color: var(--tjmm-text-muted) !important;
    font-weight: 500 !important;
}

/* Page Titles */
.page > h1:first-of-type,
.page > h2:first-of-type {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--tjmm-navy);
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    border-bottom: 2px solid var(--tjmm-bg-light);
    padding-bottom: 16px;
}

/* ==========================================================================
   14B. ARTICLE READING PAGE — DERGIPARK-INSPIRED ACADEMIC LAYOUT
   ========================================================================== */

/* 1. Hard Reset of OJS Default Theme Float & Clearfix Pseudo-Elements */
.page_article .obj_article_details,
.obj_article_details.tjmm-dp-article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page_article .obj_article_details .row::before,
.page_article .obj_article_details .row::after,
.obj_article_details .tjmm-dp-layout::before,
.obj_article_details .tjmm-dp-layout::after {
    display: none !important;
    content: none !important;
}

.page_article .obj_article_details .main_entry,
.page_article .obj_article_details .entry_details {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border: none !important;
}

.page_article .obj_article_details .item {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* 2. 2-Column Desktop Grid (70% Main / 30% Sticky Sidebar) */
.page_article .obj_article_details .tjmm-dp-layout,
.page_article .obj_article_details .row.tjmm-dp-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr) !important;
    grid-template-areas: "header sidebar" "content sidebar" !important;
    gap: 24px 32px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 56px 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 3. Top Header Area (Main Column Top) */
.tjmm-dp-header {
    grid-area: header;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-top: 4px solid #0d233a !important;
    border-radius: 10px !important;
    padding: 32px 36px !important;
    box-shadow: 0 2px 10px rgba(13, 35, 58, 0.03) !important;
}

.tjmm-dp-topbar {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.tjmm-dp-topbar .cmp_breadcrumbs {
    margin-bottom: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.tjmm-dp-section-badge {
    display: inline-flex !important;
    align-items: center !important;
    background: #0d233a !important;
    color: #ffffff !important;
    border-left: 3px solid var(--tjmm-accent) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
}

.page_article .page_title,
.tjmm-dp-title {
    font-size: clamp(22px, 2.8vw, 30px) !important;
    font-weight: 800 !important;
    color: #0d233a !important;
    line-height: 1.35 !important;
    letter-spacing: -0.4px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    border: none !important;
}

.page_article .subtitle,
.tjmm-dp-subtitle {
    font-size: clamp(16px, 1.8vw, 19px) !important;
    font-weight: 600 !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    margin: 0 0 20px 0 !important;
}

/* Inline Author List with Superscripts & ORCID */
.tjmm-dp-authors-section {
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.page_article .item.authors .authors.tjmm-dp-author-list {
    list-style: none !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 20px !important;
}

.tjmm-dp-author-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    transition: border-color 0.2s ease !important;
}

.tjmm-dp-author-item:hover {
    border-color: var(--tjmm-accent) !important;
}

.page_article .item.authors .name.tjmm-dp-author-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0d233a !important;
    display: inline !important;
}

.tjmm-dp-aff-sup {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--tjmm-accent) !important;
    margin-left: 1px !important;
    line-height: 1 !important;
}

.page_article .item.authors .orcid.tjmm-dp-author-orcid {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 4px !important;
    line-height: 1 !important;
}

.tjmm-dp-author-orcid svg,
.tjmm-dp-author-orcid img {
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle !important;
}

.tjmm-dp-orcid-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    background: #a6ce39 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Numbered Affiliations Block Immediately Below Authors */
.tjmm-dp-affiliations-list {
    list-style: none !important;
    margin: 12px 0 0 0 !important;
    padding: 12px 16px !important;
    background: #fcfcfd !important;
    border-left: 3px solid #cbd5e1 !important;
    border-radius: 0 6px 6px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.tjmm-dp-affiliation-row {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    margin: 0 !important;
}

.tjmm-dp-aff-index {
    font-weight: 700 !important;
    color: #0d233a !important;
    font-size: 11px !important;
    min-width: 12px !important;
}

/* 4. Main Content Column (Left 70%) */
.page_article .obj_article_details .main_entry.tjmm-dp-content {
    grid-area: content;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 36px !important;
    box-shadow: 0 2px 10px rgba(13, 35, 58, 0.03) !important;
}

/* DOI Box */
.page_article .item.doi.tjmm-dp-doi-box {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    border-left: 4px solid var(--tjmm-accent) !important;
    border-radius: 6px !important;
    padding: 12px 18px !important;
    margin-bottom: 28px !important;
}

.tjmm-dp-doi-label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0d233a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

.tjmm-dp-doi-label .fa {
    color: var(--tjmm-accent) !important;
}

.tjmm-dp-doi-value a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--tjmm-medical-blue) !important;
    text-decoration: none !important;
    word-break: break-all !important;
}

.tjmm-dp-doi-value a:hover {
    color: #0d233a !important;
    text-decoration: underline !important;
}

/* Content Sections (Abstract, Keywords, References) */
.tjmm-dp-section {
    margin-bottom: 28px !important;
}

.tjmm-dp-section:last-child {
    margin-bottom: 0 !important;
}

.tjmm-dp-section-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0d233a !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    position: relative !important;
    letter-spacing: -0.2px !important;
}

.tjmm-dp-section-title::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -2px !important;
    width: 48px !important;
    height: 2px !important;
    background: var(--tjmm-accent) !important;
}

.tjmm-dp-subsection-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #0d233a !important;
    margin: 0 0 10px 0 !important;
}

.tjmm-dp-abstract-text,
.tjmm-dp-abstract-text p {
    font-size: 15.5px !important;
    line-height: 1.8 !important;
    color: #1e293b !important;
    text-align: justify !important;
    margin: 0 0 14px 0 !important;
}

.tjmm-dp-abstract-text p:last-child {
    margin-bottom: 0 !important;
}

/* Keywords Pills */
.tjmm-dp-keywords-section {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px dashed #e5e7eb !important;
}

.tjmm-dp-keywords-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.tjmm-dp-keyword-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0d233a !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.tjmm-dp-keyword-pill:hover {
    background: #0d233a !important;
    border-color: var(--tjmm-accent) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Horizontal Divider */
.tjmm-dp-divider {
    border: 0 !important;
    border-top: 1px solid #e5e7eb !important;
    margin: 32px 0 !important;
}

/* References List */
.tjmm-dp-references-body {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
}

.tjmm-dp-references-list {
    margin: 0 !important;
    padding-left: 22px !important;
}

.tjmm-dp-references-list li {
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f8fafc !important;
}

.tjmm-dp-references-list li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.tjmm-dp-references-raw {
    line-height: 1.75 !important;
}

/* Author Biographies */
.tjmm-dp-bios-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.tjmm-dp-bio-name {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #0d233a !important;
    margin-bottom: 4px !important;
}

.tjmm-dp-bio-text {
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
}

/* 5. Sticky Sidebar Column (Right 30%) */
.page_article .obj_article_details .entry_details.tjmm-dp-sidebar {
    grid-area: sidebar;
    position: sticky !important;
    top: 96px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    background: transparent !important;
    padding: 0 !important;
}

.tjmm-dp-side-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 22px 24px !important;
    box-shadow: 0 2px 10px rgba(13, 35, 58, 0.03) !important;
}

.tjmm-dp-side-card--download {
    border-top: 3px solid var(--tjmm-accent) !important;
}

.tjmm-dp-side-heading {
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #0d233a !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.tjmm-dp-side-heading .fa {
    color: var(--tjmm-accent) !important;
    font-size: 14px !important;
}

/* Prominent Full-Width PDF Download Button */
.page_article .entry_details .galleys_links,
.page_article .entry_details .supplementary_galleys_links,
.tjmm-dp-galley-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.page_article .entry_details .galleys_links li,
.page_article .entry_details .supplementary_galleys_links li {
    margin: 0 !important;
    width: 100% !important;
}

.page_article .entry_details .obj_galley_link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: #0d233a !important;
    color: #ffffff !important;
    border: 1.5px solid #0d233a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(13, 35, 58, 0.16) !important;
    box-sizing: border-box !important;
}

.page_article .entry_details .obj_galley_link:hover {
    background: #163656 !important;
    border-color: var(--tjmm-accent) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(13, 35, 58, 0.24) !important;
}

.page_article .entry_details .obj_galley_link::before {
    color: var(--tjmm-accent) !important;
    font-size: 16px !important;
}

.tjmm-dp-supp-galleys {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e5e7eb !important;
}

.tjmm-dp-supp-galleys .obj_galley_link {
    background: #ffffff !important;
    color: #0d233a !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: none !important;
    min-height: 42px !important;
    font-size: 13.5px !important;
}

.tjmm-dp-supp-galleys .obj_galley_link:hover {
    background: #f8fafc !important;
    border-color: #0d233a !important;
    color: #0d233a !important;
}

/* Cover Image in Sidebar */
.tjmm-dp-side-card--cover img {
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
    display: block !important;
}

/* Metadata Definition List in Sidebar */
.tjmm-dp-meta-list {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.tjmm-dp-meta-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.tjmm-dp-meta-row:last-child {
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.tjmm-dp-meta-row dt.label {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
    margin: 0 !important;
}

.tjmm-dp-meta-row dd.value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0d233a !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

.tjmm-dp-meta-row dd.value a {
    color: var(--tjmm-medical-blue) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.tjmm-dp-meta-row dd.value a:hover {
    color: #0d233a !important;
    text-decoration: underline !important;
}

/* License & Plugin Blocks in Sidebar */
.tjmm-dp-license-body {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #475569 !important;
}

.tjmm-dp-license-body a {
    color: var(--tjmm-medical-blue) !important;
    font-weight: 600 !important;
}

/* 6. Responsive Layout: Tablet & Mobile (Header -> Sidebar/Download -> Main Content) */
@media (max-width: 992px) {
    .page_article .obj_article_details .tjmm-dp-layout,
    .page_article .obj_article_details .row.tjmm-dp-layout {
        grid-template-columns: 1fr !important;
        grid-template-areas: "header" "sidebar" "content" !important;
        gap: 20px !important;
    }

    .page_article .obj_article_details .entry_details.tjmm-dp-sidebar {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .tjmm-dp-header,
    .page_article .obj_article_details .main_entry.tjmm-dp-content {
        padding: 22px 18px !important;
    }

    .tjmm-dp-side-card {
        padding: 18px !important;
    }

    .tjmm-dp-abstract-text,
    .tjmm-dp-abstract-text p {
        text-align: left !important;
    }
}

/* ==========================================================================
   15. ISSUE TOC & ARCHIVES PAGES
   ========================================================================== */
.page_issue h1,
.page_issue_archive h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--tjmm-navy);
    margin: 0 0 28px;
    letter-spacing: -0.4px;
}

/* Issue TOC (.obj_issue_toc) */
.obj_issue_toc .heading {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 36px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
    box-sizing: border-box;
}

.obj_issue_toc .heading::before,
.obj_issue_toc .heading::after {
    display: none !important;
    content: none !important;
}

.obj_issue_toc .heading .cover {
    float: none !important;
    width: auto !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.obj_issue_toc .heading .cover img {
    max-width: 180px;
    max-height: none !important;
    height: auto !important;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.obj_issue_toc .heading .description {
    float: none !important;
    width: auto !important;
    flex: 1 1 0%;
    min-width: 0;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-size: 15px;
    line-height: 1.6;
    color: var(--tjmm-text-dark);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .obj_issue_toc .heading {
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px 16px !important;
        gap: 16px !important;
    }

    .obj_issue_toc .heading .cover {
        width: 100% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
    }

    .obj_issue_toc .heading .cover img {
        width: 100% !important;
        max-width: 180px !important;
        margin: 0 auto !important;
    }

    .obj_issue_toc .heading .description {
        width: 100% !important;
        flex: none !important;
        margin: 0 !important;
    }
}

.obj_issue_toc .heading .pub_id,
.obj_issue_toc .heading .published {
    font-size: 13px;
    color: var(--tjmm-text-muted);
    margin-top: 6px;
}

.obj_issue_toc .sections .section {
    margin-bottom: 40px;
}

.obj_issue_toc .sections h2,
.obj_issue_toc .sections h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--tjmm-navy);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tjmm-medical-blue);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.obj_issue_toc .cmp_article_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Issue Archive (.issues_archive) */
.issues_archive {
    list-style: none;
    margin: 32px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.issues_archive > li {
    display: flex;
}

.obj_issue_summary {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.obj_issue_summary::before,
.obj_issue_summary::after {
    display: none !important;
    content: none !important;
}

.obj_issue_summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 37, 66, 0.08);
    border-color: var(--tjmm-medical-blue);
}

.obj_issue_summary .cover {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    margin: 0 auto 18px auto !important;
    padding: 0 !important;
}

.obj_issue_summary .cover img {
    display: block !important;
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 6px;
    margin: 0 auto !important;
    box-shadow: 0 4px 14px rgba(13, 35, 58, 0.12);
}

.obj_issue_summary .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tjmm-navy);
    text-decoration: none;
}

.obj_issue_summary .series {
    font-size: 14px;
    color: var(--tjmm-medical-blue);
    font-weight: 600;
    margin-top: 4px;
}

.obj_issue_summary .description {
    font-size: 14px;
    color: var(--tjmm-text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

/* ==========================================================================
   16. SUBMISSIONS, SEARCH & GENERAL INNER PAGES
   ========================================================================== */
.page_submissions .cmp_notification {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 15px;
    color: #166534;
    margin-bottom: 32px;
}

.page_submissions .author_guidelines,
.page_submissions .submission_checklist,
.page_submissions .copyright_notice,
.page_submissions .privacy_statement {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.page_submissions h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.page_submissions .cmp_form,
.page_search .search_form {
    background: var(--tjmm-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--tjmm-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    margin-bottom: 32px;
}

.page_search .cmp_notification {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 8px;
    color: #475569;
    font-size: 15px;
}

/* ==========================================================================
   ABOUT & EDITORIAL POLICIES PAGE
   ========================================================================== */
.tjmm-about-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tjmm-border);
}

.tjmm-about-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}

.tjmm-about-lead {
    font-size: 16px;
    color: var(--tjmm-text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 900px;
}

/* Quick In-Page Navigation Bar */
.tjmm-about-nav {
    margin-bottom: 36px;
    background: #f8fafc;
    border: 1px solid var(--tjmm-border);
    border-radius: 10px;
    padding: 12px 18px;
    position: sticky;
    top: 70px;
    z-index: 10;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.tjmm-about-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.tjmm-about-nav-list li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tjmm-text-dark);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tjmm-about-nav-list li a:hover {
    background: var(--tjmm-navy);
    color: var(--tjmm-white);
}

.tjmm-about-nav-list li a span {
    color: var(--tjmm-medical-blue);
    font-size: 13px;
}

.tjmm-about-nav-list li a:hover span {
    color: var(--tjmm-accent);
}

/* Sections & Cards */
.tjmm-about-section {
    margin-bottom: 40px;
    scroll-margin-top: 140px;
}

.tjmm-about-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tjmm-about-section-icon {
    font-size: 20px;
    color: var(--tjmm-medical-blue);
    background: rgba(10, 82, 122, 0.08);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.tjmm-about-section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin: 0;
    letter-spacing: -0.3px;
}

.tjmm-about-card {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 12px;
    padding: 32px 36px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.tjmm-about-prose {
    font-size: 15px;
    line-height: 1.75;
    color: var(--tjmm-text-dark);
}

.tjmm-about-prose p {
    margin: 0 0 16px;
}

.tjmm-about-prose h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin: 24px 0 10px;
    letter-spacing: -0.2px;
}

.tjmm-about-prose ul,
.tjmm-about-prose ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.tjmm-about-prose li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Related Editorial Cards */
.tjmm-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.tjmm-about-link-card {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tjmm-about-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 37, 66, 0.08);
}

.tjmm-alc-icon {
    font-size: 24px;
    color: var(--tjmm-medical-blue);
    margin-bottom: 16px;
}

.tjmm-about-link-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin: 0 0 8px;
}

.tjmm-about-link-card p {
    font-size: 14px;
    color: var(--tjmm-text-muted);
    line-height: 1.5;
    margin: 0 0 20px;
    flex: 1;
}

/* ==========================================================================
   EDITORIAL MASTHEAD (BOARD) & CONTACT PAGES
   ========================================================================== */
.page_masthead h1,
.page_contact h1,
.page_submissions h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--tjmm-navy);
    margin: 0 0 24px;
    letter-spacing: -0.4px;
}

.page_masthead h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--tjmm-medical-blue);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.page_masthead .user_listing {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.page_masthead .user_listing li {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page_masthead .user_listing .name {
    font-size: 16px;
    font-weight: 700;
    color: var(--tjmm-navy);
}

.page_masthead .user_listing .affiliation {
    font-size: 13px;
    color: var(--tjmm-text-muted);
    line-height: 1.4;
}

.page_masthead .user_listing .orcid a {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    vertical-align: middle;
}

.page_contact .contact_section {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .tjmm-about-nav {
        position: static !important;
        top: 0 !important;
        padding: 8px 10px !important;
        overflow-x: auto !important;
        margin-bottom: 24px !important;
        border-radius: 8px !important;
    }
    .tjmm-about-nav-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        width: max-content !important;
    }
    .tjmm-about-nav-list li a {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 6px 12px !important;
        border: 1px solid var(--tjmm-border) !important;
        background: #ffffff !important;
    }
    .tjmm-about-card {
        padding: 20px 16px !important;
        border-radius: 8px !important;
    }
    .page_masthead .user_listing {
        grid-template-columns: 1fr !important;
    }
    .page_contact .contact_section {
        padding: 20px 16px !important;
        border-radius: 8px !important;
    }
}

/* ==========================================================================
   17. POLICY & QUICK LINKS PAGES ENHANCEMENTS
   ========================================================================== */
.tjmm-policy-meta-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--tjmm-navy);
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-left: 3px solid var(--tjmm-accent);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.tjmm-policy-meta-badge a {
    color: var(--tjmm-medical-blue);
    text-decoration: none;
}

.tjmm-policy-meta-badge a:hover {
    text-decoration: underline;
}

.tjmm-policy-submeta {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--tjmm-text-muted);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

.tjmm-about-nav-list li a.is-active {
    background: var(--tjmm-navy);
    color: var(--tjmm-white);
}

.tjmm-about-nav-list li a.is-active span {
    color: var(--tjmm-accent);
}

.tjmm-guidance-links {
    list-style: none !important;
    padding: 16px 20px !important;
    margin: 12px 0 20px 0 !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.tjmm-guidance-links li {
    margin-bottom: 8px !important;
    font-size: 14px;
    word-break: break-word;
}

.tjmm-guidance-links li:last-child {
    margin-bottom: 0 !important;
}

.tjmm-guidance-links a {
    color: var(--tjmm-medical-blue);
    text-decoration: none;
    font-weight: 500;
}

.tjmm-guidance-links a:hover {
    text-decoration: underline;
}

.tjmm-implementation-note {
    font-size: 13px !important;
    color: #64748b !important;
    background: #fcfcfd;
    border-left: 3px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

/* Editorial Board & Specialized Roles Cards */
.tjmm-board-grid {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 16px !important;
}

.tjmm-board-grid li {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid var(--tjmm-navy) !important;
    border-radius: 10px !important;
    padding: 18px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin: 0 !important;
}

.tjmm-role-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--tjmm-navy);
    color: #ffffff;
    border-left: 3px solid var(--tjmm-accent);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.tjmm-specialty-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: var(--tjmm-medical-blue);
    background: rgba(10, 82, 122, 0.08);
    border: 1px solid rgba(10, 82, 122, 0.18);
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 2px;
}

.tjmm-board-orcid {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--tjmm-medical-blue) !important;
    text-decoration: none !important;
    margin-top: 4px !important;
}

.tjmm-board-orcid:hover {
    text-decoration: underline !important;
}

/* Submissions CTA Banner */
.tjmm-submission-cta-banner {
    background: linear-gradient(135deg, #0d233a 0%, #163656 100%) !important;
    border: 1px solid #0d233a !important;
    border-left: 5px solid var(--tjmm-accent) !important;
    border-radius: 12px !important;
    padding: 24px 28px !important;
    color: #ffffff !important;
    margin-bottom: 36px !important;
}

.tjmm-sub-cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tjmm-sub-cta-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tjmm-sub-cta-text h3 .fa {
    color: var(--tjmm-accent);
}

.tjmm-sub-cta-text p {
    margin: 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}

.tjmm-sub-cta-text p a {
    color: #f3e5ab;
    font-weight: 700;
    text-decoration: underline;
}

.tjmm-sub-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tjmm-sub-cta-buttons .tjmm-btn--primary {
    background: var(--tjmm-accent) !important;
    border-color: var(--tjmm-accent) !important;
    color: #0d233a !important;
    font-weight: 700 !important;
}

.tjmm-sub-cta-buttons .tjmm-btn--outline {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

.tjmm-contact-top-grid {
    margin-top: 0 !important;
}

/* Submission Forms & Templates Download Grid */
.tjmm-forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tjmm-form-download-card {
    background: var(--tjmm-white);
    border: 1px solid var(--tjmm-border);
    border-top: 4px solid #0d233a;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 4px 14px rgba(13, 35, 58, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tjmm-form-download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13, 35, 58, 0.08);
}

.tjmm-form-download-card--external {
    border-top-color: var(--tjmm-accent);
}

.tjmm-fdc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.tjmm-fdc-badge--docx {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.tjmm-fdc-badge--pdf {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.tjmm-fdc-badge--link {
    background: rgba(182, 145, 86, 0.14);
    color: #7c5e2c;
    border: 1px solid rgba(182, 145, 86, 0.35);
}

.tjmm-fdc-title {
    font-size: 17px;
    font-weight: 800;
    color: #0d233a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tjmm-fdc-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.tjmm-fdc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.tjmm-fdc-btn--primary {
    background: #0d233a;
    color: #ffffff !important;
    border: 1.5px solid #0d233a;
}

.tjmm-fdc-btn--primary .fa {
    color: var(--tjmm-accent);
}

.tjmm-fdc-btn--primary:hover {
    background: #163656;
    border-color: var(--tjmm-accent);
    color: #ffffff !important;
}

.tjmm-fdc-btn--outline {
    background: #ffffff;
    color: #0d233a !important;
    border: 1.5px solid #0d233a;
}

.tjmm-fdc-btn--outline .fa {
    color: var(--tjmm-accent);
}

.tjmm-fdc-btn--outline:hover {
    background: #0d233a;
    color: #ffffff !important;
}
