/* =====================================================================
   ETERNAL (English, Teaching, Learning, and Research Journal)
   Custom stylesheet for OJS 3.3 (Default theme)
   Palette taken from the ETERNAL logo: deep blue, sky blue and gold
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --et-navy:   #0d3d6b;   /* deep blue of the wordmark            */
  --et-blue:   #1565a8;   /* main blue                            */
  --et-sky:    #2a9fd8;   /* light blue of the globe              */
  --et-gold:   #e9a826;   /* gold ring and star                   */
  --et-gold-d: #c4870f;
  --et-ink:    #1f2d3d;
  --et-muted:  #5b6b7c;
  --et-soft:   #eef5fb;
  --et-line:   #d6e3ee;
  --et-page:   #e8f0f7;
  --et-radius: 8px;
  --et-head:   'Lora', Georgia, 'Times New Roman', serif;
  --et-body:   'Lora', Georgia, 'Times New Roman', serif;
}

/* ---------- 1. Base ---------- */
/* Lora is the default font for every part of the site */
html, body,
html body button, html body input, html body select, html body textarea,
html body .pkp_structure_main h1, html body .pkp_structure_main h2,
html body .pkp_structure_main h3, html body .pkp_structure_main h4,
html body .pkp_structure_main h5, html body .pkp_structure_main h6,
html body .cmp_breadcrumbs .current h1,
html body .pkp_site_name .is_text {
  font-family: var(--et-body) !important;
}
html, body {
  font-size: 15px;
  color: var(--et-ink);
}
html:root { background: var(--et-page); }
html body {
  background: var(--et-page) linear-gradient(180deg, #dbe9f5 0, var(--et-page) 420px) no-repeat;
  line-height: 1.6;
}
a { color: var(--et-blue); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--et-gold-d); }

::selection { background: var(--et-gold); color: #fff; }

/* Boxed page: header, menu, content and footer share one width */
html body .pkp_structure_page {
  max-width: 1200px;
  margin: 24px auto 32px;
  background: #fff;
  border-radius: var(--et-radius);
  box-shadow: 0 10px 34px rgba(13, 61, 107, .13);
  overflow: hidden;
}

/* ---------- 2. Header ---------- */
/* Remove the old cover image that the theme places behind the header */
html body .pkp_structure_head {
  background: #fff !important;
  border-bottom: 0;
  box-shadow: none;
  padding: 0;
}
html body .pkp_head_wrapper,
html body.has_site_logo .pkp_head_wrapper {
  width: 100%;
  max-width: none;
  padding: 0;
}
html body .pkp_site_name_wrapper {
  width: 100%;
  padding: 0;
}
@media (min-width: 992px) {
  html body .pkp_site_name {
    height: auto;
    padding: 0;
    margin: 0;
    line-height: 0;
  }
  html body .pkp_site_name .is_img {
    display: block;
    margin: 0 !important;
    padding: 0;
  }
  html body .pkp_site_name .is_img img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    max-height: none !important;
    height: auto;
  }
}

/* ---------- 3. Navigation bar ---------- */
html body .pkp_site_nav_menu {
  background: linear-gradient(90deg, var(--et-navy) 0%, var(--et-blue) 70%, #1b7cc0 100%);
  border-top: 3px solid var(--et-gold);
  box-shadow: 0 3px 10px rgba(13, 61, 107, .18);
}
@media (min-width: 992px) {
  html body .pkp_site_nav_menu { padding: 0 1.5rem; }
  html body .pkp_navigation_primary_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  html body .pkp_navigation_primary_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    text-transform: none;
  }
  html body .pkp_navigation_primary { max-width: none; }
  html body .pkp_navigation_primary > li > a {
    margin: 0;
    padding: 15px 16px 13px;
    border-bottom: 3px solid transparent;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  html body .pkp_navigation_primary > li:first-child > a { margin-left: 0; }
  html body .pkp_navigation_primary > li > a:hover,
  html body .pkp_navigation_primary > li > a:focus {
    background: rgba(255, 255, 255, .08);
    border-bottom-color: var(--et-gold);
    color: #fff;
  }
  html body .pkp_navigation_primary > li:hover ul { left: 0; }
  html body .pkp_navigation_search_wrapper a {
    margin: 0;
    padding: 15px 14px 13px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
  }
  html body .pkp_navigation_search_wrapper a:hover,
  html body .pkp_navigation_search_wrapper a:focus {
    background: rgba(255, 255, 255, .08);
    border-bottom-color: var(--et-gold);
    color: #fff;
  }
}

/* Dropdown menus */
html body .pkp_nav_list ul,
html body .dropdown-menu {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--et-gold);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 24px rgba(13, 61, 107, .2);
  padding: 4px 0;
}
html body .pkp_nav_list ul a,
html body .dropdown-menu li a {
  color: var(--et-navy);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 9px 14px;
  border-left: 3px solid transparent;
}
html body .pkp_nav_list ul a:hover,
html body .pkp_nav_list ul a:focus,
html body .dropdown-menu li a:hover {
  background: var(--et-soft);
  border-left-color: var(--et-blue);
  color: var(--et-blue);
}

/* User menu (Register / Login / username) */
html body .pkp_navigation_user_wrapper { top: 8px; }
html body .pkp_navigation_user a {
  color: var(--et-navy);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(13, 61, 107, .25);
  border-radius: 20px;
  background: rgba(255, 255, 255, .85);
  padding: 4px 14px;
  margin: 0 0 0 6px;
}
html body .pkp_navigation_user a:hover,
html body .pkp_navigation_user a:focus {
  background: var(--et-blue);
  border-color: var(--et-blue);
  color: #fff;
}
html body .pkp_navigation_user ul a {
  border: 0;
  border-radius: 0;
  margin: 0;
}

/* Mobile menu button */
html body .pkp_site_nav_toggle {
  background: var(--et-navy);
  color: #fff;
  border: 0;
  border-radius: 0 0 6px 0;
}
@media (max-width: 991px) {
  html body .pkp_site_name_wrapper { height: auto; }
  html body .pkp_site_name {
    position: relative;
    left: auto;
    padding: 0 0 0 2.857rem;
    white-space: normal;
  }
  html body .pkp_site_name .is_img { margin: 0; display: block; }
  html body .pkp_site_name .is_img img { max-height: none; width: 100%; }
  html body .pkp_site_nav_menu { padding: 1rem 1.25rem; }
  html body .pkp_site_nav_menu a { color: #fff; }
}

/* ---------- 4. Content and sidebar layout ---------- */
html body .pkp_structure_content {
  width: 100%;
  max-width: none;
  padding: 28px 24px 8px;
}
@media (min-width: 992px) {
  html body .pkp_structure_content {
    display: flex;
    flex-direction: row;           /* main column, then sidebar on the right */
    align-items: flex-start;
    gap: 28px;
  }
  html body .pkp_structure_content:before,
  html body .pkp_structure_content:after { display: none; }
  html body .pkp_structure_main {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0 4px 48px;
  }
  html body .pkp_structure_main:before,
  html body .pkp_structure_main:after { display: none; }
  html body .pkp_structure_sidebar {
    float: none;
    flex: 0 0 290px;
    width: 290px;
    max-width: 290px;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 14px;
  }
}

/* ---------- 5. Typography in the main column ---------- */
html body .pkp_structure_main h1,
html body .pkp_structure_main h2,
html body .pkp_structure_main h3 {
  font-family: var(--et-head);
  font-weight: 600;
  color: var(--et-navy);
  letter-spacing: 0;
}
html body .pkp_structure_main h1 { font-size: 2rem; line-height: 1.25; }
html body .pkp_structure_main h2 { font-size: 1.6rem; line-height: 1.3; }
html body .pkp_structure_main h3 { font-size: 1.3rem; line-height: 1.35; }
html body .pkp_structure_main h4 { color: var(--et-blue); }
html body .pkp_structure_main .page > h1,
html body .pkp_structure_main .page_index_journal h2,
html body .pkp_structure_main .obj_issue_toc .sections h2,
html body .pkp_structure_main .obj_issue_toc .sections h3 {
  position: relative;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--et-line);
}
html body .pkp_structure_main .page > h1:after,
html body .pkp_structure_main .page_index_journal h2:after,
html body .pkp_structure_main .obj_issue_toc .sections h2:after,
html body .pkp_structure_main .obj_issue_toc .sections h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 3px;
  background: var(--et-gold);
  border-radius: 2px;
}
html body .pkp_structure_main p,
html body .pkp_structure_main li {
  line-height: 1.75;
}
html body .pkp_structure_main p { text-align: justify; margin: 1em 0; }
html body .pkp_structure_main a:not(.obj_galley_link):not(.cmp_button) { text-decoration: none; }
html body .pkp_structure_main a:not(.obj_galley_link):not(.cmp_button):hover { text-decoration: underline; }

html body .cmp_breadcrumbs ol { margin-bottom: 1.4rem; }
html body .cmp_breadcrumbs .current { color: var(--et-muted); }

/* Justified text on every page (titles, menus and short labels stay left-aligned) */
html body .pkp_structure_main p,
html body .pkp_structure_main li,
html body .pkp_structure_main dd,
html body .pkp_structure_main blockquote,
html body .pkp_structure_main .description,
html body .pkp_structure_main .additional_content,
html body .pkp_structure_main .page > div,
html body .pkp_structure_main .obj_article_details .item .value,
html body .pkp_structure_main .obj_announcement_full .description,
html body .pkp_structure_main .obj_announcement_summary .summary,
html body .pkp_structure_main .editor-info p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
html body .pkp_structure_main .cmp_breadcrumbs li,
html body .pkp_structure_main .obj_article_summary,
html body .pkp_structure_main .obj_article_summary .title,
html body .pkp_structure_main .obj_issue_toc .articles > li,
html body .pkp_structure_main .galleys_links li,
html body .pkp_structure_main .issues_archive > li,
html body .pkp_structure_main .obj_article_details .authors li,
html body .pkp_structure_main .obj_article_details .item.doi .value,
html body .pkp_structure_main .obj_article_details .item.keywords .value,
html body .pkp_structure_main .cmp_pagination,
html body .pkp_structure_main .cmp_form li,
html body .pkp_structure_main table td,
html body .pkp_structure_main table th {
  text-align: left;
  hyphens: manual;
}
html body .pkp_structure_main .obj_article_details .references .value p { text-align: justify; }

/* ---------- 6. Home page ---------- */
html body .page_index_journal { padding: 0; display: block; }
html body .pkp_page_index .homepage_about {
  padding: 0;
  max-width: none;
}
html body .pkp_page_index .homepage_about h2 { margin-top: 0; }
html body .description {
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: 1rem;
}
html body .page_index_journal .current_issue {
  margin-top: 2rem;
}
html body .page_index_journal .current_issue .current_issue_title {
  margin: 1rem 0;
  font-family: var(--et-head);
  font-size: 1.2rem;
  color: var(--et-blue);
}
html body .page_index_journal .read_more {
  display: inline-block;
  color: #fff !important;
  margin-top: 1rem;
  padding: 8px 18px;
  background: var(--et-blue);
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
}
html body .page_index_journal .read_more:hover { background: var(--et-navy); text-decoration: none; }
html body .pkp_page_index .current_issue .read_more:after { color: var(--et-gold); margin-left: 6px; position: static; }

/* Announcements */
html body .cmp_announcements > li,
html body .obj_announcement_summary {
  border-bottom: 1px solid var(--et-line);
}
html body .obj_announcement_summary h2,
html body .obj_announcement_summary h3 { font-size: 1.15rem; }
html body .obj_announcement_summary .date {
  color: var(--et-gold-d);
  font-size: .85rem;
  font-weight: 600;
}

/* ---------- 7. Issue table of contents ---------- */
html body .obj_issue_toc {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--et-body);
}
html body .obj_issue_toc .heading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 18px 20px 14px;
  background: var(--et-soft);
  border: 1px solid var(--et-line);
  border-left: 4px solid var(--et-gold);
  border-radius: var(--et-radius);
}
html body .obj_issue_toc .heading .description { margin: 0; }
html body .obj_issue_toc .heading .description p:first-child { margin-top: 0; }
html body .obj_issue_toc .heading .description p:last-child { margin-bottom: 0; }
html body .obj_issue_toc .heading .pub_id { margin-top: 10px; color: var(--et-muted); font-size: .9rem; }
/* Publication date: always at the bottom left of the box */
html body .obj_issue_toc .heading .published {
  order: 99;
  align-self: flex-start;
  width: 100%;
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed #c9d8e6;
  text-align: left;
  color: var(--et-muted);
  font-size: .9rem;
}
html body .obj_issue_toc .heading .published:before {
  content: "\f073";
  margin-right: 6px;
  color: var(--et-gold-d);
  font: normal normal normal 14px/1 FontAwesome;
}
html body .obj_issue_toc .heading .published .label { color: var(--et-navy); font-weight: 700; }
html body .obj_issue_toc .heading .description:not(:has(*)) { display: none; }
html body .obj_issue_toc .heading:not(:has(.description *)):not(:has(.pub_id)) .published {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
/* With a cover: cover on the left, text on the right, date still at the bottom left of the text */
html body .obj_issue_toc .heading:has(.cover) {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 22px;
}
html body .obj_issue_toc .heading:has(.cover) .cover {
  grid-column: 1;
  grid-row: 1 / 4;
  float: none;
  width: 150px;
  margin: 0;
}
html body .obj_issue_toc .heading:has(.cover) .cover img {
  width: 150px;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(13, 61, 107, .22);
}
html body .obj_issue_toc .heading:has(.cover) .description { grid-column: 2; grid-row: 1; }
html body .obj_issue_toc .heading:has(.cover) .pub_id { grid-column: 2; grid-row: 2; }
html body .obj_issue_toc .heading:has(.cover) .published { grid-column: 2; grid-row: 3; align-self: end; }
@media (max-width: 600px) {
  html body .obj_issue_toc .heading:has(.cover) { grid-template-columns: 1fr; grid-template-rows: none; }
  html body .obj_issue_toc .heading:has(.cover) > * { grid-column: 1 !important; grid-row: auto !important; }
  html body .obj_issue_toc .heading:has(.cover) .cover { margin-bottom: 12px; }
}

html body .obj_issue_toc .sections .section { margin: 2rem 0 0; padding: 0; }
html body .obj_issue_toc .section:before { display: none; }
html body .obj_issue_toc .section > h2,
html body .obj_issue_toc .section > h3,
html body .obj_issue_toc .galleys > h2,
html body .obj_issue_toc .galleys > h3 {
  display: block;
  left: 0;
  margin: 0 0 16px;
  padding: 0 0 10px;
  background: none;
  font-family: var(--et-head);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--et-navy);
}
html body .obj_issue_toc .articles { display: grid; gap: 14px; }
html body .obj_issue_toc .articles > li {
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--et-line);
  border-left: 4px solid var(--et-blue);
  border-radius: var(--et-radius);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
html body .obj_issue_toc .articles > li:hover {
  border-left-color: var(--et-gold);
  box-shadow: 0 8px 22px rgba(13, 61, 107, .12);
  transform: translateY(-2px);
}

/* Article summary (issue TOC, search results, home page) */
html body .obj_article_summary .title { font-size: 1.08rem; line-height: 1.45; }
html body .obj_article_summary .title a {
  font-size: inherit;
  font-weight: 700;
  color: var(--et-navy);
}
html body .obj_article_summary .title a:hover { color: var(--et-blue); }
html body .obj_article_summary .subtitle { color: var(--et-muted); }
html body .obj_article_summary .meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  margin-top: 6px;
  color: var(--et-muted);
  font-size: .9rem;
}
html body .obj_article_summary .authors { font-style: italic; }
html body .obj_article_summary .pages { color: var(--et-muted); }
html body .obj_article_summary .galleys_links { margin-top: 10px; }

/* Galley buttons (PDF, HTML …) */
html body .obj_galley_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  line-height: 1.6;
  border: 1.5px solid var(--et-blue);
  border-radius: 20px;
  background: #fff;
  color: var(--et-blue);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: all .2s ease;
}
html body .obj_galley_link:hover,
html body .obj_galley_link:focus {
  background: var(--et-blue);
  color: #fff;
}
html body .obj_galley_link.pdf:before { color: var(--et-gold); }
html body .obj_galley_link.pdf:hover:before { color: #fff; }

/* ---------- 8. Archive: issues stacked one per row ---------- */
html body .page_issue_archive .issues_archive {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html body .page_issue_archive .issues_archive > li {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--et-line);
  border-left: 4px solid var(--et-blue);
  border-radius: var(--et-radius);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
html body .page_issue_archive .issues_archive > li:hover {
  border-left-color: var(--et-gold);
  box-shadow: 0 8px 22px rgba(13, 61, 107, .12);
  transform: translateX(3px);
}
html body .page_issue_archive .obj_issue_summary {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  column-gap: 16px;
  align-items: center;
  padding: 14px 18px;
}
/* Book icon on the left (replaced by the cover when an issue has one) */
html body .page_issue_archive .obj_issue_summary:before {
  content: "\f02d";
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--et-soft);
  color: var(--et-blue);
  font: normal normal normal 20px/1 FontAwesome;
  transition: background .25s ease, color .25s ease;
}
html body .page_issue_archive .obj_issue_summary:has(.cover):before { display: none; }
html body .page_issue_archive .issues_archive > li:hover .obj_issue_summary:before {
  background: var(--et-gold);
  color: #fff;
}
/* Arrow on the right */
html body .page_issue_archive .obj_issue_summary:after {
  content: "\f105";
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  color: var(--et-blue);
  font: normal normal normal 22px/1 FontAwesome;
  transition: color .25s ease, transform .25s ease;
}
html body .page_issue_archive .issues_archive > li:hover .obj_issue_summary:after {
  color: var(--et-gold-d);
  transform: translateX(3px);
}
html body .page_issue_archive .obj_issue_summary .cover {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none;
  width: 52px;
  margin: 0;
}
html body .page_issue_archive .obj_issue_summary .cover img {
  display: block;
  width: 52px;
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(13, 61, 107, .25);
}
/* Volume and number first, month underneath */
html body .page_issue_archive .obj_issue_summary h2 {
  grid-column: 2;
  display: flex;
  flex-direction: column-reverse;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
html body .page_issue_archive .obj_issue_summary .series {
  color: var(--et-navy);
  font-size: 1.08rem;
  font-weight: 700;
}
html body .page_issue_archive .obj_issue_summary .title {
  color: var(--et-muted);
  font-size: .95rem;
  font-weight: 400;
  font-style: italic;
  text-decoration: none;
}
html body .page_issue_archive .obj_issue_summary h2 .title:only-child {
  color: var(--et-navy);
  font-size: 1.08rem;
  font-weight: 700;
  font-style: normal;
}
/* The whole row is clickable */
html body .page_issue_archive .obj_issue_summary .title:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
html body .page_issue_archive .obj_issue_summary .description {
  grid-column: 2;
  margin: 4px 0 0;
  font-size: .9rem;
  color: var(--et-muted);
}
html body .page_issue_archive .obj_issue_summary .description p { margin: 0; text-align: left; }
html body .page_issue_archive .obj_issue_summary .description:not(:has(*)) { display: none; }
html body .page_issue_archive .obj_issue_summary:not(:has(.description *)) h2 {
  grid-row: 1 / span 2;
  align-self: center;
}
@media (max-width: 480px) {
  html body .page_issue_archive .obj_issue_summary { grid-template-columns: 40px 1fr 16px; column-gap: 12px; padding: 12px; }
  html body .page_issue_archive .obj_issue_summary:before { width: 40px; height: 40px; font-size: 16px; }
}

/* Issue summaries elsewhere (e.g. search) */
html body .obj_issue_summary .title { color: var(--et-navy); }

/* ---------- 9. Article page ---------- */
html body .obj_article_details .page_title {
  font-family: var(--et-head);
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.3;
  color: var(--et-navy);
}
html body .obj_article_details .subtitle { color: var(--et-muted); }
html body .obj_article_details .row { margin-top: 1.5rem; }
html body .obj_article_details .main_entry .item,
html body .obj_article_details .entry_details .item {
  padding: 1.2rem 1.4rem;
  word-wrap: break-word;
}
html body .obj_article_details .item .label,
html body .obj_article_details .main_entry .item .label,
html body .obj_article_details .entry_details .item .label {
  margin: 0 0 .5rem;
  font-family: var(--et-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--et-navy);
}
html body .obj_article_details .authors li { margin-bottom: .6rem; }
html body .obj_article_details .authors .name { font-weight: 700; color: var(--et-navy); }
html body .obj_article_details .authors .affiliation { color: var(--et-muted); font-size: .92rem; }
html body .obj_article_details .authors .orcid a { color: #6a9a1f; }
html body .obj_article_details .item.abstract {
  background: var(--et-soft);
  border-left: 4px solid var(--et-gold);
  border-radius: 0 var(--et-radius) var(--et-radius) 0;
}
html body .obj_article_details .item.abstract p { text-align: justify; }
html body .obj_article_details .item.keywords { text-align: left; }
html body .obj_article_details .item.doi a,
html body .obj_article_details .item.doi .value { word-break: break-all; }
@media (min-width: 768px) {
  html body .obj_article_details .main_entry { border-right: 1px solid var(--et-line); }
  html body .obj_article_details .entry_details { border-left: 0; }
  html body .obj_article_details .entry_details .item { border-bottom: 1px solid var(--et-line); }
}
html body .obj_article_details .entry_details .item.cover_image img { border-radius: 4px; box-shadow: 0 6px 16px rgba(13, 61, 107, .2); }
html body .obj_article_details .references .value p { padding-left: 1.6em; text-indent: -1.6em; }
html body .citation_formats .citation_formats_button {
  border: 1px solid var(--et-line);
  border-radius: 6px;
  background: var(--et-soft);
  color: var(--et-navy);
}

/* ---------- 10. Sidebar blocks ---------- */
html body .pkp_block {
  margin: 0 0 18px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--et-line);
  border-radius: var(--et-radius);
  box-shadow: 0 3px 12px rgba(13, 61, 107, .06);
  overflow: hidden;
  display: block;
}
html body .pkp_block .title,
html body .pkp_block > h2:not(.pkp_screen_reader) {
  display: block;
  margin: 0;
  padding: 11px 14px;
  background: linear-gradient(90deg, var(--et-navy), var(--et-blue));
  border-bottom: 3px solid var(--et-gold);
  color: #fff;
  font-family: var(--et-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-align: center;
  text-transform: uppercase;
}
html body .pkp_block .content { padding: 10px 14px 12px; }
html body .pkp_block .content .content { padding: 0; }

/* Headers written inline inside the custom blocks */
html body .pkp_block.block_custom > .content > div[style]:first-child {
  margin: -10px -14px 10px !important;
  padding: 11px 14px !important;
  background: linear-gradient(90deg, var(--et-navy), var(--et-blue)) !important;
  border-bottom: 3px solid var(--et-gold) !important;
  border-radius: 0 !important;
}
html body .pkp_block.block_custom > .content > div[style]:first-child h3 {
  color: #fff !important;
  font-family: var(--et-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .07em !important;
}
html body .pkp_block img { max-width: 100%; height: auto; }

/* Menu links inside blocks */
html body .pkp_block .menu_item { margin: 0; border-bottom: 1px solid #edf2f7; }
html body .pkp_block .menu_item:last-child { border-bottom: 0; }
html body .pkp_block .menu_item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  color: var(--et-navy);
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all .2s ease;
}
html body .pkp_block .menu_item a:before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--et-sky);
  transition: background .2s ease;
}
html body .pkp_block .menu_item a:hover {
  background: var(--et-soft);
  border-left-color: var(--et-gold);
  color: var(--et-blue);
  padding-left: 10px;
  text-decoration: none;
}
html body .pkp_block .menu_item a:hover:before { background: var(--et-gold); }
html body .pkp_block .menu_item em { color: var(--et-blue); width: 18px; text-align: center; }

/* Plain links in custom blocks get the same menu look */
html body .pkp_block.block_custom .content p:not(.menu_item):not(:has(img)) { margin: 0; border-bottom: 1px solid #edf2f7; }
html body .pkp_block.block_custom .content p:not(.menu_item):not(:has(img)):last-child { border-bottom: 0; }
html body .pkp_block.block_custom .content p:not(.menu_item):not(:has(img)) > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  color: var(--et-navy);
  font-size: 14px;
  border-left: 3px solid transparent;
  transition: all .2s ease;
}
html body .pkp_block.block_custom .content p:not(.menu_item):not(:has(img)) > a:before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--et-sky);
}
html body .pkp_block.block_custom .content p:not(.menu_item):not(:has(img)) > a:hover {
  background: var(--et-soft);
  border-left-color: var(--et-gold);
  color: var(--et-blue);
  padding-left: 10px;
  text-decoration: none;
}
html body .pkp_block.block_custom .content p:not(.menu_item):not(:has(img)) > a:hover:before { background: var(--et-gold); }

/* Make a Submission */
html body .block_make_submission { border: 0; box-shadow: none; background: transparent; }
html body .block_make_submission .content { padding: 0; }
html body .block_make_submission a {
  display: block;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--et-gold) 0%, #f3bf4b 100%);
  border: 0;
  border-radius: var(--et-radius);
  box-shadow: 0 6px 16px rgba(196, 135, 15, .35);
  color: var(--et-navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  transition: all .25s ease;
}
html body .block_make_submission a:hover,
html body .block_make_submission a:focus {
  background: linear-gradient(135deg, var(--et-navy) 0%, var(--et-blue) 100%);
  box-shadow: 0 6px 16px rgba(13, 61, 107, .35);
  color: #fff;
  transform: translateY(-1px);
}

/* Language, information and browse blocks */
html body .pkp_block ul li { padding: 5px 0; border-bottom: 1px dashed #e3ebf3; }
html body .pkp_block ul li:last-child { border-bottom: 0; }
html body .pkp_block ul li a { color: var(--et-navy); }
html body .pkp_block ul li a:hover { color: var(--et-blue); }
html body .pkp_block .current a,
html body .block_language .current { font-weight: 700; color: var(--et-gold-d); }

/* ---------- 11. Buttons and forms ---------- */
html body .pkp_button,
html body .cmp_button,
html body .cmp_form .buttons button,
html body .page_search .submit button,
html body .page_lost_password .buttons button {
  padding: 0 1.3em;
  line-height: 2.4rem;
  background: var(--et-blue);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(13, 61, 107, .2);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  text-transform: none;
}
html body .pkp_button:hover,
html body .cmp_button:hover,
html body .cmp_form .buttons button:hover,
html body .page_search .submit button:hover {
  background: var(--et-navy);
  color: #fff;
}
html body .cmp_button_wire {
  border-color: var(--et-blue);
  border-radius: 20px;
  color: var(--et-blue);
}
html body .cmp_button_wire:hover { background: var(--et-blue); color: #fff; }
html body .cmp_form input[type="text"],
html body .cmp_form input[type="email"],
html body .cmp_form input[type="password"],
html body .cmp_form input[type="url"],
html body .cmp_form input[type="tel"],
html body .cmp_form select,
html body .cmp_form textarea,
html body .page_search input[type="text"] {
  border: 1px solid var(--et-line);
  border-radius: 6px;
  background: #fbfdff;
}
html body .cmp_form input:focus,
html body .cmp_form select:focus,
html body .cmp_form textarea:focus,
html body .page_search input[type="text"]:focus {
  outline: 0;
  border-color: var(--et-sky);
  box-shadow: 0 0 0 3px rgba(42, 159, 216, .2);
}
html body .cmp_notification { background: var(--et-soft); border-left-color: var(--et-blue); border-radius: 6px; }
html body .cmp_pagination a { color: var(--et-blue); font-weight: 600; }

/* Tables inside custom pages */
html body .pkp_structure_main table { border-collapse: collapse; width: 100%; }
html body .pkp_structure_main table th {
  background: var(--et-navy);
  color: #fff;
  padding: 8px 10px;
}
html body .pkp_structure_main table td { border: 1px solid var(--et-line); padding: 8px 10px; }
html body .pkp_structure_main table tr:nth-child(even) td { background: #f6f9fc; }

/* ---------- 12. Footer ---------- */
html body .pkp_structure_footer_wrapper {
  background: var(--et-navy);
  border-top: 4px solid var(--et-gold);
}
html body .pkp_structure_footer {
  width: 100%;
  max-width: none;
  padding: 0;
}
html body .pkp_footer_content { padding: 0; }
html body footer.footer {
  background: linear-gradient(160deg, var(--et-navy) 0%, #0f4f86 100%);
  color: #d7e6f3;
  font-family: var(--et-body);
  padding: 34px 28px 18px;
}
html body footer.footer .container { max-width: none; margin: 0; padding: 0; }
html body footer.footer .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr .8fr;
  gap: 28px;
}
html body footer.footer .row:before,
html body footer.footer .row:after { display: none; }
html body footer.footer .footer-col { min-width: 0; }
html body footer.footer h4 {
  margin: 0 0 14px;
  padding: 0 0 8px;
  border-bottom: 0;
  position: relative;
  color: #fff;
  font-family: var(--et-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
html body footer.footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--et-gold);
}
html body footer.footer ul { list-style: none; margin: 0; padding: 0; }
html body footer.footer li.show { margin-bottom: 7px; font-size: .92rem; line-height: 1.5; }
html body footer.footer li.show a,
html body footer.footer .footer-col a { color: #d7e6f3; }
html body footer.footer li.show a:hover,
html body footer.footer .footer-col a:hover { color: var(--et-gold); text-decoration: none; }
html body footer.footer .footer-col > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 6px 6px 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  font-size: 1rem;
  transition: all .2s ease;
}
html body footer.footer .footer-col > a:hover {
  background: var(--et-gold);
  border-color: var(--et-gold);
  color: var(--et-navy);
}
html body footer.footer em.fa { font-style: normal; }
html body footer.footer img { margin-top: 4px; }
/* Hide the OJS/PKP logo at the bottom of the page */
html body .pkp_brand_footer {
  display: none !important;
}
@media (max-width: 991px) {
  html body footer.footer .row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  html body .pkp_structure_page { margin: 0; border-radius: 0; }
  html body footer.footer .row { grid-template-columns: 1fr; }
}

/* ---------- 13. Editorial team pages (kept from the previous stylesheet) ---------- */
.editor-section {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(13, 61, 107, .08);
}
.section-title {
  font-family: var(--et-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--et-navy);
  border-bottom: 2px solid var(--et-line);
  padding-bottom: 8px;
  margin-bottom: 30px;
}
.editor-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding: 14px 14px 30px;
  border-bottom: 1px dashed var(--et-line);
  border-radius: 10px;
  transition: background-color .3s ease;
}
.editor-profile:hover { background-color: var(--et-soft); }
.editor-photo img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--et-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.editor-info { flex: 1; min-width: 250px; }
.editor-info h2 { font-size: 20px; color: var(--et-navy); margin: 0 0 10px; }
.editor-info h2 a { color: var(--et-navy); text-decoration: none; transition: color .3s ease; }
.editor-info h2 a:hover { color: var(--et-gold-d); }
.editor-info p { font-size: 15px; line-height: 1.6; }
.editor-info strong { color: #44546a; }
.icon { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; border-radius: 4px; }
