﻿/****************************************
 * LEXTECH JOURNAL THEME CSS
 * LexTech: International Journal of Law, Society and Technology
 ****************************************/

/****************************************
 * 1. GLOBAL TYPOGRAPHY + BODY
 ****************************************/
* {
    box-sizing: border-box;
}
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* Base font */
body,
p,
div,
span,
a,
li,
td,
th,
input,
textarea,
button {
  font-family: "Source Sans 3", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #222 !important;
}

/* No custom body background here – keep theme/default (white) */

/* Headings */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.35px;
  color: #0b3f53 !important;   /* deep teal */
}

/* Section headings */
h2 {
  font-size: 24px !important;
  margin-top: 28px !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 2px solid #d6e0ee !important;
}

h3 {
  font-size: 20px !important;
  margin-top: 22px !important;
  margin-bottom: 8px !important;
}

/* Paragraphs */
p {
  text-align: justify !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  margin-bottom: 18px !important;
}

/* Bold text accent (gold) */
strong,
b {
  color: #8f6c01 !important;     /* gold accent */
  font-weight: 600 !important;
}

/* Lists */
ul li,
ol li {
  margin-bottom: 6px !important;
  line-height: 1.7 !important;
  font-size: 16px !important;
}

/* Links */
a {
  color: #0f647e !important;      /* teal-blue */
  text-decoration: none !important;
}

a:hover {
  color: #0b3f53 !important;      /* deeper teal */
  text-decoration: underline !important;
}


/****************************************
 * 2. HEADER — LOGO + TITLE + ADMIN
 ****************************************/

/* Header background – deep teal gradient with gold borders */
#headerNavigationContainer .pkp_head_wrapper {
  background: linear-gradient(135deg, #0b3f53, #0f647e);
  border-top: 3px solid #d4ae3b;
  border-bottom: 3px solid #d4ae3b;
}

/* Header layout */
#headerNavigationContainer .pkp_site_name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 10px 20px !important;
}

/* Logo */
#headerNavigationContainer .pkp_site_name a.is_img img {
  max-height: 86px !important;
  width: auto !important;
  display: block !important;
}

/* Hide default screen-reader title (visual only) */
#headerNavigationContainer h1.pkp_screen_reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Journal title beside logo – deep teal, no gradient */
#headerNavigationContainer .pkp_site_name_wrapper::after {
  content: "LexTech: International Journal of Law, Society and Technology";
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 700;
  color: #0b3f53;                 /* light gold text (better contrast on dark bg) */
  letter-spacing: 0.6px;
  white-space: normal;
  order: 2;
}

/* Admin links on the right */
#headerNavigationContainer .pkp_navigation_user_wrapper {
  margin-left: auto !important;
}

#headerNavigationContainer .pkp_navigation_user_wrapper a {
  color: #0b3f53 !important;
}


/****************************************
 * 3. MAIN NAVIGATION MENU
 ****************************************/

.pkp_navigation_primary_wrapper {
  background-color: #0b3f53;
  border-bottom: 2px solid #d4ae3b;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Menu list */
.pkp_navigation_primary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* Menu links */
.pkp_navigation_primary > li > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  padding: 9px 14px !important;

  font-family: "Source Sans 3", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f7f7f7 !important;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

/* Hover */
.pkp_navigation_primary > li > a:hover {
  background: #d4ae3b;
  color: #0b3f53 !important;
  transform: translateY(-1px);
}

/* Active */
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li.active > a {
  background: #f7e08b !important;
  color: #0b3f53 !important;
}

/* Dropdown menu – white with teal text and gold hover */
.pkp_navigation_primary li ul.dropdown-menu {
  background: #ffffff;
  border: 1px solid #d4ae3b;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  min-width: 220px;
  padding: 5px 0;
}

.pkp_navigation_primary li ul.dropdown-menu li a {
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: #0b3f53 !important;
  background: transparent;
}

.pkp_navigation_primary li ul.dropdown-menu li a:hover {
  background: #f7e08b !important;
  color: #0b3f53 !important;
}


/****************************************
 * 4. SEARCH BUTTON
 ****************************************/

.pkp_navigation_search_wrapper {
  margin-left: auto;
  white-space: nowrap;
}

.pkp_navigation_search_wrapper .pkp_search_desktop {
  font-size: 14px !important;
  font-weight: 600;
  color: #f7f7f7 !important;
  text-decoration: none;
}


/****************************************
 * 5. FOOTER — CENTERED & REMOVE PLATFORM TEXT
 ****************************************/

/* Center footer content */
.pkp_footer,
.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div,
.pkp_footer_text,
.pkp_footer_info {
  text-align: center !important;
  margin: 0 auto !important;
}

.pkp_footer_content * {
  float: none !important;
}

.pkp_footer {
  width: 100% !important;
  display: block !important;
}

/* Remove OJS / platform / workflow branding */
.pkp_brand_footer,
.pkp_brand_footer *,
.pkp_footer_content .pkp_footer_brand,
.pkp_footer_content .pkp_brand_image,
.pkp_footer_content .pkp_brand_text,
.pkp_footer_content .pkp_workflow_link,
.pkp_footer_content .pkp_footer_about {
  display: none !important;
}


/****************************************
 * 6. REMOVE ALL BREADCRUMBS
 ****************************************/

.pkp_breadcrumbs,
.pkp_breadcrumb,
.pkp_structure_breadcrumb,
.pkp_navigation_breadcrumb,
.cmp_breadcrumbs,
.breadcrumbs,
.breadcrumb {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/****************************************
 * 7. SIDEBAR — CLEAN, LEFT-ALIGNED
 ****************************************/

/* Slight padding left & right */
.pkp_structure_sidebar,
.pkp_structure_sidebar_left,
.pkp_structure_sidebar_right {
  padding-top: 12px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* Remove extra spacing inside blocks */
.pkp_block {
  margin: 0 !important;
  padding: 0 !important;
}

/* Sidebar text left aligned */
.pkp_structure_sidebar,
.pkp_structure_sidebar_left,
.pkp_structure_sidebar_right,
.pkp_block,
.pkp_block p,
.pkp_block li,
.pkp_block a,
.pkp_block .title,
.pkp_block h2,
.pkp_block h3 {
  text-align: left !important;
}




/****************************************
 * RESPONSIVE BREAKPOINTS
 ****************************************/

/* ---- Tablets (≤ 1024px) ---- */
@media (max-width: 1024px) {
  #headerNavigationContainer .pkp_site_name_wrapper::after {
    font-size: 26px;
  }

  .pkp_navigation_primary {
    gap: 8px;
  }

  .pkp_navigation_primary > li > a {
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}

/* ---- Small tablets / large phones (≤ 768px) ---- */
@media (max-width: 768px) {
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
  /* Header: logo + title center and wrap */
  #headerNavigationContainer .pkp_site_name_wrapper {
    justify-content: center !important;
    text-align: center !important;
    padding: 40px 16px !important;
	font-size:12px !important;
	padding-left: 90px !important;
  }

  #headerNavigationContainer .pkp_site_name a.is_img img {
    max-height: 60px !important;
    margin: 0 auto !important;
  }

  #headerNavigationContainer .pkp_site_name_wrapper::after {
    font-size: 11px;
    flex: 1 1 100% !important
  }
  /* Stack nav menu items vertically on mobile */
@media (max-width: 768px) {
    .pkp_navigation_primary_wrapper {
        flex-basis: 100% !important;
        order: 3 !important;
    }

    .pkp_navigation_primary {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        white-space: normal !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .pkp_navigation_primary > li {
        list-style: none !important;
        width: 100% !important;
    }

    .pkp_navigation_primary > li > a {
        display: block !important;
        width: 100% !important;
        font-size: 11px !important;
        padding: 10px 15px !important;
        white-space: normal !important;
    }
	.pkp_site_nav_menu a {
    color: rgb(255 255 255 / 60%) !important;
    font-size: 13px !important;
}
pkp_site_name {
    left: 1.857rem;
}

.has_site_logo .pkp_head_wrapper {
    padding-right: 0px;
}

}