/* Header Base */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Header Layout */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
}

/* Logo */
.logo-area img {
    max-height: 50px;
}

/* Navigation */
.nav-area {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pkp_navigation_primary {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pkp_navigation_primary li a:hover {
    color: #0073e6;
}

/* User Menu */
.user-area {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #0073e6;
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-area {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .pkp_navigation_primary {
        flex-wrap: nowrap;
    }
}

/* Brand Wrapper */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Logo */
.brand-logo img {
    max-height: 50px;
}

/* Text Area */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Site Name */
.site-name {
    font-size: 25px;
    font-weight: 700;
    color: #000638;
    letter-spacing: 0.5px;
}

/* Tagline */
.site-tagline {
    font-size: 12px;
    color: #d29a00;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .site-tagline {
        display: none; /* hides tagline on small screens */
    }

    .site-name {
        font-size: 17px;
    }
}

/* Brand Wrapper */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Logo - Bigger */
.brand-logo img {
    max-height: 65px;
}

/* Text Area */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

/* Site Name - Bigger + Navy Blue */
.site-name {
    font-size: 35pxx;
    font-weight: 900;
    color: #002147; /* Deep Navy */
    letter-spacing: 0.6px;
}

/* Tagline - Gold */
.site-tagline {
    font-size: 13px;
    color: #C9A23F; /* Gold */
    font-weight: 500;
}

/* Navigation Menu - Deep Navy */
.pkp_navigation_primary li a {
    text-decoration: none;
    color: #002147;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Hover - Gold */
.pkp_navigation_primary li a:hover {
    color: #C9A23F;
}

/* Optional: Active Menu Item */
.pkp_navigation_primary li a:focus,
.pkp_navigation_primary li a:active {
    color: #C9A23F;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .brand-logo img {
        max-height: 55px;
    }

    .site-name {
        font-size: 18px;
    }

    .site-tagline {
        font-size: 11px;
    }
}

.pkp_navigation_primary li a {
    position: relative;
}

.pkp_navigation_primary li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #C9A23F;
    transition: width 0.3s ease;
}

.pkp_navigation_primary li a:hover::after {
    width: 100%;
}

/* HEADER BASE */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* LAYOUT */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
}

/* BRAND */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-logo img {
    max-height: 65px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-name {
    font-size: 35px;
    font-weight: 900;
    color: #002147;
    letter-spacing: 0.6px;
}

.site-tagline {
    font-size: 14px;
    color: #C9A23F;
    font-weight: 500;
}

/* NAVIGATION */
.nav-area {
    flex: 1;
    display: flex;
    justify-content: center;
}

.pkp_navigation_primary {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary li a {
    text-decoration: none;
    color: #002147;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.pkp_navigation_primary li a:hover {
    color: #C9A23F;
}

/* GOLD UNDERLINE EFFECT */
.pkp_navigation_primary li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #C9A23F;
    transition: width 0.3s ease;
}

.pkp_navigation_primary li a:hover::after {
    width: 100%;
}

/* USER AREA */
.user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* JOURNAL SWITCHER */
.journal-switcher select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    color: #002147;
    background: #fff;
    cursor: pointer;
}

.journal-switcher select:hover {
    border-color: #C9A23F;
}

/* BREADCRUMB */
.breadcrumb-wrap {
    padding: 10px 30px;
    font-size: 13px;
    background: #f8f9fb;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb-wrap a {
    color: #002147;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-wrap a:hover {
    color: #C9A23F;
}

.breadcrumb-wrap .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-wrap .current {
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand-logo img {
        max-height: 55px;
    }

    .site-name {
        font-size: 18px;
    }

    .site-tagline {
        font-size: 11px;
    }

    .nav-area {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .pkp_navigation_primary {
        flex-wrap: nowrap;
    }
}

/* =========================
   STRONG HEADER PRESENCE
========================= */

/* Make header stand out */
.site-header {
    background: #ffffff;
    border-bottom: 2px solid #002147; /* stronger line */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* depth */
}

/* Slightly increase spacing */
.header-inner {
    padding: 18px 35px;
}

/* =========================
   BRAND EMPHASIS
========================= */

.site-name {
    font-size: 50px;
    font-weight: 900; /* stronger */
}

.site-tagline {
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* =========================
   NAV MENU IMPROVEMENT
========================= */

.pkp_navigation_primary li a {
    font-size: 15px;
    font-weight: 700;
}

/* =========================
   USER MENU FIX (IMPORTANT)
========================= */

/* Fix white-on-white issue */
.pkp_navigation_user a {
    color: #002147 !important;
    font-weight: 600;
    text-decoration: none;
}

/* Hover */
.pkp_navigation_user a:hover {
    color: #C9A23F !important;
}

/* Space user items */
.pkp_navigation_user {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* =========================
   LANGUAGE SWITCH FIX
========================= */

#languageNav {
    color: #002147;
}

/* =========================
   OPTIONAL: HEADER SEPARATOR LINE UNDER NAV
========================= */

.nav-area {
    position: relative;
}

.nav-area::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e5e5e5;
}

/* =========================
   HOVER ENHANCEMENT
========================= */

.pkp_navigation_primary li a:hover {
    color: #C9A23F;
}

/* =========================
   MOBILE IMPROVEMENT
========================= */

@media (max-width: 768px) {
    .site-header {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .header-inner {
        padding: 12px 20px;
    }
}

/* =========================
   HEADER STRUCTURE
========================= */

.site-header {
    background: #fff;
    border-bottom: 2px solid #002147;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* TOP SECTION */
.header-top {
    padding: 15px 30px;
}

/* BRAND */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-logo img {
    max-height: 100px;
}

/* BIG SITE NAME */
.site-name {
    font-size: 45px;
    font-weight: 900;
    color: #002147;
    line-height: 1.1;
}

/* TAGLINE */
.site-tagline {
    font-size: 16px;
    color: #C9A23F;
    font-weight: 500;
    margin-top: 4px;
    text-decoration: none; /* removes underline */
}

/* =========================
   NAV SECTION
========================= */

.header-bottom {
    border-top: 1px solid #eee;
    background: #fff;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

/* NAV MENU */
.pkp_navigation_primary {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary li a {
    color: #002147;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pkp_navigation_primary li a:hover {
    color: #C9A23F !important;
    
}

/* USER MENU */
.pkp_navigation_user {
    display: flex;
    gap: 15px;
}

.pkp_navigation_user a {
    color: #002147 !important;
    font-weight: 600;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .site-name {
        font-size: 26px;
    }

    .site-tagline {
        font-size: 12px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-area,
    .user-area {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-row.active .nav-area,
    .nav-row.active .user-area {
        display: flex;
    }

    .pkp_navigation_primary {
        flex-direction: column;
        gap: 10px;
    }

    .pkp_navigation_user {
        flex-direction: column;
    }
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb-wrap {
    padding: 10px 30px;
    font-size: 13px;
    background: #f8f9fb;
}

.breadcrumb-wrap a {
    color: #002147;
    text-decoration: none;
}

.breadcrumb-wrap a:hover {
    color: #C9A23F;
}

/* =========================
   MOBILE HEADER RESTRUCTURE
========================= */

@media (max-width: 768px) {

    /* Stack everything vertically */
    .brand-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* LOGO - its own row */
    .brand-logo {
        width: 100%;
        display: block;
    }

    .brand-logo img {
        max-height: 70px;
        margin-bottom: 5px;
    }

    /* SITE NAME + TAGLINE BELOW LOGO */
    .brand-text {
        width: 100%;
    }

    .site-name {
        font-size: 26px;
        line-height: 1.2;
    }

    .site-tagline {
        font-size: 13px;
    }

    /* NAV SECTION BELOW BRAND */
    .header-bottom {
        margin-top: 10px;
    }

    /* Make menu feel like a clean block */
    .nav-row {
        padding: 10px 20px;
    }

    /* Full width dropdown style */
    .nav-area,
    .user-area {
        width: 100%;
    }

    /* Better spacing for menu items */
    .pkp_navigation_primary li a,
    .pkp_navigation_user a {
        padding: 8px 0;
        display: block;
    }
}

/* =========================
   DESKTOP: FORCE MENU VISIBLE
========================= */

.nav-area,
.user-area {
    display: flex !important;
}

/* =========================
   PREMIUM MOBILE HEADER
========================= */

@media (max-width: 768px) {

    /* Center everything */
    .brand-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .brand-logo img {
        max-height: 75px;
    }

    .site-name {
        font-size: 26px;
    }

    .site-tagline {
        font-size: 13px;
    }

    /* Hide default nav */
    .nav-area,
    .user-area {
        display: none;
    }

    /* Hamburger icon */
    .mobile-toggle {
        display: block;
        font-size: 26px;
        cursor: pointer;
        margin: 10px auto;
        text-align: center;
        color: #002147;
    }

    /* =========================
       SLIDE-IN MENU
    ========================= */

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background: #ffffff;
        box-shadow: -4px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 20px;
        transition: right 0.4s ease;
        display: none; /* VERY IMPORTANT */
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu.active {
        right: 0;
    }

    /* Menu links */
    .mobile-menu a {
        color: #002147;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu a:hover {
        color: #C9A23F;
    }

    /* Close button */
    .mobile-close {
        font-size: 24px;
        cursor: pointer;
        align-self: flex-end;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        display: none;
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }
}

.mobile-toggle,
.mobile-menu,
.menu-overlay {
    display: none;
}

 @media (max-width: 768px) {

    /* Hide desktop navigation completely */
    .nav-area,
    .user-area {
        display: none !important;
    }

    /* Show mobile toggle */
    .mobile-toggle {
        display: block;
    }

    /* Enable mobile menu system */
    .mobile-menu {
        display: flex;
    }

    .menu-overlay.active {
        display: block;
    }
}  



/* PRIMARY BUTTON */
.btn-primary {
    display: inline-block;
    background: #002147;
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #C9A23F;
    color: #002147 !important;
}

/* SECONDARY BUTTON */
.btn-secondary {
    display: inline-block;
    border: 2px solid #002147;
    color: #002147 !important;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #002147;
    color: #fff !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .journals-grid {
    grid-template-columns: 1fr;
  }

  .call-wrapper {
    flex-direction: column;
  }

  .blog-grid {
    flex-direction: column;
  }
}

/* GLOBAL SECTION SPACING */
section {
    padding: 80px 20px;
}

/* Alternate soft backgrounds for flow */
section:nth-child(even) {
    background: #f7f9fc;
}

/* CENTER CONTENT WIDTH */
.hero-content,
.trust-grid,
.journals-grid,
.call-wrapper,
.publication-list,
.blog-grid,
.final-cta {
    max-width: 1100px;
    margin: auto;
}

section h2 {
    margin-bottom: 20px;
}

section p {
    margin-bottom: 15px;
}
/* =========================
   FORCE NAV BAR STYLE
========================= */

/* Target the exact nav container */
.site-header .header-bottom {
    background: #002147 !important; /* Navy */
    border-top: 3px solid #C9A23F !important;
    border-bottom: 3px solid #C9A23F !important;
}

/* Ensure row inherits color */
.site-header .header-bottom .nav-row {
    background: transparent !important;
}

/* Primary menu text */
.site-header .pkp_navigation_primary li a {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Hover */
.site-header .pkp_navigation_primary li a:hover {
    color: #C9A23F !important;
}

/* User menu text */
.site-header .pkp_navigation_user a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* User hover */
.site-header .pkp_navigation_user a:hover {
    color: #C9A23F !important;
}

/* Language switch */
.site-header #languageNav {
    color: #ffffff !important;
}

/* Remove any background from inner elements */
.site-header .pkp_navigation_primary,
.site-header .pkp_navigation_user {
    background: transparent !important;
}

/* =========================
GLOBAL
========================= */
.section {
  padding: 70px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #002147;
}

/* =========================
HERO
========================= */
.hero {
  background: #f5f8fc;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  color: #002147;
}

.hero p {
  margin: 20px auto;
  max-width: 600px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #002147;
  color: #fff;
  text-decoration: none;
  margin: 10px 5px;
  border-radius: 6px;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #C9A23F;
}

/* =========================
TRUST SECTION
========================= */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* =========================
JOURNALS
========================= */
.journals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.journal-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.journal-card:hover {
  transform: translateY(-5px);
}

.journal-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.journal-card h3 {
  margin-top: 15px;
  color: #002147;
}

.journal-card p {
  font-size: 14px;
  color: #555;
}

.view-btn {
  display: inline-block;
  margin-top: 10px;
  color: #002147;
  font-weight: bold;
  text-decoration: none;
}

/* =========================
CALL FOR PAPERS
========================= */
.call {
  display: flex;
  gap: 40px;
  align-items: center;
}

.call img {
  width: 50%;
  border-radius: 10px;
}

/* =========================
ARTICLES
========================= */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  font-size: 14px;
}

/* =========================
INDEXING
========================= */
.indexing {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.indexing img {
  height: 40px;
}

/* =========================
FINAL CTA
========================= */
.section:last-child {
  background: #f3f3f3;
  color: #002147;
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 768px) {

  .journals-grid,
  .articles {
    grid-template-columns: 1fr;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
  }

  .call {
    flex-direction: column;
  }

  .call img {
    width: 100%;
  }

  .hero h1 {
    font-size: 28px;
  }
}
/* =========================
   BUTTON APPEAR ANIMATION
========================= */

.cta-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Optional pulse effect after load */
.cta-btn.animate-pop {
  animation: popIn 0.6s ease forwards;
}

@keyframes popIn {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* =========================
   FEATURED JOURNALS GRID
========================= */

.journals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* =========================
   JOURNAL CARD FIX
========================= */

.journal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 15px;
}
/* Prevent image blocking clicks */
.journal-card img {
  width: 100%;
  display: block;
  pointer-events: none;
}

/* =========================
   BUTTON FIX (CRITICAL)
========================= */

.view-btn {
  display: inline-block;
  position: relative;
  z-index: 5;
  pointer-events: auto;

  background: #0a2a66;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;

  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #123a8a;
  transform: translateY(-2px);
}

/* =========================
   CTA BUTTON (VIEW ALL)
========================= */

.cta-btn {
  display: inline-block;
  background: #0a2a66;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #123a8a;
  transform: translateY(-2px);
}

//* =========================
   FEATURED JOURNALS GRID (CLEAN OJS VERSION)
========================= */

.journals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

/* =========================
   JOURNAL CARD
========================= */

.journal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #fff;
  border-radius: 10px;
  overflow: hidden;

  padding: 15px;
  height: 100%;
  box-sizing: border-box;
}

/* IMAGE */
.journal-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* TITLE */
.journal-card h3 {
  margin: 10px 0 5px;
}

/* DESCRIPTION */
.journal-card p {
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   BUTTON WRAPPER (SAFE FLEX)
========================= */

.index-site-journal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

/* BUTTONS */
.index-site-journal-links .btn {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
}

/* PRIMARY BUTTON */
.index-site-journal-links .btn-primary {
  background: #0a2a66;
  color: #fff;
  border: none;
}

.index-site-journal-links .btn-primary:hover {
  background: #123a8a;
}

/* SECONDARY BUTTON */
.index-site-journal-links .btn-secondary {
  background: transparent;
  color: #0a2a66;
  border: 1px solid #0a2a66;
}

.index-site-journal-links .btn-secondary:hover {
  background: #0a2a66;
  color: #fff;
}

/* =========================
   RESPONSIVE GRID
========================= */

/* Tablet */
@media (max-width: 992px) {
  .journals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .journals-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FEATURED JOURNALS WRAPPER
========================= */

.featured-journals-section {
  width: 100%;
  padding: 60px 20px;
  background: #dbe7ff; /* optional deep blue background for contrast */
  box-sizing: border-box;
}

/* =========================
   SECTION TITLE
========================= */

.featured-journals-title {
  text-align: center;
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* =========================
   FEATURED GRID
========================= */

.featured-journals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 25px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================
   JOURNAL CARD (SAFE OVERRIDE)
========================= */

.featured-journals-grid .journal-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 992px) {
  .featured-journals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-journals-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FEATURED JOURNALS GRID
========================= */

.journals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tablet */
@media (max-width: 992px) {
  .journals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .journals-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   JOURNAL CARD
========================= */

.journal-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 15px;
  background: #fff;
  border-radius: 10px;

  height: 100%;
  box-sizing: border-box;
}

/* TITLE */
.journal-header h3 {
  margin-bottom: 10px;
}

/* IMAGE */
.journal-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* DESCRIPTION */
.journal-desc {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 10px;
}

/* =========================
   BUTTONS (SAFE FLEX)
========================= */

.index-site-journal-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.index-site-journal-links .btn {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
}

/* PRIMARY */
.index-site-journal-links .btn-primary {
  background: #0a2a66;
  color: #fff;
}

/* SECONDARY */
.index-site-journal-links .btn-secondary {
  background: transparent;
  border: 1px solid #0a2a66;
  color: #0a2a66;
  
}

/* =========================
   FORCE WHITE SECTION + NAVY TEXT
   (APPLIES ONLY WHERE CLASS IS ADDED)
========================= */

.section.white-theme {
  background: #ffffff !important;
  color: #0a2a66 !important;
}

/* Force all text inside */
.section.white-theme * {
  color: #0a2a66 !important;
}

/* Headings */
.section.white-theme h1,
.section.white-theme h2,
.section.white-theme h3,
.section.white-theme h4 {
  color: #0a2a66 !important;
}

/* Paragraphs */
.section.white-theme p {
  color: #0a2a66 !important;
}

/* Links */
.section.white-theme a {
  color: #0a2a66 !important;
}

.section.white-theme a:hover {
  color: #123a8a !important;
}

/* Buttons (optional consistency) */
.section.white-theme .btn-primary {
  background: #0a2a66 !important;
  color: #ffffff !important;
}

.section.white-theme .btn-secondary {
  background: transparent !important;
  border: 1px solid #0a2a66 !important;
  color: #0a2a66 !important;
}

/* =========================
   GLOBAL PAGE STYLE
========================= */

.page_index_journal {
  background: #f8f9fc;
  color: #0a2a66;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* =========================
   HOMEPAGE HERO IMAGE
========================= */

.homepage_image {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* =========================
   JOURNAL SUMMARY
========================= */

.journal_summary {
  background: rgba(255,255,255,0.95);
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
}

.journal_summary h2 {
  color: #0a2a66;
  margin-bottom: 15px;
}

/* =========================
   MAIN CONTAINER
========================= */

.container-page {
  padding: 40px 20px;
}

/* =========================
   ANNOUNCEMENTS
========================= */

.announcements {
  margin-bottom: 40px;
}

.announcements h2 {
  color: #0a2a66;
  margin-bottom: 20px;
}

/* Announcement card */
.announcement {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  transition: 0.3s ease;
  height: 100%;
}

.announcement:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.announcement_date {
  font-size: 12px;
  color: #6c757d;
}

.announcement_title a {
  color: #0a2a66;
  text-decoration: none;
}

.announcement_title a:hover {
  color: #123a8a;
}

/* =========================
   CURRENT ISSUE SECTION
========================= */

.current_issue {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.current_issue_title {
  color: #0a2a66;
  margin-bottom: 10px;
}

.current_issue_label {
  font-weight: 600;
}

.current_issue_identification {
  font-weight: 400;
  opacity: 0.8;
}

.published {
  font-size: 14px;
  color: #6c757d;
}

/* =========================
   ISSUE TABLE OF CONTENT
========================= */

.obj_issue_toc {
  margin-top: 20px;
}

/* =========================
   ADDITIONAL CONTENT
========================= */

.additional_content {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
}

/* =========================
   LINKS & BUTTON STYLE
========================= */

a {
  color: #0a2a66;
}

a:hover {
  color: #123a8a;
}

/* =========================
   RESPONSIVE IMPROVEMENTS
========================= */

@media (max-width: 768px) {
  .journal_summary {
    padding: 20px;
  }

  .current_issue,
  .additional_content {
    padding: 20px;
  }
}

/* =========================
   HARD RESET (KILL FLOAT + INLINE ISSUES)
========================= */

.index-site-journals .journals-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  width: 100%;
}

/* CRITICAL: Reset all children */
.index-site-journals .journals-grid > .journal-card {
  float: none !important;
  display: block !important;
  width: 100% !important;
  clear: none !important;
  margin: 0 !important;
}

/* REMOVE ANY FLOATING ELEMENT INSIDE */
.index-site-journals .journal-card * {
  float: none !important;
}

/* =========================
   FEATURED JOURNALS WRAPPER
========================= */

.featured-journals {
  padding: 60px 20px;
  background: #f5f7fb;
}

.featured-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #0a2a66;
}

/* =========================
   GRID LAYOUT
========================= */
/* =========================
   FEATURED JOURNALS (FINAL FIX FOR CLASSIC THEME)
========================= */

.featured-journals-wrapper .journals-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -15px; /* creates equal spacing system */
}

/* Each card */
.featured-journals-wrapper .journal-card {
  width: 33.333%;
  padding: 15px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

/* Card inner styling */
.featured-journals-wrapper .journal-card > * {
  width: 100%;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .featured-journals-wrapper .journal-card {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .featured-journals-wrapper .journal-card {
    width: 100%;
  }
}

/* =========================
   JOURNAL CARD
========================= */

.journal-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  position: relative;
}

/* Hover effect */
.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* =========================
   IMAGE
========================= */

.journal-thumb {
  overflow: hidden;
}

.journal-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Zoom on hover */
.journal-card:hover .journal-thumb img {
  transform: scale(1.08);
}

/* =========================
   TITLE
========================= */

.journal-title {
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  color: #0a2a66;
}

.journal-title a {
  text-decoration: none;
  color: inherit;
}

.journal-title a:hover {
  color: #123a8a;
}

/* =========================
   DESCRIPTION
========================= */

.journal-desc {
  font-size: 14px;
  color: #555;
  padding: 0 15px 15px;
  line-height: 1.5;
}

/* =========================
   BUTTON AREA
========================= */

.journal-actions {
  display: flex;
  gap: 10px;
  padding: 15px;
  margin-top: auto;
}

/* Buttons */
.journal-actions a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Primary button */
.btn-primary {
  background: #0a2a66;
  color: #fff;
}

.btn-primary:hover {
  background: #123a8a;
}

/* Secondary button */
.btn-secondary {
  border: 1px solid #0a2a66;
  color: #0a2a66;
  background: transparent;
}

.btn-secondary:hover {
  background: #0a2a66;
  color: #fff;
}

.journal-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;

  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.journal-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.journal-title {
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  color: #0a2a66;
}

.journal-desc {
  padding: 0 15px 15px;
  font-size: 14px;
  color: #555;
}

/* Buttons */
.journal-actions {
  display: flex;
  gap: 10px;
  padding: 15px;
  margin-top: auto;
}

.journal-actions a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
}

.btn-primary {
  background: #0a2a66;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #0a2a66;
  color: #0a2a66;
}

/* =========================
   BREAK OUT OF OJS CONTAINER
========================= */

.full-width-grid {
  width: 100%;
  display: block;
}

/* OVERRIDE OJS CONTAINER BEHAVIOR */
.featured-journals .container {
  display: block !important;
}

/* =========================
   FORCE FLEX GRID
========================= */

.full-width-grid .journals-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100%;
}

/* CARD WIDTH CONTROL */
.full-width-grid .journal-card {
  width: 33.333% !important;
  padding: 15px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

/* =========================
   FORCE RESET ANY THEME RULES
========================= */

.full-width-grid .journal-card,
.full-width-grid .journals-grid > * {
  float: none !important;
  max-width: none !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .full-width-grid .journal-card {
    width: 50% !important;
  }
}

@media (max-width: 600px) {
  .full-width-grid .journal-card {
    width: 100% !important;
  }
}

/* =========================
   INLINE GRID (STABLE)
========================= */

.journals-inline {
  text-align: center;
}

.journal-box {
  display: inline-block;
  width: 30%;
  margin: 1.5%;
  vertical-align: top;

  background: #fff;
  border-radius: 10px;
  padding: 15px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Tablet */
@media (max-width: 992px) {
  .journal-box {
    width: 45%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .journal-box {
    width: 100%;
    margin: 10px 0;
  }
}

/* IMAGE */
.journal-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* TITLE */
.journal-title {
  font-size: 16px;
  margin: 10px 0;
}

.journal-title a {
  text-decoration: none;
  color: #0a2a66;
}

/* DESCRIPTION */
.journal-desc {
  font-size: 14px;
  color: #555;
}

/* BUTTONS */
.journal-actions {
  margin-top: 15px;
}

.journal-actions a {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
}

.btn-primary {
  background: #0a2a66;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #0a2a66;
  color: #0a2a66;
}

/* FORCE CLEAN LAYOUT */
.ojs-journal-list {
  font-size: 0; /* removes inline spacing bug */
  text-align: center;
}

/* EACH CARD */
.ojs-journal-item {
  display: inline-block;
  width: 30%;
  margin: 1.5%;
  vertical-align: top;

  font-size: 14px; /* restore text */

  background: #fff;
  border-radius: 10px;
  padding: 15px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* IMAGE */
.ojs-journal-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* TITLE */
.ojs-journal-item h3 {
  margin: 10px 0;
  font-size: 16px;
}

/* BUTTONS */
.journal-buttons {
  margin-top: 10px;
}

.journal-buttons a {
  display: inline-block;
  padding: 6px 10px;
  margin: 5px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
}

.btn-primary {
  background: #0a2a66;
  color: #fff;
}

.btn-secondary {
  border: 1px solid #0a2a66;
  color: #0a2a66;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .ojs-journal-item {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .ojs-journal-item {
    width: 100%;
  }
}