.pkp_structure_head {
  background-color: #1e5355;
  border-bottom: 1px solid #ddd;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
}

.pkp_site_name_wrapper {
  background: transparent;
}

@media (min-width: 992px) {
  li.profile a {
    color: #292e6e !important;
  }
}

table.table {
  margin-top: -10px;
}

.additional_content .description-wrapper .right-side table,
tr,
td {
  border-bottom: 1px solid #dbdbdb;
  padding: 4px 0px;
}

.pkp_structure_main {
  padding: 0.714rem;
  margin-top: 50px !important;
}

.pkp_page_index .additional_content {
  padding: 0 0.714rem 0 0.714rem;
  border-top: none !important;
  order: 2;
}

.additional_content .left-side {
  display: flex;
  justify-content: center;
}

.additional_content .left-side p {
  max-width: 70%;
}

.additional_content .right-side {
  margin-bottom: 320px;
}

.pkp_page_index .additional_content .main-desc {
  text-align: justify;
}

.pkp_structure_sidebar.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 30px;
  margin-bottom: 50px;
}

.pkp_structure_sidebar.left .pkp_block {
  padding: 0px;
  margin: 20px;
  font-size: 1rem;
  line-height: 1.43rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pkp_structure_sidebar.left .pkp_block h2 {
  display: block;
  width: 100%;
  padding-bottom: 16px;
  background-color: #ffffff;
  border-bottom: 3px solid #f7bc4a;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0px;
  color: #3b3f41;
}

.pkp_structure_sidebar.left .pkp_block .content {
  width: 100%;
  margin-top: -10px !important;
  text-align: start;
  padding: 20px 0px;
  
}

/* .pkp_structure_sidebar.left .pkp_block .content .sidebar_menu_wrapper .menu_list p {
  border-bottom: 1px solid #e4e4e4;
  margin-top: -20px;
} */

.pkp_structure_sidebar.left .pkp_block .content .sidebar_menu_wrapper .menu_list p a {
  padding: 10px 14px;
  display: block;
  width: 100%;
  margin-top: -16px;
  color: #23374d;
  transition: 0.3s;
  border-bottom: 1px solid #bfbfbf;
}

.pkp_structure_sidebar.left .pkp_block .content .sidebar_menu_wrapper .menu_list a:hover {
  color: #1e5253;
  translate: 10px;
}

.pkp_structure_sidebar.left .pkp_block .content .image-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.pkp_structure_sidebar.left .pkp_block .content .image-wrapper .image-size {
  max-width: 48%;
}

@media (min-width: 768px) {
  .additional_content .description-wrapper {
    display: flex;
  }

  .additional_content .left-side {
    display: flex;
    justify-content: start;
    width: 40%;
    margin-top: -20px;
  }

  .additional_content .right-side {
    width: 60%;
  }

  .additional_content .right-side {
    margin-bottom: 20px;
  }

  .additional_content .left-side p {
    max-width: 90%;
  }

  .pkp_structure_sidebar.left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 0px;
  }

  .pkp_structure_sidebar.left .pkp_block {
    padding: 0px;
    font-size: 1rem;
    line-height: 1.43rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 42%;
  }
}

@media (min-width: 992px) {
  html,
  body {
    background: url(https://journal.eternaedu.com/public/site/images/admin-journal/bg-image.png);
    object-fit: cover;
    width: 100vw;
  }

  .pkp_navigation_user_wrapper {
    top: 0px;
    right: 0;
    left: auto;
    width: 25%;
    transform: none;
    padding-right: 2.143rem;
  }

  .pkp_site_name .is_img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .pkp_site_name .is_img img {
    max-height: 100%;
    height: 100%;
  }

  .pkp_site_name .is_img {
    display: block;
    margin: 0px;
    padding: 0;
    width: 100%;
    background-color: transparent;
  }

  .pkp_structure_page {
    margin: 0 auto;
    max-width: 1160px;
    background: transparent;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .pkp_structure_head {
    background-color: transparent;
    border-bottom: 1px solid #ddd;
    position: relative;
    border: none;
    height: 200px;
    margin-bottom: 50px;
  }

  .pkp_site_name_wrapper {
    background: #ffffff94 !important;
    padding: 0px;
    height: 200px;
  }

  .pkp_structure_content {
    padding-top: 0;
    background-color: white;
  }

  .pkp_page_index .homepage_image {
    margin: 20px 0px 0px 0px !important;
    display: none;
    order: 1;
  }

  .pkp_site_nav_menu {
    display: block;
    margin-top: -10px;
  }

  .pkp_site_name {
    margin-left: 0;
    padding: 0px;
    height: 100%;
  }

  .pkp_structure_main {
    padding: 10px 20px 0px 25px;
    margin-top: 0px !important;
  }

  .additional_content .description-wrapper {
    display: flex;
    padding: 0px 20px;
  }

  .additional_content .right-side {
    margin-bottom: 20px;
    margin-top: -20px;
  }

  .pkp_page_index .additional_content .main-desc {
    padding: 0px 20px 0px 20px;
  }

  .pkp_structure_sidebar.left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px 0px;
  }

  .pkp_structure_sidebar.left .pkp_block {
    padding: 0px;
    font-size: 1rem;
    line-height: 1.43rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 0px 20px;
  }

  .pkp_structure_sidebar.left .pkp_block.block_language .content {
    padding: 20px;
  }

  .pkp_structure_sidebar.left .pkp_block .content {
    width: 100%;
    margin-top: -10px !important;
    text-align: start;
    padding: 20px 0px;
  }
}

.additional_content .description-wrapper .right-side table {
  max-width: 100%;
}

.additional_content .description-wrapper .right-side table,
tr {
  margin-bottom: 20px !important;
}

table.table {
  margin-top: -10px;
}

.my-footer-wrapper .footer-map {
  text-align: center;
  margin-bottom: 20px;
}

.my-footer-wrapper .footer-map .footer-title {
  font-size: 20px;
  font-weight: 600;
  color: #575757;
  margin-bottom: 20px;
}

.footer-map iframe {
  height: 200px;
  width: 300px;
}

.my-footer-wrapper .footer-address {
  text-align: center;
  color: #575757;
}

@media (min-width: 768px) {
  .my-footer-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
  }

  .my-footer-wrapper .footer-address {
    text-align: start;
    margin-top: 80px;
  }

  .my-footer-wrapper .footer-map .footer-title {
    font-size: 20px;
    font-weight: 600;
    color: #575757;
    margin-bottom: 20px;
    margin-left: 20px;
    text-align: start;
  }

  .footer-map iframe {
    width: 400px;
    height: 250px;
  }
}

@media (min-width: 992px) {
  .pkp_structure_footer_wrapper {
    background: rgba(0, 0, 0, 0.05);
    border-top: none;
    border-bottom: 1.43rem solid #1e5355;
  }

  .pkp_footer_content {
    padding: 2.143rem;
    text-align: left;
    background-color: #e7e7e7;
  }

  .pkp_footer_content {
    padding: 50px 0px;
    text-align: left;
    background-color: #f3f3f3;
  }

  .pkp_brand_footer {
    padding: 2.143rem;
    background-color: #cccccc;
  }

  .footer-map iframe {
    width: 560px;
    height: 250px;
  }
}

.pkp_structure_content .pkp_structure_main .page_index_journal {
  display: flex;
  flex-direction: column;
}

.pkp_structure_content .pkp_structure_main .page_index_journal .current_issue {
  order: 3;
}

@media (min-width: 768px) {
  .additional_content .left-side p img {
    border: 2px solid #c7c7c7;
  }
}

@media (min-width: 1023px) {
  .pkp_site_nav_menu {
    display: block;
    margin-top: -10px;
  }
}

@media (min-width: 1200px) {
  .pkp_site_nav_menu {
    display: block;
    margin-top: 26px;
  }
}

@media (min-width: 992px) {
  .pkp_navigation_primary_row {
    background: #ffffff;
    padding-left: 2.143rem;
    padding-right: 2.143rem;
    border-bottom: 1px solid #dddddd;
  }
}

.pkp_block.block_make_submission {
    box-shadow: none !important;
}

.pkp_structure_sidebar.left .pkp_block.block_make_submission .content {
    border: none !important;
    background-color: white;
    display: flex;
    justify-content: center;
}

div#customblock-current-indexing, div#customblock-article-template, div#customblock-tools, div#customblock-visitors, div#customblock-issn-barcode {
    background-color: #e5e5e0 !important;
}
div#customblock-current-indexing h2, div#customblock-article-template h2, div#customblock-tools h2, div#customblock-visitors h2, div#customblock-issn-barcode h2 {
    background-color: #e5e5e0 !important;
    padding-top: 16px;
    padding-left: 16px
}


.pkp_block.block_keyword_cloud h2 {
    background-color: #e5e5e0 !important;
    padding-top: 16px;
    padding-left: 16px
}

.pkp_block.block_keyword_cloud .content {
    background-color: #e5e5e0 !important;
}

.cmp_manuscript_button, .block_make_submission a, .obj_galley_link {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    background: #19474a;
    color: #fff;
    border: none;
    padding: 8px 20px;
    width: 100%;
    text-align: center;
}

.image-wrapper-page {
    display: flex;
    flex-wrap: wrap;
}

/* =============================================================
   J-SUSTAIN ARTICLE CARDS v2 — new styles appended 2026-11-13
   Original website styles above are preserved without changes.
   Only affects OJS issue TOC article summaries.
   ============================================================= */

/* J-SUSTAIN OJS article cards v2 — 13 November 2026
   Extends v1 without changing PDF, HTML galley, EPUB, header or sidebar.
   Works with the default OJS issue-table-of-contents article markup.
   IMPORTANT: CSS alone cannot output author affiliations or live view counts.
   For dynamic author affiliations use the included Smarty snippet in a child theme;
   for metrics use the compatible View Counter plugin after testing it.
*/

.obj_issue_toc .articles > li {
  border: 0 !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  list-style: none;
}
.obj_issue_toc .obj_article_summary {
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  width: 100%;
  margin: 0;
  padding: 22px 24px 19px !important;
  background: #fff;
  border: 1px solid #c4ddd6;
  border-left: 4px solid #0c8278;
  border-radius: 13px;
  box-shadow: 0 4px 14px rgba(14, 70, 64, .075);
  transition: box-shadow .16s ease, border-color .16s ease;
}
.obj_issue_toc .obj_article_summary:hover {
  border-color: #82bcb2;
  border-left-color: #0c8278;
  box-shadow: 0 7px 22px rgba(14, 70, 64, .12);
}
.obj_issue_toc .obj_article_summary > .title {
  margin: 0 0 11px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.obj_issue_toc .obj_article_summary > .title a {
  color: #075a53 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
}
.obj_issue_toc .obj_article_summary > .title a:hover,
.obj_issue_toc .obj_article_summary > .title a:focus-visible {
  color: #008177 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.obj_issue_toc .obj_article_summary .meta {
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px;
  color: #344a46;
  line-height: 1.55;
}
.obj_issue_toc .obj_article_summary .authors {
  display: block;
  padding-right: 74px;
  color: #253d39;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.obj_issue_toc .obj_article_summary .pages {
  position: absolute;
  right: 0;
  top: 0;
  color: #748580;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
/* This enhanced list appears ONLY after implementing the template snippet. */
.obj_issue_toc .obj_article_summary .jsustain-author-list {
  margin: 3px 82px 1px 0;
  display: grid;
  gap: 5px;
  font: 13px/1.55 Arial, Helvetica, sans-serif;
}
.obj_issue_toc .obj_article_summary .jsustain-author-line {
  display: grid;
  grid-template-columns: minmax(100px, 178px) minmax(0, 1fr);
  gap: 7px 13px;
  align-items: baseline;
}
.obj_issue_toc .obj_article_summary .jsustain-person {
  color: #263f3b;
  font-weight: 650;
}
.obj_issue_toc .obj_article_summary .jsustain-affiliation-text {
  color: #6c7e79;
  font-weight: 400;
  overflow-wrap: anywhere;
}
/* Buttons only for real galleys already present in OJS. */
.obj_issue_toc .obj_article_summary .galleys_links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px;
  padding: 0 !important;
  margin: 17px 0 0 !important;
  list-style: none;
}
.obj_issue_toc .obj_article_summary .galleys_links > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.obj_issue_toc .obj_article_summary .galleys_links a,
.obj_issue_toc .obj_article_summary .galleys_links .obj_galley_link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  margin: 0 !important;
  padding: 8px 16px !important;
  color: #075e58 !important;
  background: #f4faf8 !important;
  border: 1px solid #8abdb3 !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 650;
  line-height: 1.3 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.obj_issue_toc .obj_article_summary .galleys_links a:hover,
.obj_issue_toc .obj_article_summary .galleys_links a:focus-visible {
  color: #fff !important;
  background: #0a665e !important;
  border-color: #0a665e !important;
}
/* Optional usage row for a template/metric plugin. Counts must be real OJS data. */
.obj_issue_toc .obj_article_summary .jsustain-usage {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 15px;
  align-items: center;
  margin: 15px 0 0;
  padding: 11px 0 0;
  border-top: 1px solid #edf2ef;
  font: 12px/1.4 Arial, Helvetica, sans-serif;
  color: #788984;
}
.obj_issue_toc .obj_article_summary .jsustain-usage strong {
  font-weight: 600;
  color: #536d67;
}
.obj_issue_toc .obj_article_summary a:focus-visible {
  outline: 2px solid #00877b;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .obj_issue_toc .obj_article_summary { padding: 18px 16px 17px !important; border-radius: 11px; }
  .obj_issue_toc .obj_article_summary > .title { font-size: 18px; }
  .obj_issue_toc .obj_article_summary .authors { padding-right: 0; }
  .obj_issue_toc .obj_article_summary .pages { position: static; display: block; margin-top: 4px; }
  .obj_issue_toc .obj_article_summary .jsustain-author-list { margin-right: 0; gap: 8px; }
  .obj_issue_toc .obj_article_summary .jsustain-author-line { grid-template-columns: 1fr; gap: 0; }
  .obj_issue_toc .obj_article_summary .galleys_links { margin-top: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .obj_issue_toc .obj_article_summary { transition: none; }
}

/* Final compatibility safeguard: old global .obj_galley_link uses width:100%.
   Reset width only within article cards, not elsewhere in the journal. */
.obj_issue_toc .obj_article_summary .galleys_links a,
.obj_issue_toc .obj_article_summary .galleys_links .obj_galley_link {
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
}

/* ================================================================
   J-SUSTAIN — STATS PRESENTATION EXTENSION (13 November 2026)
   Only controls the appearance of usage numbers that are already
   inserted in the HTML by an OJS plugin or theme template.
   NO COUNTS ARE GENERATED BY CSS. No changes to the OJS database.
   Classes are defensive candidates; inspect actual plugin markup
   before fine-tuning if it uses another class name.
   ================================================================ */
.obj_issue_toc .obj_article_summary .jsustain-usage,
.obj_issue_toc .obj_article_summary > :is(
  .viewcounter, .view-counter, .viewcounter-stats,
  .view-counter-stats, .viewCounter, .viewCounterStats,
  .article-statistics, .usage-stats, .article-stats
) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  margin: 15px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #e4eeeb;
  background: transparent;
  box-shadow: none;
  font: 12px/1.5 Arial, Helvetica, sans-serif;
  color: #5c746e;
}
/* Generic counters supplied by a plugin; names vary between plugins. */
.obj_issue_toc .obj_article_summary .jsustain-usage > *,
.obj_issue_toc .obj_article_summary > :is(
  .viewcounter, .view-counter, .viewcounter-stats,
  .view-counter-stats, .viewCounter, .viewCounterStats,
  .article-statistics, .usage-stats, .article-stats
) > * {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}
.obj_issue_toc .obj_article_summary .jsustain-usage strong {
  color: #315e56;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .obj_issue_toc .obj_article_summary .jsustain-usage,
  .obj_issue_toc .obj_article_summary > :is(
    .viewcounter, .view-counter, .viewcounter-stats,
    .view-counter-stats, .viewCounter, .viewCounterStats,
    .article-statistics, .usage-stats, .article-stats
  ) { gap: 7px 13px; padding-top: 10px; }
}

/* =====================================================================
   J-SUSTAIN / OJS 3.4.0-7 — HEADER + NAVIGATION COMPATIBILITY FIX
   2026-11-13. Applied only at desktop breakpoints.
   Changes no issue information, article cards, views, downloads or sidebar.
   IMPORTANT: The journal logo image is now responsive and the primary
   navigation is placed beneath it, not floating over the masthead.
   ===================================================================== */
@media (min-width: 992px) {
  .pkp_structure_head {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    border: 0 !important;
  }
  .pkp_head_wrapper {
    padding-top: 0 !important;
  }
  .pkp_site_name_wrapper {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .pkp_site_name {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
  }
  .pkp_site_name a.is_img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }
  .pkp_site_name a.is_img img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  .pkp_site_nav_menu {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding: 0 !important;
    clear: both !important;
    background-color: #fff !important;
    border-top: 1px solid #dce8e4;
    border-bottom: 1px solid #dce8e4;
  }
  .pkp_navigation_primary_row {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    background: #fff !important;
    padding: 0 16px !important;
    border-bottom: 0 !important;
  }
  .pkp_navigation_user_wrapper {
    position: static !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    padding: 0 18px 0 0 !important;
    margin: 0 !important;
    transform: none !important;
    background: transparent !important;
  }
  .pkp_navigation_primary, .pkp_navigation_user {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}
