
/*
========================================================
 RTTM ACADEMIC PREMIUM v3.0
 Research Trend in Technology and Management
 Professional OJS Journal Theme Customization
========================================================
*/

:root {
  --rtt-navy: #102b4e;
  --rtt-deep: #0b1930;
  --rtt-blue: #183d65;
  --rtt-teal: #087f83;
  --rtt-gold: #d5ad61;
  --rtt-white: #ffffff;
  --rtt-bg: #f4f7fb;
  --rtt-text: #26364c;
  --rtt-muted: #687990;
  --rtt-line: #e1e8f0;
  --rtt-radius: 14px;
  --rtt-shadow: 0 8px 28px rgba(16,43,78,.07);
}

/* 01. GENERAL */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rtt-bg);
  color: var(--rtt-text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.pkp_structure_page {
  background: var(--rtt-bg);
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3 {
  color: var(--rtt-navy);
  line-height: 1.35;
}

.pkp_structure_main a {
  color: var(--rtt-teal);
  text-underline-offset: 3px;
}

.pkp_structure_main a:hover {
  color: var(--rtt-navy);
}

/* 02. HEADER */

.pkp_structure_head {
  position: relative;
  z-index: 100;
  background: linear-gradient(
    115deg,
    #08182d 0%,
    #102b4e 70%,
    #12636a 100%
  ) !important;
  border-bottom: 3px solid var(--rtt-gold);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}

.pkp_head_wrapper {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.pkp_site_name_wrapper {
  box-sizing: border-box;
}

.pkp_site_name a {
  color: #fff !important;
  text-decoration: none !important;
}

.pkp_site_name .is_text {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -.03em;
}

.pkp_site_name .is_img img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

/* 03. PRIMARY NAVIGATION */

.pkp_site_nav_menu {
  z-index: 110;
}

.pkp_navigation_primary_row {
  border-top: 1px solid rgba(255,255,255,.13);
}

.pkp_navigation_primary > li > a {
  color: #fff !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: background .2s, border-color .2s;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #fff !important;
  background: rgba(255,255,255,.10);
  border-bottom-color: var(--rtt-gold);
}

/* 04. DROPDOWN */

.pkp_navigation_primary > li {
  position: relative;
}

.pkp_navigation_primary > li > ul,
.pkp_navigation_primary .dropdown-menu {
  background: #fff;
  border: 1px solid var(--rtt-line);
  border-radius: 10px;
  padding: 7px;
  min-width: 210px;
  box-shadow: 0 12px 30px rgba(8,27,52,.15);
  z-index: 150;
}

.pkp_navigation_primary ul a {
  display: block;
  padding: 10px 13px;
  color: var(--rtt-navy) !important;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
  border-radius: 6px;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_primary ul a:focus {
  background: #eff6f8;
  color: var(--rtt-teal) !important;
}

/* 05. USER MENU & SEARCH */

.pkp_navigation_user > li > a {
  color: #fff !important;
  font-size: 12px;
  text-decoration: none;
}

.pkp_navigation_user > li > a:hover {
  color: var(--rtt-gold) !important;
}

.pkp_navigation_search_wrapper > a {
  color: #fff !important;
}

/* 06. PAGE STRUCTURE */

.pkp_structure_content {
  max-width: 1240px;
  margin: 28px auto 42px;
}

.pkp_structure_main {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--rtt-line);
  border-radius: var(--rtt-radius);
  box-shadow: var(--rtt-shadow);
}

.pkp_structure_main,
.pkp_structure_sidebar {
  overflow-wrap: break-word;
}

.pkp_structure_main .page {
  max-width: 100%;
}

.cmp_breadcrumbs {
  color: var(--rtt-muted);
  font-size: 12px;
}

.cmp_breadcrumbs a {
  color: var(--rtt-muted);
}

/* 07. HEADINGS */

.page_title,
.pkp_page_index h1,
.pkp_structure_main .page h1 {
  color: var(--rtt-navy);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.pkp_structure_main h2 {
  font-weight: 750;
  letter-spacing: -.015em;
}

/* 08. HOMEPAGE */

.page_index_journal .homepage_image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.page_index_journal .about_journal {
  color: var(--rtt-text);
  line-height: 1.9;
}

.page_index_journal .current_issue {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--rtt-line);
}

.page_index_journal .current_issue .heading {
  color: var(--rtt-navy);
  font-weight: 750;
}

/* 09. ISSUE ARCHIVE */

.page_issue_archive .issues_archive > li {
  margin-bottom: 20px;
}

.obj_issue_summary {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--rtt-line);
  border-radius: 12px;
  transition: box-shadow .2s, transform .2s;
}

.obj_issue_summary:hover {
  transform: translateY(-2px);
  box-shadow: var(--rtt-shadow);
}

.obj_issue_summary .title {
  color: var(--rtt-navy);
  font-weight: 750;
}

/* 10. TABLE OF CONTENTS */

.obj_issue_toc .heading {
  color: var(--rtt-navy);
}

.obj_issue_toc .sections > li {
  margin-bottom: 24px;
}

.obj_issue_toc .articles > li {
  margin-bottom: 14px;
}

/* 11. ARTICLE CARD */

.obj_article_summary {
  background: #fff;
  padding: 20px;
  border: 1px solid var(--rtt-line);
  border-left: 3px solid var(--rtt-teal);
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(16,43,78,.04);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.obj_article_summary:hover {
  transform: translateY(-3px);
  border-left-color: var(--rtt-gold);
  box-shadow: 0 12px 26px rgba(16,43,78,.1);
}

.obj_article_summary .title,
.obj_article_summary .title a {
  color: var(--rtt-navy);
  font-weight: 750;
  line-height: 1.5;
  text-decoration: none;
}

.obj_article_summary .title a:hover {
  color: var(--rtt-teal);
}

.obj_article_summary .authors {
  margin-top: 8px;
  color: var(--rtt-muted);
  font-size: 13px;
}

/* 12. ARTICLE DETAILS */

.obj_article_details .page_title {
  color: var(--rtt-navy);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -.03em;
}

.obj_article_details .authors,
.obj_article_details .date_published {
  color: var(--rtt-muted);
}

.obj_article_details .abstract {
  line-height: 1.9;
}

.obj_article_details .abstract p {
  margin-bottom: 16px;
}

.obj_article_details h2,
.obj_article_details h3 {
  color: var(--rtt-navy);
}

.obj_article_details .item {
  margin-bottom: 18px;
}

/* 13. PDF / GALLEY */

.obj_galley_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 17px;
  color: var(--rtt-navy) !important;
  background: #fff;
  border: 1px solid var(--rtt-teal);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .2s ease;
}

.obj_galley_link:hover {
  background: var(--rtt-teal);
  color: #fff !important;
  border-color: var(--rtt-teal);
  transform: translateY(-2px);
}

/* 14. BUTTONS */

.cmp_button,
.cmp_form .submit button,
.cmp_form .submit input[type="submit"] {
  border-radius: 8px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.cmp_form .submit button:hover,
.cmp_form .submit input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(8,127,131,.15);
}

/* 15. SIDEBAR */

.pkp_structure_sidebar .block,
.pkp_structure_sidebar .pkp_block {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--rtt-line);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(16,43,78,.05);
}

.pkp_structure_sidebar .title {
  color: var(--rtt-navy);
  font-size: 15px;
  font-weight: 750;
  padding-bottom: 11px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--rtt-gold);
}

.pkp_structure_sidebar a {
  color: var(--rtt-teal);
  text-decoration: none;
}

.pkp_structure_sidebar a:hover {
  text-decoration: underline;
}

/* 16. FORMS */

.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 textarea,
.pkp_structure_main select {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd7e4;
  border-radius: 8px;
  background: #fff;
  color: var(--rtt-text);
}

.pkp_structure_main input:focus,
.pkp_structure_main textarea:focus,
.pkp_structure_main select:focus {
  border-color: var(--rtt-teal);
  outline: 2px solid rgba(8,127,131,.15);
  outline-offset: 1px;
}

/* 17. TABLE */

.pkp_structure_main table {
  max-width: 100%;
  border-collapse: collapse;
}

.pkp_structure_main th {
  background: #edf3f8;
  color: var(--rtt-navy);
  font-weight: 750;
}

.pkp_structure_main th,
.pkp_structure_main td {
  border-bottom: 1px solid var(--rtt-line);
  padding: 10px 13px;
}

/* 18. PAGINATION */

.cmp_pagination a {
  color: var(--rtt-teal);
  border-radius: 6px;
}

.cmp_pagination a:hover {
  color: var(--rtt-navy);
}

/* 19. FOOTER BACKGROUND */

.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: #10233d !important;
  color: #c4d5e7 !important;
}

.pkp_structure_footer_wrapper {
  border-top: 3px solid var(--rtt-gold);
}

.pkp_structure_footer {
  max-width: 1280px;
  margin: 0 auto;
  box-shadow: none;
  border-radius: 0;
}

.pkp_footer_content {
  box-sizing: border-box;
  padding: 44px 28px 28px !important;
  color: #c4d5e7 !important;
  font-size: 13px;
  line-height: 1.8;
}

.pkp_footer_content p,
.pkp_footer_content li {
  color: #c4d5e7 !important;
}

.pkp_footer_content a {
  color: #d0deeb !important;
  text-decoration: none;
}

.pkp_footer_content a:hover {
  color: #e0b96f !important;
}

/* 20. FOUR COLUMN FOOTER */

.rtt-footer-nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto 32px;
  text-align: left !important;
}

.rtt-footer-group {
  min-width: 0;
  text-align: left !important;
}

.rtt-footer-group h3 {
  color: var(--rtt-gold) !important;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  padding-bottom: 12px;
  margin: 0 0 16px;
  border-bottom: 1px solid #39516c;
}

.rtt-footer-group a {
  display: block;
  color: #c4d5e7 !important;
  font-size: 13px;
  line-height: 1.5;
  text-align: left !important;
  padding: 5px 0;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  transition: color .2s, transform .2s;
}

.rtt-footer-group a:hover {
  color: #e0b96f !important;
  transform: translateX(3px);
}

/*
  Automatic grid fallback if the current
  footer contains 10+ direct links in
  a single p/div/section/center container.
*/

.pkp_footer_content >
:is(div, p, section, center):
has(> a:nth-of-type(10)) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  align-items: start;
  gap: 6px 22px;
  width: 100%;
  text-align: left !important;
}

.pkp_footer_content >
:is(div, p, section, center):
has(> a:nth-of-type(10)) > br {
  display: none;
}

.pkp_footer_content >
:is(div, p, section, center):
has(> a:nth-of-type(10)) > a {
  display: block;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: left !important;
}

/* 21. FOOTER INFORMATION */

.rtt-footer-bottom {
  padding: 23px 0 8px;
  border-top: 1px solid #39516c;
  text-align: center;
}

.rtt-footer-bottom p {
  margin: 5px 0;
  color: #bdcfe0 !important;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

.pkp_brand_footer {
  background: #0b1930 !important;
}

.pkp_brand_footer a {
  color: #c4d5e7 !important;
}

/* 22. DESKTOP PRECISION */

@media (min-width: 992px) {

  .pkp_head_wrapper {
    width: calc(100% - 48px);
    padding-top: 50px;
  }

  .pkp_site_name_wrapper {
    min-height: 95px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
  }

  .pkp_site_name {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .pkp_site_nav_menu {
    position: static;
    display: block;
    background: transparent;
  }

  .pkp_navigation_primary_row {
    display: flex;
    align-items: center;
    min-height: 60px;
  }

  .pkp_navigation_primary_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding: 0;
  }

  .pkp_navigation_primary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .pkp_navigation_primary > li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
  }

  .pkp_navigation_primary > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 13px;
    margin: 0;
    white-space: nowrap;
    line-height: 1.35;
  }

  .pkp_navigation_user_wrapper {
    position: absolute;
    top: 10px;
    right: 0;
    left: auto;
    width: auto;
    padding: 0;
    margin: 0;
    transform: none;
  }

  .pkp_navigation_user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .pkp_navigation_search_wrapper {
    display: flex;
    align-items: center;
    float: none;
    margin: 0 0 0 auto;
    padding: 0;
  }

  .pkp_navigation_search_wrapper > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 15px;
  }
}

/* 23. TABLET */

@media (max-width: 991px) {

  .pkp_structure_content {
    margin-top: 16px;
    margin-bottom: 25px;
  }

  .pkp_head_wrapper {
    width: 100%;
    padding-top: 0;
  }

  .pkp_site_name_wrapper {
    min-height: 70px;
  }

  .pkp_site_name .is_img img {
    max-height: 50px;
  }

  .pkp_site_nav_toggle {
    z-index: 160;
    color: #fff;
  }

  .pkp_site_nav_menu {
    left: 0;
    right: 0;
    width: 100%;
    max-height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--rtt-navy);
    padding: 15px;
  }

  .pkp_navigation_primary_row {
    display: block;
    border-top: 0;
  }

  .pkp_navigation_primary_wrapper,
  .pkp_navigation_primary {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .pkp_navigation_primary > li {
    display: block;
    width: 100%;
  }

  .pkp_navigation_primary > li > a {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .pkp_navigation_primary > li > ul,
  .pkp_navigation_primary .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    box-shadow: none;
  }

  .pkp_navigation_user_wrapper {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 12px;
  }

  .pkp_navigation_search_wrapper {
    float: none;
    margin: 12px 0 0;
  }

  .rtt-footer-nav {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px;
  }

  .pkp_footer_content >
  :is(div, p, section, center):
  has(> a:nth-of-type(10)) {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* 24. MOBILE */

@media (max-width: 600px) {

  body {
    font-size: 14px;
  }

  .pkp_structure_content {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .pkp_structure_main {
    border-radius: 10px;
  }

  .pkp_site_nav_menu {
    padding: 12px;
  }

  .pkp_site_name .is_img img {
    max-height: 44px;
  }

  .pkp_site_name .is_text {
    font-size: 14px;
    line-height: 1.4;
  }

  .obj_article_summary {
    padding: 15px;
  }

  .obj_article_details .page_title {
    font-size: 25px;
  }

  .obj_galley_link {
    min-height: 43px;
  }

  .pkp_structure_sidebar .block,
  .pkp_structure_sidebar .pkp_block {
    padding: 16px;
  }

  .pkp_footer_content {
    padding: 32px 20px !important;
  }

  .rtt-footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pkp_footer_content >
  :is(div, p, section, center):
  has(> a:nth-of-type(10)) {
    grid-template-columns: 1fr;
  }

  .rtt-footer-group h3 {
    margin-bottom: 10px;
  }
}

/* 25. ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--rtt-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .obj_article_summary,
  .obj_issue_summary,
  .obj_galley_link,
  .rtt-footer-group a {
    transition: none;
  }

  .obj_article_summary:hover,
  .obj_issue_summary:hover,
  .obj_galley_link:hover,
  .rtt-footer-group a:hover {
    transform: none;
  }
}

/* END - RTTM ACADEMIC PREMIUM v3.0 */
