/* Frontiers & Noble Unified Theme Stylesheet */

/* --- Variables & Tokens --- */
:root {
    --primary-color: #1f9d78;
    --primary-color-hover: #178a68;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    
    /* Custom Theme Colors */
    --navy: #0d2240;
    --navy-deep: #0a1c33;
    --navy-2: #0b1d36;
    --blue: #0d2240;
    --blue-link: #0d2240;
    --green: #1f9d78;
    --green-dark: #178a68;
    --text: #2b3a4a;
    --muted: #5a6b7b;
    --light-blue: #eef5fc;
    --grey-bg: #f4f7fb;
    --border: #e3e9f0;
    --max: 1180px;
    
    --header-dark: #0f172a;
    --footer-dark: #0f172a;
    
    --accent-pink: #db2777;
    --accent-orange: #f97316;
    
    --font-stack: 'MuseoSans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-headings: 'MuseoSans', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.full-width-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* --- Global Reset & Spacing --- */
body {
    font-family: var(--font-stack);
    color: var(--text-color);
    background-color: var(--bg-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    line-height: 1.7;
    font-size: 16px;
}
ol:not([class]), p:not([class]), ul:not([class]) {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .homepage-section-subheading, .nexus-header-title {
    font-family: var(--font-headings);
}

h1 { font-size: 24px; font-weight: 700; color: #0f172a; }
h2 { font-size: 20px; font-weight: 700; color: #0f172a; }
h3 { font-size: 17px; font-weight: 600; color: #1f2937; }
h4 { font-size: 15px; font-weight: 600; color: #374151; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-color-hover);
}

/* --- Layout Content Wrapper --- */
.pkp_structure_page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pkp_structure_content {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 20px 40px 20px; /* Increased top padding from 40px to 50px */
    box-sizing: border-box;
    gap: 30px;
    flex-grow: 1;
}
.pkp_page_article .pkp_structure_content {
    padding-top: 70px !important; /* Extra spacing on article pages to clear sticky header */
}

/* Flex main content vs sidebar */
.pkp_structure_main {
    flex: 1;
    min-width: 0; /* Prevents flex items from breaking layout */
}

.pkp_structure_sidebar {
    width: 320px;
    flex-shrink: 0;
    position: -webkit-sticky;
    position: sticky;
    top: 130px; /* Aligned with scroll sticky header */
    align-self: start;
    height: auto;
    z-index: 10;
}

/* --- Sticky Header System --- */
.sticky-header-wrapper {
    display: contents;
}

/* 1. Top White Bar */
.top-bar-row {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    max-height: 120px;
    overflow: hidden;
}
.top-bar-row .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-logo-container a {
    display: block;
}
.main-logo-img {
    max-height: 70px;
    width: auto;
    display: block;
}
.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

/* Search bar inside header */
.header-search-container {
    flex: 0 1 380px;
    margin: 0 20px;
}
.top-search-form {
    width: 100%;
    margin: 0;
}
.search-input-group {
    display: flex;
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-radius: 6px;
    overflow: hidden;
    background: #f8fafc;
    transition: border-color 0.2s;
}
.search-input-group:focus-within {
    border-color: var(--primary-color);
}
.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 13px;
    outline: none;
    color: #0f172a;
}
.search-btn {
    border: none;
    background: transparent;
    padding: 0 12px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}
.search-btn:hover {
    color: var(--primary-color);
}

/* User navigation links */
.header-user-container {
    display: flex;
}
.user-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    align-items: center;
}
.user-link {
    color: #0d2240;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.user-link i, .user-link svg {
    color: #1f9d78;
}
.user-link:hover {
    color: var(--primary-color);
    background-color: #f1f5f9;
}
.register-btn {
    background-color: var(--green);
    color: #ffffff !important;
}
.register-btn i, .register-btn svg {
    color: #ffffff !important;
}
.register-btn:hover {
    background-color: #166534;
    color: #ffffff !important;
}
.logout-btn:hover {
    color: var(--accent-pink);
    background-color: #fff1f2;
}

/* 2. Navigation Bar (Primary color / Dark background) */
.pkp_structure_head {
    background-color: #0f172a;
    color: #ffffff;
    padding: 0;
    border-bottom: 4px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.pkp_structure_head .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px; /* Increased height from 52px to 60px */
    box-sizing: border-box;
}
.menu-toggle-btn {
    display: none;
}

/* Inline small logo (hidden by default) */
.logo-navbar {
    display: none;
    align-items: center;
    margin-right: 20px;
    text-decoration: none;
    white-space: nowrap;
}
.navbar-logo-img {
    max-height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}
.navbar-logo-text {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

/* Primary menu list */
.pkp_navigation_primary_wrapper {
    flex-grow: 1;
}
.journal_nav_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    align-items: center;
}
.journal_nav_menu li {
    position: relative;
}
.journal_nav_menu a {
    color: #ffffff;
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 18px !important;
    padding: 18px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.journal_nav_menu a:hover,
.journal_nav_menu li:hover > a {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}
.menu-icon {
    font-size: 12px;
    color: #ffffff !important;
    opacity: 0.9;
}

/* Dropdown menus on navbar */
.journal_nav_menu li ul.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-radius: 0 0 6px 6px;
    padding: 6px 0;
    min-width: 180px;
    list-style: none;
    z-index: 1001;
}
.journal_nav_menu li:hover ul.dropdown-menu {
    display: block;
}
.journal_nav_menu li ul.dropdown-menu li {
    width: 100%;
}
.journal_nav_menu li ul.dropdown-menu a {
    color: #334155;
    font-family: var(--font-headings);
    padding: 8px 16px;
    font-weight: 300 !important;
    font-size: 17px !important;
    display: block;
}
.journal_nav_menu li ul.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: #f1f5f9;
}

/* Right alignment for ISSN and submit button */
.nav-right-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}
.issn-block {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-stack);
    white-space: nowrap;
}
.issn-item strong {
    color: #ffffff;
}
.issn-separator {
    opacity: 0.4;
}

/* Submit Research button on dark navbar */
.btn-submit-journal {
    background-color: var(--accent-orange, #f97316);
    color: #ffffff !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-submit-journal:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

/* Scroll Header Shrunk Mode */
.sticky-header-wrapper.scrolled .top-bar-row {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.sticky-header-wrapper.scrolled .logo-navbar {
    display: flex;
}
.sticky-header-wrapper.scrolled .pkp_structure_head {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- Overhauled Publisher Homepage Styles --- */
.page_index_site {
    background-color: #ffffff;
    color: #334155;
    overflow-x: hidden;
}

/* 1. Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 50%, rgba(240, 249, 255, 0.7) 0%, rgba(255, 255, 255, 1) 100%), #ffffff;
    padding: 40px 0 30px 0;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text-col {
    flex: 1.2;
    max-width: 680px;
    z-index: 2;
}
.hero-headline {
    font-size: 64px !important;
    font-weight: 800;
    line-height: 1.1 !important;
    color: #0b2545;
    margin: 0 0 24px 0;
    letter-spacing: -2px;
}
.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 35px 0;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background-color: #0b2545;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
}
.btn-hero-primary:hover {
    background-color: #134074;
    transform: translateY(-2px);
}
.btn-hero-secondary {
    background-color: #00a896;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.15);
}
.btn-hero-secondary:hover {
    background-color: #028090;
    transform: translateY(-2px);
}
.hero-features-list {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.hero-feature-item {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-feature-item i {
    color: #00a896;
}
.hero-image-col {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    max-width: 500px;
}
.hero-main-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.08));
}

/* 2. Value Strip Section */
.value-strip-section {
    background-color: #0b2545;
    padding: 20px 0;
    color: #ffffff;
}
.value-strip-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}
.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.value-icon {
    font-size: 28px;
    color: #00a896;
    flex-shrink: 0;
}
.value-info {
    display: flex;
    flex-direction: column;
}
.value-info strong {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 2px;
}
.value-info span {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.3;
}

/* 3. Our Journals Section */
.page_index_site .journals-section.container {
    padding: 50px 20px !important;
}
.journals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}
.journals-header h2 {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #0b2545 !important;
    margin: 0;
}
.btn-view-all-journals {
    font-size: 17px;
    font-weight: 700;
    color: #0b2545;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.btn-view-all-journals:hover {
    color: #00a896;
}
.journals-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.journal-card-home {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}
.journal-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(15, 23, 42, 0.08), 0 8px 8px -6px rgba(15, 23, 42, 0.03);
    border-color: #cbd5e1;
}
.journal-card-image {
    position: relative;
    padding-top: 70%; /* Boxier aspect ratio for cover */
    overflow: hidden;
    background-color: #f8fafc;
}
.journal-card-image a {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.journal-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.journal-card-home:hover .journal-cover-img {
    transform: scale(1.03);
}
.journal-card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(11, 37, 69, 0.9) 0%, rgba(11, 37, 69, 0) 100%);
    padding: 20px 15px 15px 15px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.journal-card-home:hover .journal-card-overlay {
    opacity: 1;
}
.overlay-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.journal-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.journal-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0b2545;
    margin: 0 0 12px 0;
    line-height: 1.3;
    display: block;
    height: auto;
    min-height: auto;
}
.journal-card-desc {
    font-size: 17px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.journal-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: none;
    background-color: transparent;
    padding: 0 24px 24px 24px;
    margin-top: auto;
}
.btn-card-view {
    font-size: 14px;
    font-weight: 700;
    color: #0b2545;
    padding: 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}
.btn-card-view:hover {
    color: #00a896;
}
.btn-card-submit {
    font-size: 14px;
    font-weight: 700;
    color: #00a896;
    padding: 0;
    transition: all 0.2s;
}
.btn-card-submit:hover {
    color: #028090;
}

/* 4. Why Publish with ResearchINN */
.page_index_site .why-publish-section.container {
    padding: 50px 20px !important;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.section-title-center {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #0b2545 !important;
    text-align: center !important;
    margin: 0 0 40px 0 !important;
}
.why-publish-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.why-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}
.why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}
.why-icon {
    font-size: 42px;
    margin-bottom: 20px;
    height: 72px;
    width: 72px;
    background-color: #f0fdfa;
    color: #00a896;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.why-item:nth-child(even) .why-icon {
    background-color: #eff6ff;
    color: #0b2545;
}
.why-item h3 {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 10px 0;
}
.why-item p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

/* 5. For Authors Section */
.page_index_site .for-authors-section.container {
    padding: 50px 20px !important;
}
.for-authors-content {
    display: block;
}
.for-authors-left {
    width: 100%;
}
.for-authors-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #0b2545 !important;
    margin: 0 0 8px 0;
}
.for-authors-subtitle {
    font-size: 18px;
    color: #64748b;
    margin: 0 0 40px 0;
}
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.step-card {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    position: relative;
    min-height: 150px;
}
.step-icon-num {
    position: relative;
    width: 44px;
    height: 44px;
    background-color: #f0fdfa;
    color: #00a896;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}
.step-card:nth-child(5) .step-icon-num {
    background-color: #f3e8ff;
    color: #8b5cf6;
}
.step-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #0b2545;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
}
.step-details h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2545;
    margin: 0 0 6px 0;
}
.step-details p {
    font-size: 15px;
    color: #000000;
    line-height: 1.5;
    margin: 0;
}
.step-arrow {
    color: #cbd5e1;
    font-size: 16px;
    flex-shrink: 0;
}
.for-authors-right {
    flex: 1;
    max-width: 360px;
}
.author-resources-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}
.btn-resource-primary {
    background-color: #0b2545;
    color: #ffffff !important;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
}
.btn-resource-primary:hover {
    background-color: #134074;
}
.btn-resource-secondary-white {
    background-color: #ffffff;
    color: #0b2545 !important;
    border: 1px solid #cbd5e1;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
}
.btn-resource-secondary-white:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

/* 6. Research Areas Section */
.page_index_site .research-areas-section.container {
    padding: 50px 20px !important;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
}
.research-areas-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.area-item {
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 35px 25px;
    transition: all 0.2s ease;
}
.area-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border-color: #e2e8f0;
}
.area-icon {
    font-size: 36px;
    height: 72px;
    width: 72px;
    background-color: #f0f9ff;
    color: #028090;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}
.area-item:hover .area-icon {
    transform: scale(1.05);
    background-color: #e0f2fe;
}
.area-item span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #0b2545;
    line-height: 1.4;
}

/* 7. Our Commitment Section */
.page_index_site .commitment-section.container {
    padding: 50px 20px !important;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.commitment-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.commitment-left {
    flex: 1;
}
.commitment-left h2 {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #0b2545 !important;
    margin: 0 0 15px 0;
}
.commitment-left p {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 25px 0;
}
.btn-commitment-more {
    font-size: 16px;
    font-weight: 700;
    color: #00a896;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.btn-commitment-more:hover {
    color: #0b2545;
}
.commitment-middle {
    flex: 1.2;
}
.commitment-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}
.commitment-checklist li {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}
.commitment-checklist li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.commitment-checklist li a:hover {
    color: #00a896;
}
.commitment-checklist li i {
    color: #00a896;
    font-size: 16px;
}
.commitment-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.commitment-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* 8. Teal Bottom Banner */
.teal-banner-section {
    background-color: #0b2545;
    padding: 80px 0;
    color: #ffffff;
}
.teal-banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.teal-banner-text {
    display: flex;
    align-items: center;
    gap: 20px;
}
.teal-banner-icon {
    font-size: 32px;
    color: #00a896;
}
.teal-banner-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
}
.teal-banner-info p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.4;
}
.btn-teal-banner-submit {
    background-color: #00a896;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-teal-banner-submit:hover {
    background-color: #028090;
    transform: translateY(-1px);
}

/* Homepage Responsive Media Queries */
@media (max-width: 1200px) {
    .journals-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }
    .why-publish-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .research-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-text-col {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-headline {
        font-size: 64px !important;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-features-list {
        justify-content: center;
    }
    .hero-image-col {
        justify-content: center;
        max-width: 380px;
    }
    
    .value-strip-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .why-publish-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .for-authors-content {
        flex-direction: column;
    }
    .for-authors-left {
        width: 100%;
    }
    .for-authors-right {
        width: 100%;
        max-width: 100%;
    }
    
    .commitment-content {
        flex-direction: column;
        gap: 30px;
    }
    .commitment-right {
        justify-content: center;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .teal-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .teal-banner-text {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 48px !important;
    }
    .value-strip-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .journals-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    .workflow-steps {
        flex-direction: column;
        gap: 15px;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    .step-card {
        width: 100%;
        min-height: auto;
    }
    .commitment-checklist {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .journals-grid-home {
        grid-template-columns: 1fr;
    }
    .why-publish-grid {
        grid-template-columns: 1fr;
    }
    .research-areas-grid {
        grid-template-columns: 1fr;
    }
}

/* Flush header for publisher homepage when no journal context exists */
.is_publisher_site .pkp_structure_content {
    padding-top: 0 !important;
    padding-bottom: 0 !important; /* Fix white gap below teal banner */
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
}
.is_publisher_site .pkp_structure_main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.page_index_site {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.hero-banner {
    margin-top: 0 !important;
}
.page_index_site .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Site Index Journals Grid --- */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.journal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
}
.journal-card h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
}
.journal-card h3 a {
    color: #0f172a;
}
.journal-card p {
    font-size: 14px;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 20px;
}
.btn-journal {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px;
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
}
.btn-journal:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- Journal Index Tabs widget --- */
.journal-tabs-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 50px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.journal-tabs {
    display: flex;
    background-color: #f1f5f9;
    border-bottom: 1px solid var(--border-color);
}
.tab-link {
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-weight: 700;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}
.tab-link:hover {
    color: var(--primary-color);
}
.tab-link.active {
    background-color: var(--primary-color);
    color: #ffffff;
}
.journal-tab-content {
    display: none;
    padding: 30px;
}
.journal-tab-content.active {
    display: block;
}
.journal-description-container {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
}
.journal-cover-image {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1) !important;
    border: 1px solid var(--border-color) !important;
    background-color: #f8fafc !important;
    transition: transform 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.journal-cover-image:hover {
    transform: scale(1.02) !important;
}
.journal-cover-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}
.journal-description {
    flex: 1 !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}
@media (max-width: 768px) {
    .journal-description-container {
        flex-direction: column !important;
        gap: 24px !important;
        align-items: stretch !important;
    }
    .journal-cover-image {
        align-self: center !important;
        flex: 1 1 auto !important;
        max-width: 260px !important;
    }
}

/* Announcements card items */
.announcement-card-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.announcement-card-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.announcement-title {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
}
.announcement-title a {
    color: #0f172a;
}
.announcement-title a:hover {
    color: var(--primary-color);
}
.announcement-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.announcement-summary {
    font-size: 14px;
    color: #475569;
}

/* --- Editorial Pick Section --- */
.editorial-pick-section {
    margin-bottom: 60px;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 30px;
}

.editorial-pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.editorial-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid var(--border-color);
}
.editorial-card:hover {
    transform: translateY(-8px) rotate(-1.5deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 2;
}

.card-bg-wrapper {
    height: 180px;
    overflow: hidden;
    background-color: #f1f5f9;
    position: relative;
}
.card-bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-gradient-bg {
    width: 100%;
    height: 100%;
}
.bg-1 { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
.bg-2 { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.bg-3 { background: linear-gradient(135deg, #701a75 0%, #d946ef 100%); }

.editorial-card-content {
    padding: 20px;
}
.article-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.editorial-card-content .article-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0;
}
.editorial-card-content .article-title a {
    color: #0f172a;
}
.editorial-card-content .article-title a:hover {
    color: var(--primary-color);
}
.article-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 15px;
}

/* --- Overhauled Horizontal Article Card List --- */
.articles-list-overhaul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.article-summary-card-horizontal {
    display: flex;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    gap: 25px;
    box-shadow: var(--box-shadow);
    align-items: flex-start;
}

.article-cover-col {
    flex: 0 0 160px;
    max-width: 160px;
}
.article-cover-col img {
    width: 100%;
    border-radius: var(--border-radius);
    height: 160px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.article-cover-fallback {
    width: 100%;
    height: 160px;
    border-radius: var(--border-radius);
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
}

.article-info-col {
    flex: 1;
    min-width: 0;
}
.article-type {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.article-info-col .article-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}
.article-info-col .article-title a {
    color: #0f172a;
}
.article-info-col .article-title a:hover {
    color: var(--primary-color);
}

.article-authors {
    font-size: 13px;
    color: #334155;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.article-authors i {
    color: var(--text-light);
    margin-right: 5px;
}
.author-name {
    font-weight: 600;
}
.author-name sup {
    color: var(--accent-pink);
    font-weight: 700;
}

.author-affiliations {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-light);
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-bottom: 15px;
}
.stat-item strong {
    color: #334155;
}

.article-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.article-galleys {
    display: flex;
    gap: 10px;
}
.btn-galley-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-galley-outline:hover {
    background-color: var(--primary-color);
    color: white !important;
}
.btn-galley-outline.xml-btn {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}
.btn-galley-outline.xml-btn:hover {
    background-color: var(--accent-pink);
    color: white !important;
}

.article-metadata-right {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}
.doi-badge {
    background-color: #fff7ed;
    color: var(--accent-orange);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #ffedd5;
    font-weight: 500;
}

.btn-view-all {
    display: inline-block;
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.2s;
}
.btn-view-all:hover {
    background-color: var(--primary-color);
    color: white !important;
}

/* --- Sidebar Login Block --- */
.block_login {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}
.block_login .title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}
.sidebar-login-form .form-group {
    margin-bottom: 12px;
}
.sidebar-login-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.sidebar-login-form input[type="text"],
.sidebar-login-form input[type="password"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.sidebar-login-form input[type="text"]:focus,
.sidebar-login-form input[type="password"]:focus {
    border-color: var(--primary-color);
}
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 15px;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: none !important;
}
.forgot-link {
    color: var(--primary-color);
}
.login-buttons {
    display: flex;
    gap: 10px;
}
.btn-login {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-login:hover {
    background-color: var(--primary-color-hover);
}
.btn-register {
    flex: 1;
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
    color: #334155;
    padding: 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    box-sizing: border-box;
}
.btn-register:hover {
    background-color: #f1f5f9;
}

/* --- Fancy Breadcrumbs (Article page) --- */
.fancy-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    font-size: 12px;
}
.bc-item {
    color: #64748b;
    padding: 10px 18px 10px 28px;
    background: #f1f5f9;
    position: relative;
    display: inline-block;
    clip-path: polygon(calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 0% 100%, 8px 50%, 0% 0%);
    transition: all 0.2s;
}
.bc-item:first-child {
    padding-left: 15px;
    clip-path: polygon(calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 0% 100%, 0% 50%, 0% 0%);
}
.bc-item:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}
.bc-item.active {
    background-color: var(--accent-pink) !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* --- Article Details (Left column) --- */
.article-detail-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.doi-updates-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.doi-link-badge {
    font-size: 13px;
    background-color: #f1f5f9;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
.check-updates-badge {
    font-size: 11px;
    font-weight: 700;
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Authors Profiles Grid */
.authors-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.author-profile-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}
.author-profile-card .author-name {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 8px;
}
.author-profile-card .author-name i {
    color: var(--primary-color);
    margin-right: 5px;
}
.author-profile-card div {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.author-profile-card a {
    color: var(--text-light);
}
.author-profile-card a:hover {
    color: var(--primary-color);
}

.article-share-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.share-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.5px;
}
.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 14px;
    transition: all 0.2s;
}
.share-btn:hover {
    color: white !important;
}
.mail-share:hover { background-color: var(--primary-color); }
.whatsapp-share:hover { background-color: #22c55e; }

.article-detail-cover {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.article-detail-cover img {
    width: 100%;
    display: block;
}

/* --- Article detail tabs panel --- */
.article-tabs-container {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 50px;
}
.article-tabs {
    display: flex;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}
.art-tab-link {
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-weight: 700;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid var(--border-color);
    text-transform: uppercase;
}
.art-tab-link.active {
    background-color: #ffffff;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}
.art-tab-content {
    display: none;
    padding: 30px;
}
.art-tab-content.active {
    display: block;
}
.citation-output-box {
    background: #f1f5f9;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.references-ol {
    padding-left: 20px;
    margin: 0;
}
.reference-li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #475569;
}

/* --- XML Teaser Full Text --- */
.teaser-xml-article {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}
.xml-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.xml-heading {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}
.xml-badge {
    font-size: 11px;
    background-color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
}
.xml-intro-text {
    max-height: 240px;
    overflow: hidden;
}
.xml-fade-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.xml-read-more-btn-row {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}
.btn-xml-read-more {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}
.btn-xml-read-more:hover {
    background-color: var(--primary-color);
}

/* --- Aside Sidebar Widgets --- */
.widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
}
.widget-title {
    margin-top: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.aside-galley-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.aside-galley-btn {
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.aside-galley-btn.pdf-btn {
    background-color: var(--primary-color);
    color: white !important;
}
.aside-galley-btn.pdf-btn:hover { background-color: var(--primary-color-hover); }
.aside-galley-btn.xml-btn {
    background-color: var(--accent-pink);
    color: white !important;
}
.aside-galley-btn.xml-btn:hover { background-color: #be185d; }

.kw-badge {
    display: inline-block;
    background-color: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 6px;
    margin-bottom: 8px;
}

/* --- Fullscreen JATS XML Reader --- */
.jats-reader-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f8fafc;
    z-index: 10000;
    display: none;
    flex-direction: column;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.jats-reader-overlay-container.active {
    display: flex;
}

.jats-reader-header {
    height: 60px;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    border-bottom: 1px solid #1e293b;
    flex-shrink: 0;
}
.jats-logo-area {
    font-weight: 800;
    font-size: 18px;
    color: var(--primary-color);
}
.jats-title-area {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    max-width: 60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-jats-close {
    background: transparent;
    border: 1px solid #475569;
    color: #e2e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-jats-close:hover {
    background-color: #ffffff;
    color: #0f172a;
}

.jats-reader-body-grid {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    height: calc(100vh - 60px);
}

/* Left TOC Column */
.jats-reader-toc-col {
    width: 250px;
    background-color: #f1f5f9;
    border-right: 1px solid var(--border-color);
    padding: 25px;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.btn-jats-back-toc {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    width: 100%;
}
.btn-jats-back-toc:hover {
    background-color: var(--primary-color-hover);
}
.toc-heading {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    font-weight: 700;
}
.jats-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.jats-toc-list a {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    display: block;
    line-height: 1.4;
}
.jats-toc-list a:hover {
    color: var(--primary-color);
}
.jats-toc-list a.active {
    color: var(--primary-color);
    font-weight: 700;
    border-left: 2px solid var(--primary-color);
    padding-left: 8px;
}

/* Center Content Column */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}
.jats-reader-content-col {
    flex: 1;
    background-color: #ffffff;
    overflow-y: auto;
    padding: 50px 80px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.jats-full-article {
    max-width: 800px;
    margin: 0 auto;
}

.jats-meta-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 30px;
    margin-bottom: 40px;
}
.jats-journal-publisher {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
}
.jats-article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 15px 0;
    color: #0f172a;
}
.jats-doi {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.jats-dates {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
}
.jats-authors-list {
    margin-bottom: 15px;
}
.jats-author {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
}
.jats-affil-list {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.jats-full-article h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.jats-full-article h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 30px;
    margin-bottom: 15px;
}
.jats-para {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 25px;
    text-align: justify;
}

/* Right Widgets Column */
.jats-reader-widgets-col {
    width: 340px;
    background-color: #f8fafc;
    border-left: 1px solid var(--border-color);
    box-sizing: border-box;
    display: flex;
    overflow: hidden;
}
.jats-widgets-wrapper {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Vertical Tab Bar */
.jats-vertical-tab-bar {
    width: 60px;
    background-color: #0f172a;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    gap: 20px;
    align-items: center;
    border-left: 1px solid #1e293b;
    flex-shrink: 0;
}
.vert-tab {
    background: transparent;
    border: none;
    color: #64748b;
    width: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    transition: color 0.2s;
    outline: none;
}
.vert-tab i {
    font-size: 16px;
}
.vert-tab span {
    display: block;
}
.vert-tab:hover {
    color: #ffffff;
}
.vert-tab.active {
    color: #3b82f6;
    border-right: 3px solid #3b82f6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .pkp_structure_content {
        flex-direction: column;
        padding: 20px;
    }
    .pkp_structure_sidebar {
        width: 100%;
        position: static;
    }
    .col-main-article, .col-sidebar-article {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
    }
    .jats-reader-toc-col {
        display: none; /* Hide TOC on smaller screens */
    }
    .article-summary-card-horizontal {
        flex-direction: column;
        align-items: center;
    }
    .article-cover-col {
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
}

.journals h2 {
    color: #0f172a !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
    display: block !important;
}

/* --- Footer Styling --- */
.pkp_structure_footer_wrapper {
    background-color: transparent !important;
    border-top: none !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.pkp_brand_footer {
    display: none !important;
}
.nexus-footer {
    background-color: var(--footer-dark, #0b2545);
    color: #cbd5e1;
    padding: 60px 0 20px 0;
    border-top: 4px solid var(--primary-color, #003bde);
    width: 100%;
    font-family: Arial, Helvetica, sans-serif !important;
}
.nexus-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    width: 100%;
}
.nexus-footer .row {
    margin-left: 0;
    margin-right: 0;
}
.nexus-footer a {
    color: #94a3b8;
}
.nexus-footer a:hover {
    color: #ffffff;
}
.nexus-footer .text-white {
    color: #ffffff;
}
.nexus-text-muted {
    color: #94a3b8;
}
.nexus-footer svg {
    fill: #cbd5e1;
}
.nexus-footer svg:hover {
    fill: #ffffff !important;
}

/* --- Disable Inherited Borders & Shadows from OJS Default Theme --- */
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}
.pkp_structure_footer {
    background-color: #0b2545 !important;
    width: 100%;
}
.pkp_structure_main::before,
.pkp_structure_main::after {
    display: none !important;
    content: none !important;
}


/* --- Mobile / Tablet Responsiveness --- */
@media (max-width: 991px) {
    /* 1. Top bar stacking on mobile */
    .top-bar-row {
        max-height: none !important;
        padding: 12px 0 !important;
        opacity: 1 !important;
    }
    .top-bar-row .container {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    .header-logo-container {
        text-align: center;
        margin-bottom: 2px;
    }
    .header-search-container {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        flex: 1 1 100%;
    }
    .header-user-container {
        width: 100%;
        justify-content: center;
    }
    .user-nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    /* 2. Main Navigation Bar responsiveness */
    .pkp_structure_head {
        height: auto !important;
        padding: 10px 0 !important;
    }
    .pkp_structure_head .container {
        flex-direction: column !important;
        height: auto !important;
        gap: 12px !important;
        padding: 0 15px !important;
        align-items: center !important;
    }
    .logo-navbar {
        display: inline-flex !important;
        margin-right: 0 !important;
        margin-bottom: 2px;
    }
    .pkp_navigation_primary_wrapper {
        width: 100%;
    }
    .journal_nav_menu {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100%;
    }
    .journal_nav_menu a {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    .nav-right-container {
        width: 100%;
        flex-direction: column !important;
        gap: 8px !important;
        margin-left: 0 !important;
        align-items: center !important;
    }
    .issn-block {
        display: none !important; /* Hide ISSN metadata on mobile to prevent clutter */
    }
    .btn-submit-journal {
        width: 100%;
        text-align: center;
        max-width: 280px;
        box-sizing: border-box;
    }

    /* Sticky scrolling on mobile adjust */
    .sticky-header-wrapper.scrolled .top-bar-row {
        display: none !important; /* Fully hide top bar on mobile scroll */
    }
    .sticky-header-wrapper.scrolled {
        transform: translateY(0) !important;
    }

    /* Horizontal Article Card adjustments for small screens */
    .article-summary-card-horizontal {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 15px !important;
        gap: 15px !important;
    }
    .article-cover-col {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 5px;
    }
    .article-cover-col img, .article-cover-fallback {
        height: 180px !important;
        width: 100% !important;
    }
    .article-info-col {
        width: 100%;
    }
    .article-footer-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px;
    }
    .article-galleys {
        flex-direction: column;
        width: 100%;
    }
    .btn-galley-outline {
        justify-content: center;
        width: 100%;
    }
    .article-metadata-right {
        justify-content: space-between;
        width: 100%;
    }

    /* Footer adjustments for mobile */
    .nexus-footer .footer-columns-row {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .nexus-footer .footer-columns-row > div {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
    }
}

/* ResearchInn Brand Text Styling */
.brand-research {
    font-weight: 700;
}
.brand-inn {
    font-weight: 800;
}

/* Light Contexts (e.g. Header text logo) */
.logo-text .brand-research {
    color: #0f172a;
}
.logo-text .brand-inn {
    color: var(--primary-color, #2563eb);
}

/* Dark Contexts (e.g. Footer, stuck Navbar, and JATS Reader) */
.nexus-footer .brand-research,
.jats-logo-area .brand-research,
.jats-publisher .brand-research,
.jats-journal-publisher .brand-research,
.jats-meta-header .brand-research,
.navbar-logo-text .brand-research {
    color: #ffffff !important;
}
.nexus-footer .brand-inn,
.jats-logo-area .brand-inn,
.jats-publisher .brand-inn,
.jats-journal-publisher .brand-inn,
.jats-meta-header .brand-inn,
.navbar-logo-text .brand-inn {
    color: var(--primary-color, #3b82f6) !important;
}

/* --- Premium Mobile & Tablet Overrides --- */
@media (max-width: 991px) {
    /* 1. Global Page Width Overflow Prevention - safe for position: sticky */
    html, body {
        max-width: 100%;
        overflow-x: visible !important;
    }
    .pkp_structure_page {
        overflow-x: visible !important;
    }

    /* 2. Header & Sticky Scroll Loop / Jitter Fix */
    .sticky-header-wrapper {
        position: static;
    }
    .sticky-header-wrapper.scrolled .top-bar-row {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .pkp_structure_head {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
    }
    .pkp_structure_head .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: auto !important;
        padding: 10px 15px !important;
    }
    .logo-navbar {
        display: inline-flex !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 3. Mobile Navigation Menu Stack (Accordion-like layout) */
    .menu-toggle-btn {
        display: inline-flex !important;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #ffffff;
        padding: 8px 12px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        outline: none;
    }
    .menu-toggle-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    .pkp_navigation_primary_wrapper {
        display: none !important;
        width: 100% !important;
        max-height: 80vh;
        overflow-y: auto;
        order: 3;
        margin-top: 10px;
    }
    .pkp_navigation_primary_wrapper.menu-open {
        display: block !important;
    }
    .journal_nav_menu,
    .journal_nav_menu ul,
    .journal_nav_menu li {
        list-style: none !important;
        list-style-type: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-indent: 0 !important;
    }
    .journal_nav_menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .journal_nav_menu li {
        width: 100% !important;
        position: relative !important;
        display: block !important;
    }
    .journal_nav_menu a {
        display: block !important;
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        font-size: 14px !important;
        text-align: left !important;
        color: #ffffff !important;
    }
    .pkp_navigation_primary_wrapper .journal_nav_menu li ul {
        display: none !important;
    }
    .pkp_navigation_primary_wrapper .journal_nav_menu li.submenu-open > ul {
        display: block !important;
        position: static !important;
        background: rgba(0, 0, 0, 0.25) !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .submenu-toggle-arrow {
        display: inline-block !important;
        transition: transform 0.2s ease !important;
        padding: 8px 12px;
        margin-top: -8px;
        margin-bottom: -8px;
        margin-right: -12px;
    }
    .journal_nav_menu li ul li {
        display: block !important;
        width: 100% !important;
    }
    .journal_nav_menu li ul a {
        padding-left: 32px !important; /* Indent nested links */
        color: rgba(255, 255, 255, 0.8) !important;
        background: transparent !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    }

    /* 4. Publisher Space & Hero Layout Mobile Enhancements */
    .hero-banner {
        padding: 40px 16px 40px 16px !important;
        width: 100% !important;
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    .hero-banner h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    .hero-banner p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    .hero-stats {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        position: static !important;
        margin-top: 30px !important;
        padding: 20px !important;
        background: rgba(15, 23, 42, 0.7) !important;
        border-radius: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hero-stat-item {
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-bottom: 12px !important;
    }
    .hero-stat-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .hero-stat-item strong {
        color: #ffffff !important;
        font-size: 24px !important;
        display: block !important;
    }
    .hero-stat-item span {
        color: #cbd5e1 !important;
        font-size: 12px !important;
    }

    /* 5. Footer Mobile Edge Padding & Copyright Layout */
    .pkp_structure_footer_wrapper {
        padding: 40px 20px 20px 20px !important; /* Reduced bottom padding on mobile */
    }
    .footer-copyright-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 15px !important;
    }
    .footer-copyright-row > div {
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .footer-copyright-row .d-flex {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 12px 16px !important;
    }

    /* 6. JATS Fullscreen Reader Mobile Corrections */
    .jats-reader-toc-col,
    .jats-reader-widgets-col {
        display: none !important; /* Hide Toc and Widgets sidebar on mobile to optimize space */
    }
    .jats-reader-content-col {
        padding: 24px 16px !important; /* Reduce wide margins to fit text comfortably */
        width: 100% !important;
    }
    .jats-reader-header {
        padding: 0 16px !important;
    }
    .jats-title-area {
        display: none !important; /* Hide long article title in small mobile headers */
    }
    .jats-article-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    /* 7. Article View cramped Tabs widget on mobile */
    .article-tabs {
        overflow-x: auto !important;
        white-space: nowrap !important;
        display: flex !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 !important;
    }
    .art-tab-link {
        flex: 0 0 auto !important;
        padding: 12px 16px !important;
        font-size: 12px !important;
    }
}

/* --- Publisher Homepage Row-Based Journal List --- */
.journals-list-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}
.journal-row-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 25px;
    width: 100%;
    box-sizing: border-box;
}
.journal-row-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}
.journal-row-image-col {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}
.journal-row-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.journal-row-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
    text-decoration: none;
}
.journal-row-info-col {
    flex-grow: 1;
    min-width: 0; /* Prevents flex children overflow */
}
.journal-row-info-col h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
}
.journal-row-info-col h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.journal-row-info-col h3 a:hover {
    color: var(--primary-color);
}
.journal-row-info-col p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}
.journal-row-action-col {
    flex-shrink: 0;
}
.btn-journal-row {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 22px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-journal-row:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Responsive layouts for journal list rows */
@media (max-width: 768px) {
    .journal-row-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    .journal-row-image-col {
        width: 80px;
        height: 80px;
    }
    .journal-row-img-fallback {
        font-size: 18px;
    }
    .journal-row-action-col {
        width: 100%;
        text-align: right;
    }
    .btn-journal-row {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* --- Journal Homepage Aims/Scope and Areas of Interest Styles --- */
.journal-description-container {
    padding: 15px 0;
}
.homepage-section-subheading {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}
/* --- Standalone Premium Aims & Scope Section --- */
/* --- Aims & Scope Premium Layout Polish --- */
.homepage-aims-scope-section {
    margin-top: 15px !important;
    margin-bottom: 40px !important;
}
.aims-scope-card {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    padding: 35px 40px !important;
    box-shadow: var(--box-shadow) !important;
}
.aims-scope-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
}
.vertical-indicator-pill {
    width: 5px !important;
    height: 28px !important;
    background-color: var(--primary-color) !important;
    border-radius: 4px !important;
}
.section-title-premium {
    font-family: var(--font-headings) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
}
.aims-scope-body {
    color: #334155 !important;
}
.aims-text {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
    color: #475569 !important;
}
.premium-subheading {
    font-family: var(--font-headings) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 30px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding-bottom: 10px !important;
}
.premium-areas-grid {
    margin-top: 15px !important;
}
/* Multi-column list using columns instead of grid for uniform vertical flow */
.premium-areas-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    column-count: 2 !important;
    column-gap: 24px !important;
}
.premium-areas-list li {
    position: relative !important;
    padding: 10px 14px 10px 36px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    display: inline-block !important; /* Prevent split across columns */
    width: 100% !important;
    background: #f8fafc !important; /* Soft card background */
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    break-inside: avoid !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.premium-areas-list li:hover {
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    transform: translateY(-1px) !important;
}
.premium-areas-list li::before {
    content: "\f058" !important; /* FontAwesome fa-circle-check */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 12px !important;
    color: var(--primary-color) !important;
    font-size: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: color 0.2s ease !important;
}
.premium-areas-list li:hover::before {
    color: var(--primary-color-hover) !important;
}
@media (max-width: 768px) {
    .premium-areas-list {
        column-count: 1 !important;
    }
    .aims-scope-card {
        padding: 24px 20px !important;
    }
}

/* Article Page Full-Width Adjustments */
.col-main-article {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}

/* --- Custom Dashboard Footer Utility Support --- */
.text-white { color: #ffffff !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-3 { gap: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.p-2 { padding: 0.5rem !important; }
.fw-bold { font-weight: 700 !important; }
.d-inline { display: inline !important; }
.text-light { color: #f8fafc !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-85 { opacity: 0.85 !important; }
.opacity-50 { opacity: 0.5 !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.rounded-3 { border-radius: 0.5rem !important; }

/* Grid containers */
.container-xxl, .nexus-footer .container, .nexus-inner-boxed {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.row > * {
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Column styles for custom footer row layouts */
.col-xl-4, .col-xl-3, .col-lg-4, .col-lg-3, .col-md-6, .col-md-12 {
    position: relative;
    width: 100%;
    box-sizing: border-box !important;
}

.g-4 {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    margin-top: -1.5rem !important;
}
.g-4 > * {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-top: 1.5rem !important;
}

.g-5 {
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    margin-top: -2rem !important;
}
.g-5 > * {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    padding-top: 2rem !important;
}

.list-unstyled {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .flex-md-row { flex-direction: row !important; }
    .mb-md-0 { margin-bottom: 0 !important; }
    .col-md-6 { flex: 0 0 50% !important; max-width: 50% !important; }
    .col-md-12 { flex: 0 0 100% !important; max-width: 100% !important; }
}

@media (min-width: 992px) {
    .px-lg-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
    .col-lg-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
    .col-lg-3 { flex: 0 0 25% !important; max-width: 25% !important; }
}

@media (min-width: 1200px) {
    .col-xl-4 { flex: 0 0 33.333333% !important; max-width: 33.333333% !important; }
    .col-xl-3 { flex: 0 0 25% !important; max-width: 25% !important; }
}

/* Custom Footer Styling Overrides */
.nexus-footer a, footer.text-white a {
    transition: opacity 0.2s ease, color 0.2s ease !important;
}
.nexus-footer a:hover, footer.text-white a:hover {
    opacity: 0.85 !important;
    color: #ffffff !important;
}
.nexus-footer a.fw-bold:hover, footer.text-white a.fw-bold:hover {
    color: #a4bfa5 !important;
}

/* Hide default OJS dropdown caret indicators to prevent double icons */
.journal_nav_menu li a::after,
.journal_nav_menu li > a::after,
.pkp_nav_list li a::after,
.pkp_nav_list li > a::after,
.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* --- Login & Register Page Overhauls --- */
.pkp_page_login, .pkp_page_register {
    background-color: var(--bg-light) !important;
}

.pkp_page_login #pkp_content_main,
.pkp_page_register #pkp_content_main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 60px 20px !important;
    box-sizing: border-box;
}

.page_login, .page_register {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    padding: 40px 35px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
}

.page_login {
    max-width: 440px !important;
}

.page_register {
    max-width: 560px !important;
}

.page_login h1, .page_register h1 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    font-family: var(--font-headings) !important;
}

/* Form fields formatting */
.page_login .fields > div,
.page_register .fields > div,
.page_login form > div,
.page_register form > div {
    margin-bottom: 18px !important;
    text-align: left !important;
}

.page_login label, .page_register label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
}

.page_login input[type="text"],
.page_login input[type="password"],
.page_login input[type="email"],
.page_register input[type="text"],
.page_register input[type="password"],
.page_register input[type="email"] {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-family: var(--font-stack) !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.page_login input[type="text"]:focus,
.page_login input[type="password"]:focus,
.page_login input[type="email"]:focus,
.page_register input[type="text"]:focus,
.page_register input[type="password"]:focus,
.page_register input[type="email"]:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 59, 222, 0.15) !important;
    outline: none !important;
}

/* Button & Actions Layout */
.page_login .buttons, .page_register .buttons {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 25px !important;
    gap: 15px !important;
}

.page_login button[type="submit"],
.page_register button[type="submit"],
.page_login button.submit,
.page_register button.submit {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 24px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.page_login button[type="submit"]:hover,
.page_register button[type="submit"]:hover,
.page_login button.submit:hover,
.page_register button.submit:hover {
    background-color: var(--primary-color-hover) !important;
    transform: translateY(-1px) !important;
}

.page_login .rememberme, .page_register .rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #475569 !important;
    margin-bottom: 15px !important;
    text-align: left !important;
}

.page_login .rememberme input[type="checkbox"],
.page_register .rememberme input[type="checkbox"] {
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
    accent-color: var(--primary-color) !important;
}

/* Small text alignment */
.page_login .optin, .page_register .optin {
    text-align: left !important;
    font-size: 13px !important;
    color: #475569 !important;
}

/* --- Static Pages Polish & Spacing --- */
.page_static {
    margin-top: 0 !important;
    padding-top: 10px !important;
}
.page_static .cmp_breadcrumbs {
    margin-bottom: 25px !important;
}
.page_static .page_title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid var(--border-color) !important;
    padding-bottom: 12px !important;
}
.static_content {
    line-height: 1.8 !important;
    color: #334155 !important;
    font-size: 14px !important;
}
.static_content p {
    margin-bottom: 1.5rem !important;
}

/* --- Breadcrumbs Premium Styling --- */
.cmp_breadcrumbs ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: var(--text-light) !important;
}
.cmp_breadcrumbs a {
    color: var(--text-light) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.cmp_breadcrumbs a:hover {
    color: var(--primary-color) !important;
}
.cmp_breadcrumbs .separator {
    color: #94a3b8 !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}
.cmp_breadcrumbs .current {
    color: #0f172a !important;
    font-weight: 600 !important;
}

/* --- Dynamic Logo Header & Journal Subtitles --- */
.logo-brand-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-decoration: none !important;
}
.logo-journal-title {
    font-family: var(--font-headings) !important;
    font-size: 28px !important; /* A lot bigger! */
    font-weight: 700 !important;
    color: #0f172a !important; /* Premium dark shade */
    margin-left: 20px !important;
    padding-left: 20px !important;
    border-left: 2px solid #cbd5e1 !important; /* Vertical divider line */
    line-height: 1.25 !important;
    text-align: left !important;
    margin-top: 0 !important;
}
.logo-navbar {
    display: none;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 2px !important;
    text-decoration: none !important;
    height: 100% !important;
}
.navbar-logo-img {
    max-height: 30px !important;
    width: auto !important;
    filter: brightness(0) invert(1) !important;
}
.navbar-logo-journal-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    font-family: var(--font-headings) !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 320px !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* --- Dark Navigation Bar Search Form --- */
.navbar-search {
    flex: 0 1 260px !important;
    margin: 0 !important;
}
.navbar-search .search-input-group {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}
.navbar-search .search-input-group:focus-within {
    border-color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}
.navbar-search .search-input {
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}
.navbar-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}
.navbar-search .search-btn {
    color: rgba(255, 255, 255, 0.55) !important;
    padding: 0 8px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
}
.navbar-search .search-btn:hover {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .navbar-search {
        width: 100% !important;
        max-width: 280px !important;
        margin-top: 8px !important;
        margin-bottom: 4px !important;
        flex: 1 1 100% !important;
    }
}

/* --- Mobile Nav Widgets (inside Hamburger Menu) --- */
.mobile-nav-widgets {
    display: none !important;
}

@media (max-width: 991px) {
    /* Hide the desktop nav-right-container on mobile completely */
    .nav-right-container {
        display: none !important;
    }

    .mobile-nav-widgets {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 20px 15px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-top: 10px !important;
        background: rgba(0, 0, 0, 0.15) !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .mobile-search-container {
        width: 100% !important;
    }

    .mobile-search-container .top-search-form {
        width: 100% !important;
        margin: 0 !important;
    }

    .mobile-search-container .search-input-group {
        display: flex !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .mobile-search-container .search-input-group:focus-within {
        border-color: var(--primary-color) !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }

    .mobile-search-container .search-input {
        flex: 1 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        padding: 10px 12px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .mobile-search-container .search-input::placeholder {
        color: rgba(255, 255, 255, 0.45) !important;
        font-size: 14px !important;
    }

    .mobile-search-container .search-btn {
        color: rgba(255, 255, 255, 0.55) !important;
        padding: 0 16px !important;
        border: none !important;
        background: transparent !important;
        cursor: pointer !important;
    }

    .mobile-search-container .search-btn:hover {
        color: #ffffff !important;
    }

    .mobile-submit-container {
        width: 100% !important;
    }

    .mobile-submit-container .btn-submit-journal {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px !important;
        background-color: var(--accent-orange, #f97316) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        text-transform: uppercase !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
        transition: all 0.2s !important;
    }

    .mobile-submit-container .btn-submit-journal:hover {
        background-color: #ea580c !important;
    }
}

/* --- Journal Homepage Spacing Adjustments --- */
/* Reduce top padding of main content container on journal homepage */
.pkp_page_index.pkp_op_index:not(.is_publisher_site) .pkp_structure_content {
    padding-top: 25px !important;
}

/* Reduce margin below the About/Announcements tabs card */
.pkp_page_index.pkp_op_index:not(.is_publisher_site) .journal-tabs-container {
    margin-bottom: 25px !important;
}

@media (max-width: 991px) {
    .logo-brand-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .logo-journal-title {
        border-left: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        font-size: 20px !important; /* Slightly smaller size for mobile screen fit */
        text-align: center !important;
    }
}

/* --- Author Guidelines Custom Styles --- */
.ojs-guidelines-container {
    font-family: var(--font-stack);
    color: #1e293b;
    line-height: 1.7;
    width: 100%;
    padding: 10px 0;
    background-color: transparent;
}
.ojs-toc-wrapper {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--primary-color, #0b2545);
    padding: 35px;
    margin-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.ojs-toc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.ojs-toc-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
    flex: 1 1 280px;
    text-align: left;
    transition: all 0.2s ease;
}
.ojs-toc-grid a:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.03);
}
.ojs-toc-grid span {
    line-height: 1.2;
}
.ojs-toc-grid a span:first-child {
    background: #f0f9ff;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--primary-color, #0b2545);
    flex-shrink: 0;
    line-height: 1;
}
.ojs-toc-grid a span:last-child {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b2545;
}
.ojs-heading-main {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    color: #0b2545;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 6px solid var(--primary-color, #0b2545);
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 24px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.ojs-heading-sub {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    color: var(--primary-color, #0b2545);
    background: #f0f9ff;
    padding: 12px 18px;
    border-radius: 6px;
    border-left: 4px solid var(--accent-orange, #f97316);
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 600;
}
.ojs-bullet-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 24px;
}
.ojs-bullet-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: #334155;
}
.ojs-bullet-list li span {
    position: absolute;
    left: 0;
    color: var(--primary-color, #0b2545);
}
.ojs-top-link-wrapper {
    text-align: right;
    margin-top: 35px;
    margin-bottom: 35px;
}
.ojs-top-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-headings);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    background: var(--primary-color, #0b2545);
    padding: 10px 22px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
    transition: all 0.2s ease;
}
.ojs-top-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color-hover, #134074);
    box-shadow: 0 6px 16px rgba(11, 37, 69, 0.2);
}

/* --- CUSTOM NEW DESIGN --- */
.container { max-width: 1200px; width: 95%; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-stack); font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 6px; cursor: pointer; border: 1.5px solid transparent;
  transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: 10px 18px; font-size: 14px; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 10px rgba(13, 34, 64, 0.2); transition: all 0.3s ease; }
.btn-navy:hover { background: #1a3c6d; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(13, 34, 64, 0.35); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 4px 10px rgba(31, 157, 120, 0.2); transition: all 0.3s ease; }
.btn-green:hover { background: #166534; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(31, 157, 120, 0.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: #cbd5e1; }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-blue { color: var(--blue); border-color: #bcd2ee; }
.btn-mini { padding: 6px 14px; font-size: 13px; border-width: 1px; border-radius: 6px; }
.btn-mini:hover { transform: translateY(-1px); }
.btn.block { width: 100%; }

/* ===================== HERO ===================== */
.hero { background: linear-gradient(180deg, #eaf3fc 0%, #f4f9fe 55%, #ffffff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; padding: 56px 24px 64px; }
.hero-copy h1 { font-size: 52px; font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.15; }
.hero-copy p { font-size: 17px; color: #000; max-width: 480px; margin-bottom: 28px; line-height: 1.5; }
.hero-buttons { display: flex; gap: 14px; margin-bottom: 26px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 26px; }
.hero-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-link); font-size: 14px; font-weight: 500; }
.hero-links a:hover { color: var(--navy); }
.hero-art { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 480px; height: auto; }
/* ===================== FEATURE BAR ===================== */
.feature-bar { background: var(--navy); color: #fff; padding: 24px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 0 24px; }
.feature-item { display: flex; align-items: center; gap: 12px; position: relative; padding-right: 10px; }
.feature-item:not(:last-child)::after { content: ''; position: absolute; right: -9px; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,0.15); }
.feature-item h4 { color: #fff; font-size: 16px; font-weight: 700; margin: 0; line-height: 1.2; }
.feature-item p { color: #fff; font-size: 13px; line-height: 1.2; margin: 2px 0 0 0; }

/* ===================== SECTIONS ===================== */
.section { padding: 64px 0; }
.section.why, .section.journals, .section.authors, .section.areas { padding: 50px 0 !important; }
.section-grey { background: var(--grey-bg); }
.section-lightblue { background: var(--light-blue); }
.section-title { font-size: 26px !important; font-weight: 700; margin-top: 0 !important; margin-bottom: 24px; text-align: left; border-left: 5px solid var(--navy); padding-left: 15px; color: var(--navy); }
.section-title.center { text-align: center; margin-bottom: 44px; border-left: none; padding-left: 0; }
.section-subtitle { font-size: 16px; color: #000; max-width: 600px; margin: -20px auto 44px; text-align: center; line-height: 1.5; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.link-arrow { color: var(--blue-link); font-weight: 600; font-size: 14px; }
.link-arrow:hover { color: var(--navy); }

/* ===================== JOURNALS ===================== */
.journal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.journal-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(13,34,64,.04); transition: transform .18s ease, box-shadow .18s ease; }
.journal-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(13,34,64,.12); }
.journal-img { height: 150px; width: 100%; display: flex; align-items: flex-start; position: relative; overflow: hidden; padding: 0 !important; margin: 0 !important; }
.journal-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; padding: 0; }
.ji-ai { background: radial-gradient(circle at 70% 30%, #1c4f86, #0b2342); }
.ji-agri { background: linear-gradient(160deg, #4e7d3a, #2f5a22); }
.ji-health { background: linear-gradient(160deg, #2566a8, #133f72); }
.ji-society { background: linear-gradient(160deg, #7a2d77, #4a1c5e); }
.ji-energy { background: linear-gradient(160deg, #e89b3a, #c96a1f); }
.journal-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.journal-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; line-height: 1.5; }
.journal-body p { font-size: 14px; color: #000; flex: 1; margin-bottom: 16px; }
.journal-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.journal-foot .link-arrow { font-size: 12.5px; }

/* ===================== WHY PUBLISH ===================== */
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px 16px; text-align: left; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(13,34,64,.12); }
.why-icon { width: 48px; height: 48px; border-radius: 50%; background: #e7f6f0; display: flex; align-items: center; justify-content: center; margin: 0 0 10px 0; }
.why-card h4 { font-size: 17px; font-weight: 600; margin: 0 0 2px 0; }
.why-card p { font-size: 14.5px; color: #000; margin-top: 0; line-height: 1.4; }

/* ===================== FOR AUTHORS ===================== */
.authors-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.steps { display: flex; align-items: stretch; justify-content: space-between; gap: 15px; }
.step { flex: 1; text-align: center; padding: 24px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 4px 12px rgba(13,34,64,.04); }
.step-icon { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; border: 1.5px solid; }
.step-icon.teal { background: #e7f6f0; border-color: #bfe6d7; }
.step-icon.blue { background: #e7f6f0; border-color: #bfe6d7; }
.step-icon.purple { background: #e7f6f0; border-color: #bfe6d7; }
.step-icon.green { background: #e7f6f0; border-color: #bfe6d7; }
.step h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px 0; color: var(--navy); }
.step p { font-size: 14px; color: #000; margin: 0; line-height: 1.5; }
.step-arrow { color: #b9c6d4; font-size: 44px; padding-top: 20px; flex: 0 0 auto; }
.authors-panel { background: #f6f9fc; border: 1px solid var(--border); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }

/* ===================== RESEARCH AREAS ===================== */
.areas-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 16px; }
.area { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; padding-right: 9px; }
.area:not(:last-child)::after { content: ''; position: absolute; right: -9px; top: 15%; height: 70%; width: 1px; background: rgba(13,34,64,0.1); }
.area svg { margin: 0 auto; width: 36px; height: 36px; }
.area h5 { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; margin: 0; }

/* ===================== COMMITMENT ===================== */
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.commit-left p { color: #000; font-size: 16px; margin: 14px 0 22px; line-height: 1.6; }
.commit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.commit-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); font-weight: 500; }
.commit-list .check { width: 20px; height: 20px; border-radius: 50%; background: #e7f6f0; color: var(--green); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.commit-art { overflow: hidden; display: flex; align-items: center; justify-content: flex-end; }

/* ===================== CTA BAND ===================== */
.cta-band { background: linear-gradient(90deg, #0d2240, #143458); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 24px; }
.cta-copy { display: flex; align-items: center; gap: 18px; }
.cta-icon { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cta-copy h3 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 4px 0; }
.cta-copy p { color: #c4d3e6; font-size: 14px; max-width: 540px; margin: 0; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-deep); color: #fff; width: 100%; margin: 0; padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.8fr 1.1fr 1.1fr; gap: 20px; padding: 30px 24px 40px; }
.footer-logo { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.footer-brand p { font-size: 15px; color: #fff; line-height: 1.6; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: #163052; display: flex; align-items: center; justify-content: center; transition: background .18s; }
.socials a:hover { background: var(--green); }
.footer-col h5 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a, .contact-list li { font-size: 15px; color: #fff; }
.footer-col ul li a:hover { opacity: 0.8; }
.contact-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.contact-list .contact-block { display: block; line-height: 1.5; color: #fff; }

.footer-bottom { border-top: 1px solid #1d3550; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; gap: 16px; }
.footer-bottom-inner span { font-size: 14px; color: #fff; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .journal-grid, .feature-grid, .why-grid, .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-inner, .commit-grid, .authors-layout { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 40px; }
  .steps { flex-direction: column; align-items: center; gap: 26px; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .journal-grid, .feature-grid, .why-grid, .areas-grid, .commit-list, .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-actions .btn-outline { display: none; }
  .hero-copy h1 { font-size: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* Override Header Submit Button */
.btn-submit-journal { background: var(--green) !important; color: #fff !important; padding: 8px 16px !important; font-size: 13px !important; border-radius: 6px !important; text-transform: none !important; font-weight: 600 !important; border: none !important; }
.btn-submit-journal:hover { background: #166534 !important; transform: translateY(-1px) !important; box-shadow: 0 4px 10px rgba(31, 157, 120, 0.3) !important; }

/* Bootstrap alignment utility classes for custom HTML */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-white { color: #ffffff !important; }
.fw-bold { font-weight: bold !important; }
.text-uppercase { text-transform: uppercase !important; }
.list-unstyled { list-style: none !important; padding-left: 0 !important; }
