/* ==========================================================================
   JTOS — Journal of Tourism Sustainability
   "Emerald Clean" journal style sheet for OJS 3.3.x (Default theme)

   Upload: Settings > Website > Appearance > Advanced > Journal style sheet
   Theme : Default theme (OJS 3.3.0.x). Recommended theme options:
           - Colour  : #ffffff  (keeps the header white behind the logo)
           - Typography: any — this file sets its own font
   This file loads AFTER the theme CSS, so it only overrides what it needs.
   Class names from the previous style sheet are kept (custom_sidebar_menu,
   additional_sidebar, active, additional_content, covers), so existing
   custom-block HTML keeps working without edits.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --jtos-emerald:        #117a65;  /* brand emerald (unchanged)           */
  --jtos-emerald-dark:   #0b5345;  /* hover / pressed                     */
  --jtos-emerald-deep:   #083b31;  /* footer                              */
  --jtos-emerald-soft:   #e9f5f1;  /* tinted panels                       */
  --jtos-emerald-line:   #cfe6de;  /* tinted borders                      */
  --jtos-emerald-mid:    #7cbfad;  /* icons on light backgrounds          */
  --jtos-ink:            #17241f;  /* headings                            */
  --jtos-text:           #33413c;  /* body text                           */
  --jtos-muted:          #5f6f69;  /* secondary text                      */
  --jtos-line:           #e3eae7;  /* hairlines                           */
  --jtos-page:           #f4f7f6;  /* page background                     */
  --jtos-card:           #ffffff;
  --jtos-radius-lg:      18px;
  --jtos-radius:         12px;
  --jtos-radius-sm:      8px;
  --jtos-shadow:         0 1px 2px rgba(16, 40, 34, .04), 0 4px 16px rgba(16, 40, 34, .05);
  --jtos-shadow-hover:   0 2px 4px rgba(16, 40, 34, .06), 0 12px 28px rgba(16, 40, 34, .10);
  --jtos-font:           "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --jtos-ease:           cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
html,
body {
  font-family: var(--jtos-font);
  color: var(--jtos-text);
  background: var(--jtos-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--jtos-emerald);
  text-underline-offset: 3px;
  transition: color .2s var(--jtos-ease), background-color .2s var(--jtos-ease),
              border-color .2s var(--jtos-ease), box-shadow .2s var(--jtos-ease),
              transform .2s var(--jtos-ease);
}
a:hover,
a:focus {
  color: var(--jtos-emerald-dark);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--jtos-emerald);
  outline-offset: 2px;
}

::selection {
  background: var(--jtos-emerald-line);
  color: var(--jtos-ink);
}

/* every place the Default theme sets its own font family */
.pkp_site_name,
.pkp_site_name .is_text,
.cmp_breadcrumbs .current h1,
.obj_article_summary > .title,
.obj_issue_summary .title,
.obj_article_details .item .label,
.obj_article_details .main_entry .item .label,
.obj_article_details .entry_details .item .label,
.obj_article_details .citation_display .citation_formats_button,
.pkp_block .title {
  font-family: var(--jtos-font);
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4 {
  font-family: var(--jtos-font);
  color: var(--jtos-ink);
  letter-spacing: -0.01em;
}
.pkp_structure_main h1 {
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 800;
}
.pkp_structure_main p {
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.pkp_structure_head {
  background: #fff;
  border-bottom: 1px solid var(--jtos-line);
  border-top: 4px solid var(--jtos-emerald);
}

.pkp_site_name .is_img img {
  display: block;
  max-height: 140px;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* user menu (top-right) */
.pkp_navigation_user .task_count {
  background: var(--jtos-emerald-soft);
  color: var(--jtos-emerald-dark);
  font-weight: 700;
}

/* ---- Desktop navigation (>= 992px) ---- */
@media (min-width: 992px) {
  .has_site_logo .pkp_head_wrapper {
    padding-top: 36px;
  }
  .pkp_site_name .is_img img {
    max-height: 140px;
  }

  .pkp_navigation_primary_row {
    margin: 24px 0 20px;
    padding: 6px;
    background: var(--jtos-emerald);
    background-image: linear-gradient(100deg, var(--jtos-emerald) 0%, #13866f 55%, var(--jtos-emerald-dark) 100%);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(17, 122, 101, .18);
  }
  .pkp_navigation_primary_wrapper::after {
    content: "";
    display: table;
    clear: both;
  }

  .pkp_navigation_primary > li > a,
  .pkp_navigation_search_wrapper a {
    margin: 0 2px;
    padding: 10px 16px;
    border-bottom: 0;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
  }
  .pkp_navigation_primary > li:first-child a,
  .pkp_navigation_primary > li:last-child a {
    margin-left: 2px;
    margin-right: 2px;
  }
  .pkp_navigation_primary > li > a:hover,
  .pkp_navigation_search_wrapper a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-color: transparent;
  }
  .pkp_navigation_primary > li > a:focus,
  .pkp_navigation_search_wrapper a:focus {
    color: var(--jtos-emerald-dark);
    background: #fff;
  }
  .pkp_navigation_search_wrapper a .fa {
    margin-right: 4px;
  }

  /* dropdowns */
  .pkp_nav_list ul {
    padding: 6px;
    width: 16em;
    background: #fff;
    border: 1px solid var(--jtos-line);
    border-radius: var(--jtos-radius);
    box-shadow: var(--jtos-shadow-hover);
  }
  .pkp_nav_list ul a,
  .pkp_navigation_primary ul a {
    padding: 9px 12px;
    border-left: 0;
    border-radius: var(--jtos-radius-sm);
    color: var(--jtos-text);
    font-size: .92rem;
    font-weight: 500;
  }
  .pkp_nav_list ul li:first-child a,
  .pkp_nav_list ul li:last-child a {
    border-radius: var(--jtos-radius-sm);
  }
  .pkp_nav_list ul a:hover,
  .pkp_nav_list ul a:focus,
  .pkp_navigation_primary .dropdown-menu a:hover,
  .pkp_navigation_primary .dropdown-menu a:focus {
    background: var(--jtos-emerald-soft);
    color: var(--jtos-emerald-dark);
    border-color: transparent;
  }

  /* user menu */
  .pkp_navigation_user > li > a {
    color: var(--jtos-muted);
    font-weight: 600;
  }
  .pkp_navigation_user > li > a:hover {
    color: var(--jtos-emerald);
  }
  .pkp_navigation_user > li > a:focus {
    background: var(--jtos-emerald);
    color: #fff;
  }
}

/* ---- Mobile navigation (< 992px) ---- */
@media (max-width: 991px) {
  .pkp_site_name_wrapper {
    height: 76px;
  }
  .pkp_site_name {
    left: 56px;
  }
  .pkp_site_name .is_img img {
    max-height: 60px;
  }
  .pkp_site_nav_toggle {
    width: 56px;
    height: 76px;
    box-shadow: none;
  }
  .pkp_site_nav_toggle > span {
    border-bottom-color: var(--jtos-emerald);
  }
  .pkp_site_nav_toggle > span:before,
  .pkp_site_nav_toggle > span:after {
    background: var(--jtos-emerald);
  }

  .pkp_site_nav_menu {
    padding: 12px 20px 20px;
    background: var(--jtos-emerald-dark);
    box-shadow: 0 12px 24px rgba(8, 59, 49, .25);
  }
  .pkp_site_nav_menu a,
  .pkp_site_nav_menu a:hover,
  .pkp_site_nav_menu a:focus {
    color: #fff;
    padding: 7px 0;
    font-weight: 600;
  }
  .pkp_site_nav_menu ul ul a {
    color: rgba(255, 255, 255, .78);
    font-weight: 500;
  }
  .pkp_navigation_user.pkp_navigation_user,
  .pkp_navigation_search_wrapper {
    border-top-color: rgba(255, 255, 255, .18);
  }
  .pkp_navigation_user .task_count,
  .pkp_navigation_user > li > ul a .task_count,
  .pkp_navigation_user > li > ul a:hover .task_count,
  .pkp_navigation_user > li > ul a:focus .task_count {
    background: rgba(255, 255, 255, .18);
    color: #fff;
  }
}

/* --------------------------------------------------------------------------
   3. Layout: content card + sidebar
   -------------------------------------------------------------------------- */
/* The card outline is drawn with box-shadow, NOT border: the Default theme
   sizes inner columns (e.g. the article page) to the exact pixel, and a 1px
   border pushes the right-hand column below the main text. */
.pkp_structure_main {
  max-width: 100%;
  background: var(--jtos-card);
  border: 0;
  border-radius: var(--jtos-radius-lg);
  box-shadow: 0 0 0 1px var(--jtos-line), var(--jtos-shadow);
}
.pkp_structure_main:before,
.pkp_structure_main:after {
  display: none;              /* remove the old vertical rule lines */
}
.pkp_structure_sidebar {
  max-width: 100%;
}

@media (max-width: 991px) {
  .pkp_structure_content {
    padding-top: 16px;
  }
  .pkp_structure_main {
    border-radius: 14px;
  }
}

@media (min-width: 992px) {
  .pkp_structure_content {
    padding-top: 28px;
  }
  .pkp_structure_main {
    padding: 30px 30px 48px;
  }
  .pkp_structure_main:first-child:last-child {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   4. Home page
   -------------------------------------------------------------------------- */

/* banner image */
.pkp_page_index .homepage_image img {
  border-radius: 12px;
}
@media (min-width: 992px) {
  .pkp_page_index .homepage_image img {
    border-radius: 17px 17px 0 0;
  }
}

/* announcements */
.pkp_page_index .cmp_announcements {
  background: linear-gradient(180deg, var(--jtos-emerald-soft) 0%, #f6fbf9 100%);
  border-top: 0;
  border-bottom: 1px solid var(--jtos-emerald-line);
}
.pkp_page_index .cmp_announcements > .obj_announcement_summary:before,
.pkp_page_index .cmp_announcements .more:before {
  border-left-color: var(--jtos-emerald-line);
}
.pkp_page_index .cmp_announcements h2 + .obj_announcement_summary,
.pkp_page_index .cmp_announcements > .obj_announcement_summary {
  padding-top: 32px;
  padding-bottom: 32px;
}
.pkp_page_index .cmp_announcements .more {
  padding-top: 24px;
  padding-bottom: 16px;
}
.pkp_page_index .cmp_announcements .more .obj_announcement_summary {
  margin: 0 20px 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--jtos-line);
  border-radius: var(--jtos-radius);
}
.pkp_page_index .cmp_announcements .more .obj_announcement_summary:hover {
  border-color: var(--jtos-emerald-line);
  box-shadow: var(--jtos-shadow);
}
.pkp_page_index .cmp_announcements .more h4 {
  font-size: .93rem;
  line-height: 1.45;
}

.obj_announcement_summary h2 a,
.obj_announcement_summary h3 a,
.obj_announcement_summary h4 a {
  color: var(--jtos-ink);
}
.obj_announcement_summary h2 a:hover,
.obj_announcement_summary h3 a:hover,
.obj_announcement_summary h4 a:hover {
  color: var(--jtos-emerald);
}
.pkp_page_index .cmp_announcements > .obj_announcement_summary h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
}
.obj_announcement_summary .date {
  color: var(--jtos-muted);
  font-size: .85rem;
}
.obj_announcement_summary .date:before {
  color: var(--jtos-emerald-mid);
}
.obj_announcement_summary .summary {
  color: var(--jtos-text);
  font-size: .95rem;
  line-height: 1.7;
}
.obj_announcement_summary .read_more,
.cmp_announcements .read_more {
  color: var(--jtos-emerald);
  font-weight: 700;
}
.obj_announcement_summary .read_more:hover {
  color: var(--jtos-emerald-dark);
}

/* "Current Issue" heading */
.pkp_page_index .current_issue > h2 {
  margin-top: 44px;
  margin-bottom: 4px;
  font-size: 1.6rem;
  font-weight: 800;
}
.pkp_page_index .current_issue > h2:before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 4px;
  background: var(--jtos-emerald);
}
.pkp_page_index .current_issue .current_issue_title {
  margin: 4px 0 24px;
  color: var(--jtos-muted);
  font-size: 1rem;
  font-weight: 600;
}

/* "View All Issues" */
.pkp_page_index .current_issue .read_more {
  display: inline-block;
  margin-top: 8px;
  padding: 0 44px 0 22px;
  line-height: 44px;
  border-radius: 999px;
  background: var(--jtos-emerald);
  color: #fff;
  font-size: .93rem;
}
.pkp_page_index .current_issue .read_more:after {
  top: 0;
  right: 8px;
  height: 44px;
  line-height: 44px;
}
.pkp_page_index .current_issue .read_more:hover,
.pkp_page_index .current_issue .read_more:focus {
  background: var(--jtos-emerald-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17, 122, 101, .25);
}

/* additional homepage content */
.additional_content {
  border-top-color: var(--jtos-line);
}
.additional_content img {
  margin: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jtos-radius);
}

/* --------------------------------------------------------------------------
   5. Issue table of contents & article list
   -------------------------------------------------------------------------- */
.obj_issue_toc .cover img,
.obj_issue_summary .cover img,
a.covers img {
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(16, 40, 34, .16);
}
a.covers img {
  max-width: 30%;
  height: auto;
}
.obj_issue_toc .description {
  color: var(--jtos-text);
}
.obj_issue_toc .published,
.obj_issue_toc .pub_id {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--jtos-emerald-soft);
  color: var(--jtos-emerald-dark);
  font-size: .87rem;
}
.obj_issue_toc .published .label,
.obj_issue_toc .pub_id .type {
  font-weight: 700;
}

.obj_issue_toc .sections:not(:first-child) {
  margin-top: 24px;
}

/* section label ("Articles") */
@media (min-width: 768px) {
  .obj_issue_toc .section:before,
  .obj_issue_toc .galleys:before {
    border-top-color: var(--jtos-line);
  }
  .obj_issue_toc .section > h2,
  .obj_issue_toc .section > h3,
  .obj_issue_toc .galleys > h2,
  .obj_issue_toc .galleys > h3 {
    background: #fff;
    color: var(--jtos-emerald);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
}

/* article cards */
.obj_issue_toc .articles > li,
.cmp_article_list > li {
  margin-bottom: 14px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--jtos-line);
  border-radius: 14px;
  transition: border-color .2s var(--jtos-ease), box-shadow .2s var(--jtos-ease), transform .2s var(--jtos-ease);
}
.obj_issue_toc .articles > li:hover,
.cmp_article_list > li:hover {
  border-color: var(--jtos-emerald-line);
  box-shadow: var(--jtos-shadow-hover);
  transform: translateY(-2px);
}
.obj_issue_toc .section:last-child .articles > li:last-child {
  margin-bottom: 0;
}

.obj_article_summary > .title {
  font-size: 1.06rem;
  line-height: 1.45;
  font-weight: 700;
}
.obj_article_summary > .title a {
  color: var(--jtos-ink);
}
.obj_article_summary > .title a:hover,
.obj_article_summary > .title a:focus {
  color: var(--jtos-emerald);
}
.obj_article_summary .meta {
  padding-top: 6px;
  font-size: .9rem;
}
.obj_article_summary .authors {
  color: var(--jtos-muted);
}
.obj_article_summary .pages {
  color: var(--jtos-emerald-dark);
}
@media (min-width: 768px) {
  .obj_article_summary .pages {
    top: 6px;
    padding: 0 10px;
    line-height: 24px;
    border-radius: 999px;
    background: var(--jtos-emerald-soft);
    font-size: .8rem;
    font-weight: 700;
  }
}
.obj_article_summary .galleys_links {
  margin-top: 14px;
}

/* galley buttons (PDF, HTML …) */
.obj_galley_link {
  padding: 0 16px;
  line-height: 32px;
  border: 1.5px solid var(--jtos-emerald);
  border-radius: 999px;
  background: #fff;
  color: var(--jtos-emerald);
  font-size: .85rem;
  font-weight: 700;
}
.obj_galley_link:hover,
.obj_galley_link:focus {
  background: var(--jtos-emerald);
  border-color: var(--jtos-emerald);
  color: #fff;
}
.obj_galley_link:before {
  margin-right: .4em;
}

/* archive page */
.obj_issue_summary .title {
  color: var(--jtos-ink);
  font-weight: 700;
}
.obj_issue_summary .title:hover {
  color: var(--jtos-emerald);
}
.issues_archive > li {
  border-bottom: 1px solid var(--jtos-line);
}

/* --------------------------------------------------------------------------
   6. Article page, breadcrumbs, buttons, forms
   -------------------------------------------------------------------------- */
.cmp_breadcrumbs ol {
  font-size: .85rem;
}
.cmp_breadcrumbs .current,
.cmp_breadcrumbs .separator {
  color: var(--jtos-muted);
}

.obj_article_details > .page_title {
  font-weight: 800;
}
.obj_article_details .item .label,
.obj_article_details .main_entry .item .label {
  color: var(--jtos-emerald);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.obj_article_details .main_entry .item.doi .label,
.obj_article_details .main_entry .item.keywords .label {
  font-size: .8rem;
}

.obj_article_details .row,
.obj_article_details .main_entry,
.obj_article_details .entry_details,
.obj_article_details .entry_details .item {
  border-color: var(--jtos-line);
}

/* Article page: keep the details column (cover, PDF, published, issue,
   section, license) beside the authors/abstract on tablet and desktop.
   Flexbox lets the main column take the remaining width, so the two
   columns can never be pushed onto separate rows. */
@media (min-width: 768px) {
  .obj_article_details .row {
    display: flex;
    align-items: stretch;
  }
  .obj_article_details .row:before,
  .obj_article_details .row:after {
    display: none;
  }
  .obj_article_details .main_entry {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;            /* lets long DOIs/URLs wrap instead of widening the column */
  }
  .obj_article_details .entry_details {
    float: none;
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
    background: #fbfdfc;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .obj_article_details .entry_details {
    flex-basis: 260px;
    width: 260px;
  }
}

.obj_article_details .entry_details .cover_image img {
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(16, 40, 34, .16);
}
.obj_article_details .entry_details .galleys_links li {
  margin: 0 6px 6px 0;
}
.obj_article_details .main_entry .references .value p,
.obj_article_details .main_entry .references .value {
  overflow-wrap: anywhere;
}
.obj_article_details .main_entry .item.doi .value a,
.obj_article_details .item.doi a {
  word-break: break-all;
}

.cmp_button,
.cmp_form .buttons button,
.page_search .submit button,
.block_make_submission a {
  border: 0;
  border-radius: 10px;
  background: var(--jtos-emerald);
  box-shadow: none;
  color: #fff;
  font-weight: 700;
}
.cmp_button:hover,
.cmp_button:focus,
.cmp_form .buttons button:hover,
.cmp_form .buttons button:focus,
.page_search .submit button:hover {
  background: var(--jtos-emerald-dark);
  box-shadow: none;
  color: #fff;
}
.cmp_button_wire {
  border-color: var(--jtos-emerald);
  border-radius: 999px;
  color: var(--jtos-emerald);
}
.cmp_button_wire:hover,
.cmp_button_wire:focus {
  background: var(--jtos-emerald);
  color: #fff;
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="tel"],
.cmp_form select,
.cmp_form textarea {
  border: 1px solid #c9d5d1;
  border-radius: 10px;
}
.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus {
  border-color: var(--jtos-emerald);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(17, 122, 101, .15);
}

.cmp_notification {
  border-left-color: var(--jtos-emerald);
  border-radius: 0 var(--jtos-radius) var(--jtos-radius) 0;
  background: var(--jtos-emerald-soft);
}

.cmp_pagination a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Sidebar
   -------------------------------------------------------------------------- */
.pkp_structure_sidebar .pkp_block {
  font-size: .95rem;
}
@media (min-width: 992px) {
  .pkp_structure_sidebar .pkp_block {
    padding: 0 0 26px 28px;
  }
}
@media (max-width: 991px) {
  .pkp_structure_sidebar .pkp_block {
    padding: 24px 4px 0;
  }
  .pkp_structure_sidebar {
    padding-bottom: 24px;
  }
}

.pkp_block .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--jtos-emerald-dark);
  font-family: var(--jtos-font);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pkp_block .title:after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--jtos-line);
}

/* Make a Submission */
.block_make_submission a {
  display: block;
  width: 100%;
  padding: 0 18px;
  line-height: 50px;
  text-align: center;
  font-size: 1rem;
  background-image: linear-gradient(100deg, var(--jtos-emerald) 0%, #13866f 100%);
  box-shadow: 0 8px 20px rgba(17, 122, 101, .25);
}
.block_make_submission a:before {
  content: "\f044";            /* FontAwesome pencil-square-o (bundled with OJS) */
  font-family: FontAwesome;
  font-weight: normal;
  margin-right: 8px;
}
.block_make_submission a:hover,
.block_make_submission a:focus {
  background: var(--jtos-emerald-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17, 122, 101, .30);
}

/* Custom sidebar menu — works for <a class="custom_sidebar_menu"> and for
   <a><div class="custom_sidebar_menu">…</div></a>. A custom_sidebar_menu that
   is NOT a link (e.g. a block heading like "Indexed by") is shown as a label. */
.custom_sidebar_menu {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--jtos-emerald);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
a.custom_sidebar_menu,
a > .custom_sidebar_menu {
  position: relative;
  padding-right: 36px;
  background: #fff;
  border: 1px solid var(--jtos-line);
  border-left: 3px solid var(--jtos-emerald);
  color: var(--jtos-ink);
  font-weight: 600;
  transition: background-color .2s var(--jtos-ease), color .2s var(--jtos-ease),
              border-color .2s var(--jtos-ease), transform .2s var(--jtos-ease);
}
a.custom_sidebar_menu:after,
a > .custom_sidebar_menu:after {
  content: "\f105";            /* FontAwesome angle-right */
  font-family: FontAwesome;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--jtos-emerald);
  font-size: 1.1rem;
  transition: right .2s var(--jtos-ease), color .2s var(--jtos-ease);
}
a.custom_sidebar_menu:hover,
a.custom_sidebar_menu:focus,
a:hover > .custom_sidebar_menu,
a:focus > .custom_sidebar_menu {
  background: var(--jtos-emerald);
  border-color: var(--jtos-emerald);
  color: #fff;
  transform: translateX(2px);
}
a.custom_sidebar_menu:hover:after,
a.custom_sidebar_menu:focus:after,
a:hover > .custom_sidebar_menu:after,
a:focus > .custom_sidebar_menu:after {
  right: 10px;
  color: #fff;
}
a.custom_sidebar_menu.active,
a > .custom_sidebar_menu.active,
.pkp_structure_sidebar .active {
  background: var(--jtos-emerald-soft);
  border-color: var(--jtos-emerald-line);
  color: var(--jtos-emerald-dark);
}

.pkp_structure_sidebar hr {
  height: 0;
  margin: 8px 0 18px;
  border: 0;
  border-top: 1px solid var(--jtos-line);
}

.additional_sidebar {
  padding: 14px;
  border: 1px solid var(--jtos-emerald-line);
  border-radius: var(--jtos-radius);
  background: #fff;
}

.pkp_structure_sidebar .block_custom img {
  border-radius: 6px;
}

/* Information block */
.block_information .content li {
  padding: 0;
}
.block_information .content a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px;
  border-bottom: 1px dashed var(--jtos-line);
  color: var(--jtos-text);
  font-size: .92rem;
  font-weight: 500;
}
.block_information .content a:after {
  content: "\f105";
  font-family: FontAwesome;
  color: var(--jtos-emerald-mid);
}
.block_information .content a:hover {
  color: var(--jtos-emerald);
}

/* Language block → pill switch */
.block_language .content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.block_language .content li {
  padding: 0;
}
.block_language .content a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--jtos-emerald-line);
  border-radius: 999px;
  background: #fff;
  color: var(--jtos-emerald-dark);
  font-size: .85rem;
  font-weight: 600;
}
.block_language .content a:hover {
  border-color: var(--jtos-emerald);
}
.block_language .content li.current a {
  background: var(--jtos-emerald);
  border-color: var(--jtos-emerald);
  color: #fff;
}

/* Web feed block → icons in one row */
.block_web_feed .content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.block_web_feed .content li {
  padding: 0;
}
.block_web_feed img {
  display: block;
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.pkp_structure_footer_wrapper {
  margin-top: 56px;
  background: var(--jtos-emerald-deep);
  background-image: linear-gradient(180deg, #0b4a3e 0%, var(--jtos-emerald-deep) 100%);
  border-top: 4px solid var(--jtos-emerald);
  color: rgba(255, 255, 255, .82);
}
.pkp_footer_content {
  padding: 44px 30px 16px;
  font-size: .93rem;
  line-height: 1.75;
}
.pkp_footer_content a,
.pkp_structure_footer_wrapper a {
  color: #9fe0cc;
}
.pkp_footer_content a:hover,
.pkp_structure_footer_wrapper a:hover {
  color: #fff;
}
.pkp_footer_content strong,
.pkp_footer_content b {
  color: #fff;
}
.pkp_footer_content img {
  border-radius: 4px;
}
.pkp_brand_footer {
  padding: 8px 30px 32px;
}
.pkp_brand_footer img {
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: opacity .2s var(--jtos-ease);
}
.pkp_brand_footer a:hover img {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   9. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
  }
  .obj_issue_toc .articles > li:hover,
  .cmp_article_list > li:hover,
  a.custom_sidebar_menu:hover,
  a:hover > .custom_sidebar_menu,
  .block_make_submission a:hover,
  .pkp_page_index .current_issue .read_more:hover {
    transform: none;
  }
}
