
/* ───── Home (dashboard.php) v2 ───── */
html body.public-portal .hm-hero h1.hm-title { margin: 0 0 6px; font-family: var(--jx-head); font-weight: 900; font-size: 56px; line-height: 1.08; letter-spacing: -.02em; display: block; }
html body.public-portal .hm-hero h1.hm-title .l1 { color: var(--jx-title1); }
html body.public-portal .hm-hero h1.hm-title .l2 { color: var(--jx-title2); }
html body.public-portal .hm-hero h1.hm-title .l3 { color: var(--jx-title3); }
html body.public-portal .hm-hero .jv2-lead { max-width: 600px; }
html body.public-portal .hm-search { display: flex; align-items: center; max-width: 620px; margin: 4px 0 20px; background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: 16px; box-shadow: var(--jx-shadow); padding: 6px 6px 6px 16px; gap: 10px; transition: border-color .2s, box-shadow .2s; }
html body.public-portal .hm-search:focus-within { border-color: var(--jx-copper); box-shadow: 0 0 0 4px var(--jx-t-copper), var(--jx-shadow); }
html body.public-portal .hm-search i { color: var(--jx-ink3); }
html body.public-portal .hm-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--jx-ink); font: 500 15px var(--jx-font); padding: 12px 4px; outline: none; }
html body.public-portal .hm-search button { border: 0; cursor: pointer; background: linear-gradient(135deg, var(--jx-copper), var(--jx-copper-d)); color: var(--jx-on-primary); font: 800 14px var(--jx-font); padding: 12px 24px; border-radius: 12px; transition: transform .2s; }
html body.public-portal .hm-search button:hover { transform: translateY(-1px); }
html body.public-portal .hm-latest { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 14px; border: 1px solid var(--jx-line); border-radius: 14px; background: var(--jx-soft); margin: 4px 0 12px; transition: border-color .2s; }
html body.public-portal .hm-latest:hover { border-color: var(--jx-t-copper-b); }
html body.public-portal .hm-latest__t { font: 800 15.5px/1.4 var(--jx-head); color: var(--jx-hc); }
html body.public-portal .hm-latest__a { font-size: 12.5px; color: var(--jx-ink2); }
html body.public-portal .hm-doi { font: 900 9.5px var(--jx-font); background: var(--jx-t-green); color: var(--jx-green); padding: 2px 6px; border-radius: 5px; letter-spacing: .05em; }

/* quick nav */
html body.public-portal .hm-quick { background: var(--jx-card); border-bottom: 1px solid var(--jx-line); }
html body.public-portal .hm-quick__in { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
html body.public-portal .hm-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--jx-line); background: var(--jx-card); color: var(--jx-ink2); font: 700 13px var(--jx-font); text-decoration: none; transition: all .2s; }
html body.public-portal .hm-quick a i { color: var(--jx-copper); }
html body.public-portal .hm-quick a:hover { border-color: var(--jx-copper); color: var(--jx-copper); background: var(--jx-t-copper); transform: translateY(-1px); text-decoration: none; }
html body.public-portal .hm-quick a.hm-quick__pri { background: linear-gradient(135deg, var(--jx-copper), var(--jx-copper-d)); color: var(--jx-on-primary); border-color: transparent; }
html body.public-portal .hm-quick a.hm-quick__pri i { color: var(--jx-on-primary); }

html body.public-portal .hm-center { justify-content: center; text-align: center; }
html body.public-portal .hm-sub { color: var(--jx-ink2); font-size: 14px; max-width: 580px; margin: 8px auto 0; }

/* features */
html body.public-portal .hm-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
html body.public-portal .hm-feat { background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: 18px; padding: 26px 22px; transition: transform .25s, box-shadow .25s; }
html body.public-portal .hm-feat:hover { transform: translateY(-5px); box-shadow: var(--jx-shadow); }
html body.public-portal .hm-feat__ico { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
html body.public-portal .hm-feat h3 { font: 800 16px var(--jx-head); color: var(--jx-hc); margin: 0 0 6px; }
html body.public-portal .hm-feat p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--jx-ink2); }
html body.public-portal .hm-copper .hm-feat__ico { background: var(--jx-t-copper); color: var(--jx-copper); }
html body.public-portal .hm-blue .hm-feat__ico { background: var(--jx-t-blue); color: var(--jx-blue); }
html body.public-portal .hm-green .hm-feat__ico { background: var(--jx-t-green); color: var(--jx-green); }
html body.public-portal .hm-orange .hm-feat__ico { background: var(--jx-t-orange); color: var(--jx-orange); }

/* journals */
html body.public-portal .hm-j-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
html body.public-portal .hm-j { display: flex; flex-direction: column; background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
html body.public-portal .hm-j:hover { transform: translateY(-5px); box-shadow: var(--jx-shadow); text-decoration: none; }
html body.public-portal .hm-j__cover { position: relative; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
html body.public-portal .hm-j__ring { position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 24px solid rgb(255 255 255 / .12); right: -60px; bottom: -90px; transition: transform .6s; }
html body.public-portal .hm-j:hover .hm-j__ring { transform: scale(1.2) translate(-10px, 6px); }
html body.public-portal .hm-j__abbr { position: relative; font: 900 28px var(--jx-head); color: white; letter-spacing: .04em; text-shadow: 0 4px 16px rgb(0 0 0 / .3); }
html body.public-portal .hm-j__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
html body.public-portal .hm-j__t { font: 800 16px/1.35 var(--jx-head); color: var(--jx-hc); margin: 0; }
html body.public-portal .hm-j__issn { font: 600 12px var(--jx-font); color: var(--jx-ink3); letter-spacing: .02em; }
html body.public-portal .hm-j__tags { display: flex; flex-wrap: wrap; gap: 6px; }
html body.public-portal .hm-tag { font: 800 11px var(--jx-font); padding: 4px 10px; border-radius: 999px; background: var(--jx-t-copper); color: var(--jx-copper); }
html body.public-portal .hm-tag--oa { background: var(--jx-t-green); color: var(--jx-green); }
html body.public-portal .hm-j__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--jx-line2); display: flex; justify-content: space-between; font: 700 12.5px var(--jx-font); color: var(--jx-ink3); }
html body.public-portal .hm-j__go { color: var(--jx-copper); font-weight: 900; }

/* cta + social */
html body.public-portal .hm-cta-btns { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
html body.public-portal .hm-cta-ghost { border: 2px solid rgb(255 255 255 / .55); color: white; font: 800 14px var(--jx-font); padding: 12px 22px; border-radius: 12px; text-decoration: none; transition: background .2s; }
html body.public-portal .hm-cta-ghost:hover { background: rgb(255 255 255 / .12); text-decoration: none; color: white; }
html body.public-portal .hm-soc-wrap { padding-bottom: 54px; }
html body.public-portal .hm-soc { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: var(--jx-card); border: 1px solid var(--jx-line); border-radius: 20px; padding: 30px 34px; }
html body.public-portal .hm-soc h3 { font: 900 18px var(--jx-head); color: var(--jx-hc); margin: 0 0 8px; }
html body.public-portal .hm-soc p { font-size: 13.5px; color: var(--jx-ink2); line-height: 1.6; margin: 0 0 10px; }
html body.public-portal .hm-soc p i { width: 20px; color: var(--jx-copper); }
html body.public-portal .hm-soc a { color: var(--jx-copper); text-decoration: none; }
html body.public-portal .hm-soc a:hover { text-decoration: underline; }
html body.public-portal .hm-muted { color: var(--jx-ink3); font-size: 12.5px; }
html body.public-portal .hm-soc__icons { display: flex; gap: 10px; flex-wrap: wrap; }
html body.public-portal .hm-soc a.hm-soc__ic { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--jx-line); background: var(--jx-soft); color: var(--jx-ink2); display: flex; align-items: center; justify-content: center; transition: all .2s; }
html body.public-portal .hm-soc a.hm-soc__ic:hover { transform: scale(1.1); text-decoration: none; }

@media (max-width: 1000px) { html body.public-portal .hm-hero h1.hm-title { font-size: 44px; } }
@media (max-width: 760px) {
  html body.public-portal .hm-hero h1.hm-title { font-size: 34px; }
  html body.public-portal .hm-quick__in { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 12px 16px; }
  html body.public-portal .hm-quick a { white-space: nowrap; flex: none; }
  html body.public-portal .hm-soc { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  html body.public-portal .hm-search { flex-wrap: wrap; padding: 8px; } html body.public-portal .hm-search i { display: none; } html body.public-portal .hm-search input { flex: 1 1 100%; padding: 10px 8px; } html body.public-portal .hm-search button { flex: 1 1 100%; }
  html body.public-portal .hm-cta-btns { width: 100%; } html body.public-portal .hm-cta-btns a { flex: 1; text-align: center; }
}
html body.public-portal.jx-t-jarvis .hm-hero h1.hm-title { font-size: 46px; letter-spacing: .03em; }
