/* ═══════════════════════════════════════════════
   IJLGLS JOURNAL — Header Stylesheet
   Colors: #F8AA92 (peach) · #BE3926 (red)
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --clr-bg:         #ffffff;
  --clr-bg-nav:     #fdf4f1;
  --clr-primary:    #BE3926;
  --clr-accent:     #F8AA92;
  --clr-accent-dim: rgba(248, 170, 146, 0.25);
  --clr-text:       #1a1a1a;
  --clr-muted:      #555555;
  --clr-border:     #e8d5cf;
  --font-display:   'Merriweather', Georgia, serif;
  --font-ui:        'Inter', sans-serif;
  --transition:     0.25s ease;
}

/* ── Base ── */
body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

.pkp_structure_head *,
.pkp_structure_head *::before,
.pkp_structure_head *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ════════════════════════
   HEADER SHELL
   ════════════════════════ */
.pkp_structure_head {
  background: var(--clr-bg);
  border-bottom: 3px solid var(--clr-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(190, 57, 38, 0.1);
}

.pkp_head_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ════════════════════════
   LOGO / SITE NAME
   ════════════════════════ */
.pkp_site_name_wrapper {
  display: flex;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--clr-border);
  animation: fadeDown 0.4s ease both;
}

/* FIXED RESPONSIVE TITLE */
.pkp_site_name {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* allow wrapping */
}

/* Logo */
.pkp_site_name a.is_img {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.pkp_site_name a.is_img img {
  width: auto;
  max-height: 60px;
  object-fit: contain;
}

/* TEXT beside logo */
.pkp_site_name::after {
  content: "Journal of Language, Gender and Literature Studies";
  font-size: clamp(14px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--clr-primary);
  font-family: var(--font-display);
  line-height: 1.2;
  white-space: normal;       /* ✅ FIX */
  max-width: 100%;
}

/* ════════════════════════
   NAV ROW
   ════════════════════════ */
.pkp_navigation_primary_row {
  background: var(--clr-bg-nav);
  animation: fadeDown 0.4s 0.08s ease both;
}

.pkp_navigation_primary_wrapper {
  display: flex;
  align-items: center;
  min-height: 46px;
}

#navigationPrimary {
  list-style: none;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

#navigationPrimary > li {
  position: relative;
}

#navigationPrimary > li > a {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 1rem;
  color: var(--clr-text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
  transition: 0.25s ease;
}

#navigationPrimary > li > a:hover {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-accent);
  background: var(--clr-accent-dim);
}

/* Dropdown */
#navigationPrimary .pkp_nav_list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 195px;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-primary);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.25s ease;
}

#navigationPrimary > li:hover .pkp_nav_list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ════════════════════════
   SEARCH
   ════════════════════════ */
.pkp_search {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.pkp_search input {
  width: 170px;
  padding: 6px 10px;
  border: 1px solid var(--clr-border);
  border-right: none;
}

.pkp_search button {
  background: var(--clr-primary);
  color: #fff;
  border: none;
  padding: 6px 10px;
}

/* ════════════════════════
   USER NAV
   ════════════════════════ */
#navigationUser {
  display: flex;
  gap: 10px;
}

#navigationUser li a {
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
}

#navigationUser li a:hover {
  background: #F8AA92;
  color: #BE3926;
}

/* ════════════════════════
   ANIMATION
   ════════════════════════ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════
   RESPONSIVE
   ════════════════════════ */

/* Tablet */
@media (max-width: 768px) {

  .pkp_head_wrapper {
    padding: 0 1rem;
  }

  .pkp_site_name {
    flex-direction: column;     /* stack logo + title */
    align-items: flex-start;
  }

  .pkp_site_name::after {
    font-size: 18px;
  }

  .pkp_search input {
    width: 110px;
  }
}

/* Mobile */
@media (max-width: 520px) {

  .pkp_search {
    display: none;
  }

  .pkp_site_name::after {
    font-size: 15px;
    line-height: 1.3;
  }
}

/* Footer cleanup */
.pkp_footer_content {
  padding: 0;
}

.block_developed_by {
  display: none;
}

.pkp_navigation_user>li>a{
  color: #000;
}
#navigationPrimary ul{
  background: #e8d5cf;
}

#navigationPrimary ul a{
  color: #000;
}

#navigationPrimary a:hover{
  color: #e8d5cf;
}

.pkp_nav_list ul a:hover, .pkp_nav_list ul a:focus{
  background: #F8AA92 ;
}

.block_make_submission a:hover{
  background: #F8AA92 ;
}

.cmp_manuscript_button, .block_make_submission a, .obj_galley_link{
  background: #F8AA92;
  color : #000;
}

.pkp_navigation_user_wrapper ul a:hover{
      border-color : #BE3926;
}