/* Oxton Science Journal — public site. Flat design (no shadows/effects), 1300px, responsive. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #1950d1;
  --brand-dark: #0d48d4;
  --navy: #0a083b;
  --muted: #57586e;
  --bg: #ffffff;
  --bg-soft: #f7f9fa;
  --bg-blue: #eaf1f8;
  --bg-blue-2: #e1e7f6;
  --amber: #f5a623;
  --amber-dark: #d97706;
  --amber-soft: #fdf0dc;
  --border: #e9ebf2;
  --radius: 10px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1300px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { vertical-align: middle; max-width: 100%; }
.ico { display: inline-block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
.text-muted { color: var(--muted); }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--navy); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--navy); padding: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  padding: 11px 22px; border-radius: 8px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); }
.btn-sm { padding: 8px 15px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%); padding: 44px 0 42px; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); color: var(--navy); font-weight: 600; font-size: .78rem; padding: 6px 14px; border-radius: 100px; }
.hero-badge .hb-dot { width: 7px; height: 7px; border-radius: 50%; background: #1a7f43; box-shadow: 0 0 0 3px rgba(26,127,67,.16); }
.hero h1 { font-size: clamp(2rem, 2.9vw, 2.55rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; margin: 18px 0 16px; }
.hero h1 .hl { color: var(--brand); }
.hero p.lead { font-size: 1.1rem; line-height: 1.65; max-width: 540px; color: var(--muted); }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 22px; flex-wrap: wrap; gap: 0; }
.hero-stats > div { padding: 0 26px; border-right: 1px solid var(--border); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em; }
.hero-stats .lbl { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.hero-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.hero-card .badge-issn { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-blue); color: var(--brand); font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 100px; }
.hero-card h3 { color: var(--navy); }

/* ---------- Sections ---------- */
section.block { padding: 46px 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.section-head p { margin-top: 12px; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card:hover { border-color: #c9d3ef; }
.card .card-ico { width: 50px; height: 50px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-blue); color: var(--brand); margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }

/* Article card */
.article-card { display: flex; flex-direction: column; height: 100%; }
.article-card .section-tag { color: var(--brand); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.article-card h3 { margin: 8px 0 10px; font-size: 1.02rem; font-weight: 600; line-height: 1.4; letter-spacing: -.005em; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--brand); text-decoration: none; }
.article-card .authors { font-size: .9rem; color: var(--muted); font-weight: 500; }
.article-card .abs { font-size: .92rem; margin: 12px 0 16px; flex: 1; }
.article-card .meta-row { display: flex; align-items: center; gap: 14px; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; flex-wrap: wrap; }
.article-card .meta-row span { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Badges / status ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 11px; border-radius: 100px; }
.st-submitted  { background: #eef0f7; color: #55617d; }
.st-review     { background: #fff3e0; color: #b26a00; }
.st-revisions  { background: #e7f0ff; color: #1950d1; }
.st-accepted   { background: #e6f7ec; color: #1a7f43; }
.st-rejected   { background: #fdecec; color: #c53030; }
.st-published  { background: #e6f7ec; color: #1a7f43; }

/* ---------- Issues ---------- */
.issue-card { text-align: center; }
.issue-cover { height: 200px; border-radius: 10px; margin-bottom: 16px; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.issue-cover .vol { font-size: 2.4rem; font-weight: 800; }
.issue-cover .yr { opacity: .85; font-weight: 600; }

/* ---------- Board ---------- */
.board-card { text-align: center; }
.board-avatar { width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 14px; background: var(--bg-blue); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; }
.board-card .role { color: var(--brand); font-weight: 600; font-size: .85rem; }
.board-card .aff { font-size: .82rem; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; }
.auth-wrap { max-width: 460px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.input, .textarea, select.input {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--navy);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px; background: #fff;
}
.input:focus, .textarea:focus, select.input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Panels / tables ---------- */
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.panel-head h3 { font-size: 1.1rem; }
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 12px 22px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.table td { padding: 14px 22px; border-bottom: 1px solid var(--border); font-size: .92rem; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Article single ---------- */
.article-head { background: var(--bg-soft); padding: 38px 0; border-bottom: 1px solid var(--border); }
.article-head h1 { font-size: clamp(1.6rem, 2.6vw, 1.95rem); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; margin: 14px 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; margin-top: 16px; }
.article-body { padding-top: 30px; padding-bottom: 32px; font-size: .97rem; line-height: 1.72; }
.article-body h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 10px; letter-spacing: -.005em; }
.article-body h3 { font-size: 1.02rem; font-weight: 700; margin: 20px 0 6px; }
.article-body p { color: #33344a; margin-bottom: 15px; line-height: 1.75; text-align: justify; hyphens: auto; overflow-wrap: break-word; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; color: #3a3b52; line-height: 1.7; text-align: justify; hyphens: auto; }
.article-body a { color: var(--brand); font-weight: 500; }
.article-body strong { color: var(--navy); }
.article-body .prose { max-width: 68rem; }
.abstract-box p { overflow-wrap: anywhere; }
.full-text h2 { font-size: 1.32rem; margin: 38px 0 12px; }
.full-text h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.full-text p { color: #33344a; margin-bottom: 16px; line-height: 1.75; }
.full-text ul, .full-text ol { color: #33344a; margin: 0 0 16px; padding-left: 26px; line-height: 1.8; }
.full-text blockquote { border-left: 4px solid var(--bg-blue-2); margin: 0 0 16px; padding: 4px 0 4px 18px; color: var(--muted); font-style: italic; }
.full-text a { color: var(--brand); }
.full-text img { max-width: 100%; height: auto; display: block; margin: 18px auto; border-radius: 8px; }
.full-text figure { margin: 18px 0; text-align: center; }
.full-text figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.full-text .cite-ref { font-size: .82em; vertical-align: super; color: var(--brand); font-weight: 600; text-decoration: none; }
.full-text .cite-ref:hover { text-decoration: underline; }
.full-text .fig-ref { color: var(--brand); text-decoration: none; }
.full-text .fig-ref:hover { text-decoration: underline; }
.references-section { border-top: 1px solid var(--border); margin-top: 36px; padding-top: 8px; }
.references-section h2 { font-size: 1.4rem; margin: 0 0 14px; }
ol.references { padding-left: 0; list-style: none; counter-reset: ref; }
ol.references li { counter-increment: ref; position: relative; padding-left: 34px; margin-bottom: 12px; color: #33344a; font-size: .92rem; line-height: 1.6; }
ol.references li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; color: var(--muted); font-weight: 600; }
ol.references li:target { background: var(--bg-blue); border-radius: 6px; }

/* Citation styles */
.cite-tabs { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.cite-tab { padding: 6px 14px; border: 1.5px solid var(--border); background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem; border-radius: 100px; cursor: pointer; font-family: var(--font); }
.cite-tab:hover { border-color: var(--brand); color: var(--brand); }
.cite-tab.active { background: var(--bg-blue); border-color: var(--brand); color: var(--brand); }
.cite-copy { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid var(--border); background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem; border-radius: 8px; cursor: pointer; font-family: var(--font); }
.cite-copy:hover { border-color: var(--brand); color: var(--brand); }
.cite-box { background: var(--bg-soft); border: 1px solid var(--border); border-left: 4px solid var(--muted); border-radius: 8px; padding: 18px 22px; font-size: .95rem; line-height: 1.7; color: #33344a; }

.abstract-box { background: var(--bg-blue); border-left: 4px solid var(--brand); border-radius: 8px; padding: 24px 26px; margin: 24px 0; }
.abstract-box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.abstract-box p { color: #2c2e44; }
.kw { display: inline-block; background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: .8rem; padding: 4px 12px; border-radius: 100px; margin: 4px 4px 0 0; }

/* ---------- Alerts ---------- */
.alert { padding: 13px 18px; border-radius: 9px; font-size: .92rem; font-weight: 500; margin-bottom: 20px; }
.alert-info { background: var(--bg-blue); color: var(--brand-dark); }
.alert-error { background: #fdecec; color: #c53030; }
.alert-success { background: #e6f7ec; color: #1a7f43; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c5c8dd; padding: 42px 0 22px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer a { color: #c5c8dd; font-size: .9rem; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9a9fc0; font-size: .88rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: #9a9fc0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Interior hero ---------- */
.page-hero { background: var(--bg-soft); padding: 30px 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.05rem); font-weight: 800; margin-bottom: 8px; letter-spacing: -.02em; }
.page-hero p { font-size: 1rem; color: var(--muted); max-width: 720px; }
.about-intro { display: flex; align-items: center; gap: 36px; padding: 4px 0 24px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.about-intro .about-logo { width: 46%; max-width: 480px; height: auto; flex-shrink: 0; }
@media (max-width: 640px) {
  .about-intro { flex-direction: column; text-align: center; gap: 16px; }
  .about-intro .about-logo { width: 90%; max-width: 360px; }
}
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filters .chip { padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--border); background: #fff; color: var(--navy); font-weight: 600; font-size: .86rem; cursor: pointer; }
.filters .chip.active, .filters .chip:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-blue); text-decoration: none; }

/* ---------- Article list (rows) ---------- */
.article-list { border-top: 1px solid var(--border); }
.article-row { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.article-row .a-main { flex: 1; min-width: 0; }
.article-row .section-tag { color: var(--brand); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.article-row h3 { font-size: 1.22rem; line-height: 1.3; margin: 6px 0 8px; }
.article-row h3 a { color: var(--navy); }
.article-row h3 a:hover { color: var(--brand); text-decoration: none; }
.article-row .authors { font-size: .92rem; color: var(--muted); font-weight: 500; }
.article-row .abs { font-size: .93rem; margin: 10px 0 12px; color: #4a4b60; }
.article-row .meta-row { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.article-row .meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.article-row .a-side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 120px; }
@media (max-width: 640px) {
  .article-row { flex-direction: column; gap: 14px; }
  .article-row .a-side { flex-direction: row; align-items: center; min-width: 0; }
}

/* ---------- Board list (rows) ---------- */
.board-group-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--brand); margin: 24px 0 8px; }
.board-list { border-top: 1px solid var(--border); margin-bottom: 40px; }
.board-row { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.board-row .b-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--bg-blue); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.15rem; flex-shrink: 0; }
.board-row .b-info { flex: 1; min-width: 0; }
.board-row .b-info h3 { font-size: 1.05rem; margin: 0; }
.board-row .b-info .aff { font-size: .86rem; color: var(--muted); }
.board-row .b-role { color: var(--brand); font-weight: 600; font-size: .86rem; text-align: right; flex-shrink: 0; }
@media (max-width: 640px) {
  .board-row .b-role { display: none; }
}

/* ---------- Toasts (bottom-right, auto-dismiss) ---------- */
.toast-wrap {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  width: 360px; max-width: calc(100vw - 32px); pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--brand);
  border-radius: 10px; padding: 13px 14px 13px 16px;
  font-size: .9rem; font-weight: 500; color: var(--navy);
  display: flex; gap: 10px; align-items: flex-start;
  opacity: 0; transform: translateX(24px); transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: none; }
.toast.hide { opacity: 0; transform: translateX(24px); }
.toast.success { border-left-color: #1a7f43; }
.toast.error   { border-left-color: #c53030; }
.toast.info    { border-left-color: var(--brand); }
.toast .t-ico { flex-shrink: 0; margin-top: 1px; }
.toast.success .t-ico { color: #1a7f43; }
.toast.error .t-ico   { color: #c53030; }
.toast.info .t-ico    { color: var(--brand); }
.toast .t-msg { flex: 1; line-height: 1.45; }
.toast .t-close { margin-left: 4px; cursor: pointer; color: var(--muted); background: none; border: 0; font-size: 1.2rem; line-height: 1; padding: 0 2px; }
.toast .t-close:hover { color: var(--navy); }
@media (max-width: 480px) { .toast-wrap { right: 12px; left: 12px; bottom: 12px; width: auto; } }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 32px; flex-wrap: wrap; }
.pagination .pg { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1.5px solid var(--border); background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; border-radius: 8px; text-decoration: none; }
.pagination a.pg:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .pg.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .pg.disabled { color: #b9bccb; background: var(--bg-soft); cursor: default; }
.pagination .pg-gap { padding: 0 4px; color: var(--muted); }

.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 52px 40px; border-radius: var(--radius); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe6ff; max-width: 560px; margin: 12px auto 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: #fff; padding: 18px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
  .menu-toggle { display: inline-flex; }
  section.block { padding: 34px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .cta-band { padding: 40px 22px; }
}
@media (max-width: 420px) {
  .nav { height: 70px; }
  .nav-links.open { top: 70px; }
  .brand img { height: 34px; }
  .hero-stats { gap: 24px; }
}

/* Social login (OAuth) */
.oauth-sep { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; color: var(--muted); font-size: .82rem; }
.oauth-sep::before, .oauth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.oauth-list { display: flex; flex-direction: column; gap: 10px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: #1c1e26; font-weight: 600; font-size: .92rem; transition: border-color .15s, background .15s; }
.oauth-btn:hover { border-color: #b9bdc9; background: #fafbfc; }
.oauth-btn svg { flex-shrink: 0; }
.oauth-btn.oauth-orcid:hover { border-color: #A6CE39; }

/* Article license box */
.license-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 28px 0; font-size: .9rem; color: var(--muted); }
.license-box strong { color: var(--navy); }
.license-box .cc-badge { flex-shrink: 0; font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: #fff; background: #1a7f43; padding: 6px 10px; border-radius: 6px; }

/* Issues — featured current issue + archive */
.issue-featured { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; background: var(--bg-blue); border: 1px solid var(--bg-blue-2); border-radius: var(--radius); padding: 28px; margin-top: 14px; }
.issue-featured .if-cover { height: 240px; margin: 0; text-decoration: none; }
.issue-featured .if-body h2 { color: var(--navy); }
.issue-featured .if-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.issue-featured .if-meta span { display: inline-flex; align-items: center; gap: 6px; }
.year-group { margin-bottom: 36px; }
.year-group:last-child { margin-bottom: 0; }
.year-label { font-size: 1.05rem; font-weight: 800; color: var(--navy); padding-bottom: 10px; margin-bottom: 18px; border-bottom: 2px solid var(--border); }
@media (max-width: 720px) {
  .issue-featured { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .issue-featured .if-cover { max-width: 200px; margin: 0 auto; }
  .issue-featured .if-meta { justify-content: center; }
}

/* Document meta + table of contents (policy / info pages) */
.doc-meta { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 2px 0 2px 12px; margin: 0 0 22px; }
.doc-toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 32px; }
.doc-toc-title { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.doc-toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.doc-toc li { margin: 0 0 8px; font-size: .9rem; break-inside: avoid; }
.doc-toc a { color: var(--navy); font-weight: 500; }
.doc-toc a:hover { color: var(--brand); }
.article-body h2[id] { scroll-margin-top: 100px; }
@media (max-width: 600px) { .doc-toc ol { columns: 1; } }

/* Articles filter bar */
.art-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.art-filters .af-search { flex: 1 1 260px; min-width: 220px; }
.art-filters .input { width: auto; padding: 10px 12px; font-size: .9rem; }
.art-filters .af-search .input { width: 100%; }
.art-filters select.input { max-width: 190px; cursor: pointer; }
.art-resultbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
@media (max-width: 760px) {
  .art-filters .input, .art-filters select.input, .art-filters .btn { width: 100%; max-width: none; }
}

/* ORCID inline link (article authors) */
.au-name { white-space: nowrap; }
.orcid-link { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.orcid-link svg { display: block; }
.orcid-link:hover { opacity: .8; }

/* FAQ accordion */
.faq-group { font-size: 1.15rem; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.faq-group:first-of-type { margin-top: 6px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 20px; font-weight: 600; color: var(--navy); font-size: .97rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-mark { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after { content: ''; position: absolute; background: var(--brand); border-radius: 2px; }
.faq-mark::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-mark::after { top: 0; left: 6px; width: 2px; height: 14px; transition: transform .2s, opacity .2s; }
.faq-item[open] .faq-mark::after { opacity: 0; }
.faq-item[open] summary { color: var(--brand); }
.faq-answer { padding: 0 20px 18px; color: #33344a; font-size: .94rem; line-height: 1.7; }
.faq-answer a { color: var(--brand); font-weight: 500; }

/* ---------- Home refinements ---------- */
.section-head h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); letter-spacing: -.02em; }
.section-head .eyebrow { display: inline-block; margin-bottom: 10px; }
.issue-cover { background: linear-gradient(140deg, #17143f 0%, var(--navy) 72%); }
.card { transition: border-color .16s ease; }
.hero-card:hover { transform: none; }
@media (max-width: 560px) {
  .hero-stats { gap: 18px 6px; }
  .hero-stats > div { padding: 0 14px 0 0; border-right: 0; }
}

/* ---------- Public metrics band ---------- */
.metrics-band { background: linear-gradient(180deg, var(--bg-blue) 0%, #eef4fb 100%); padding: 38px 0; border-bottom: 1px solid var(--border); }
.metrics-head { text-align: center; margin-bottom: 30px; }
.metrics-head h2 { margin-top: 6px; }
.metrics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.metric { background: #fff; border: 1px solid var(--bg-blue-2); border-radius: var(--radius); padding: 20px 14px; text-align: center; transition: transform .16s ease, border-color .16s ease; }
.metric:hover { border-color: #c9d3ef; }
.metric .m-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-blue); color: var(--brand); margin-bottom: 10px; }
.metric .m-num { font-size: 1.7rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.metric .m-num small { font-size: .95rem; font-weight: 700; color: var(--brand); margin-left: 1px; }
.metric .m-lbl { font-size: .77rem; color: var(--muted); margin-top: 7px; font-weight: 500; }
.metrics-note { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 24px; }
@media (max-width: 900px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Refresh de cor (azul + âmbar) + minimalismo — cascata global
   ============================================================ */

/* Eyebrows e tags em ÂMBAR (contraste quente sobre o azul dominante) */
.eyebrow,
.metrics-head .eyebrow { color: var(--amber-dark); }

/* Títulos de seção com acento âmbar (barra curta centralizada) */
.section-head h2, .metrics-head h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after, .metrics-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 48px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--amber) 100%);
}

/* Heros internos ganham um leve banho azul (antes cinza chapado) */
.page-hero { background: linear-gradient(180deg, var(--bg-blue) 0%, #f2f6fc 100%); }
.article-head { background: linear-gradient(180deg, var(--bg-blue) 0%, #f2f6fc 100%); }

/* Ícones alternando AZUL / ÂMBAR — dá ritmo de cor e tira o ar monocromático */
.metrics-grid .metric:nth-child(even) .m-ico { background: var(--amber-soft); color: var(--amber-dark); }
.grid-3 > .card:nth-child(3n+2) .card-ico    { background: var(--amber-soft); color: var(--amber-dark); }
.metric .m-num small { color: var(--amber-dark); }

/* Número em destaque no hero (ISSN) em âmbar */
.hero-stats > div:last-child .num { color: var(--amber-dark); }

/* Minimalismo: cartões sem borda, separados por respiro e cor do ícone */
.metric { border: 0; background: transparent; padding: 18px 12px; }
.metric:hover { border: 0; }
.metrics-band { background: linear-gradient(180deg, #f3f7fc 0%, #eef4fb 100%); }
section.block .grid-3 > .card {
  border: 0; background: transparent; padding: 6px 6px 4px;
}
section.block .grid-3 > .card:hover { transform: none; border: 0; }

/* Bordas mais suaves nos demais cartões (menos "caixa") */
.card { border-color: #eef0f6; }
.card:hover { border-color: var(--brand); }

/* Acento âmbar no topo do rodapé */
.site-footer { border-top: 3px solid var(--amber); }

/* Botão âmbar (CTA secundário disponível) */
.btn-amber { background: var(--amber); color: #4a2c00; }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }

/* Chips de filtro ativos: mantêm azul; hover ganha um leve realce */
.filters .chip.active { border-color: var(--brand); }

/* Tag de seção nas linhas de artigo com um respiro de cor (pílula sutil) */
.article-row .section-tag, .article-card .section-tag { color: var(--brand); }

/* Sem MOVIMENTO no hover — só realce de cor/borda (pedido do usuário) */
.card, .metric { transition: border-color .16s ease, background .16s ease, color .16s ease; }
.card:hover,
.metric:hover,
.hero-card:hover,
section.block .grid-3 > .card:hover { transform: none; }

/* ---------- Grade sutil em degradê no hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
/* Grade azul fininha que se dissolve (máscara em degradê) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(25,80,209,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25,80,209,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(115% 85% at 30% 0%, #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
          mask-image: radial-gradient(115% 85% at 30% 0%, #000 0%, rgba(0,0,0,.35) 45%, transparent 72%);
}
/* Brilho âmbar suave no canto (une as duas cores) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 55% at 88% 12%, rgba(245,166,35,.12), transparent 62%);
}

/* ---------- Detalhes em âmbar no hero da home ---------- */
/* Ponto do selo "Peer-reviewed…" em âmbar (com anel quente) */
.hero-badge .hb-dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.18); }
/* Barra âmbar curta sob cada número das estatísticas */
.hero-stats .num { display: inline-block; }
.hero-stats .num::after {
  content: ""; display: block; width: 24px; height: 3px; border-radius: 3px;
  background: var(--amber); margin-top: 8px;
}
/* Divisórias e "+" com toque âmbar */
.hero-stats > div .num small, .hero-stats .plus { color: var(--amber-dark); }
/* Selo "Current issue" do cartão em âmbar */
.hero-card .badge-issn { background: var(--amber-soft); color: var(--amber-dark); }
/* Filete âmbar no topo do cartão do hero */
.hero-card { border-top: 3px solid var(--amber); }

/* ============================================================
   Header estilo periódico científico (3 faixas)
   ============================================================ */
.site-header { position: static; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
.site-header::before { display: none; }

/* Faixa 1 — barra utilitária (ISSN / acesso / entrar) */
.topbar { background: var(--navy); color: #c7cdea; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; font-size: .8rem; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--amber); text-decoration: none; }
.topbar .tb-sep { margin: 0 9px; opacity: .4; }

/* Faixa 2 — marca + busca + submeter */
.brandbar { background: #fff; }
.brandbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 15px; padding-bottom: 15px; }
.brandbar .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.brandbar .brand img { height: 40px; width: auto; display: block; }
.brandbar .brand-sub { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.brand-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hsearch { display: flex; align-items: center; background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 100px; padding: 3px 4px 3px 16px; width: 320px; max-width: 42vw; }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--font); font-size: .9rem; color: var(--navy); padding: 8px 8px 8px 0; }
.hsearch input::placeholder { color: #9aa0b5; }
.hsearch button { border: 0; background: var(--brand); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.hsearch button:hover { background: var(--brand-dark); }

/* Faixa 3 — navegação escura (fica fixa no topo ao rolar) */
.navbar { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.navbar-in { display: flex; align-items: center; }
.navbar .nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.navbar .nav-links a { display: block; color: #d7dcf0; font-weight: 600; font-size: .9rem; padding: 14px 16px; position: relative; }
.navbar .nav-links a::after { display: none; }
.navbar .nav-links a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.07); }
.navbar .nav-links a.active { color: #fff; }
.navbar .nav-links a.active::after { display: block; content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--amber); border-radius: 3px 3px 0 0; }
.navbar .menu-toggle { display: none; color: #fff; background: none; border: 0; padding: 12px 0; cursor: pointer; }

@media (max-width: 900px) { .hsearch { width: 210px; } }
@media (max-width: 720px) {
  .topbar .tb-info { display: none; }
  .topbar-in { justify-content: flex-end; }
  .brandbar-in { padding: 12px 0; }
  .brandbar .brand img { height: 34px; }
  .brand-actions .hsearch { display: none; }
  .navbar { position: relative; }
  .navbar .menu-toggle { display: inline-flex; }
  .navbar .nav-links { display: none; }
  .navbar .nav-links.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--navy); padding: 6px 0 10px; z-index: 60; }
  .navbar .nav-links.open a { padding: 11px 24px; }
  .navbar .nav-links.open a.active::after { display: none; }
}

/* ---------- Grade sutil no hero da página do artigo ---------- */
.article-head { position: relative; overflow: hidden; }
.article-head .container { position: relative; z-index: 1; }
.article-head::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(25,80,209,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25,80,209,.055) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(110% 82% at 22% 0%, #000 0%, rgba(0,0,0,.3) 46%, transparent 72%);
          mask-image: radial-gradient(110% 82% at 22% 0%, #000 0%, rgba(0,0,0,.3) 46%, transparent 72%);
}
.article-head::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 92% 8%, rgba(245,166,35,.10), transparent 60%);
}
