/* Hide About Journal description only on homepage banner */
div.relative > p.inline.font-extrabold.text-white + div.mt-3.text-2xl.tracking-tight.text-slate-200 {
  display: none !important;
}

/* =========================================================
   TINACL — Editorial Board page (light + dark mode)
   Material theme adds the "dark" class to the root html element in dark mode
   (templates/frontend/components/header.tpl, Tailwind darkMode: 'class').
   Edit colors only in the two token blocks below.
   ========================================================= */

/* ---------- Light mode tokens (same colors as the old inline styles) ---------- */
.tinacl-eb {
  --eb-card-bg: #ffffff;
  --eb-card-border: #dfe7ee;
  --eb-head-bg: #f3f8fb;
  --eb-head-border: #dfeaf0;
  --eb-head-text: #334155;
  --eb-head-small: #78909c;
  --eb-accent: #1675a9;
  --eb-title: #111827;
  --eb-section: #172033;
  --eb-text: #475569;
  --eb-muted: #64748b;
  --eb-photo-border: #e2e8f0;
  --eb-flag-bg: #f8fafc;
  --eb-flag-border: #e2e8f0;
  --eb-flag-text: #334155;
  --eb-badge-bg: #eef7fc;
  --eb-badge-border: #cce6f4;
  --eb-badge-text: #075985;
  --eb-scopus: #086b9c;
  --eb-scopus-border: #b9daeb;
  --eb-orcid: #567c12;
  --eb-orcid-border: #c9dea0;
  --eb-scholar: #315fa8;
  --eb-scholar-border: #bfcef3;
  --eb-link-hover: #f3f8fb;
}

/* ---------- Dark mode tokens ---------- */
html.dark .tinacl-eb {
  --eb-card-bg: #1e293b;
  --eb-card-border: #334155;
  --eb-head-bg: #253247;
  --eb-head-border: #334155;
  --eb-head-text: #e2e8f0;
  --eb-head-small: #94a3b8;
  --eb-accent: #38bdf8;
  --eb-title: #f8fafc;
  --eb-section: #f1f5f9;
  --eb-text: #cbd5e1;
  --eb-muted: #94a3b8;
  --eb-photo-border: #334155;
  --eb-flag-bg: #273449;
  --eb-flag-border: #3b4a61;
  --eb-flag-text: #e2e8f0;
  --eb-badge-bg: rgba(56, 189, 248, 0.12);
  --eb-badge-border: rgba(56, 189, 248, 0.35);
  --eb-badge-text: #7dd3fc;
  --eb-scopus: #7dd3fc;
  --eb-scopus-border: rgba(56, 189, 248, 0.4);
  --eb-orcid: #bef264;
  --eb-orcid-border: rgba(166, 206, 57, 0.45);
  --eb-scholar: #a5b4fc;
  --eb-scholar-border: rgba(129, 140, 248, 0.45);
  --eb-link-hover: rgba(255, 255, 255, 0.05);
}

/* ---------- Reset bits that theme/prose styles may add ---------- */
.tinacl-eb,
.tinacl-eb * { box-sizing: border-box; }
.tinacl-eb img { margin: 0; max-width: none; }
.tinacl-eb a { text-decoration: none; }

/* ---------- Section heading (sits on page background) ---------- */
.tinacl-eb .eb-section {
  margin: 30px 0 15px;
  font-size: 26px;
  font-weight: bold;
  color: var(--eb-section);
}

/* ---------- Card ---------- */
.tinacl-eb .eb-card {
  width: 100%;
  margin-bottom: 20px;
  background: var(--eb-card-bg);
  border: 1px solid var(--eb-card-border);
  border-radius: 12px;
  overflow: hidden;
}
.tinacl-eb .eb-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px;
  background: var(--eb-head-bg);
  border-bottom: 1px solid var(--eb-head-border);
}
.tinacl-eb .eb-card-head {
  font-size: 13px;
  font-weight: bold;
  color: var(--eb-head-text);
}
.tinacl-eb .eb-card-head small {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--eb-head-small);
}
.tinacl-eb .eb-card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  padding: 22px;
  border-left: 5px solid var(--eb-accent);
}

/* ---------- Editor ---------- */
.tinacl-eb .eb-photo {
  display: block;
  width: 120px;
  height: 135px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--eb-photo-border);
  border-radius: 10px;
}
.tinacl-eb .eb-info {
  flex: 1 1 280px;
  min-width: 0;
}
.tinacl-eb .eb-badge {
  display: inline-block;
  margin-bottom: 9px;
  padding: 6px 11px;
  background: var(--eb-badge-bg);
  border: 1px solid var(--eb-badge-border);
  border-radius: 20px;
  color: var(--eb-badge-text);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}
.tinacl-eb .eb-name {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--eb-title);
}
.tinacl-eb .eb-affil {
  margin: 0 0 12px;
  font-style: italic;
  color: var(--eb-muted);
}
.tinacl-eb .eb-bio {
  margin: 0 0 15px;
  line-height: 1.7;
  text-align: justify;
  color: var(--eb-text);
}

/* ---------- Profile links ---------- */
.tinacl-eb .eb-links a {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 7px 10px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.tinacl-eb .eb-links a:hover { background: var(--eb-link-hover); }
.tinacl-eb .eb-links .eb-scopus  { color: var(--eb-scopus);  border-color: var(--eb-scopus-border); }
.tinacl-eb .eb-links .eb-orcid   { color: var(--eb-orcid);   border-color: var(--eb-orcid-border); }
.tinacl-eb .eb-links .eb-scholar { color: var(--eb-scholar); border-color: var(--eb-scholar-border); }

/* ---------- Geographic block ---------- */
.tinacl-eb .eb-geo {
  padding: 22px;
  border-left: 5px solid var(--eb-accent);
}
.tinacl-eb .eb-geo h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: bold;
  color: var(--eb-title);
}
.tinacl-eb .eb-geo p {
  margin: 0 0 17px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--eb-muted);
}
.tinacl-eb .eb-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.tinacl-eb .eb-flag {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: var(--eb-flag-bg);
  border: 1px solid var(--eb-flag-border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--eb-flag-text);
}
.tinacl-eb .eb-flag img {
  display: block;
  width: 32px;
  height: 22px;
  object-fit: cover;
  border: 1px solid var(--eb-flag-border);
}

/* Justify leaves big gaps on narrow screens */
@media (max-width: 640px) {
  .tinacl-eb .eb-bio { text-align: left; }
}

/* ---------- ISSN sidebar block (light + dark mode) ---------- */
.tinacl-issn {
  --issn-bg: #ffffff;
  --issn-border: #dbe5ec;
  --issn-text: #1e293b;
  background: var(--issn-bg);
  border: 1px solid var(--issn-border);
  border-radius: 8px;
  padding: 12px 15px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--issn-text);
}
html.dark .tinacl-issn {
  --issn-bg: #1e293b;
  --issn-border: #334155;
  --issn-text: #f1f5f9;
}

/* =========================================================
   TINACL: Page Footer (Settings > Website > Appearance > Page Footer)
   The footer is dark by design, so it looks the same in light and dark mode.
   To tweak dark mode only, add overrides under: html.dark .tinacl-ft { ... }
   ========================================================= */
.tinacl-ft {
  --ft-bg: #062c3d;
  --ft-accent: #1675a9;
  --ft-line: #33a5c7;
  --ft-title: #ffffff;
  --ft-text: #b9ccd5;
  --ft-link: #e2eef3;
  --ft-link-hover: #ffffff;
  --ft-divider: #315363;
  --ft-bottom: #8fa8b3;
  --ft-soft: #c8d7df;
  width: 100%;
  box-sizing: border-box;
  background: var(--ft-bg);
  color: var(--ft-text);
  border-top: 4px solid var(--ft-accent);
  padding: 34px 26px 18px;
  text-align: left;
}
.tinacl-ft * { box-sizing: border-box; }
.tinacl-ft a { color: var(--ft-link); text-decoration: none; }
.tinacl-ft a:hover { color: var(--ft-link-hover); text-decoration: underline; }
.tinacl-ft strong { color: var(--ft-title); }

.tinacl-ft .ft-columns {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.tinacl-ft .ft-col-main { flex: 2 1 430px; min-width: 0; }
.tinacl-ft .ft-col-right { flex: 1 1 200px; min-width: 0; text-align: right; }

/* Title + accent line drawn with ::after (no empty divs for the editor to strip) */
.tinacl-ft .ft-title {
  margin: 0 0 15px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--ft-title);
}
.tinacl-ft .ft-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 11px;
  background: var(--ft-line);
}
.tinacl-ft .ft-col-right .ft-title::after { margin-left: auto; }
.tinacl-ft .ft-title-lg { font-size: 18px; margin-bottom: 17px; }
.tinacl-ft .ft-title-lg::after { width: 44px; height: 3px; margin-top: 12px; }

.tinacl-ft .ft-text { font-size: 13px; line-height: 1.8; color: var(--ft-text); }
.tinacl-ft .ft-gap { margin-top: 8px; }
.tinacl-ft .ft-strong { font-weight: bold; color: var(--ft-title); }
.tinacl-ft .ft-links div { margin-bottom: 6px; }

.tinacl-ft .ft-bottom {
  max-width: 1150px;
  margin: 30px auto 0;
  padding-top: 15px;
  border-top: 1px solid var(--ft-divider);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ft-bottom);
}
.tinacl-ft .ft-soft { color: var(--ft-soft); }

/* Mobile: stack everything left-aligned */
@media (max-width: 640px) {
  .tinacl-ft { padding: 28px 16px 16px; }
  .tinacl-ft .ft-col-right { text-align: left; }
  .tinacl-ft .ft-col-right .ft-title::after { margin-left: 0; }
}
