/* General Table Styling */
.hoverTable,
.editor-table {
    width: 100%;
    border-collapse: collapse;
}

.hoverTable th,
.editor-table th {
    height: 30px;
    background: #ffffff;
    color: #f7bc4a;
}

.hoverTable td,
.editor-table td {
    height: 30px;
    padding-top: 3px;
    vertical-align: middle;
    border-bottom: 1px solid #ffffff;
    text-align: center;
}

/* Hover Effects for hoverTable */
.hoverTable tr {
    background: #f7bc4a;
    color: #ffffff;
}

.hoverTable tr:hover {
    background-color: #76530c;
}

.hoverTable a {
    color: #ffffff;
}

.hoverTable a:hover {
    color: #f0850c;
}

.hoverTable td a {
    width: 100%;
    display: block;
}

/* editor-table Specific Styling */
.editor-table tr {
    border-bottom: 2px solid #dddddd;
}

.editor-table tbody tr:hover {
    background-color: gainsboro;
}

.editor-table img {
    width: 100%;
    height: auto;
}
.editor-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }
  .editor-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
  }
  .editor-table th,
  .editor-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
  }
  .editor-table tbody tr {
    border-bottom: 1px solid #dddddd;
  }
  .editor-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
  }
  .editor-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
  }
  .editor-table tbody tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
  }
  .editor-table td:first-child {
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
}
  .editor-table img {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
  }
/* Footer and Page Layout Styling */
.pkp_brand_footer {
    display: none;
}

.pkp_structure_page {
    margin-top: 0;
    margin-bottom: 0;
}

.pkp_structure_main h1 {
    font-weight: 600;
    font-size: 20px;
}

/* Link Styling */
a {
    color: #333300;
}

.pkp_navigation_primary_row {
    background-color: #fff;
    text-align: left;
    padding-left: 15px;
}

#navigationPrimary a {
    font-size: 13.5px;
    font-weight: 100;
    text-transform: capitalize;
    color: rgb(0 0 0);
}

.pkp_navigation_user_wrapper a {
    font-size: 15px;
    font-weight: 200;
}

/* Search Bar Styling */
.pkp_head_wrapper .pkp_search .search_controls .search_prompt {
    font-size: 13.5px;
    font-weight: 100;
    text-transform: capitalize;
}


/* Block Element Styling */
.pkp_block {
    font-size: 14px;
    line-height: 1.5; /* Using unit-less line-height */
    clear: both;
    border-bottom: 1.5px solid #ddd;
}

.pkp_structure_sidebar {
    background: #ffffff;
}

.pkp_block .title {
    display: inline-block;
    padding-bottom: 0;
    border-bottom: 3px solid #ff8000;
    font-weight: 600;
    text-transform: capitalize;
}

/* Article and Section Heading Styling */
.obj_issue_toc .section h2,
.obj_article_details .main_entry .label {
    display: inline-block;
    padding: 0 0 5px;
    border-bottom: 3px solid #ff8000;
    font-weight: 700;
    text-transform: capitalize;
    color: rgba(0,0,0,0.54);
}

.obj_article_summary .title {
    font-size: 14.5px;
    line-height: 20px;
    font-weight: 100;
}

.obj_article_summary {
    padding-bottom: 10px !important;
    border-bottom: solid 1px #ff8000 !important;
    font-size: 12px;
}

/* Miscellaneous */
.pkp_footer_content {
    float: none;
    width: 100%;
    clear: both;
    padding-top: 10px;
}

.pkp_brand_footer {
    background: #e6e6e6;
}

.obj_galley_link {
    font-weight: 700;
    text-transform: capitalize;
    background: #003334;
    color: #fff;
    border: none;
}

.cmp_breadcrumbs {
    text-transform: capitalize;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active {
    background: #8c8c8c;
    border: 0 solid #3c2d61;
}

/* ===== Editorial board page (editor.html) =====
   ponytail: every selector stands alone — OJS strips the outer wrapper div,
   so nothing here may depend on a .eb ancestor. */
:root {
  --font: "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  --brand: #ff8000;
  --brand-light: #ffa347;
  --brand-dark: #e06f00;
  --brand-ink: #9a4a00;   /* brand as text on white — dark enough for WCAG AA */
  --brand-text: #3d1c00;  /* text on brand backgrounds — orange is light, white fails */
}

.eb-header,
.eb-section-title,
.eb-card {
  font-family: var(--font);
  box-sizing: border-box;
  color: #222;
  line-height: 1.6;
}
.eb-card * { box-sizing: border-box; }

.eb-header {
  background: linear-gradient(135deg, var(--brand-ink) 0%, var(--brand-dark) 55%, var(--brand) 100%);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  max-width: 980px;
}
.eb-header h2 { color: #ffffff; font-size: 1.6rem; margin: 0 0 .5rem; }
.eb-header p { color: rgba(255,255,255,.92); font-size: .92rem; margin: 0 0 .4rem; max-width: 660px; }

.eb-section { margin-bottom: 2rem; max-width: 980px; }
.eb-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-text);
  background: var(--brand);
  border-radius: 10px;
  padding: .7rem 1.2rem;
  margin-bottom: 1rem;
}

.eb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  max-width: 980px;
}

.eb-card {
  background: #ffffff;
  border: 1px solid #f0dcc4;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.eb-card:hover { border-color: var(--brand); background: #fffaf4; }
.eb-metrics { border-color: #e8d3b6; }
.eb-card-lead { max-width: 640px; }

.eb-head { display: flex; align-items: flex-start; gap: .9rem; }
.eb-photo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #f0dcc4;
  background: #fdf3e7;
}
.eb-card-lead .eb-photo { width: 78px; height: 78px; }
.eb-info { flex: 1; min-width: 0; }

.eb-role {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--brand-ink);
  margin-bottom: 2px;
}
.eb-name { font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; }
.eb-name a { color: #111; text-decoration: none; }
.eb-name a:hover { color: var(--brand-ink); text-decoration: underline; }
.eb-affil { font-size: .85rem; color: #555; }
.eb-country { color: #777; font-size: .78rem; }
.eb-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border: 1px solid #e2d3c0;
  border-radius: 2px;
  vertical-align: -2px;
  margin-right: .4rem;
}
body[dir="rtl"] .eb-flag { margin-right: 0; margin-left: .4rem; }

.eb-spec {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid #f3e6d5;
  font-size: .85rem;
  color: #444;
  flex: 1;
}

.eb-metrics {
  margin-top: .9rem;
  background: #fff6ea;
  border: 1px solid #f0dcc4;
  border-radius: 8px;
  padding: .6rem .5rem;
  text-align: center;
}
.eb-metric-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-ink);
  line-height: 1.1;
}
.eb-metric-label {
  display: block;
  margin-top: .2rem;
  font-size: .7rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.eb-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.eb-links .eb-link { align-self: flex-start; }
.eb-link {
  display: inline-block;
  padding: .42rem .95rem;
  border: 1px solid var(--brand-ink);
  border-radius: 20px;
  background: var(--brand-ink);
  color: #ffffff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.eb-link:hover { background: var(--brand-text); border-color: var(--brand-text); color: #ffffff; text-decoration: none; }

@media (max-width: 600px) {
  .eb-header { padding: 1.25rem; }
  .eb-grid { grid-template-columns: 1fr; }
}

/* ===== Journal info + submission (home.html) =====
   ponytail: every selector stands alone — OJS strips the outer wrapper div.
   Icons are data-URI SVG because the OJS purifier strips inline <svg>. */
.wjes-lead,
.wjes-facts,
.wjes-submit {
  font-family: var(--font);
  box-sizing: border-box;
  max-width: 940px;
  color: #1a1a1a;
}
.wjes-lead *, .wjes-facts *, .wjes-submit * { box-sizing: border-box; }

.wjes-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 68ch;
  margin: 0 0 1.75rem;
  color: #2b2b2b;
}
.wjes-lead strong { color: var(--brand-ink); font-weight: 700; }

/* ---- facts ---- */
.wjes-facts {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 2.5rem;
  font-size: .97rem;
}
.wjes-facts th,
.wjes-facts td {
  text-align: left;
  vertical-align: baseline;
  padding: .85rem 1rem .85rem 0;
  border-bottom: 1px solid #f0e4d4;
}
body[dir="rtl"] .wjes-facts th,
body[dir="rtl"] .wjes-facts td { text-align: right; padding: .85rem 0 .85rem 1rem; }
.wjes-facts tr:last-child th,
.wjes-facts tr:last-child td { border-bottom: 0; }
.wjes-facts th {
  width: 32%;
  min-width: 160px;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-ink);
  padding-top: 1rem;
}
.wjes-facts td { color: #1a1a1a; }
.wjes-facts tr:hover td,
.wjes-facts tr:hover th { background: #fffaf4; }

.wjes-num {
  font-variant-numeric: tabular-nums;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #111;
}
.wjes-unit { font-size: .9rem; font-weight: 600; color: #555; margin-left: .25rem; }
body[dir="rtl"] .wjes-unit { margin-left: 0; margin-right: .25rem; }
.wjes-sub { display: block; font-size: .87rem; color: #56504a; margin-top: .3rem; }
.wjes-badge { max-height: 40px; width: auto; vertical-align: middle; }

.wjes-facts a { color: var(--brand-ink); font-weight: 600; }
.wjes-facts a:hover { color: var(--brand-dark); }
.wjes-ext::after {
  content: "";
  display: inline-block;
  width: .82em;
  height: .82em;
  margin-left: .3em;
  vertical-align: -.06em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239a4a00%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%204h6v6M20%204l-8.5%208.5M18%2014v5a1%201%200%200%201-1%201H5a1%201%200%200%201-1-1V7a1%201%200%200%201%201-1h5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
body[dir="rtl"] .wjes-ext::after { margin-left: 0; margin-right: .3em; }
.wjes-muted { color: #56504a; }

/* ---- submission panel: the page's actual job ---- */
.wjes-submit {
  background: var(--brand-ink);
  border-radius: 14px;
  padding: 2rem 2.25rem 2.25rem;
  color: #ffffff;
  box-shadow: 0 14px 34px -18px rgba(61, 28, 0, .75);
}
.wjes-submit-title {
  margin: 0 0 .6rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #ffffff;
}
.wjes-submit-note {
  margin: 0 0 1.5rem;
  max-width: 66ch;
  font-size: .97rem;
  line-height: 1.65;
  color: #f5d9bf;
}
.wjes-submit-note strong { color: #ffffff; font-weight: 700; }
.wjes-submit-note a { color: #ffffff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wjes-submit-note a:hover { color: #ffd9b0; }
.wjes-dl::after {
  content: "";
  display: inline-block;
  width: .82em;
  height: .82em;
  margin-left: .3em;
  vertical-align: -.08em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204v10.5M8%2011l4%204%204-4M4.5%2019.5h15%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
body[dir="rtl"] .wjes-dl::after { margin-left: 0; margin-right: .3em; }

.wjes-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }

.wjes-btn,
.wjes-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .3s cubic-bezier(.16,1,.3,1),
              color .3s cubic-bezier(.16,1,.3,1),
              border-color .3s cubic-bezier(.16,1,.3,1),
              box-shadow .3s cubic-bezier(.16,1,.3,1),
              transform .3s cubic-bezier(.16,1,.3,1);
}
.wjes-btn {
  background: var(--brand);
  color: var(--brand-text);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .45);
}
.wjes-btn::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%233d1c00%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h13M12.5%205.5%2019%2012l-6.5%206.5%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
body[dir="rtl"] .wjes-btn::after { transform: scaleX(-1); }
.wjes-btn:hover {
  background: var(--brand-light);
  color: var(--brand-text);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -8px rgba(0, 0, 0, .6);
}
.wjes-btn:hover::after { transform: translateX(3px); }
body[dir="rtl"] .wjes-btn:hover::after { transform: scaleX(-1) translateX(3px); }

.wjes-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: #d79a63;
}
.wjes-btn-ghost:hover {
  background: #ffffff;
  color: var(--brand-ink);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.wjes-btn:focus-visible,
.wjes-btn-ghost:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
.wjes-facts a:focus-visible,
.wjes-submit-note a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.wjes-submit-foot {
  margin: 1.5rem 0 0;
  font-size: .88rem;
  line-height: 1.6;
  color: #f5d9bf;
}

@media (prefers-reduced-motion: reduce) {
  .wjes-btn, .wjes-btn-ghost, .wjes-btn::after { transition: none; }
  .wjes-btn:hover, .wjes-btn-ghost:hover { transform: none; }
  .wjes-btn:hover::after { transform: none; }
}

@media (max-width: 600px) {
  .wjes-facts, .wjes-facts tbody, .wjes-facts tr, .wjes-facts th, .wjes-facts td {
    display: block; width: 100%;
  }
  .wjes-facts th { border-bottom: 0; padding-bottom: .2rem; min-width: 0; }
  .wjes-facts td { padding-top: 0; padding-bottom: 1rem; }
  .wjes-submit { padding: 1.5rem 1.35rem 1.75rem; }
  .wjes-actions { gap: .6rem; }
  .wjes-btn, .wjes-btn-ghost { flex: 1 1 100%; justify-content: center; }
}
