/* ========================================================================== */
/* 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;
  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-toggle {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  min-height: 34px;
  padding: 4px 30px 4px 8px;
  border: 1px solid var(--border);
  color: var(--link);
  background: #f1f1f1;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.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-toggle:hover,
.archive-toggle:focus-visible {
  border-color: #999;
  outline: none;
}

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

.archive-menu {
  position: relative;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: #f1f1f1;
  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: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 14px;
}

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

.content-heading h1 {
  margin: 0;
  font-size: 34px;
  line-height: 34px;
}

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

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

/* ========================================================================== */
/* 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; }

  .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; }
}

/* ========================================================= */
/* FIX FINAL: sidebar font fluid desktop + tabletă            */
/* ========================================================= */

@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;
  }
}

/* ========================================================= */
/* FIX FINAL: mobile hamburger menu pentru Archive/Current Issue */
/* ========================================================= */

/* 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;
  }
}


/* ========================================================= */
/* FIX FINAL 2: mobil - meniu fără spațiu alb mare și fără suprapunere */
/* ========================================================= */

@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;
    gap: 12px;
  }
  .content-heading h1 {
    font-size: 28px;
    line-height: 1.1;
  }
  .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 - Divi-compatible appearance      */
/* ========================================================================== */

/* 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 {
  padding: 0 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 {
  width: 15px;
  height: 15px;
  border: 0;
}

/* 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);
  }
}
/* Unlimited custom fields */
.jcis-flexible-fields {
    margin: 28px 0;
    padding-top: 18px;
    border-top: 1px solid #d6d6d6;
}

.jcis-flexible-field {
    display: grid;
    grid-template-columns: minmax(130px, 24%) 1fr;
    gap: 18px;
    padding: 8px 0;
}

.jcis-flexible-label {
    font-weight: 700;
}

.jcis-flexible-value p:first-child {
    margin-top: 0;
}

.jcis-flexible-value p:last-child {
    margin-bottom: 0;
}

.jcis-flexible-heading {
    margin: 24px 0 8px;
}

@media (max-width: 640px) {
    .jcis-flexible-field {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}
