/* ==========================================================================
   Luminous Insights — Editorial Board (TOC + main content ONLY)
   --------------------------------------------------------------------------
   Scope: body.li-editorial-board-page
   Styles: left On this Page TOC + .content-details member board
   Does NOT restyle #rightsidebar / journal_rightbar (unified info list stays).

   Live hooks (journal/editorial.php):
     body.li-filter-unified.li-journal-home.li-editorial-board-page
     .table-of-content.li-eb-toc · .content-details.li-eb-main
     .editorial-section · .editorial-box · .editorial-profile-img · .editorial-details
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
body.li-editorial-board-page {
  --li-eb-border: #e6eaec;
  --li-eb-border-brand: var(--li-teal-200, #B9D4DB);
  --li-eb-photo: 72px;
  --li-eb-scroll-pad: 6.5rem;
}

body.li-editorial-board-page .article-content.li-eb-page,
body.li-editorial-board-page section.article-content {
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
}


/* --------------------------------------------------------------------------
   2. MAIN COLUMN — no card border
   -------------------------------------------------------------------------- */
body.li-editorial-board-page .content-details,
body.li-editorial-board-page .content-details.li-eb-main {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 0.25rem;
  padding-bottom: 1.75rem;
}

body.li-editorial-board-page .section-block-details {
  padding: 0;
}


/* --------------------------------------------------------------------------
   3. ON THIS PAGE (left TOC)
   -------------------------------------------------------------------------- */
body.li-editorial-board-page .table-of-content,
body.li-editorial-board-page .table-of-content.li-eb-toc {
  background: transparent;
  /* Align "On this Page" with breadcrumb / page chrome (not flush to edge) */
  padding-left: 1.5rem;
  box-sizing: border-box;
}

body.li-editorial-board-page .table-of-content .sticky,
body.li-editorial-board-page #doc-menu.sticky {
  position: sticky;
  top: 1rem;
}

body.li-editorial-board-page .table-of-content h4 {
  margin: 0 0 0.65rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid var(--li-eb-border);
  background: transparent;
  color: var(--li-navy-700, #1A5568);
  font-family: var(--li-font-nav, "Nunito Sans", "Source Sans 3", system-ui, sans-serif);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

body.li-editorial-board-page .table-of-content h4 i {
  margin-right: 0.35rem;
  color: var(--li-teal-600, #2A6F79);
}

body.li-editorial-board-page .table-of-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.li-editorial-board-page .table-of-content ul li {
  margin: 0;
  padding: 0;
  border: 0;
}

body.li-editorial-board-page .table-of-content ul li a {
  display: block;
  padding: 0.45rem 0.65rem 0.45rem 0.75rem;
  border-left: 2px solid var(--li-eb-border);
  color: var(--li-ink-700, #3A4A50);
  font-family: var(--li-font-nav, "Nunito Sans", "Source Sans 3", system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

body.li-editorial-board-page .table-of-content ul li a:hover,
body.li-editorial-board-page .table-of-content ul li a:focus-visible {
  color: var(--li-navy-800, #0F3A4A);
  border-left-color: var(--li-teal-300, #7EB8C2);
  background: var(--li-teal-50, #F0F6F7);
  outline: none;
}

body.li-editorial-board-page .table-of-content ul li.active a {
  color: var(--li-navy-800, #0F3A4A);
  border-left-color: var(--li-teal-600, #2A6F79);
  background: var(--li-teal-50, #F0F6F7);
}


/* --------------------------------------------------------------------------
   4. BOARD GROUPS
   -------------------------------------------------------------------------- */
body.li-editorial-board-page .editorial-section {
  margin: 0 0 0.85rem;
}

body.li-editorial-board-page #introduction > .section-block-details:first-child .editorial-section {
  margin-top: 0.15rem;
}

body.li-editorial-board-page .editorial-section h3 {
  position: relative;
  margin: 0;
  padding: 0 0 0.65rem;
  background: transparent;
  color: var(--li-navy-900, #0A2A36);
  font-family: var(--li-font-scholar, Literata, Georgia, serif);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--li-eb-border-brand);
  scroll-margin-top: var(--li-eb-scroll-pad);
}

body.li-editorial-board-page .editorial-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 3rem;
  height: 3px;
  background: var(--li-teal-600, #2A6F79);
  border-radius: 2px;
}


/* --------------------------------------------------------------------------
   5. MEMBERS
   -------------------------------------------------------------------------- */
body.li-editorial-board-page .editorial-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 0.35rem;
  border-bottom: 1px solid var(--li-eb-border);
  transition: background-color 0.15s ease;
}

body.li-editorial-board-page .editorial-box:hover {
  background: linear-gradient(90deg, var(--li-teal-50, #F0F6F7), rgba(240, 246, 247, 0));
}

body.li-editorial-board-page .editorial-box .editorial-profile-img {
  flex: 0 0 var(--li-eb-photo);
  width: var(--li-eb-photo);
  height: var(--li-eb-photo);
  margin: 0.1rem 0 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--li-teal-100, #D5E3E6);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--li-eb-border-brand);
}

body.li-editorial-board-page .editorial-box .editorial-profile-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

body.li-editorial-board-page .editorial-box .editorial-details {
  flex: 1 1 auto;
  min-width: 0;
}

body.li-editorial-board-page .editorial-box .editorial-details h4 {
  margin: 0 0 0.2rem;
  color: var(--li-navy-800, #0F3A4A);
  font-family: var(--li-font-scholar, Literata, Georgia, serif);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

body.li-editorial-board-page .editorial-box .editorial-details span {
  display: block;
  margin: 0.15rem 0 0;
  color: var(--li-ink-600, #4A5C62);
  font-family: var(--li-font-ui, "Source Sans 3", system-ui, sans-serif);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
}

body.li-editorial-board-page .editorial-box .editorial-details span i {
  width: 1.1rem;
  margin-right: 0.3rem;
  color: var(--li-teal-500, #378F9B);
  text-align: center;
  font-size: 0.8125rem;
}

body.li-editorial-board-page .editorial-box .editorial-details span a {
  color: var(--li-teal-700, #216670);
  font-family: var(--li-font-ui, "Source Sans 3", system-ui, sans-serif);
  font-size: 0.9375rem;
  text-decoration: none;
  word-break: break-word;
}

body.li-editorial-board-page .editorial-box .editorial-details span a:hover {
  color: var(--li-navy-800, #0F3A4A);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* --------------------------------------------------------------------------
   6. RESPONSIVE (TOC + members only)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  body.li-editorial-board-page .table-of-content .sticky,
  body.li-editorial-board-page #doc-menu.sticky {
    position: static;
  }

  body.li-editorial-board-page .table-of-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  body.li-editorial-board-page .table-of-content ul li a {
    border: 1px solid var(--li-eb-border-brand);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    border-left-width: 1px;
  }
}

@media (max-width: 575.98px) {
  body.li-editorial-board-page {
    --li-eb-photo: 56px;
  }

  body.li-editorial-board-page .editorial-section h3 {
    font-size: 1.25rem;
  }

  body.li-editorial-board-page .editorial-box {
    gap: 0.75rem;
    padding: 0.85rem 0.1rem;
  }

  body.li-editorial-board-page .editorial-box .editorial-details h4 {
    font-size: 1rem;
  }
}



/* --------------------------------------------------------------------------
   FULL-WIDTH — small gutters only (not centered --wrap)
   -------------------------------------------------------------------------- */
body.li-editorial-board-page {
  --li-eb-max: none;
  --li-jh-gutter: 30px;
}
@media (max-width: 991.98px) {
  body.li-editorial-board-page { --li-jh-gutter: 1rem; }
}
@media (max-width: 575.98px) {
  body.li-editorial-board-page { --li-jh-gutter: 0.75rem; }
}

body.li-editorial-board-page .article-content > .container-fluid {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--li-jh-gutter, 30px) !important;
  padding-right: var(--li-jh-gutter, 30px) !important;
  box-sizing: border-box !important;
}

body.li-editorial-board-page .article-content > .container-fluid > .row {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
