/*
 * Higher Education Inquiry (HEI) — FPT Modern
 * OJS 3.5 Journal Style Sheet
 *
 * Brand colours follow FPT Corporation's current brand manual:
 * FPT Blue   #0066B3
 * FPT Orange #F37021
 * FPT Green  #0DB14B
 * FPT White  #FFFFFF
 *
 * Design goals:
 * - clean academic presentation
 * - modern but restrained
 * - strong readability and accessible contrast
 * - white journal title/navigation on an FPT Blue header
 * - FPT Orange for calls-to-action and active accents
 * - FPT Green used sparingly as a secondary accent
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  --fpt-blue: #0066b3;
  --fpt-blue-deep: #004f8c;
  --fpt-blue-dark: #123b5d;
  --fpt-blue-soft: #eef7fd;

  --fpt-orange: #f37021;
  --fpt-orange-dark: #d85e12;
  --fpt-orange-soft: #fff4ec;

  --fpt-green: #0db14b;
  --fpt-green-dark: #078c3a;
  --fpt-green-soft: #eefaf2;

  --hei-white: #ffffff;
  --hei-bg: #f6f8fb;
  --hei-surface: #ffffff;
  --hei-text: #243447;
  --hei-muted: #667085;
  --hei-border: #e4eaf0;

  --hei-radius: 10px;
  --hei-radius-sm: 7px;
  --hei-shadow-sm: 0 2px 10px rgba(16, 50, 76, 0.06);
  --hei-shadow-md: 0 8px 28px rgba(16, 50, 76, 0.10);
}

/* =========================================================
   2. GLOBAL TYPOGRAPHY / PAGE
   ========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--hei-bg);
  color: var(--hei-text);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pkp_structure_page {
  background: transparent;
}

.pkp_structure_content {
  background: var(--hei-surface);
}

.pkp_structure_main {
  color: var(--hei-text);
}

.pkp_structure_main p,
.pkp_structure_main li {
  line-height: 1.72;
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4 {
  color: var(--fpt-blue-dark);
  letter-spacing: -0.01em;
}

.pkp_structure_main h1 {
  font-weight: 750;
}

.pkp_structure_main h2,
.pkp_structure_main h3 {
  font-weight: 700;
}

/* Standard content links */
.pkp_structure_main a,
.pkp_structure_sidebar a {
  color: var(--fpt-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.pkp_structure_main a:hover,
.pkp_structure_main a:focus,
.pkp_structure_sidebar a:hover,
.pkp_structure_sidebar a:focus {
  color: var(--fpt-orange-dark);
}

/* Accessible keyboard focus */
.pkp_structure_page a:focus-visible,
.pkp_structure_page button:focus-visible,
.pkp_structure_page input:focus-visible,
.pkp_structure_page select:focus-visible,
.pkp_structure_page textarea:focus-visible {
  outline: 3px solid rgba(243, 112, 33, 0.5);
  outline-offset: 3px;
}

/* =========================================================
   3. HEADER — FPT BLUE + WHITE TEXT
   ========================================================= */
.pkp_structure_head {
  background: var(--fpt-blue) !important;
  border-top: 4px solid var(--fpt-orange);
  border-bottom: 0 !important;
  box-shadow: 0 4px 18px rgba(0, 59, 105, 0.16);
}

.pkp_head_wrapper {
  background: transparent !important;
}

/* Journal title */
.pkp_site_name,
.pkp_site_name .is_text,
.pkp_site_name > a,
.pkp_site_name a {
  color: var(--hei-white) !important;
}

.pkp_site_name .is_text {
  font-weight: 750;
  letter-spacing: 0.01em;
  text-shadow: none;
  transition: opacity 0.18s ease;
}

.pkp_site_name .is_text:hover,
.pkp_site_name .is_text:focus {
  color: var(--hei-white) !important;
  opacity: 0.92;
}

/* Subtle separation between title and main navigation */
.pkp_navigation_primary_row {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Top-level primary navigation */
.pkp_navigation_primary > li > a {
  color: var(--hei-white) !important;
  font-weight: 600;
  border-bottom: 3px solid transparent !important;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: var(--hei-white) !important;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--fpt-orange) !important;
}

/* Dropdown arrow follows white menu text */
.pkp_navigation_primary > li > a[aria-haspopup="true"]::after {
  color: var(--hei-white);
}

/* Search in header */
.pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus {
  color: var(--hei-white) !important;
}

.pkp_navigation_search_wrapper a:hover {
  border-bottom-color: var(--fpt-orange) !important;
}

/* User menu in the header */
.pkp_navigation_user > li > a,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
  color: var(--hei-white) !important;
}

.pkp_navigation_user > li > a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   4. DESKTOP DROPDOWNS — WHITE SURFACE, BLUE TEXT
   ========================================================= */
@media (min-width: 992px) {
  .pkp_navigation_primary ul,
  .pkp_navigation_user ul {
    background: var(--hei-white) !important;
    border: 1px solid rgba(0, 102, 179, 0.12);
    border-radius: var(--hei-radius-sm) !important;
    box-shadow: var(--hei-shadow-md) !important;
    overflow: hidden;
  }

  .pkp_navigation_primary ul a,
  .pkp_navigation_user ul a {
    color: var(--fpt-blue-dark) !important;
    background: var(--hei-white) !important;
    border-left: 3px solid transparent !important;
    font-weight: 500;
  }

  .pkp_navigation_primary ul a:hover,
  .pkp_navigation_primary ul a:focus,
  .pkp_navigation_user ul a:hover,
  .pkp_navigation_user ul a:focus {
    color: var(--fpt-blue-deep) !important;
    background: var(--fpt-blue-soft) !important;
    border-left-color: var(--fpt-orange) !important;
  }
}

/* =========================================================
   5. MOBILE NAVIGATION
   ========================================================= */
.pkp_site_nav_toggle {
  color: var(--hei-white) !important;
}

@media (max-width: 991px) {
  .pkp_structure_head {
    border-top-width: 3px;
  }

  .pkp_site_nav_menu {
    background: var(--fpt-blue) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--hei-shadow-md);
  }

  .pkp_site_nav_menu a,
  .pkp_site_nav_menu a:hover,
  .pkp_site_nav_menu a:focus {
    color: var(--hei-white) !important;
  }

  .pkp_site_nav_menu .pkp_nav_list ul {
    background: transparent !important;
    box-shadow: none !important;
  }

  .pkp_site_nav_menu .pkp_nav_list ul a {
    padding-left: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.24);
  }

  .pkp_site_nav_menu .pkp_nav_list ul a:hover,
  .pkp_site_nav_menu .pkp_nav_list ul a:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-left-color: var(--fpt-orange);
  }

  .pkp_navigation_user {
    border-top-color: rgba(255, 255, 255, 0.18) !important;
  }
}

/* =========================================================
   6. BUTTONS / CALLS TO ACTION
   ========================================================= */
.cmp_button,
.cmp_button_wire,
.obj_galley_link,
.block_make_submission a {
  border-radius: var(--hei-radius-sm) !important;
  font-weight: 650;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease;
}

/* Main CTA — orange */
.block_make_submission a,
.cmp_button {
  background: var(--fpt-orange) !important;
  border-color: var(--fpt-orange) !important;
  color: var(--hei-white) !important;
  box-shadow: 0 3px 10px rgba(243, 112, 33, 0.18);
}

.block_make_submission a:hover,
.block_make_submission a:focus,
.cmp_button:hover,
.cmp_button:focus {
  background: var(--fpt-orange-dark) !important;
  border-color: var(--fpt-orange-dark) !important;
  color: var(--hei-white) !important;
  box-shadow: 0 6px 16px rgba(243, 112, 33, 0.24);
  transform: translateY(-1px);
}

/* Secondary actions / galley buttons */
.cmp_button_wire,
.obj_galley_link {
  background: var(--hei-white) !important;
  border: 1px solid var(--fpt-blue) !important;
  color: var(--fpt-blue) !important;
}

.cmp_button_wire:hover,
.cmp_button_wire:focus,
.obj_galley_link:hover,
.obj_galley_link:focus {
  background: var(--fpt-blue) !important;
  border-color: var(--fpt-blue) !important;
  color: var(--hei-white) !important;
}

/* =========================================================
   7. SIDEBAR BLOCKS
   ========================================================= */
.pkp_structure_sidebar .pkp_block {
  background: var(--hei-white);
  border: 1px solid var(--hei-border);
  border-radius: var(--hei-radius);
  box-shadow: var(--hei-shadow-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.pkp_structure_sidebar .pkp_block .title {
  color: var(--fpt-blue-dark);
  font-weight: 750;
  padding-bottom: 0.55rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--fpt-orange);
}

/* =========================================================
   8. ARTICLE / ISSUE LISTS
   ========================================================= */
.obj_article_summary {
  background: var(--hei-white);
  border: 1px solid var(--hei-border);
  border-left: 3px solid transparent;
  border-radius: var(--hei-radius);
  padding: 1rem 1.15rem;
  margin-bottom: 0.9rem;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.obj_article_summary:hover {
  border-left-color: var(--fpt-blue);
  box-shadow: var(--hei-shadow-sm);
  transform: translateY(-1px);
}

.obj_article_summary .title a,
.obj_issue_summary .title a,
.pkp_page_index .current_issue .current_issue_title {
  color: var(--fpt-blue-dark);
  font-weight: 700;
}

.obj_article_summary .title a:hover,
.obj_article_summary .title a:focus,
.obj_issue_summary .title a:hover,
.obj_issue_summary .title a:focus {
  color: var(--fpt-orange-dark);
}

.obj_article_summary .authors,
.obj_article_summary .pages,
.obj_article_summary .meta,
.obj_issue_summary .description {
  color: var(--hei-muted);
}

/* =========================================================
   9. BREADCRUMBS / PAGE META
   ========================================================= */
.cmp_breadcrumbs {
  color: var(--hei-muted);
}

.cmp_breadcrumbs a {
  color: var(--fpt-blue);
}

.cmp_breadcrumbs a:hover,
.cmp_breadcrumbs a:focus {
  color: var(--fpt-orange-dark);
}

/* Small labels / tags */
.label,
.badge {
  border-radius: 999px;
}

/* =========================================================
   10. TABLES — USEFUL FOR REVIEW PROCESS / POLICY PAGES
   ========================================================= */
.pkp_structure_main table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--hei-border);
  border-radius: var(--hei-radius);
  overflow: hidden;
  background: var(--hei-white);
}

.pkp_structure_main table th,
.pkp_structure_main table td {
  padding: 0.72rem 0.85rem;
  border-right: 1px solid var(--hei-border);
  border-bottom: 1px solid var(--hei-border);
  vertical-align: top;
}

.pkp_structure_main table th:last-child,
.pkp_structure_main table td:last-child {
  border-right: 0;
}

.pkp_structure_main table tr:last-child td {
  border-bottom: 0;
}

.pkp_structure_main table thead th {
  background: var(--fpt-blue);
  color: var(--hei-white);
  font-weight: 700;
}

.pkp_structure_main table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.pkp_structure_main table tbody tr:hover {
  background: var(--fpt-blue-soft);
}

/* =========================================================
   11. FORM CONTROLS
   ========================================================= */
.pkp_structure_main input[type="text"],
.pkp_structure_main input[type="email"],
.pkp_structure_main input[type="password"],
.pkp_structure_main input[type="search"],
.pkp_structure_main select,
.pkp_structure_main textarea {
  border-color: #cfd9e3;
  border-radius: var(--hei-radius-sm);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.pkp_structure_main input[type="text"]:focus,
.pkp_structure_main input[type="email"]:focus,
.pkp_structure_main input[type="password"]:focus,
.pkp_structure_main input[type="search"]:focus,
.pkp_structure_main select:focus,
.pkp_structure_main textarea:focus {
  border-color: var(--fpt-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.12);
  outline: 0;
}

/* =========================================================
   12. FOOTER
   ========================================================= */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: var(--fpt-blue-dark);
}

.pkp_structure_footer {
  border-top: 4px solid var(--fpt-orange);
  color: rgba(255, 255, 255, 0.92);
}

.pkp_structure_footer a {
  color: var(--hei-white) !important;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus {
  color: #ffd7bf !important;
}

.pkp_structure_footer .pkp_footer_content {
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================================
   13. SMALL FPT GREEN ACCENTS — DELIBERATELY SPARING
   ========================================================= */
.pkp_structure_main blockquote {
  border-left: 4px solid var(--fpt-green);
  background: var(--fpt-green-soft);
  border-radius: 0 var(--hei-radius-sm) var(--hei-radius-sm) 0;
  padding: 0.8rem 1rem;
}

.pkp_structure_main hr {
  border: 0;
  border-top: 1px solid var(--hei-border);
}

/* =========================================================
   14. RESPONSIVE POLISH
   ========================================================= */
@media (min-width: 992px) {
  .pkp_site_name .is_text {
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    line-height: 1.25;
  }

  .pkp_navigation_primary > li > a {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }
}

@media (max-width: 767px) {
  .pkp_structure_sidebar .pkp_block,
  .obj_article_summary {
    border-radius: 8px;
  }

  .pkp_structure_main table {
    font-size: 0.92rem;
  }
}

/* =========================================================
   15. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   16. FOOTER REFINEMENT — COMPACT OJS/PKP BRANDING
   ========================================================= */

/* The custom HEI footer already controls its own spacing. */
.pkp_footer_content {
  padding: 0 !important;
}

/* Keep the built-in OJS/PKP attribution, but make it compact
   and visually compatible with the dark HEI footer. */
.pkp_brand_footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 18px !important;
  min-height: 0 !important;
}

.pkp_brand_footer::after {
  content: "";
  display: table;
  clear: both;
}

.pkp_brand_footer a {
  float: right;
  display: block;
  width: auto;
  max-width: 105px !important;
  margin: 0 !important;
  opacity: 0.68;
  transition: opacity 0.16s ease;
}

.pkp_brand_footer a:hover,
.pkp_brand_footer a:focus {
  opacity: 0.95;
}

.pkp_brand_footer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 48px;
  filter: brightness(0) invert(1);
}

/* Keep the footer compact on smaller screens. */
@media (max-width: 767px) {
  .pkp_brand_footer {
    padding: 4px 18px 16px !important;
  }

  .pkp_brand_footer a {
    float: left;
    max-width: 92px !important;
  }
}


/* =========================================================
   17. HEI FPT ORANGE HEADER + FOOTER VARIANT
   ========================================================= */

/*
 * Visual hierarchy:
 * - Header: FPT Orange
 * - Main navigation: FPT Blue
 * - Footer: FPT Orange
 * - Green remains a small secondary accent only
 */

/* ---------- Header ---------- */
.pkp_structure_head {
  background: #F37021 !important;
  border-top: 4px solid #0066B3 !important;
  border-bottom: 0 !important;
  box-shadow: 0 4px 18px rgba(86, 50, 20, 0.16);
}

.pkp_head_wrapper {
  background: transparent !important;
}

.pkp_site_name,
.pkp_site_name .is_text,
.pkp_site_name > a,
.pkp_site_name a {
  color: #FFFFFF !important;
}

.pkp_site_name .is_text {
  text-shadow: 0 1px 1px rgba(85, 42, 12, 0.08);
}

.pkp_navigation_user > li > a,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
  color: #FFFFFF !important;
}

.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
  background: rgba(18, 59, 93, 0.14) !important;
}

/* ---------- Main navigation bar: FPT Blue ---------- */
.pkp_navigation_primary_row {
  background: #0066B3 !important;
  border-top: 0 !important;
  border-bottom: 1px solid rgba(0, 61, 109, 0.25) !important;
}

.pkp_navigation_primary > li > a {
  color: #FFFFFF !important;
  font-weight: 650;
  border-bottom: 3px solid transparent !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border-bottom-color: #F37021 !important;
}

.pkp_navigation_primary > li > a[aria-haspopup="true"]::after {
  color: #FFFFFF !important;
}

.pkp_navigation_search_wrapper {
  background: #0066B3 !important;
}

.pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus {
  color: #FFFFFF !important;
}

.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus {
  background: rgba(255, 255, 255, 0.10) !important;
  border-bottom-color: #F37021 !important;
}

/* Desktop dropdowns stay white for clarity */
@media (min-width: 992px) {
  .pkp_navigation_primary ul,
  .pkp_navigation_user ul {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 102, 179, 0.14) !important;
    box-shadow: 0 8px 28px rgba(16, 50, 76, 0.12) !important;
  }

  .pkp_navigation_primary ul a,
  .pkp_navigation_user ul a {
    color: #123B5D !important;
    background: #FFFFFF !important;
    border-left: 3px solid transparent !important;
  }

  .pkp_navigation_primary ul a:hover,
  .pkp_navigation_primary ul a:focus,
  .pkp_navigation_user ul a:hover,
  .pkp_navigation_user ul a:focus {
    color: #004F8C !important;
    background: #EEF7FD !important;
    border-left-color: #F37021 !important;
  }
}

/* Mobile navigation */
@media (max-width: 991px) {
  .pkp_site_nav_menu {
    background: #0066B3 !important;
  }

  .pkp_site_nav_menu a,
  .pkp_site_nav_menu a:hover,
  .pkp_site_nav_menu a:focus {
    color: #FFFFFF !important;
  }

  .pkp_site_nav_menu .pkp_nav_list ul a:hover,
  .pkp_site_nav_menu .pkp_nav_list ul a:focus {
    background: rgba(255, 255, 255, 0.10) !important;
    border-left-color: #F37021 !important;
  }
}

/* ---------- Footer: FPT Orange ---------- */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: #F37021 !important;
}

.pkp_structure_footer {
  border-top: 4px solid #0066B3 !important;
  color: #123B5D !important;
}

/* Override current inline white footer text for stronger contrast */
.pkp_structure_footer .pkp_footer_content,
.pkp_structure_footer .pkp_footer_content div,
.pkp_structure_footer .pkp_footer_content p,
.pkp_structure_footer .pkp_footer_content h1,
.pkp_structure_footer .pkp_footer_content h2,
.pkp_structure_footer .pkp_footer_content h3,
.pkp_structure_footer .pkp_footer_content h4,
.pkp_structure_footer .pkp_footer_content strong,
.pkp_structure_footer .pkp_footer_content span,
.pkp_structure_footer .pkp_footer_content li {
  color: #123B5D !important;
}

.pkp_structure_footer .pkp_footer_content h3,
.pkp_structure_footer .pkp_footer_content h4,
.pkp_structure_footer .pkp_footer_content strong {
  color: #0C3553 !important;
}

.pkp_structure_footer a,
.pkp_structure_footer .pkp_footer_content a {
  color: #123B5D !important;
  text-decoration: none;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus,
.pkp_structure_footer .pkp_footer_content a:hover,
.pkp_structure_footer .pkp_footer_content a:focus {
  color: #FFFFFF !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Footer divider line */
.pkp_structure_footer .pkp_footer_content div[style*="border-top"] {
  border-top-color: rgba(18, 59, 93, 0.28) !important;
}

/* Replace the small orange line under the footer journal name with blue */
.pkp_structure_footer .pkp_footer_content div[style*="background: #F37021"],
.pkp_structure_footer .pkp_footer_content div[style*="background:#F37021"] {
  background: #0066B3 !important;
}

/* OJS/PKP branding: compact navy mark */
.pkp_brand_footer a {
  opacity: 0.68 !important;
}

.pkp_brand_footer img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(24%) saturate(1718%)
          hue-rotate(164deg) brightness(92%) contrast(92%) !important;
}

/* ---------- CTA balancing ---------- */
.block_make_submission a,
.cmp_button {
  background: #0066B3 !important;
  border-color: #0066B3 !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(0, 102, 179, 0.18);
}

.block_make_submission a:hover,
.block_make_submission a:focus,
.cmp_button:hover,
.cmp_button:focus {
  background: #004F8C !important;
  border-color: #004F8C !important;
  color: #FFFFFF !important;
}

/* Green stays a tertiary accent */
.pkp_structure_main blockquote {
  border-left-color: #0DB14B !important;
}


/* =========================================================
   18. FOOTER TEXT REFINEMENT — ORANGE BACKGROUND
   ========================================================= */

/*
 * Keep FPT Orange (#F37021) as the footer background.
 * Use a deep ink-navy palette for stronger contrast and a more
 * professional academic appearance.
 */

.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: #F37021 !important;
}

/* Main footer text */
.pkp_structure_footer .pkp_footer_content,
.pkp_structure_footer .pkp_footer_content div,
.pkp_structure_footer .pkp_footer_content p,
.pkp_structure_footer .pkp_footer_content li,
.pkp_structure_footer .pkp_footer_content span {
  color: #0B2F4A !important;
}

/* Headings / labels */
.pkp_structure_footer .pkp_footer_content h1,
.pkp_structure_footer .pkp_footer_content h2,
.pkp_structure_footer .pkp_footer_content h3,
.pkp_structure_footer .pkp_footer_content h4,
.pkp_structure_footer .pkp_footer_content strong {
  color: #082B45 !important;
}

/* Footer links */
.pkp_structure_footer a,
.pkp_structure_footer .pkp_footer_content a {
  color: #0B2F4A !important;
  text-decoration: none !important;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    opacity 0.16s ease;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus,
.pkp_structure_footer .pkp_footer_content a:hover,
.pkp_structure_footer .pkp_footer_content a:focus {
  color: #082B45 !important;
  border-bottom-color: #082B45;
  text-decoration: none !important;
}

/* Divider */
.pkp_structure_footer .pkp_footer_content div[style*="border-top"] {
  border-top-color: rgba(8, 43, 69, 0.28) !important;
}

/* Small accent line under "Higher Education Inquiry" */
.pkp_structure_footer .pkp_footer_content div[style*="background: #F37021"],
.pkp_structure_footer .pkp_footer_content div[style*="background:#F37021"] {
  background: #082B45 !important;
}

/* Keep the three identity bullets distinct, but dark enough to read */
.pkp_structure_footer .pkp_footer_content span[style*="#F37021"] {
  color: #082B45 !important;
}
.pkp_structure_footer .pkp_footer_content span[style*="#0DB14B"] {
  color: #075C32 !important;
}
.pkp_structure_footer .pkp_footer_content span[style*="#ffffff"],
.pkp_structure_footer .pkp_footer_content span[style*="#FFFFFF"] {
  color: #082B45 !important;
}

/* OJS/PKP attribution */
.pkp_brand_footer {
  color: #082B45 !important;
}

.pkp_brand_footer a {
  opacity: 0.72 !important;
}

.pkp_brand_footer img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(28%) saturate(1536%)
          hue-rotate(164deg) brightness(92%) contrast(100%) !important;
}


/* =========================================================
   19. HEI BALANCED FPT PALETTE — FINAL REFINEMENT
   ========================================================= */

/*
 * Recommended hierarchy:
 * Header      = FPT Orange
 * Menu bar    = Deep navy (calmer than bright blue)
 * Links/CTA   = FPT Blue
 * Footer      = Soft orange gradient
 * Footer text = Deep navy
 * Green       = tertiary accent only
 */

/* Header: strong FPT identity */
.pkp_structure_head {
  background: #F37021 !important;
  border-top: 4px solid #082B45 !important;
  box-shadow: 0 4px 18px rgba(73, 39, 17, 0.15) !important;
}

/* Main navigation: calmer academic navy */
.pkp_navigation_primary_row,
.pkp_navigation_search_wrapper {
  background: #082B45 !important;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_search_wrapper a {
  color: #FFFFFF !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper a:focus {
  color: #FFFFFF !important;
  background: rgba(255,255,255,0.10) !important;
  border-bottom-color: #F37021 !important;
}

/* Keep dropdowns light and editorial-looking */
@media (min-width: 992px) {
  .pkp_navigation_primary ul,
  .pkp_navigation_user ul {
    background: #FFFFFF !important;
    border: 1px solid #E3EAF0 !important;
    box-shadow: 0 10px 28px rgba(8,43,69,0.14) !important;
  }

  .pkp_navigation_primary ul a,
  .pkp_navigation_user ul a {
    color: #082B45 !important;
    background: #FFFFFF !important;
  }

  .pkp_navigation_primary ul a:hover,
  .pkp_navigation_primary ul a:focus,
  .pkp_navigation_user ul a:hover,
  .pkp_navigation_user ul a:focus {
    color: #082B45 !important;
    background: #F6F9FC !important;
    border-left-color: #F37021 !important;
  }
}

/* Footer: keep orange, but soften the flat block slightly */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: linear-gradient(135deg, #F37021 0%, #F47A2F 100%) !important;
}

.pkp_structure_footer {
  border-top: 4px solid #082B45 !important;
}

/* Footer typography */
.pkp_structure_footer .pkp_footer_content,
.pkp_structure_footer .pkp_footer_content div,
.pkp_structure_footer .pkp_footer_content p,
.pkp_structure_footer .pkp_footer_content li,
.pkp_structure_footer .pkp_footer_content span {
  color: #082B45 !important;
}

.pkp_structure_footer .pkp_footer_content h1,
.pkp_structure_footer .pkp_footer_content h2,
.pkp_structure_footer .pkp_footer_content h3,
.pkp_structure_footer .pkp_footer_content h4,
.pkp_structure_footer .pkp_footer_content strong {
  color: #06263D !important;
}

/* Footer links: consistent, not overly decorative */
.pkp_structure_footer a,
.pkp_structure_footer .pkp_footer_content a {
  color: #082B45 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus,
.pkp_structure_footer .pkp_footer_content a:hover,
.pkp_structure_footer .pkp_footer_content a:focus {
  color: #000000 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

/* Footer separators and title accent */
.pkp_structure_footer .pkp_footer_content div[style*="border-top"] {
  border-top-color: rgba(8,43,69,0.30) !important;
}

.pkp_structure_footer .pkp_footer_content div[style*="background: #F37021"],
.pkp_structure_footer .pkp_footer_content div[style*="background:#F37021"] {
  background: #082B45 !important;
}

/* Identity bullets: restrained brand accents */
.pkp_structure_footer .pkp_footer_content span[style*="#F37021"] {
  color: #082B45 !important;
}

.pkp_structure_footer .pkp_footer_content span[style*="#0DB14B"] {
  color: #075C32 !important;
}

.pkp_structure_footer .pkp_footer_content span[style*="#ffffff"],
.pkp_structure_footer .pkp_footer_content span[style*="#FFFFFF"] {
  color: #082B45 !important;
}

/* OJS/PKP attribution */
.pkp_brand_footer a {
  opacity: 0.68 !important;
}

.pkp_brand_footer img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(28%) saturate(1536%)
          hue-rotate(164deg) brightness(92%) contrast(100%) !important;
}

/* Interactive elements use FPT Blue, avoiding too much orange */
.block_make_submission a,
.cmp_button {
  background: #0066B3 !important;
  border-color: #0066B3 !important;
  color: #FFFFFF !important;
}

.block_make_submission a:hover,
.block_make_submission a:focus,
.cmp_button:hover,
.cmp_button:focus {
  background: #004F8C !important;
  border-color: #004F8C !important;
}

/* Body links */
.pkp_structure_main a,
.pkp_structure_sidebar a {
  color: #0066B3;
}

.pkp_structure_main a:hover,
.pkp_structure_main a:focus,
.pkp_structure_sidebar a:hover,
.pkp_structure_sidebar a:focus {
  color: #C8500B;
}


/* =========================================================
   20. FOOTER CONTRAST + LEGIBILITY REFINEMENT
   ========================================================= */

/*
 * Keep the FPT orange footer.
 * Improve visibility through stronger typography, darker ink tones,
 * subtle panel separation, and more generous spacing.
 */

/* Footer background */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: #F37021 !important;
}

/* Give the three main footer columns subtle translucent panels */
.pkp_structure_footer .pkp_footer_content > div:first-child > div {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(8, 43, 69, 0.12);
  border-radius: 10px;
  padding: 18px 20px;
}

/* Main footer body copy */
.pkp_structure_footer .pkp_footer_content,
.pkp_structure_footer .pkp_footer_content p,
.pkp_structure_footer .pkp_footer_content li,
.pkp_structure_footer .pkp_footer_content span {
  color: #06263D !important;
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
  font-weight: 500 !important;
}

/* Footer section headings */
.pkp_structure_footer .pkp_footer_content h3,
.pkp_structure_footer .pkp_footer_content h4 {
  color: #041F32 !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
}

.pkp_structure_footer .pkp_footer_content h3 {
  font-size: 1.16rem !important;
}

.pkp_structure_footer .pkp_footer_content h4 {
  font-size: 1.02rem !important;
}

/* Labels such as Open Access / Peer Review / Publication Fees */
.pkp_structure_footer .pkp_footer_content strong {
  color: #041F32 !important;
  font-weight: 800 !important;
}

/* Footer links */
.pkp_structure_footer a,
.pkp_structure_footer .pkp_footer_content a {
  color: #052B45 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus,
.pkp_structure_footer .pkp_footer_content a:hover,
.pkp_structure_footer .pkp_footer_content a:focus {
  color: #000000 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

/* Divider and bottom metadata line */
.pkp_structure_footer .pkp_footer_content div[style*="border-top"] {
  border-top-color: rgba(4, 31, 50, 0.34) !important;
}

.pkp_structure_footer .pkp_footer_content div[style*="font-size: 0.88rem"],
.pkp_structure_footer .pkp_footer_content div[style*="font-size:0.88rem"] {
  color: #06263D !important;
  font-size: 0.90rem !important;
  font-weight: 600 !important;
}

/* Accent line under journal title */
.pkp_structure_footer .pkp_footer_content div[style*="background: #F37021"],
.pkp_structure_footer .pkp_footer_content div[style*="background:#F37021"] {
  background: #082B45 !important;
}

/* Identity statement dots/text */
.pkp_structure_footer .pkp_footer_content span[style*="#F37021"] {
  color: #082B45 !important;
}

.pkp_structure_footer .pkp_footer_content span[style*="#0DB14B"] {
  color: #075C32 !important;
}

.pkp_structure_footer .pkp_footer_content span[style*="#ffffff"],
.pkp_structure_footer .pkp_footer_content span[style*="#FFFFFF"] {
  color: #082B45 !important;
}

/* OJS/PKP attribution */
.pkp_brand_footer a {
  opacity: 0.80 !important;
}

.pkp_brand_footer img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(25%) saturate(1628%)
          hue-rotate(164deg) brightness(89%) contrast(103%) !important;
}

/* Mobile: remove card heaviness and keep footer readable */
@media (max-width: 767px) {
  .pkp_structure_footer .pkp_footer_content > div:first-child > div {
    padding: 16px;
  }

  .pkp_structure_footer .pkp_footer_content,
  .pkp_structure_footer .pkp_footer_content p,
  .pkp_structure_footer .pkp_footer_content li,
  .pkp_structure_footer .pkp_footer_content span {
    font-size: 0.94rem !important;
  }
}


/* =========================================================
   21. FOOTER COLUMN HEADINGS — DISTINCT BRAND BADGES
   ========================================================= */

/*
 * Column 1: HEI identity  -> deep navy
 * Column 2: Quick Links   -> FPT blue
 * Column 3: Publishing    -> deep green
 *
 * All use white text for clear visual separation.
 */

/* Common heading badge style */
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(1) h3,
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(2) h4,
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(3) h4 {
  display: inline-block !important;
  color: #FFFFFF !important;
  padding: 7px 13px !important;
  border-radius: 6px !important;
  margin: 0 0 16px 0 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 6px rgba(8, 43, 69, 0.10);
}

/* Higher Education Inquiry */
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(1) h3 {
  background: #082B45 !important;
}

/* Quick Links */
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(2) h4 {
  background: #0066B3 !important;
}

/* Publishing */
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(3) h4 {
  background: #075C32 !important;
}

/* Remove the old underline below the journal title because
   the heading badge now provides the visual accent. */
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(1) > div[style*="background"] {
  display: none !important;
}

/* Slightly increase spacing below the badges */
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(1) p,
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(2) ul,
.pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(3) p:first-of-type {
  margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
  .pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(1) h3,
  .pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(2) h4,
  .pkp_structure_footer .pkp_footer_content > div > div:first-child > div:nth-child(3) h4 {
    font-size: 0.95rem !important;
    padding: 6px 11px !important;
  }
}
