/* EX-JICS / EnergeticaX Press — shared stylesheet */

:root {
  --green-dark: #12281c;
  --green: #1f4a34;
  --green-mid: #2c6a49;
  --gold: #bd9a44;
  --gold-light: #e8d9a8;
  --cream: #faf7ee;
  --cream-2: #f2ede0;
  --text: #232620;
  --muted: #5c6158;
  --border: #e2ddcb;
  --max: 1120px;
  font-size: 17px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  line-height: 1.25;
  font-weight: 700;
}

a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  background: var(--green-dark);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); }
.brand:hover { text-decoration: none; color: var(--gold-light); }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  font-family: Georgia, serif; font-weight: 700; font-size: 15px;
}
.brand-name { font-family: Georgia, serif; font-size: 1.05rem; letter-spacing: .02em; }
.main-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.main-nav a { color: var(--cream-2); font-size: .95rem; }
.main-nav a:hover { color: var(--gold-light); text-decoration: none; }
.nav-cta {
  background: var(--gold); color: var(--green-dark) !important;
  padding: 7px 16px; border-radius: 4px; font-weight: 600;
}
.nav-cta:hover { background: var(--gold-light); }

/* ---------- hero (home) ---------- */
.hero { background: linear-gradient(180deg, var(--green-dark), var(--green)); color: var(--cream); padding: 64px 0 56px; }
.hero-inner { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--gold-light); margin: 0 0 10px; }
.hero h1 { font-size: 3rem; color: var(--cream); font-style: italic; margin: 0 0 6px; }
.hero-sub { font-size: 1.25rem; color: var(--gold-light); margin: 0 0 18px; }
.hero-desc { max-width: 640px; margin: 0 auto 18px; color: #dfe6df; }
.hero-tags { color: var(--gold-light); font-size: .9rem; margin-bottom: 26px; }
.hero-actions, .issue-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cover-link { display: inline-block; margin-top: 34px; }
.hero-cover { width: 170px; height: auto; border-radius: 4px; box-shadow: 0 14px 34px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }

.btn { display: inline-block; padding: 11px 22px; border-radius: 5px; font-weight: 600; font-size: .95rem; }
.btn-primary { background: var(--gold); color: var(--green-dark) !important; }
.btn-primary:hover { background: var(--gold-light); text-decoration: none; }
.btn-secondary { background: transparent; border: 1px solid var(--gold); color: var(--gold) !important; }
.hero .btn-secondary { color: var(--gold-light) !important; border-color: var(--gold-light); }
.btn-secondary:hover { background: rgba(189,154,68,.12); text-decoration: none; }
.btn-note { font-weight: 400; font-size: .78rem; opacity: .8; }

/* ---------- stats row ---------- */
.stats-row { display: flex; justify-content: center; gap: 56px; padding: 30px 24px; flex-wrap: wrap; text-align: center; }
.stat strong { display: block; font-family: Georgia, serif; font-size: 1.8rem; color: var(--green-dark); }
.stat span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- section heading ---------- */
.section-heading { font-size: 1.6rem; margin-bottom: 4px; }
.section-sub { color: var(--muted); margin-top: 0; margin-bottom: 28px; }

/* ---------- series cards (home) ---------- */
.series-section, .latest-section, .about-section { padding: 40px 24px 10px; }
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.series-card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px;
}
.series-icon { font-size: 1.6rem; margin-bottom: 8px; }
.series-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.series-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.series-card p { color: var(--muted); font-size: .92rem; }

/* ---------- latest publications (home) ---------- */
.latest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.latest-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 6px; padding: 20px 22px; }
.latest-kind { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.latest-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.latest-authors { margin: 0 0 4px; font-size: .9rem; }
.latest-meta { margin: 0; font-size: .85rem; color: var(--muted); }
.see-all { margin-top: 20px; }

/* ---------- about (home) ---------- */
.about-columns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin: 20px 0 50px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-features strong { color: var(--green-dark); }
.about-features p { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-dark); color: var(--cream-2); margin-top: 60px; padding-top: 36px; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 24px; font-size: .9rem; }
.footer-inner a { color: var(--gold-light); }
.copyright { border-top: 1px solid rgba(255,255,255,.15); padding: 16px 24px; font-size: .8rem; color: #b9c2b7; }

/* ---------- journal / issue page ---------- */
.issue-hero { padding: 40px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.issue-hero-split { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.issue-hero-text { flex: 1 1 480px; }
.issue-hero-cover { flex: 0 0 220px; }
.issue-hero-cover img {
  width: 220px; height: auto; border-radius: 4px;
  box-shadow: 0 10px 26px rgba(18,40,28,.25); border: 1px solid var(--border);
}
.cover-pair { display: flex; gap: 32px; flex-wrap: wrap; margin: 24px 0 50px; }
.cover-pair figure { margin: 0; text-align: center; }
.cover-pair img {
  width: 260px; height: auto; border-radius: 4px; border: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(18,40,28,.18);
}
.cover-pair figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.reader-cover { text-align: center; margin: 0 0 50px; }
.reader-cover img { width: 320px; max-width: 80%; height: auto; border-radius: 4px; box-shadow: 0 10px 30px rgba(18,40,28,.25); }
.reader-cover-back { margin: 60px 0 20px; }
.reader-cover figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.issue-hero h1 { font-size: 2.1rem; margin: 4px 0 6px; }
.subtitle { color: var(--muted); font-size: 1rem; margin: 0 0 6px; }
.issue-meta { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.issue-actions { justify-content: flex-start; }
.issue-actions .btn-primary, .issue-actions .btn-secondary { }
.issue-hero .btn-secondary { color: var(--green-mid) !important; border-color: var(--green-mid); }
.issue-hero .btn-secondary:hover { background: rgba(31,74,52,.08); }

.issue-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
.issue-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 22px 26px; }
.issue-card-kind { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.issue-card h3 { margin: 0 0 4px; font-size: 1.25rem; }
.issue-card-sub { color: var(--muted); font-style: italic; margin: 0 0 8px; }
.issue-card-authors { margin: 0 0 10px; font-size: .92rem; }
.issue-card-abstract { color: var(--text); font-size: .95rem; margin: 0 0 12px; }
.issue-card-links { margin: 0; font-size: .88rem; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.doi { color: var(--muted); font-family: Consolas, monospace; font-size: .8rem; }

.callout {
  background: var(--cream-2); border-left: 4px solid var(--gold);
  padding: 16px 20px; border-radius: 4px; font-size: .92rem; color: var(--text);
  margin: 20px 0 40px;
}
.callout p { margin: 0; }

/* ---------- article / prose pages ---------- */
.article-page, .reader-article, .placeholder-page { padding: 40px 0 60px; }
.crumbs { font-size: .85rem; margin-bottom: 6px; }
.article-page h1, .reader-article h1 { font-size: 2rem; margin: 4px 0 6px; }

.toc {
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 16px 20px; margin: 22px 0 32px; font-size: .9rem;
}
.toc strong { color: var(--green-dark); }
.toc ul, .reader-toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li, .reader-toc li { margin-bottom: 4px; }

.prose { max-width: 780px; font-size: 1.02rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; color: var(--green); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; margin: 1.4em 0; width: 100%; font-size: .92rem; }
.prose table td, .prose table th { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose table tr:nth-child(odd) { background: #fbfaf5; }
.prose figure { margin: 2em 0; text-align: center; }
.prose figure img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 4px; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose img { max-width: 100%; height: auto; }
.prose strong { color: var(--green-dark); }
.prose blockquote { border-left: 3px sol