﻿/*
Theme Name: Journal Publishing
Theme URI: https://example.com/journal-publishing
Author: Codex
Author URI: https://example.com
Description: A custom WordPress theme for a journal publishing website.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: journal-publishing
Tags: custom-theme, journal, bootstrap
*/

:root {
    --jp-primary: #154c8a;
    --jp-accent: #f39c12;
    --jp-dark: #0b1f3b;
    --jp-light: #f5f8fc;
    --jp-border: #e3e9f2;
    --jp-text: #1f2937;
    --jp-header-offset: 0px;
}

body {
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    color: var(--jp-text);
    background: #ffffff;
    padding-top: var(--jp-header-offset);
}

::selection {
    background: #cfe3ff;
    color: #0b1f3b;
}

::-moz-selection {
    background: #cfe3ff;
    color: #0b1f3b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Merriweather", "Georgia", serif;
}

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

a {
    color: var(--jp-primary);
    text-decoration: none;
}

a:hover {
    color: var(--jp-accent);
}

.site-content {
    background: #ffffff;
}

.container {
    max-width: 1200px;
}

.btn-jp {
    background: var(--jp-primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    border: none;
}

.btn-jp:hover {
    background: #0f3f73;
    color: #ffffff;
}

.card-jp {
    border: 1px solid var(--jp-border);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.section-title {
    font-weight: 700;
    color: var(--jp-dark);
}

.jp-muted {
    color: #64748b;
}

.nav-left .sub-menu,
.jp-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    width: max-content;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.2s ease;
    display: block !important;
    z-index: 1002;
}

.nav-left .jp-menu > li.menu-item-has-children > .sub-menu,
.jp-menu > li.menu-item-has-children > .sub-menu {
    top: 100%;
    bottom: auto;
    margin-top: 0;
}

.nav-left .sub-menu .sub-menu,
.jp-menu .sub-menu .sub-menu {
    top: -8px;
    left: calc(100% + 8px);
}

.nav-left .menu-item-has-children:hover > .sub-menu,
.nav-left .menu-item-has-children:focus-within > .sub-menu,
.nav-left .menu-item-has-children.is-open > .sub-menu,
.jp-menu .menu-item-has-children:hover > .sub-menu,
.jp-menu li:hover > .sub-menu,
.jp-menu .menu-item-has-children:focus-within > .sub-menu,
.jp-menu .menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-left .sub-menu li,
.jp-menu .sub-menu li {
    display: block !important;
    width: 100%;
    white-space: normal;
}

.nav-left .sub-menu a,
.jp-menu .sub-menu a {
    color: var(--jp-dark);
    display: block;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-left .sub-menu a:hover,
.jp-menu .sub-menu a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

.jp-submenu-toggle {
    display: none;
}

.site-content {
    position: relative;
    z-index: 1;
}

.site-content > .container.py-4 {
    padding-top: 16px !important;
    padding-bottom: 24px !important;
}

.site-content .jp-breadcrumbs {
    margin-top: 0;
    margin-bottom: 12px;
}

.jp-stats {
    margin-top: 0;
    padding-top: 24px;
}

.jp-main-home {
    position: relative;
    z-index: 1;
}

.jp-hero {
    margin-bottom: 18px;
}

.hero-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.hero-left {
    flex: 2;
    max-width: 65%;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jp-hero-panel {
    height: 100%;
    padding: 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-title {
    font-size: 36px;
    line-height: 1.3;
    margin: 12px 0 10px;
}

.hero-issn {
    font-size: 14px;
    opacity: 0.85;
}

.hero-cta {
    margin-top: 20px;
}

.hero-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #1f4a7c;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
}

.hero-cta a:hover,
.hero-cta a:focus {
    background: #f0f5fb;
    color: #123d6e;
}

.jp-hero-sidebar {
    height: 100%;
}

.jp-hero-sidebar .widget,
.hero-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

.jp-hero-sidebar .widget + .widget {
    margin-top: 20px;
}

.hero-card,
.jp-hero-sidebar .widget {
    background: rgba(255, 255, 255, 0.95);
}

.hero-card h3,
.hero-card .widget-title,
.jp-hero-sidebar .widget h3,
.jp-hero-sidebar .widget .widget-title {
    color: #1f2d3d;
    font-weight: 600;
}

.hero-card p,
.hero-card li,
.jp-hero-sidebar .widget p,
.jp-hero-sidebar .widget li {
    color: #374151;
    opacity: 1;
}

.hero-card .label,
.jp-hero-sidebar .widget .label {
    color: #6b7280;
    font-weight: 500;
    opacity: 1;
}

.hero-card .date,
.jp-hero-sidebar .widget .date,
.jp-hero-sidebar .widget strong {
    color: #111827;
    font-weight: 600;
    opacity: 1;
}

.hero-card a,
.jp-hero-sidebar .widget a {
    color: #ff4d00;
    font-weight: 600;
    text-decoration: none;
}

.hero-card a:hover,
.hero-card a:focus,
.jp-hero-sidebar .widget a:hover,
.jp-hero-sidebar .widget a:focus {
    text-decoration: underline;
}

/* Force readable contrast for banner right-side widgets (Call For Papers / For Author). */
.jp-hero .jp-hero-sidebar .widget,
.jp-hero .jp-hero-sidebar .widget p,
.jp-hero .jp-hero-sidebar .widget span,
.jp-hero .jp-hero-sidebar .widget li,
.jp-hero .jp-hero-sidebar .widget strong {
    color: #111827 !important;
    opacity: 1 !important;
}

.jp-hero .jp-hero-sidebar .widget .widget-title,
.jp-hero .jp-hero-sidebar .widget h2,
.jp-hero .jp-hero-sidebar .widget h3 {
    color: #1f2d3d !important;
    font-weight: 700;
}

.jp-hero .jp-hero-sidebar .widget a {
    color: #ff4d00 !important;
    font-weight: 600;
}

.jp-archives-grid.is-single-volume {
    grid-template-columns: 1fr;
}

.jp-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.jp-download-card {
    background: #ffffff;
    border: 1px solid var(--jp-border);
    border-radius: 14px;
    overflow: hidden;
}

.jp-download-card__header {
    background: linear-gradient(135deg, #154c8a, #0f3f73);
    padding: 14px 18px;
}

.jp-download-card__title {
    color: #ffffff;
    font-size: 20px;
}

.jp-download-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-download-list__item + .jp-download-list__item {
    border-top: 1px solid var(--jp-border);
}

.jp-download-link {
    display: block;
    padding: 14px 18px;
    color: var(--jp-dark);
    font-weight: 600;
    text-decoration: none;
}

.jp-download-link:hover,
.jp-download-link:focus {
    background: #f3f8ff;
    color: var(--jp-primary);
}

/* Footer */
.jp-footer {
    margin-top: 56px;
    background: linear-gradient(180deg, #0a1630, #081124);
    color: #e5e7eb;
    padding: 52px 0 24px;
}

.jp-footer a {
    color: #dbe7ff;
}

.jp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.jp-footer-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jp-footer-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jp-footer-col {
    padding-right: 10px;
}

.jp-footer-col + .jp-footer-col {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 24px;
}

.jp-footer-title {
    margin: 0 0 14px;
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.jp-footer-about p {
    margin: 0;
    color: #bac6df;
    line-height: 1.7;
}

.jp-footer-links,
.jp-footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jp-footer-links li + li,
.jp-footer-contact li + li {
    margin-top: 10px;
}

.jp-footer-links a {
    position: relative;
    display: inline-block;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.jp-footer-links a:hover,
.jp-footer-links a:focus {
    color: #ffffff;
    transform: translateX(3px);
}

.jp-footer-contact li {
    color: #cbd5e1;
    line-height: 1.6;
}

.jp-footer-contact span {
    color: #ffffff;
    font-weight: 600;
    margin-right: 6px;
}

.jp-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.jp-footer-copy {
    margin: 0;
    color: #c7d2fe;
    font-size: 14px;
}

.jp-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jp-footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.jp-footer-social a:hover,
.jp-footer-social a:focus {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.jp-footer-social svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

@media (max-width: 991px) {
    .jp-stats {
        padding-top: 16px;
    }

    .hero-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
        width: 100%;
    }

    .jp-download-grid {
        grid-template-columns: 1fr;
    }

    .jp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .jp-footer-col + .jp-footer-col {
        border-left: 0;
        padding-left: 0;
    }

    .jp-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .jp-main-home .row {
        display: flex;
        align-items: flex-start;
    }

    .jp-main-home .col-lg-8 {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .jp-main-home .col-lg-4 {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .jp-home-sidebar {
        position: sticky;
        top: 100px;
        align-self: flex-start;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media (max-width: 991px) {
    .jp-main-home .col-lg-8,
    .jp-main-home .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .jp-home-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .jp-footer {
        padding-top: 42px;
    }

    .jp-footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}


/* 2026 homepage and journal UI refresh */
:root {
    --jp-primary: #1e3a8a;
    --jp-accent: #3b82f6;
    --jp-dark: #0f172a;
    --jp-bg: #f8fafc;
    --jp-text: #1f2937;
    --jp-muted: #64748b;
    --jp-border: #dbe4f0;
    --jp-surface: #ffffff;
    --jp-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    --jp-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
}

body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--jp-text);
    background: var(--jp-bg);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.jp-section-title,
.jp-home-hero__title {
    font-family: "Merriweather", Georgia, serif;
}

.site-content {
    background: var(--jp-bg);
}

.container {
    max-width: 1200px;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(219, 228, 240, 0.8);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.admin-bar .main-header {
    top: 32px;
}

.main-header.is-scrolled {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    border-color: rgba(203, 213, 225, 0.9);
}

.jp-brand {
    gap: 14px;
    min-width: 0;
}

.jp-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.jp-title-wrap {
    min-width: 0;
}

.site-title {
    display: block;
    color: var(--jp-dark);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.jp-menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--jp-border);
    background: var(--jp-surface);
    color: var(--jp-dark);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
}

.jp-menu-toggle-icon,
.jp-menu-toggle-icon::before,
.jp-menu-toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.jp-menu-toggle-icon {
    position: relative;
}

.jp-menu-toggle-icon::before,
.jp-menu-toggle-icon::after {
    position: absolute;
    left: 0;
}

.jp-menu-toggle-icon::before {
    top: -5px;
}

.jp-menu-toggle-icon::after {
    top: 5px;
}

.nav-left {
    min-width: 0;
}

.jp-menu {
    justify-content: center;
    gap: 4px;
}

.jp-menu > li > a {
    position: relative;
    padding: 12px 14px;
    color: var(--jp-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 0;
    background: transparent;
}

.jp-menu > li > a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: var(--jp-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

.jp-menu > li > a:hover,
.jp-menu > li > a:focus,
.jp-menu > li.current-menu-item > a,
.jp-menu > li.current-menu-ancestor > a {
    color: var(--jp-primary);
    background: transparent;
}

.jp-menu > li > a:hover::after,
.jp-menu > li > a:focus::after,
.jp-menu > li.current-menu-item > a::after,
.jp-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.jp-menu .sub-menu {
    border: 1px solid var(--jp-border);
    border-radius: 16px;
}

.jp-header-search .search-form {
    justify-content: flex-end;
}

.jp-header-search .search-field {
    min-width: 220px;
    padding: 10px 16px;
    border: 1px solid var(--jp-border);
    border-radius: 999px;
    background: #fff;
}

.jp-header-search .search-submit {
    padding: 10px 18px;
}

.jp-home-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    color: #fff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(8, 15, 33, 0.62)), var(--jp-hero-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.jp-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 420px);
    gap: 36px;
    align-items: center;
}

.jp-home-hero__content {
    max-width: 720px;
}

.jp-home-hero__badge,
.jp-callout-card__eyebrow,
.jp-section-kicker,
.jp-action-card__kicker,
.jp-issue-card__label,
.jp-fact-card__label {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jp-home-hero__badge {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.jp-home-hero__title {
    margin: 22px 0 18px;
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.18;
    color: #fff;
}

.jp-home-hero__text {
    max-width: 680px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
}

.jp-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.jp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jp-button:hover,
.jp-button:focus {
    transform: translateY(-1px);
}

.jp-button--primary,
.jp-button--secondary {
    background: var(--jp-accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.jp-button--primary:hover,
.jp-button--primary:focus,
.jp-button--secondary:hover,
.jp-button--secondary:focus {
    background: #2563eb;
    color: #fff;
}

.jp-button--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.jp-button--ghost:hover,
.jp-button--ghost:focus {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.jp-button--outline {
    border-color: var(--jp-border);
    background: #fff;
    color: var(--jp-primary);
}

.jp-button--outline:hover,
.jp-button--outline:focus {
    border-color: var(--jp-primary);
    color: var(--jp-primary);
}

.jp-callout-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--jp-text);
    border-radius: 24px;
    box-shadow: var(--jp-shadow-lg);
}

.jp-callout-card__eyebrow,
.jp-action-card__kicker {
    color: var(--jp-primary);
}

.jp-callout-card__title {
    margin: 16px 0 20px;
    font-size: 1.6rem;
    line-height: 1.35;
    color: var(--jp-dark);
}

.jp-callout-card__meta {
    padding: 14px 0;
    border-top: 1px solid var(--jp-border);
}

.jp-callout-card__meta span,
.jp-issue-card p,
.jp-prose p,
.jp-feature-card p,
.jp-surface-card p,
.why-widget p,
.jp-action-card p {
    margin: 0;
    color: var(--jp-muted);
    line-height: 1.8;
}

.jp-callout-card__meta span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jp-callout-card__meta strong {
    color: var(--jp-dark);
}

.jp-callout-card .jp-button {
    width: 100%;
    margin-top: 22px;
}

.jp-home-main {
    padding: 40px 0 84px;
}

.jp-home-section {
    padding: 34px 0;
}

.jp-home-section--compact {
    padding-top: 0;
}

.jp-section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.jp-section-kicker {
    color: var(--jp-primary);
    margin-bottom: 12px;
}

.jp-section-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1.25;
    color: var(--jp-dark);
}

.jp-section-title--sm {
    font-size: 1.3rem;
}

.jp-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--jp-primary);
}

.jp-inline-link:hover,
.jp-inline-link:focus {
    color: var(--jp-accent);
}

.jp-marquee-card,
.jp-surface-card,
.jp-feature-card,
.why-widget,
.jp-issue-card,
.jp-action-card,
.partner-widget,
.jp-partner-card,
.jp-partner-placeholder,
.jp-footer-col {
    background: var(--jp-surface);
    border: 1px solid var(--jp-border);
    border-radius: 22px;
    box-shadow: var(--jp-shadow);
}

.jp-marquee-card {
    overflow: hidden;
}

.jp-marquee-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--jp-border);
}

.jp-announcements__item a {
    padding: 18px 28px;
}

.jp-publication-grid,
.jp-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.jp-surface-card {
    padding: 30px;
}

.jp-surface-card--content {
    min-height: 100%;
}

.jp-publication-grid__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.jp-fact-card {
    padding: 22px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid var(--jp-border);
    border-radius: 20px;
}

.jp-fact-card__label {
    margin-bottom: 10px;
    color: var(--jp-primary);
}

.jp-fact-card strong {
    display: block;
    color: var(--jp-dark);
    line-height: 1.6;
}

.jp-feature-grid,
.jp-why-grid,
.jp-issues-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.jp-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.jp-feature-card,
.why-widget,
.jp-issue-card,
.jp-action-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
}

.jp-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--jp-primary);
    font-size: 1.35rem;
}

.jp-action-stack {
    display: grid;
    gap: 20px;
}

.jp-action-card h3,
.why-widget h3,
.jp-issue-card h3 {
    margin: 12px 0 12px;
    color: var(--jp-dark);
    font-size: 1.35rem;
    line-height: 1.4;
}

.why-widget {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-widget:hover,
.why-widget:focus-within,
.jp-issue-card:hover,
.jp-feature-card:hover,
.jp-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jp-shadow-lg);
}

.jp-issue-card {
    justify-content: space-between;
    gap: 18px;
}

.jp-issue-card__label {
    color: var(--jp-primary);
}

.jp-issue-card .jp-button {
    align-self: flex-start;
}

.partner-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.jp-partner-card,
.jp-partner-placeholder {
    min-height: 118px;
    border-radius: 20px;
}

.jp-footer {
    margin-top: 0;
    padding: 72px 0 24px;
    background: #0f172a;
    color: #cbd5e1;
}

.jp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.jp-footer-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jp-footer-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jp-footer-col {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: none;
}

.jp-footer-title {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: #fff;
    font-size: 1.1rem;
}

.jp-footer-links,
.jp-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jp-footer-links li + li,
.jp-footer-contact li + li {
    margin-top: 12px;
}

.jp-footer a {
    color: #e2e8f0;
}

.jp-footer a:hover,
.jp-footer a:focus {
    color: #93c5fd;
}

.jp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.jp-footer-copy {
    margin: 0;
}

.jp-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jp-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.jp-footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 1199px) {
    .jp-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-header .header-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .site-header .header-left {
        max-width: none;
    }

    .nav-left,
    .nav-right {
        grid-column: 1 / -1;
        display: none;
    }

    .nav-container.is-menu-open .nav-left,
    .nav-container.is-menu-open .nav-right {
        display: block;
    }

    .site-header .nav-menu {
        width: 100%;
        margin-top: 12px;
        padding: 12px 16px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    }

    .jp-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 0;
        gap: 0;
    }

    .site-header .nav-menu ul,
    .site-header .nav-menu .jp-menu {
        flex-direction: column;
        align-items: stretch;
        white-space: normal;
        gap: 0;
    }

    .site-header .nav-menu a,
    .jp-menu > li > a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .jp-menu > li:last-child > a {
        border-bottom: 0;
    }

    .jp-menu > li > a::after,
    .site-header .nav-menu a::after {
        left: 0;
        right: auto;
        width: 40px;
        bottom: 2px;
    }

    .site-header .header-right {
        margin-top: 12px;
        justify-content: center;
    }

    .jp-menu .menu-item-has-children {
        position: relative;
    }

    .jp-menu .menu-item-has-children > a {
        padding-right: 52px;
    }

    .jp-submenu-toggle {
        position: absolute;
        top: 4px;
        right: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid #dbe2ea;
        border-radius: 10px;
        background: #ffffff;
        color: #1e3a8a;
    }

    .jp-submenu-toggle span {
        display: block;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-1px);
        transition: transform 0.2s ease;
    }

    .jp-menu .menu-item-has-children.is-open > .jp-submenu-toggle span {
        transform: rotate(-135deg) translateY(-1px);
    }

    .nav-left .sub-menu,
    .jp-menu .sub-menu {
        position: static;
        min-width: 0;
        width: 100%;
        margin: 8px 0 0;
        padding: 8px 0 0 14px;
        border: 0;
        border-left: 2px solid #dbe2ea;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none !important;
        background: transparent;
    }

    .jp-menu .menu-item-has-children.is-open > .sub-menu {
        display: block !important;
    }

    .nav-left .sub-menu .sub-menu,
    .jp-menu .sub-menu .sub-menu {
        top: auto;
        left: auto;
        margin-top: 8px;
    }

    .nav-left .sub-menu a,
    .jp-menu .sub-menu a {
        padding: 10px 0;
        border-bottom: 1px solid #eef2f7;
        white-space: normal;
    }

    .jp-menu .sub-menu li:last-child > a {
        border-bottom: 0;
    }

    .nav-container.is-menu-open .jp-menu-toggle-icon {
        background: transparent;
    }

    .nav-container.is-menu-open .jp-menu-toggle-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-container.is-menu-open .jp-menu-toggle-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .jp-home-hero__grid,
    .jp-publication-grid,
    .jp-about-grid {
        grid-template-columns: 1fr;
    }

    .jp-header-search .search-form {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .jp-feature-grid,
    .jp-why-grid,
    .jp-issues-grid,
    .jp-footer-grid,
    .jp-publication-grid__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jp-home-hero {
        padding: 72px 0;
    }
}

@media (max-width: 767px) {
    body.admin-bar .main-header {
        top: 46px;
    }

    .jp-logo {
        width: 54px;
        height: 54px;
    }

    .site-title {
        font-size: 15px;
    }

    .jp-home-hero {
        padding: 60px 0;
    }

    .jp-home-hero__actions {
        flex-direction: column;
    }

    .jp-button,
    .jp-home-hero__actions .jp-button {
        width: 100%;
    }

    .jp-marquee-card__header,
    .jp-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .jp-feature-grid,
    .jp-why-grid,
    .jp-issues-grid,
    .jp-footer-grid,
    .jp-publication-grid__facts {
        grid-template-columns: 1fr;
    }

    .jp-surface-card,
    .jp-feature-card,
    .why-widget,
    .jp-issue-card,
    .jp-action-card,
    .jp-callout-card,
    .jp-footer-col {
        padding: 22px;
    }
}

/* Homepage structure refinement */
.hero-section {
    position: relative;
    background: url('../../uploads/2026/05/hero-bg.jpg') center/cover no-repeat;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-left {
    max-width: 600px;
}

.hero-left .badge {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-left h1 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 3.75rem);
    line-height: 1.15;
}

.hero-left p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary,
.hero-card .btn-primary,
.issue-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.hero-buttons .btn-primary,
.hero-card .btn-primary {
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.22);
}

.hero-buttons .btn-primary:hover,
.hero-card .btn-primary:hover {
    background: #163172;
    color: #fff;
}

.hero-buttons .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.hero-right {
    width: min(100%, 360px);
}

.hero-right .hero-card {
    background: #fff;
    color: #000;
    padding: 28px;
    border-radius: 10px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.2);
}

.hero-card h3 {
    margin-bottom: 14px;
    color: #111827;
}

.hero-card p {
    margin-bottom: 20px;
    color: #4b5563;
    line-height: 1.7;
}

.section {
    padding: 25px 0;
}

.section .container {
    max-width: 1200px;
    margin: auto;
}

.section-inner {
    padding-left: 0;
    padding-right: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--jp-border);
    transition: 0.3s;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.card:hover {
    transform: translateY(-5px);
}

.publication-info .jp-copy p + p {
    margin-top: 14px;
    text-align: justify;
}

.jp-features-header {
    margin-bottom: 24px;
}

.feature-card-grid .card {
    height: 100%;
}

.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    color: #1e3a8a;
    font-size: 1.25rem;
}

.feature-card-item p,
.issue-card p,
.jp-why-grid .card p,
.jp-why-grid .why-widget p {
    margin-bottom: 0;
    line-height: 1.75;
}

.about-journal .about-card {
    max-width: 1200px;
    margin: 0 auto;
}

.jp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.jp-why-grid .why-widget {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--jp-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transition: 0.3s;
    text-align: left;
}

.jp-why-grid .why-widget:hover {
    transform: translateY(-5px);
}

.jp-recent-issues-heading,
.recent-issues .section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.recent-issues .issues-grid {
    margin-top: 0;
}

.issue-card {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--jp-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.issue-card h4,
.issue-card__title {
    margin-bottom: 10px;
    color: #111827;
}

.issue-card p,
.issue-card__date {
    margin-bottom: 0;
    color: #1f2937;
}

.issue-card a,
.issue-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1e3a8a;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.issue-card a:hover,
.issue-card a:focus,
.issue-card__button:hover,
.issue-card__button:focus {
    border-color: #1e3a8a;
    color: #1e3a8a;
    text-decoration: none;
}

.recent-issues .view-all {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.recent-issues .view-all:hover,
.recent-issues .view-all:focus {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-3,
    .jp-why-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .hero-card .btn-primary,
    .issue-card a {
        width: 100%;
    }

    .jp-recent-issues-heading,
    .recent-issues .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero-section {
    position: relative;
    background: url('../../uploads/2026/05/hero-bg.jpg') center/cover no-repeat;
    padding: 35px 0;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(2, 6, 23, 0.85),
        rgba(2, 6, 23, 0.6)
    );
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-left h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-left .hero-journal-title {
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    line-height: 1.45;
    letter-spacing: 0.01em;
    max-width: 780px;
}

.hero-left p {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5f5;
    margin-bottom: 20px;
    text-align: justify;
}

.hero-buttons a,
.hero-card .btn-primary {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin-right: 10px;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-secondary {
    border: 1px solid #fff;
    color: #fff;
}

.hero-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: min(100%, 360px);
    background: #ffffff;
    color: #111827;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-card h3 {
    font-size: 24px;
    line-height: 1.3;
}

.hero-card .meta {
    margin: 10px 0 20px;
}

.hero-card .meta span {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

.hero-card .meta strong {
    font-size: 16px;
    color: #111827;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left .hero-journal-title {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .hero-section {
        padding: 72px 0;
    }
}

/* Header cleanup only */
.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 20px;
}

.site-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
}

.site-header .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header .title-wrap {
    min-width: 0;
}

.site-header .site-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-header .site-title a {
    color: inherit;
    text-decoration: none;
}

.site-header .site-tagline {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-header .nav-menu {
    display: flex;
    justify-content: center;
}

.site-header .nav-menu ul,
.site-header .nav-menu .jp-menu {
    display: flex;
    justify-content: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.site-header .nav-menu a {
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    position: relative;
    padding: 0 0 4px;
}

.site-header .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #2563eb;
    transition: 0.3s;
}

.site-header .nav-menu a:hover::after,
.site-header .nav-menu .current-menu-item > a::after,
.site-header .nav-menu .current-menu-ancestor > a::after {
    width: 100%;
}

.site-header .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.site-header .issn-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .site-header .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        text-align: left;
        gap: 12px;
    }

    .site-header .header-left {
        justify-content: flex-start;
        align-items: flex-start;
        max-width: none;
    }

    .site-header .title-wrap {
        text-align: left;
    }

    .site-header .header-right {
        justify-content: center;
    }

    .site-header .nav-left,
    .site-header .nav-right {
        display: none;
    }

    .nav-container.is-menu-open .nav-left,
    .nav-container.is-menu-open .nav-right {
        display: block;
    }

    .site-header .nav-menu ul,
    .site-header .nav-menu .jp-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .site-header .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .site-header .logo-img {
        width: 42px;
        height: 42px;
    }

    .site-header .site-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .site-header .site-tagline {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .jp-menu-toggle {
        padding: 8px 14px;
        align-self: start;
    }
}

.announcement-ticker {
    background: #1e3a8a;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-track {
    display: flex;
    width: max-content;
    animation: scrollTicker 20s linear infinite;
}

.announcement-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 40px;
    font-size: 14px;
}

.announcement-content .label {
    font-weight: 600;
    margin-right: 5px;
}

.announcement-content strong {
    font-weight: 700;
}

.announcement-content a {
    color: #fbbf24;
    font-weight: 600;
    text-decoration: underline;
}

.announcement-content a:hover {
    color: #fde68a;
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.announcement-ticker:hover .announcement-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .announcement-content {
        font-size: 12px;
        padding: 8px 20px;
    }
}
