/* =====================================================================
   Home page – Custom CSS (layout only)
   Page width and the journal banner are shared in Global CSS.
   Headings, text, links, buttons and colours come from the site-wide
   Global CSS (Site Settings). This file only arranges this page.
   `!important` appears only where the page builder writes inline defaults
   (section padding, column gap, image size); `:not(#_)` beats builder #id rules.
   ===================================================================== */

/* ---------- 2. Journal statistics ---------- */
.jh-stats-sec { background: #fff; border-bottom: 1px solid var(--border-color); }
.jh-stats-sec .row { margin: 0; }
.jh-stats-sec .row > * { padding-left: 0; padding-right: 0; margin-top: 0; }
.jh-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.jh-stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 16px; border-right: 1px solid var(--border-color); }
.jh-stat:first-child { padding-left: 0; }
.jh-stat:last-child { border-right: 0; padding-right: 0; }
.jh-stat svg { width: 20px; height: 20px; flex: none; stroke: var(--primary-color); }
.jh-stat-num { font-size: 22px; font-weight: 700; line-height: 1; color: var(--heading-color); }
.jh-stat-label { font-size: 14px; color: var(--muted-color); margin-top: 2px; }
.jh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 3. Abstracting & indexing ---------- */
.jh-indexed-sec { background: #fff; border-bottom: 1px solid #e7e2da; }
.jh-indexed-sec > .container-fluid { padding-top: 25px; padding-bottom: 25px; }
.jh-sec .jh-idx { text-align: center !important; color: var(--text-color); opacity: .75; font-size: 14px; font-weight: 700; letter-spacing: .35px; line-height: 1.9; }
.jh-idx .jh-idx-label { margin-right: 20px; }
.jh-idx .jh-idx-item + .jh-idx-item { margin-left: 20px; }

/* ---------- 4. Cards ---------- */
.jh-cards-sec > .container-fluid { padding-top: 60px; padding-bottom: 20px; }
.jh-sec .jh-card { height: 100%; border-radius: var(--radius-lg); padding: 32px !important; }
.jh-card-light { border-top: 4px solid var(--secondary-color) !important; }
.jh-card .text-eyebrow { margin-bottom: 10px; }
.jh-card h2 { margin-bottom: 14px !important; }
.jh-card .jh-facts p + p { margin-top: 10px; }
.jh-card .jh-facts strong { color: var(--primary-color); }
.jh-card-dark .text-bold { margin-bottom: 18px; }

/* ---------- 5. Current issue (template "ss-current-issue" v ss-v1 brings its own styles) ---------- */
.jh-issue-sec > .container-fluid { padding-top: 40px; padding-bottom: 60px; }
/* Align the template with the shared content edges (it adds its own side padding). */
.jh-issue-sec .ssci { padding: 0 !important; margin: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .jh-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .jh-stat { border-bottom: 1px solid var(--border-color); }
}
@media (max-width: 767px) {
  .jh-cards-sec > .container-fluid { padding-top: 36px; }
  .jh-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-stat, .jh-stat:first-child, .jh-stat:last-child { justify-content: flex-start; border-right: 0; padding-left: 0; padding-right: 0; }
  .jh-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
