/* ========================================================================== */
/* 1. RESET ȘI VARIABILE                                                      */
/* ========================================================================== */

:root {
  --page-bg: #efefef;
  --content-bg: #ffffff;
  --side-bg: #f7f7f7;
  --menu-bg: #505e6d;
  --link: #004080;
  --border: #cccccc;
}

* { box-sizing: border-box; }

html { background: var(--page-bg); }

body {
  margin: 8px;
  color: #000;
  background: var(--page-bg);
  font: 500 17px/20.4px "Times New Roman", Georgia, "Times New Roman", serif;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================================================== */
/* 2. MATRICEA PRINCIPALĂ - IDENTICĂ LOGIC CU GRIDD.PNG                       */
/* ========================================================================== */

/*
  Există UN SINGUR container Grid și 5 coloane:

      1. margine stânga
      2. sidebar stânga
      3. conținut central
      4. sidebar dreapta
      5. margine dreapta

  Coloanele 2-4 formează pagina propriu-zisă. Dimensiunile lor cresc odată cu
  fereastra și se opresc la aproximativ 250px + 706px + 245px, proporțiile
  desenate în Gridd.png.

  Zona "content" apare în două rânduri consecutive, formând un singur
  dreptunghi. De aceea întregul articol rămâne o singură coloană de text.
*/

.grid-container {
  display: grid;
  width: 100%;
  min-height: 1364px;
  grid-template-columns: 10% 16% 50% 14% 10%;
  grid-template-rows:
    9px
    114px
    85px
    300px
    minmax(687px, auto)
    129px
    40px;
  grid-template-areas:
    "top        top            top             top           top"
    "hdr-left   hdr-img1       hdr-title       hdr-img2      hdr-right"
    "lat-left   menu           menu            menu          lat-right"
    "lat-left   left-sidebar   page-content    right-sidebar lat-right"
    "lat-left   left-sidebar   page-content    right-sidebar lat-right"
    "lat-left   footer-img3    footer-center   footer-img4   lat-right"
    "lat-left   copyright1     copyright2      copyright3    lat-right";
  gap: 0;
  background: var(--page-bg);
}

/* ========================================================================== */
/* 3. LEGENDA: FIECARE ELEMENT HTML ESTE LEGAT DE O ZONĂ                      */
/* ========================================================================== */

.item-top               { grid-area: top; }
.item-hdr-left          { grid-area: hdr-left; }
.item-hdr-logo          { grid-area: hdr-img1; }
.item-hdr-title         { grid-area: hdr-title; }
.item-hdr-publisher     { grid-area: hdr-img2; }
.item-hdr-right         { grid-area: hdr-right; }
.item-menu              { grid-area: menu; }
.item-left-sidebar      { grid-area: left-sidebar; }
.item-content           { grid-area: page-content; }
.item-right-sidebar     { grid-area: right-sidebar; }
.item-footer-left       { grid-area: footer-img3; }
.item-footer-contact    { grid-area: footer-center; }
.item-footer-repository { grid-area: footer-img4; }
.item-copyright         { grid-area: copyright2; }

/* ========================================================================== */
/* 4. HEADER                                                                  */
/* ========================================================================== */

.item-top { background: #000; }

.item-hdr-left,
.item-hdr-logo,
.item-hdr-title,
.item-hdr-publisher,
.item-hdr-right {
  background: #fff;
}

.item-hdr-logo,
.item-hdr-publisher {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.item-hdr-logo img {
  width: 176px;
  height: 55px;
  object-fit: contain;
  position: relative;
  top: -4px;
}

.item-hdr-publisher img {
  width: 176px;
  height: 50px;
  object-fit: contain;
  position: relative;
  top: -7px;
}

.item-hdr-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.journal-name {
  color: #0000CC;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  top: -5px;
}

/* Titlul revistei ramane identic in toate starile linkului. */
.journal-name a,
.journal-name a:link,
.journal-name a:visited,
.journal-name a:hover,
.journal-name a:active {
  color: #0000CC;
  text-decoration: none;
}

.journal-issn {
  margin-top: 14px;
  font-size: 20px;
  position: relative;
  top: -5px;
}

/* ========================================================================== */
/* 5. MENIU                                                                   */
/* ========================================================================== */

.item-menu {
  align-self: center;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 15px 25px;
  color: #fff;
  background: var(--menu-bg);
}

.item-menu a {
  color: #fff;
  line-height: 14px;
}

/* ========================================================================== */
/* 6. SIDEBAR STÂNGA                                                          */
/* ========================================================================== */

.side-cell {
  min-width: 0;
  padding: 23px 10px 0;
  background: var(--side-bg);
}

.side-cell h2 {
  margin: 0 0 18px;
  color: var(--link);
  text-align: center;
  font-size: 20px;
}

.side-menu {
  margin: 0;
  padding: 14px 15px 10px;
  border: 1px solid var(--border);
  background: #f1f1f1;
  list-style: none;
}

.side-menu li { margin-bottom: 9px; }

.info-section { margin-bottom: 18px; }
.submit-section { margin-bottom: 18px; }
.archive-section { margin-bottom: 22px; }

.archive-selector {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid var(--border);
  background: #f1f1f1;
  overflow: visible;
}

.archive-toggle {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  min-height: 34px;
  padding: 4px 30px 4px 8px;
  border: 0;
  color: var(--link);
  background: transparent;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.archive-selector.is-open .archive-toggle {
  border-bottom: 1px solid var(--border);
}

.archive-toggle::after {
  position: absolute;
  top: 50%;
  right: 8px;
  content: '\2304';
  font-size: 18px;
  line-height: 1;
  transform: translateY(-58%);
}

.archive-toggle[aria-expanded="true"]::after {
  transform: translateY(-42%) rotate(180deg);
}

.archive-selector:hover,
.archive-selector:focus-within {
  border-color: #999;
}

.archive-toggle:focus-visible {
  outline: none;
}

.archive-menu-panel[hidden] {
  display: none !important;
}

.archive-menu {
  position: relative;
  margin: 0;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  list-style: none !important;
}

.archive-menu li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.archive-menu li::marker {
  content: '';
}

.archive-menu a {
  display: block;
  padding: 5px 18px 5px 0;
  color: var(--link);
  line-height: 1.2;
  text-decoration: none;
}

.archive-menu > .menu-item-has-children > a::after {
  position: absolute;
  top: 5px;
  right: 1px;
  content: '\203A';
  font-size: 18px;
  line-height: 1;
}

.archive-menu .sub-menu {
  position: absolute;
  z-index: 30;
  top: -8px;
  /* Overlap the parent's right padding up to, but not over, its arrow. */
  left: 100%;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--border);
  background: #f1f1f1;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.14);
  list-style: none !important;
}

.archive-menu li:hover > .sub-menu,
.archive-menu li:focus-within > .sub-menu {
  display: block;
}

.archive-menu a:hover,
.archive-menu a:focus {
  text-decoration: underline;
}

.item-left-sidebar,
.archive-section,
.archive-menu-panel {
  position: relative;
  z-index: 20;
  overflow: visible;
}

.site-search {
  display: flex;
  margin-top: 18px;
}

.site-search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--border);
}

.site-search button {
  width: 60px;
  height: 40px;
  border: 0;
  color: #555;
  background: #e5e5e5;
  font-family: inherit;
}

.doaj-box {
  min-height: 290px;
  padding: 72px 3px 20px;
  background: #fff;
}

.doaj-title {
  margin: 0 0 30px;
  font: bold 14px/1.05 Arial, sans-serif;
  letter-spacing: 1px;
}

.doaj-box > label {
  display: block;
  margin-bottom: 10px;
}

.doaj-box input[type="radio"] { accent-color: #b34422; }
.doaj-box form { display: flex; }

.doaj-box form input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: 1px solid #444;
}

.doaj-box form button {
  width: 38px;
  border: 0;
  background: #ff5a3c;
}

/* ========================================================================== */
/* 7. CONȚINUT CENTRAL - UN SINGUR ELEMENT GRID                              */
/* ========================================================================== */

.item-content {
  min-width: 0;
  padding: 24px 20px 40px;
  background: #fff;
}

.breadcrumb {
  height: auto;
  min-height: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 49px 0 39px;
}

.content-heading h1 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 34px;
  line-height: 34px;
}

/* Settings-controlled Creative Commons asset beside the content title. */
.jcis-content-title-right {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin-left: 24px;
  padding-right: 10px;
  text-align: right;
}

.jcis-content-title-right p,
.jcis-content-title-right figure,
.jcis-content-title-right .wp-block-image {
  margin: 0;
  padding: 0;
  text-align: right;
}

.jcis-content-title-right img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
}

.jcis-content-title-right .cc-license img {
  width: 88px;
  height: 31px;
}

.item-content p {
  margin: 0;
  padding-bottom: 17px;
  text-align: justify;
}

/* JMMS metadata lines are not prose paragraphs. */
.item-content .jmms-article .jmms-article-header p,
.item-content .jmms-article .jmms-file-links p,
.item-content .jmms-article .jmms-keywords > p,
.item-content .jmms-article .jmms-permissions > p {
  padding-bottom: 0;
  text-align: left;
}

/* ========================================================================== */
/* 8. SIDEBAR DREAPTA                                                         */
/* ========================================================================== */

.item-right-sidebar {
  min-width: 0;
  padding: 35px 10px 0;
  background: #fff;
}

.cover-card,
.text-card {
  padding: 10px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fff;
}

.cover-card img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.cover-card { margin-bottom: 23px; }

.text-card {
  margin-bottom: 23px;
  padding: 10px 8px;
  border-color: #cccccc;
  background: #fafafa;
  text-align: center;
  overflow-wrap: anywhere;
}

.text-card h2 {
  margin: 0;
  font-size: 18px;
}

.text-card p { margin: 7px 0 0; }

/* ========================================================================== */
/* 9. FOOTER ȘI COPYRIGHT                                                     */
/* ========================================================================== */

.item-footer-left,
.item-footer-contact,
.item-footer-repository {
  background: var(--side-bg);
}

.item-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-title {
  color: #000;
  font-size: 20px;
  text-decoration: underline;
}

.item-footer-contact p { margin: 4px 0 0; }

.item-footer-repository {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

.item-footer-repository img {
  width: 170px;
  height: 68px;
  object-fit: contain;
}

.item-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  border-top: 1px solid #ddd;
  font-size: 13px;
}

/* ========================================================================== */
/* 10. TABLETĂ - MATRICE DE 3 COLOANE                                         */
/* ========================================================================== */

@media only screen and (min-width: 701px) and (max-width: 1000px) {
  .grid-container {
    grid-template-columns: 20% 63% 17%;
    grid-template-rows:
      9px
      114px
      85px
      minmax(300px, auto)
      minmax(687px, auto)
      129px
      40px;
    grid-template-areas:
      "top          top           top"
      "hdr-img1     hdr-title     hdr-img2"
      "menu         menu          menu"
      "left-sidebar page-content  right-sidebar"
      "left-sidebar page-content  right-sidebar"
      "footer-img3  footer-center footer-img4"
      "copyright1   copyright2    copyright3";
  }

  .item-hdr-left,
  .item-hdr-right { display: none; }

  /* Move only the title text and ISSN; keep the white grid cell fixed. */
  .item-hdr-title .journal-name,
  .item-hdr-title .journal-issn {
    top: 3px;
  }

  .journal-name {
    font-size: clamp(22px, 3.5vw, 30px);
    white-space: normal;
  }

  .item-hdr-logo,
  .item-hdr-publisher { padding-inline: 6px; }
}

/* ========================================================================== */
/* 11. MOBIL - MATRICE CU O SINGURĂ COLOANĂ                                  */
/* ========================================================================== */

@media only screen and (max-width: 700px) {
  body { margin: 8px; }

  .grid-container {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 9px 150px 160px 226px repeat(6, auto);
    grid-template-areas:
      "top"
      "hdr-img1"
      "hdr-title"
      "hdr-img2"
      "left-sidebar"
      "page-content"
      "right-sidebar"
      "footer-center"
      "footer-img4"
      "copyright2";
  }

  .item-hdr-left,
  .item-hdr-right,
  .item-footer-left,
  .item-menu { display: none; }

  .item-hdr-logo,
  .item-hdr-publisher { min-height: 0; }

  .item-hdr-logo img {
    width: 287px;
    height: 90px;
    top: 0;
  }

  .item-hdr-publisher {
    align-items: flex-start;
    padding-top: 13px;
  }

  .item-hdr-publisher img {
    width: 287px;
    height: 81px;
    top: 0;
  }

  .item-hdr-title {
    min-height: 0;
    padding: 16px;
  }

  .journal-name {
    font-size: 32px;
    white-space: normal;
  }

  .item-left-sidebar,
  .item-content,
  .item-right-sidebar,
  .item-footer-contact,
  .item-footer-repository {
    width: 73.3%;
    justify-self: center;
  }

  .item-content { padding: 24px 8px; }
  .side-cell { padding: 23px 10px 0; }

  .item-right-sidebar {
    padding: 16px;
  }

  .cover-card {
    width: 100%;
    padding: 10px;
    margin: 0 auto 22px;
  }

  .cover-card img {
    width: 100%;
    height: auto;
  }

  .text-card {
    width: 100%;
    padding: 10px 8px;
    margin: 0 auto 22px;
  }

  .item-footer-contact { min-height: 120px; padding: 20px; }
  .item-footer-repository { min-height: 120px; }

  .item-footer-repository img {
    width: 247px;
    height: 99px;
  }

  .item-copyright { min-height: 40px; }
}

/* ========================================================= */
/* Responsive sidebar typography                               */
/* ========================================================= */

@media only screen and (min-width: 701px) {
  .side-menu a {
    display: block !important;
    white-space: nowrap !important;
    font-size: clamp(11px, 1.25vw, 16px) !important;
    line-height: 1.1 !important;
  }

  .side-menu {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .side-cell h2 {
    font-size: clamp(17px, 1.7vw, 20px) !important;
    line-height: 1.1 !important;
  }

  .text-card h2 {
    font-size: clamp(14px, 1.35vw, 18px) !important;
    line-height: 1.1 !important;
  }

  .text-card p {
    font-size: clamp(12px, 1.2vw, 16px) !important;
    line-height: 1.15 !important;
    overflow-wrap: anywhere !important;
  }
}

/* ========================================================= */
/* Mobile header navigation                                    */
/* ========================================================= */

/* Desktop/tabletă: ascunde butonul hamburger și afișează linkurile normal */
.menu-toggle-checkbox,
.menu-toggle {
  display: none;
}

.item-menu .menu-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.item-menu .menu-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-menu .menu-links li a {
  display: block;
}

/* Mobil: meniul devine bară cu hamburger și dropdown */
@media only screen and (max-width: 700px) {
  .grid-container {
    grid-template-rows: 9px 150px 160px 226px 85px repeat(6, auto) !important;
    grid-template-areas:
      "top"
      "hdr-img1"
      "hdr-title"
      "hdr-img2"
      "menu"
      "left-sidebar"
      "page-content"
      "right-sidebar"
      "footer-center"
      "footer-img4"
      "copyright2" !important;
  }

  .item-hdr-left,
  .item-hdr-right,
  .item-footer-left {
    display: none !important;
  }

  .item-menu {
    display: flex !important;
    grid-area: menu;
    width: 73.3%;
    height: 60px;
    justify-self: center;
    align-self: start;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 100;
    padding: 0 48px;
    margin: 28px 0 0;
    background: var(--menu-bg);
    color: #fff;
    gap: 0;
  }

  .menu-toggle-checkbox {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    font: 700 34px/1 Arial, sans-serif;
    user-select: none;
  }

  .item-menu .menu-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 35px;
    width: calc(100% - 70px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 16px;
    background: var(--menu-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  }

  .menu-toggle-checkbox:checked ~ .menu-links {
    display: flex;
  }

  .item-menu .menu-links a {
    display: block;
    padding: 22px 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: none;
  }

  .item-menu .menu-links a:hover {
    text-decoration: underline;
  }
}


/* ========================================================= */
/* Mobile menu spacing                                         */
/* ========================================================= */

@media only screen and (max-width: 700px) {
  .grid-container {
    grid-template-rows: 9px auto auto auto auto repeat(6, auto) !important;
    grid-template-areas:
      "top"
      "hdr-img1"
      "hdr-title"
      "hdr-img2"
      "menu"
      "left-sidebar"
      "page-content"
      "right-sidebar"
      "footer-center"
      "footer-img4"
      "copyright2" !important;
  }

  .item-hdr-logo,
  .item-hdr-title,
  .item-hdr-publisher {
    min-height: 0 !important;
  }

  .item-hdr-logo {
    padding: 18px 16px 8px !important;
  }

  .item-hdr-title {
    padding: 8px 16px 14px !important;
  }

  .item-hdr-publisher {
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 16px 34px !important;
  }

  .item-hdr-publisher img {
    width: 287px !important;
    height: auto !important;
    max-height: 81px !important;
    top: 0 !important;
  }

  .item-menu {
    height: 60px !important;
    margin: 0 0 22px !important;
    align-self: start !important;
  }

  .item-left-sidebar {
    margin-top: 0 !important;
  }
}

/* ========================================================================== */
/* 12. WORDPRESS CLEAN THEME EXTENSIONS                                       */
/* ========================================================================== */

.wp-site-blocks { display: contents; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 9999;
  padding: 8px 12px;
  background: #fff;
  border: 2px solid #000;
}

.item-content h2,
.item-content h3,
.item-content h4 {
  color: #004080;
}

.item-content h2 { font-size: 26px; line-height: 1.15; }
.item-content h3 { font-size: 22px; line-height: 1.2; }
.item-content h4 { font-size: 18px; line-height: 1.2; }

.item-content ul,
.item-content ol {
  margin-top: 0;
  padding-left: 24px;
}

.item-content li { margin-bottom: 7px; }

.item-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
}

.item-content th,
.item-content td {
  border: 1px solid #cccccc;
  padding: 8px;
  vertical-align: top;
}

.item-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
}

.breadcrumb a { color: #004080; }

.content-heading .cc-license img {
  width: 88px;
  height: 31px;
}

.side-menu .current-menu-item > a,
.side-menu .current_page_item > a {
  font-weight: 700;
}

.search-form-inline {
  display: flex;
  margin-top: 18px;
}
.search-form-inline input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--border);
  padding: 4px 8px;
  font: inherit;
}
.search-form-inline button {
  width: 60px;
  height: 40px;
  border: 0;
  color: #555;
  background: #e5e5e5;
  font-family: inherit;
}

/* Publication grids and article pages */
.publications-grid {
  width: 100%;
  margin: 0 0 24px;
}
.publications-grid .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #d8d8d8;
}
.publications-grid.centered .row {
  justify-content: center;
}
.publications-grid .column {
  flex: 1 1 160px;
  min-width: 150px;
  text-align: center;
}
.publications-grid .column:first-child {
  flex: 1 1 100%;
  text-align: left;
}
.publications-grid.centered .column:first-child {
  flex: 0 1 180px;
  text-align: center;
}
.publications-grid h2 {
  margin: 0;
  font-size: 22px;
}
.publications-grid img {
  max-width: 130px;
  height: auto;
  margin: 0 auto 8px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
}

.table-of-contents {
  margin: 0 0 24px;
}
.table-of-contents .header h3 {
  margin-top: 0;
  text-align: center;
}
.table-of-contents .category h4 {
  margin: 22px 0 10px;
  color: #000;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 6px;
}
.table-of-contents .row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 96px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
}
.table-of-contents .menu-order {
  color: #555;
}
.table-of-contents .content {
  padding: 0;
  background: transparent;
}
.table-of-contents .title {
  font-weight: 700;
}
.table-of-contents .subtitle {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.2;
}
.table-of-contents .pdf-icon {
  float: left;
  margin: 2px 8px 4px 0;
}
.table-of-contents .pdf-icon img {
  width: 24px;
  height: auto;
}
.table-of-contents .pages {
  text-align: right;
  color: #555;
  font-size: 15px;
}
.nowrap { white-space: nowrap; }

.publication-content .header {
  text-align: center;
  margin-bottom: 22px;
}
.publication-content .title h1 {
  margin: 0 0 12px;
  color: #000;
  font-size: 27px;
  line-height: 1.15;
}
.publication-content .sub_title_1,
.publication-content .sub_title_2 {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.25;
}
.publication-content .metadata {
  margin: 18px 0 24px;
  padding: 12px;
  border: 1px solid #d8d8d8;
  background: #fafafa;
  font-size: 16px;
  line-height: 1.3;
}
.publication-content .metadata > div { margin-bottom: 6px; }
.publication-content .abstract h3 {
  text-align: center;
  color: #000;
}
.withindent { text-indent: 28px; text-align: justify; }

.post-list article {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8d8d8;
}
.post-list h2 { margin-bottom: 6px; }
.post-meta { font-size: 14px; color: #555; }

.not-found-search { margin-top: 24px; }

@media only screen and (max-width: 700px) {
  .content-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .content-heading h1 {
    flex: 1 1 60%;
    font-size: 28px;
    line-height: 1.1;
  }
  .jcis-content-title-right {
    flex: 0 1 auto;
    max-width: 40%;
    margin-left: auto;
  }
  .table-of-contents .row {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .table-of-contents .pages {
    grid-column: 2;
    text-align: left;
  }
  .publication-content .title h1 {
    font-size: 24px;
  }
}

/* ========================================================================== */
/* 13. PUBLICATIONS / ISSUE / ARTICLE LAYOUT                                  */
/* ========================================================================== */

/* Publications pages keep the same outer grid as normal pages:
   left margin, left sidebar and right margin remain unchanged.
   Only the right sidebar is removed, and the content spans the former
   center + right-sidebar columns. */
.grid-container.jcis-left-only {
  grid-template-columns: 10% 16% 50% 14% 10%;
  grid-template-areas:
    "top        top            top             top           top"
    "hdr-left   hdr-img1       hdr-title       hdr-img2      hdr-right"
    "lat-left   menu           menu            menu          lat-right"
    "lat-left   left-sidebar   page-content    page-content  lat-right"
    "lat-left   left-sidebar   page-content    page-content  lat-right"
    "lat-left   footer-img3    footer-center   footer-img4   lat-right"
    "lat-left   copyright1     copyright2      copyright3    lat-right";
}

.grid-container.jcis-left-only .item-content {
  /* Keep the breadcrumb/page navigator at the same vertical position as in
     the normal two-sidebar layout. The previous zero top padding pulled the
     breadcrumb to the top edge whenever the right sidebar was hidden. */
  padding: 24px 20px 40px;
}

.grid-container.jcis-left-only .item-right-sidebar {
  display: none;
}

.grid-container.jcis-left-only .content-heading h1 {
  color: #000;
}

/* Publication article */
.grid-container.jcis-left-only sup,
.publication-content sup,
.table-of-contents sup {
  font-size: smaller;
  vertical-align: super;
  bottom: 0;
}

.publication-content {
  padding: 40px 20px;
}

.publication-content .header {
  padding: 0 5%;
  text-align: center;
  margin-bottom: 0;
}

.publication-content .header .title {
  margin-bottom: 24px;
}

.publication-content .title h1 {
  margin: 0;
  font-size: 34px !important;
  line-height: 1.05;
  color: #000;
}

.publication-content .title a,
.publication-content .title a:hover {
  text-decoration: none;
}

.publication-content .title a h1 {
  color: #0000cc;
}

.publication-content .title a h1:hover {
  text-decoration: underline;
}

.publication-content .header .sub_title_1 {
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 16px;
  padding: 0 2.5%;
  text-align: left;
}

.publication-content .header .sub_title_2 {
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 0 4.5%;
  text-align: left;
}

.publication-content .metadata {
  margin: 30px 0 36px;
  padding: 16px 0;
  border-top: 1px solid #bbbbbb;
  border-right: 0;
  border-bottom: 1px solid #bbbbbb;
  border-left: 0;
  background: transparent;
  font-size: 17px;
  line-height: 20.4px;
}

.publication-content .metadata > div {
  margin-bottom: 0;
}

.publication-content .abstract h3 {
  margin: 0 0 16px;
  color: #000;
  text-align: left;
  font-size: 26px;
  line-height: 1.2;
}

.publication-content .abstract .content {
  background-color: #f7f7f7;
  padding: 30px;
  text-align: justify;
  border-radius: 10px;
}

.withindent,
p.withindent,
.withindent p {
  padding-left: 5px;
  padding-right: 5px;
  text-indent: 10px;
  text-align: justify;
}

/* Publications Table of Contents */
.nowrap {
  white-space: nowrap;
}

.table-of-contents {
  margin: 0 0 24px;
}

.table-of-contents > div {
  padding: 24px 0;
  border-bottom: 1px solid #bbbbbb;
}

.table-of-contents .header h3 {
  margin: 0;
  color: #000;
  text-align: left;
  font-size: 26px;
  line-height: 1.2;
}

.table-of-contents .category h4 {
  margin: 0;
  color: #000;
  border-bottom: 0;
  font-size: 22px;
  line-height: 1.2;
  font-style: italic;
  font-weight: 400;
  padding: 0 0 0 10%;
}

.table-of-contents .row {
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid #bbbbbb;
}

.table-of-contents .row:hover {
  background-color: #f5f5f5;
}

.table-of-contents .row > div {
  padding: 15px;
}

.table-of-contents .row .menu-order {
  width: 10%;
  color: #000;
  text-align: right;
}

.table-of-contents .row .content {
  width: 75%;
  font-size: 17px;
  line-height: 20.4px;
  position: relative;
  padding-right: 30px;
  background: transparent;
}

.table-of-contents .row .pages {
  width: 15%;
  color: #000;
  text-align: left;
  font-size: 17px;
  line-height: 20.4px;
}

.table-of-contents .row .content .title {
  font-weight: 600;
  margin-bottom: 16px;
}

.table-of-contents .row .content .title a {
  color: #0000cc;
}

.table-of-contents .row .content .subtitle {
  margin-top: 0;
  margin-left: 10px;
  font-size: 17px;
  line-height: 20.4px;
}

.table-of-contents .row .content .subtitle strong {
  font-weight: 400 !important;
}

.table-of-contents .row .content .subtitle sup {
  display: none;
}

.table-of-contents .pdf-icon {
  float: none;
  position: absolute;
  top: 18px;
  right: 8px;
  height: 15px;
  width: 15px;
  margin: 0;
}

.table-of-contents .pdf-icon img {
  display: block;
  width: 15px;
  height: 15px;
  max-width: none;
  object-fit: contain;
  border: 0;
}

.table-of-contents .pdf-icon a {
  display: block;
  width: 15px;
  height: 15px;
}

/* Publications Grid */
.publications-grid a h2,
.publications-grid h2 a {
  color: #0000cc;
}

.publications-grid .row:first-child {
  border-top: 1px solid #bbbbbb;
}

.publications-grid .row {
  display: flex;
  flex-flow: row wrap;
  gap: 0;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #bbbbbb;
}

.publications-grid.centered .row {
  justify-content: center;
}

.publications-grid .row .column,
.publications-grid .column {
  width: 33.33%;
  flex: 0 0 33.33%;
  min-width: 0;
  text-align: center;
}

.publications-grid .column:first-child,
.publications-grid.centered .column:first-child {
  width: 33.33%;
  flex: 0 0 33.33%;
  text-align: center;
}

.publications-grid .row img,
.publications-grid img {
  display: block;
  max-height: 140px;
  width: auto;
  margin: 0 auto 8px;
  border: 0;
  border-radius: 0;
}

@media only screen and (min-width: 701px) and (max-width: 1000px) {
  .grid-container.jcis-left-only {
    grid-template-columns: 20% 63% 17%;
    grid-template-areas:
      "top          top           top"
      "hdr-img1     hdr-title     hdr-img2"
      "menu         menu          menu"
      "left-sidebar page-content  page-content"
      "left-sidebar page-content  page-content"
      "footer-img3  footer-center footer-img4"
      "copyright1   copyright2    copyright3";
  }

  .grid-container.jcis-left-only .item-hdr-left,
  .grid-container.jcis-left-only .item-hdr-right {
    display: none;
  }
}

@media only screen and (max-width: 980px) {
  .publications-grid .row .column,
  .publications-grid .column,
  .publications-grid .column:first-child,
  .publications-grid.centered .column:first-child {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 700px) {
  .grid-container.jcis-left-only {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "top"
      "hdr-img1"
      "hdr-title"
      "hdr-img2"
      "menu"
      "left-sidebar"
      "page-content"
      "footer-center"
      "footer-img4"
      "copyright2" !important;
  }

  .grid-container.jcis-left-only .item-content {
    width: 73.3%;
    padding: 24px 8px;
  }

  .publication-content {
    padding: 24px 0;
  }

  .publication-content .title h1 {
    font-size: 24px !important;
  }

  .table-of-contents .row {
    flex-wrap: wrap;
  }

  .table-of-contents .row .menu-order {
    width: 15%;
  }

  .table-of-contents .row .content {
    width: 85%;
  }

  .table-of-contents .row .pages {
    width: 100%;
    padding-left: calc(15% + 15px);
  }
}

/* ========================================================================== */
/* 14. JCIS 6 WIDGET ZONES + DIRECT FOOTER CONTENT                            */
/* ========================================================================== */

.item-bottom-left       { grid-area: copyright1; }
.item-bottom-center     { grid-area: copyright2; }
.item-bottom-right      { grid-area: copyright3; }

.jcis-widget-zone .jcis-zone-widget {
  margin: 0;
  padding: 0;
}

.jcis-zone-widget-title {
  margin-top: 0;
}

.item-footer-left .jcis-zone-widget,
.item-bottom-left .jcis-zone-widget,
.item-bottom-right .jcis-zone-widget {
  width: 100%;
}

.item-hdr-logo a,
.item-hdr-publisher a,
.item-footer-repository a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.item-hdr-title .jcis-zone-widget {
  width: 100%;
  text-align: center;
}

.item-menu .menu-links > .jcis-zone-widget {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  color: inherit;
}

.item-menu .menu-links > .jcis-zone-widget > :first-child {
  margin-top: 0;
}

.item-menu .menu-links > .jcis-zone-widget > :last-child {
  margin-bottom: 0;
}

.item-menu .widget_nav_menu ul,
.item-menu ul.menu,
.item-menu .wp-block-navigation__container {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-menu .widget_nav_menu li,
.item-menu ul.menu li,
.item-menu .wp-block-navigation-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-menu .widget_nav_menu a,
.item-menu ul.menu a,
.item-menu .wp-block-navigation-item__content {
  color: #fff;
  line-height: 14px;
}

.item-footer-left,
.item-footer-contact,
.item-footer-repository,
.item-bottom-left,
.item-bottom-center,
.item-bottom-right {
  min-width: 0;
}

.item-footer-left,
.item-footer-contact,
.item-footer-repository {
  overflow-wrap: anywhere;
}

.item-bottom-left,
.item-bottom-center,
.item-bottom-right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: var(--page-bg);
  border-top: 1px solid #ddd;
  font-size: 13px;
  text-align: center;
}

.item-bottom-left,
.item-bottom-right {
  background: var(--page-bg);
}

.item-bottom-center p {
  margin: 0;
  padding: 0;
  text-align: center;
}

@media only screen and (max-width: 700px) {
  .item-bottom-left,
  .item-bottom-right {
    display: none !important;
  }

  .item-menu .widget_nav_menu ul,
  .item-menu ul.menu,
  .item-menu .wp-block-navigation__container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .item-menu .widget_nav_menu a,
  .item-menu ul.menu a,
  .item-menu .wp-block-navigation-item__content {
    display: block;
    padding: 22px 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
    text-decoration: none;
  }

  .item-menu .menu-links > .jcis-zone-widget {
    flex: 0 0 auto;
    width: 100%;
  }

  .item-menu .menu-links > .jcis-zone-widget:not(.widget_nav_menu) {
    padding: 16px 42px;
  }

  .item-menu .menu-links > .jcis-zone-widget:not(.widget_nav_menu) a {
    display: inline;
    padding: 0;
    border: 0;
    font-size: inherit;
    line-height: inherit;
  }
}

/* ========================================================================== */
/* 15. SIDEBAR WIDGET ACCORDION                                               */
/* ========================================================================== */

.jcis-widget-zone .jcis-widget-accordion-item {
  margin-bottom: 18px;
}

.jcis-widget-zone .jcis-widget-accordion-title {
  margin: 0;
  padding: 0;
}

.jcis-widget-zone .jcis-widget-accordion-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 6px 34px 6px 8px;
  border: 1px solid var(--border);
  color: var(--link);
  background: #f1f1f1;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}

.jcis-widget-zone .jcis-widget-accordion-toggle:hover,
.jcis-widget-zone .jcis-widget-accordion-toggle:focus-visible {
  border-color: #999;
  outline: none;
}

.jcis-widget-zone .jcis-widget-accordion-icon::after {
  position: absolute;
  top: 50%;
  right: 10px;
  content: '\2304';
  font-size: 18px;
  line-height: 1;
  transform: translateY(-58%);
}

.jcis-widget-zone .jcis-widget-accordion-item.is-open .jcis-widget-accordion-icon::after {
  transform: translateY(-42%) rotate(180deg);
}

.jcis-widget-zone .jcis-widget-accordion-panel {
  padding-top: 12px;
}

.jcis-widget-zone .jcis-widget-accordion-panel[hidden] {
  display: none !important;
}

.jcis-widget-zone .jcis-widget-accordion-panel > :last-child {
  margin-bottom: 0;
}

.item-right-sidebar .jcis-widget-accordion-toggle {
  color: #000;
  background: #fafafa;
  font-weight: 700;
}

.item-right-sidebar .text-card.jcis-widget-accordion-item {
  padding: 10px 8px;
}

.item-right-sidebar .text-card .jcis-widget-accordion-panel {
  padding-top: 8px;
}

.side-cell .doaj-box.jcis-widget-accordion-item {
  min-height: 0;
  padding: 10px 3px 20px;
}

.side-cell .doaj-box .jcis-widget-accordion-label {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.05;
}

/* ========================================================================== */
/* 16. NAVIGATION MENU WIDGETS IN ELIGIBLE JCIS WIDGET ZONES                  */
/* ========================================================================== */

/*
 * Every core Navigation Menu widget follows the same Title / no-Title rule,
 * regardless of the JCIS widget area in which it is placed.
 */
.jcis-widget-zone .jcis-nav-menu {
  width: 100%;
  margin-bottom: 18px;
}

.jcis-widget-zone .jcis-nav-menu .jcis-zone-widget-menu-name {
  margin: 0 0 18px;
  color: var(--link);
  text-align: center;
  font-size: 20px;
}

.jcis-widget-zone .jcis-nav-menu ul.menu {
  display: block;
  margin: 0;
  padding: 14px 15px 10px;
  border: 1px solid var(--border);
  background: #f1f1f1;
  list-style: none !important;
}

.jcis-widget-zone .jcis-nav-menu ul.menu li {
  display: block;
  margin: 0 0 9px;
  padding: 0;
  list-style: none !important;
}

.jcis-widget-zone .jcis-nav-menu ul.menu li:last-child {
  margin-bottom: 0;
}

.jcis-widget-zone .jcis-nav-menu ul.menu ul {
  margin: 8px 0 0;
  padding-left: 16px;
  list-style: none !important;
}

.jcis-widget-zone .jcis-nav-menu ul.menu li::marker,
.jcis-widget-zone .jcis-nav-menu ul.menu li::before {
  content: '' !important;
  display: none !important;
}

.jcis-widget-zone .jcis-nav-menu ul.menu a {
  display: block;
  padding: 0;
  border: 0;
  color: var(--link);
  line-height: 1.2;
  text-decoration: none;
}

.jcis-widget-zone .jcis-nav-menu ul.menu a:hover,
.jcis-widget-zone .jcis-nav-menu ul.menu a:focus {
  text-decoration: underline;
}

.jcis-widget-zone .jcis-nav-menu ul.menu .current-menu-item > a,
.jcis-widget-zone .jcis-nav-menu ul.menu .current_page_item > a,
.jcis-widget-zone .jcis-nav-menu ul.menu .current-menu-ancestor > a,
.jcis-widget-zone .jcis-nav-menu ul.menu .current_page_ancestor > a {
  font-weight: 700;
}

/* The accordion panel supplies spacing; the UL itself supplies the box. */
.jcis-widget-zone .jcis-nav-menu--custom-title .jcis-widget-accordion-panel {
  padding-top: 12px;
}

/* Static menu-name mode must never inherit collapsed-panel behavior. */
.jcis-widget-zone .jcis-nav-menu--menu-name > div,
.jcis-widget-zone .jcis-nav-menu--menu-name > nav {
  display: block;
}

/* In the blue header-menu strip the generated menu name remains legible. */
.item-menu .jcis-nav-menu .jcis-zone-widget-menu-name {
  color: #fff;
}

/* ========================================================================== */
/* 17. ARCHIVE NAVIGATION MENU WIDGET — HISTORICAL SELECT-AN-ISSUE FLY-OUT   */
/* ========================================================================== */

/*
 * Archive is intentionally different from ordinary Navigation Menu widgets.
 * The heading remains static, the first control is "Select an issue", and the
 * Volume entries open their Issue children in a right-hand fly-out submenu.
 */
.jcis-widget-zone .jcis-nav-menu--archive {
  position: relative;
  z-index: 25;
  overflow: visible;
}

.jcis-widget-zone .jcis-nav-menu--archive .archive-menu-panel {
  position: relative;
  z-index: 30;
  overflow: visible;
}

/*
 * The archive control is generated from the Publications page hierarchy.
 * Hide the core Navigation Menu widget output that remains after the generated
 * selector; otherwise the same archive tree can appear twice or outside the
 * collapsible panel.
 */
.jcis-widget-zone .jcis-nav-menu--archive > div:not(.archive-menu-panel):not(.archive-selector),
.jcis-widget-zone .jcis-nav-menu--archive > nav:not(.archive-menu-panel):not(.archive-selector),
.jcis-widget-zone .jcis-nav-menu--archive > ul.menu {
  display: none !important;
}

.jcis-widget-zone .jcis-nav-menu--archive .archive-menu-panel:not([hidden]) {
  display: block;
}

.jcis-widget-zone .jcis-nav-menu--archive .archive-selector {
  position: relative;
  z-index: 30;
  overflow: visible;
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu {
  position: relative;
  display: block;
  margin: 0;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  list-style: none !important;
  overflow: visible;
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu > li,
.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu .sub-menu > li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu a {
  display: block;
  padding: 5px 18px 5px 0;
  border: 0;
  color: var(--link);
  line-height: 1.2;
  text-decoration: none;
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu > .menu-item-has-children > a::after {
  position: absolute;
  top: 5px;
  right: 1px;
  content: '\203A';
  font-size: 18px;
  line-height: 1;
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu .sub-menu {
  position: absolute;
  z-index: 40;
  top: -8px;
  left: 100%;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--border);
  background: #f1f1f1;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.14);
  list-style: none !important;
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu li:hover > .sub-menu,
.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu li:focus-within > .sub-menu {
  display: block;
}

/*
 * On tablets and phones a Volume is a submenu control, not a destination link.
 * JavaScript adds is-submenu-open on tap and restores the Volume URL whenever
 * the viewport/pointer returns to desktop behavior.
 */
@media only screen and (max-width: 1000px), (hover: none) and (pointer: coarse) {
  .archive-menu > .menu-item-has-children > a[role="button"] {
    cursor: pointer;
  }

  .archive-menu li:hover > .sub-menu,
  .archive-menu li:focus-within > .sub-menu,
  .jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu li:hover > .sub-menu,
  .jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu li:focus-within > .sub-menu {
    display: none;
  }

  .archive-menu > .menu-item-has-children.is-submenu-open > .sub-menu,
  .jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu > .menu-item-has-children.is-submenu-open > .sub-menu {
    display: block;
  }
}

.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu a:hover,
.jcis-widget-zone .jcis-nav-menu--archive ul.menu.archive-menu a:focus {
  text-decoration: underline;
}


/* ========================================================================== */
/* 20. COMPACT SIDEBAR SEARCH WIDGET                                           */
/* ========================================================================== */

/*
 * Match the historic JCIS sidebar search: the field uses almost the entire
 * Archive-column width, while the submit control remains a narrow aligned tab.
 * These rules cover both the legacy Search widget and the block-based widget.
 */
.item-left-sidebar .widget_search {
  width: 100%;
  margin-top: 40px;
}

/* The historic presentation did not show a separate "Search" heading. */
.item-left-sidebar .widget_search > .jcis-zone-widget-title,
.item-left-sidebar .widget_search .wp-block-search__label {
  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;
}

.item-left-sidebar .widget_search .search-form-inline,
.item-left-sidebar .widget_search .wp-block-search__inside-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: stretch;
  column-gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.item-left-sidebar .widget_search input[type="search"],
.item-left-sidebar .widget_search .wp-block-search__input {
  display: block;
  width: 100% !important;
  min-width: 0;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  border: 1px solid #b3b3b3 !important;
  border-radius: 0 !important;
  background: #fff;
  color: #333;
  font: inherit;
  line-height: 26px;
  box-sizing: border-box;
  appearance: none;
}

.item-left-sidebar .widget_search button,
.item-left-sidebar .widget_search .wp-block-search__button {
  display: block !important;
  align-self: stretch;
  width: 18px !important;
  min-width: 18px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #767ba1 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: none !important;
  cursor: pointer;
  box-sizing: border-box;
}

.item-left-sidebar .widget_search button:hover,
.item-left-sidebar .widget_search button:focus,
.item-left-sidebar .widget_search .wp-block-search__button:hover,
.item-left-sidebar .widget_search .wp-block-search__button:focus {
  background: #666c94 !important;
}

.item-left-sidebar .widget_search button:focus-visible,
.item-left-sidebar .widget_search .wp-block-search__button:focus-visible,
.item-left-sidebar .widget_search input[type="search"]:focus-visible,
.item-left-sidebar .widget_search .wp-block-search__input:focus-visible {
  outline: 2px solid #004080;
  outline-offset: 2px;
}

/* ========================================================================== */
/* 17. HOME PAGE — AUTOMATIC CURRENT ISSUE                                    */
/* ========================================================================== */

.jcis-current-issue {
  clear: both;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #999999;
}

.jcis-current-issue-title {
  margin: 0 0 26px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
}

.jcis-current-issue-title a {
  color: #006fd6;
}

.jcis-current-issue .table-of-contents {
  margin-bottom: 0;
}

@media only screen and (max-width: 700px) {
  .jcis-current-issue {
    margin-top: 24px;
    padding-top: 22px;
  }

  .jcis-current-issue-title {
    margin-bottom: 20px;
    font-size: 24px;
  }
}

/* ========================================================================== */
/* 22. JMMS ARTICLE OPENING — MATCH THE CLASSIC JCIS ARTICLE PRESENTATION     */
/* ========================================================================== */

body.jmms-aam-article-page .jmms-article {
  max-width: 100%;
  padding: 40px 20px 0;
  line-height: 1.55;
}

body.jmms-aam-article-page .jmms-article-heading {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

body.jmms-aam-article-page .jmms-article-title,
body.jmms-aam-article-page .jmms-article-title-link .jmms-article-title {
  margin: 0;
  color: #000088;
  font-size: 28.8px;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
}

body.jmms-aam-article-page .jmms-article-title-link {
  color: #000088;
}

body.jmms-aam-article-page .jmms-authors {
  margin: 30px auto 0;
  padding: 0 2%;
  color: #111;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

body.jmms-aam-article-page .jmms-authors sup.jmms-author-affiliation-refs {
  margin-left: 1px;
  font-size: 0.68em;
  line-height: 0;
  vertical-align: super;
}

body.jmms-aam-article-page .jmms-authors .jmms-corresponding-symbol {
  margin-left: 1px;
  font-size: 1.45em;
}

body.jmms-aam-article-page .jmms-affiliations {
  width: 90%;
  margin: 34px auto 0;
  color: #111;
  font-size: 10px;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
}

body.jmms-aam-article-page .jmms-affiliation,
body.jmms-aam-article-page .item-content .jmms-affiliation {
  margin: 0;
  padding: 0;
  text-align: left;
}

body.jmms-aam-article-page .jmms-affiliation-label {
  font-size: 0.82em;
  line-height: 0;
  vertical-align: super;
}

body.jmms-aam-article-page .jmms-article-meta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
  row-gap: 10px;
  margin: 50px 0 36px;
  padding: 10px 0 12px;
  border-top: 1px solid #bdbdbd;
  border-bottom: 1px solid #bdbdbd;
  background: transparent;
}

body.jmms-aam-article-page .jmms-article-meta-details {
  align-self: center;
  min-width: 0;
  font-size: 17px;
  line-height: 1.27;
}

body.jmms-aam-article-page .item-content .jmms-article-meta-details p,
body.jmms-aam-article-page .jmms-article-meta-details p {
  margin: 0;
  padding: 0;
  text-align: left;
}

body.jmms-aam-article-page .jmms-publication-meta strong,
body.jmms-aam-article-page .jmms-article-short-title strong,
body.jmms-aam-article-page .jmms-keywords-meta strong {
  color: #111;
  font-weight: 700;
}

/* Counts remain stored in the article metadata, but are omitted from this compact opening panel. */
body.jmms-aam-article-page .jmms-counts-meta {
  display: none;
}

/* Cite and Download form one compact row below the bibliographic information. */
body.jmms-aam-article-page .jmms-article-actions {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-content: flex-start;
  justify-self: stretch;
  flex-wrap: wrap;
  gap: 10px 58px;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 6px 0 0;
}

body.jmms-aam-article-page .jmms-cite-control,
body.jmms-aam-article-page .jmms-downloads {
  display: flex;
  align-items: center;
  align-self: auto;
  gap: 7px;
  min-width: 0 !important;
  max-width: none;
  margin: 0;
  text-align: left;
}

body.jmms-aam-article-page .jmms-cite-title,
body.jmms-aam-article-page .jmms-download-title {
  margin: 0;
  color: #004080;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

body.jmms-aam-article-page .jmms-cite-title::after,
body.jmms-aam-article-page .jmms-download-title::after {
  content: ":";
}

body.jmms-aam-article-page .jmms-cite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

body.jmms-aam-article-page .jmms-file-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin: 0;
}

body.jmms-aam-article-page .jmms-file-button {
  min-width: 31px;
  padding: 5px 4px;
  border: 1px solid #8fa6c1;
  color: #004080;
  background: #fff;
  font-size: 9px;
  line-height: 1.1;
  text-decoration: none;
}

body.jmms-aam-article-page .jmms-file-button:hover,
body.jmms-aam-article-page .jmms-file-button:focus {
  background: #f3f6f9;
  text-decoration: none;
}

body.jmms-aam-article-page .jmms-abstract {
  margin-top: 0;
}

body.jmms-aam-article-page .jmms-abstract > h2 {
  margin: 0 0 16px 0;
  color: #111;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
}

body.jmms-aam-article-page .jmms-abstract-content {
  padding: 30px;
  border-radius: 10px;
  background: #f7f7f7;
  text-align: justify;
}

body.jmms-aam-article-page .jmms-abstract-content p {
  margin: 0 0 5px;
  padding-bottom: 0 !important;
  line-height: 1.4;
  text-align: justify !important;
  text-indent: 0;
}

body.jmms-aam-article-page .jmms-abstract-content p:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 700px) {
  body.jmms-aam-article-page .jmms-article {
    padding: 24px 0 0;
  }

  body.jmms-aam-article-page .jmms-article-heading,
  body.jmms-aam-article-page .jmms-affiliations {
    width: 100%;
  }

  body.jmms-aam-article-page .jmms-article-title,
  body.jmms-aam-article-page .jmms-article-title-link .jmms-article-title {
    font-size: 19.2px;
    line-height: 1.12;
  }

  body.jmms-aam-article-page .jmms-authors {
    margin-top: 22px;
    padding: 0;
    font-size: 15px;
  }

  body.jmms-aam-article-page .jmms-affiliations {
    margin-top: 24px;
    font-size: 9px;
  }

  body.jmms-aam-article-page .jmms-article-meta-panel {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 10px;
    margin-top: 32px;
    padding: 12px 0;
  }

  body.jmms-aam-article-page .jmms-article-meta-details {
    font-size: 15px;
  }

  body.jmms-aam-article-page .jmms-article-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 28px;
    width: 100%;
    max-width: none;
    margin-top: 4px;
  }

  body.jmms-aam-article-page .jmms-cite-control,
  body.jmms-aam-article-page .jmms-downloads {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0 !important;
    margin: 0;
  }

  body.jmms-aam-article-page .jmms-cite-title,
  body.jmms-aam-article-page .jmms-download-title {
    font-size: 16px;
    text-align: left;
  }

  body.jmms-aam-article-page .jmms-file-links {
    flex-direction: row;
    justify-content: flex-start;
    margin: 0;
  }

  body.jmms-aam-article-page .jmms-abstract > h2 {
    margin-left: 0;
    font-size: 18px;
  }

  body.jmms-aam-article-page .jmms-abstract-content {
    padding: 20px;
  }

  body.jmms-aam-article-page .jmms-abstract-content p {
    text-indent: 0;
  }
}

/* Stronger than the generic theme rule that left-aligns all article-header paragraphs. */
body.jmms-aam-article-page .item-content .jmms-article .jmms-article-header .jmms-authors {
  text-align: center;
}

/* 23. ARTICLE METADATA ACTIONS — SINGLE ROW BELOW THE BIBLIOGRAPHIC DATA */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-article-meta-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
  row-gap: 10px !important;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-article-meta-details {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-article-actions {
  display: flex !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: flex-start !important;
  justify-self: start !important;
  flex-wrap: wrap !important;
  gap: 10px 58px !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 6px 0 0 !important;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-cite-control,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-downloads {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: auto !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left !important;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-cite-title,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-download-title {
  margin: 0 !important;
  text-align: left !important;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-cite-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-file-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  margin: 0 !important;
}

@media only screen and (max-width: 700px) {
  body.jmms-aam-article-page .jmms-article.publication-content .jmms-article-actions {
    gap: 10px 28px !important;
    width: 100% !important;
  }
}

/* 24. ARTICLE BODY TYPOGRAPHY — JUSTIFIED INDENTED PARAGRAPHS AND COMPACT SECTION HEADINGS */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body p {
  margin: 0 0 2px;
  padding-bottom: 0 !important;
  line-height: 1.4;
  text-align: justify !important;
  /* Align the first line approximately with the word after the section number (e.g. “Introduction”). */
  text-indent: 24px;
}

/* Paragraphs inside structural elements must not receive a prose first-line indent. */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body li p,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body td p,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body th p,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body figcaption p,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-caption p {
  text-indent: 0;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-main-section-title {
  margin: 28px 0 14px;
  padding: 0;
  color: #111;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
  text-indent: 0;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body > .jmms-main-section-title:first-child,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body > .jmms-jats-section:first-child > .jmms-main-section-title:first-child {
  margin-top: 0;
}

/* Subsections inherit the prose typography, differing only through bold weight. */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-subsection-title {
  margin: 14px 0 4px 24px;
  padding: 0;
  color: #111;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
  text-indent: 0;
}

/* Third-level headings share subsection geometry and typography, but use
   italic rather than bold to make the hierarchy visible without enlarging it. */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-subsubsection-title {
  margin: 14px 0 4px 24px;
  padding: 0;
  color: #111;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  text-align: left;
  text-indent: 0;
}

/* The first subsection after a principal heading sits at half the 28 px
   separation used before a new principal section. */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-main-section-title + .jmms-jats-section > .jmms-subsection-title:first-child {
  margin-top: 0;
}

/* Lists inside the article body use the same vertical rhythm as the prose.
   Bullet markers sit exactly on the paragraph-indent axis highlighted by the user. */
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ul {
  margin: 4px 0;
  margin-left: 24px;
  padding-left: 0;
  list-style: none;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ol {
  margin: 4px 0;
  padding-left: 24px;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ul > li {
  position: relative;
  margin: 0;
  padding: 0 0 0 20px;
  line-height: 1.4;
  text-align: justify;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ol > li,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body li {
  margin: 0;
  line-height: 1.4;
  text-align: justify;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ul > li + li,
body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ol > li + li {
  margin-top: 0;
}

body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ul > li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  line-height: 1.4;
}

@media only screen and (max-width: 700px) {
  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body p {
    text-indent: 21px;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body li p,
  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body td p,
  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body th p,
  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body figcaption p,
  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-caption p {
    text-indent: 0;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-main-section-title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-subsection-title {
    margin-left: 21px;
    margin-bottom: 4px;
    font-size: 1em;
    line-height: 1.4;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body .jmms-subsubsection-title {
    margin-left: 21px;
    margin-bottom: 4px;
    font-size: 1em;
    line-height: 1.4;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ul {
    margin-left: 21px;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ol {
    padding-left: 21px;
  }

  body.jmms-aam-article-page .jmms-article.publication-content .jmms-body ul > li {
    padding-left: 18px;
  }
}

