/* ── Variabile globale ── */
:root {
  --ink:        #0f1923;
  --ink-light:  #3a4a5a;
  --ink-muted:  #6a7a8a;
  --accent:     #1a3a6b;       /* albastru academic */
  --accent-mid: #2a5298;       /* albastru mediu pentru hover/link */
  --accent-soft:#edf2fb;
  --rule:       #b8cce0;
  --bg:         #ffffff;       /* alb pur */
  --col-width:  680px;
  --font-body:  'EB Garamond', Georgia, serif;
  --font-head:  'Libre Baskerville', 'Times New Roman', serif;
}

/* ── Reset minimal ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Pagina ── */
html { font-size: 18px; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-body);
  line-height: 1.75;
  max-width: var(--col-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* ════════════════════════════
   HEADER ARTICOL
════════════════════════════ */
header.article-header {
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  padding: 2rem 0 1.5rem;
  margin-bottom: 2rem;
}

.journal-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1.article-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
h1.article-title em {
  font-style: italic;
  font-weight: 400;
}

h1.article-title-en {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.4;
  margin-top: -0.2rem;
  margin-bottom: 1.4rem;
}
.article-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.article-doi {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.45rem 0.8rem;
  background: #f5f8fc;
  border-left: 3px solid var(--accent);

  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.article-doi a {
  color: var(--accent-mid);
  text-decoration: none;
}

.article-doi a:hover {
  text-decoration: underline;
}

/* ── Autori ── */
.authors-block { margin-bottom: 1.2rem; }

.author {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.author-affiliation {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 0.2rem;
}

.author-email {
  font-size: 0.78rem;
  color: var(--accent-mid);
  text-decoration: none;
}
.author-email:hover { text-decoration: underline; }

/* ── Metadate articol ── */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  padding-top: 0.8rem;
  margin-top: 1rem;
}

.article-meta span strong {
  color: var(--ink-light);
  font-weight: 600;
}

.top-license-bar{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:2rem;
    padding-bottom:1rem;
    border-bottom:1px solid #e5e5e5;
}

.license-logo{
    height:31px;
    width:auto;
}

.open-access-logo{
    height:38px;
    width:auto;
}


/* ════════════════════════════
   ABSTRACT & KEYWORDS
════════════════════════════ */
.abstract-block {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.abstract-block h2 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.abstract-block p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-light);
  text-align: justify;
  margin: 0;
}
.abstract-label {
  font-weight: 700;
  color: var(--accent);
}

.keywords-block {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.keywords-block strong {
  color: var(--ink-light);
}

.keyword-tag {
  display: inline-block;
  background: var(--rule);
  color: var(--ink);
  font-size: 0.72rem;
  padding: 0.15em 0.5em;
  border-radius: 2px;
  margin: 0.1em 0.2em 0.1em 0;
}

/* ════════════════════════════
   CORP ARTICOL
════════════════════════════ */
h2.section-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rule);
}

h3.subsection-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink-light);
  margin: 1.8rem 0 0.6rem;
}

h4.subsubsection-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-light);
  margin: 1.4rem 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  text-align: justify;
  margin-bottom: 1em;
  hyphens: auto;
}

p + p { margin-top: 0.8em; }

/* ── Citate ── */
blockquote {
  border-left: 2px solid var(--accent);
  margin: 1.5rem 0 1.5rem 1rem;
  padding: 0.5rem 1rem;
  font-style: italic;
  color: var(--ink-light);
  font-size: 0.95rem;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.4rem;
}

/* ── Liste ── */
ul, ol {
  margin: 0.8rem 0 1rem 1.8rem;
  color: var(--ink);
}

li { margin-bottom: 0.3em; }

/* ── Figuri și imagini ── */
figure {
  margin: 2rem 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  display: block;
  margin: 0 auto;
}

figcaption {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.4;
}

figcaption strong {
  color: var(--ink-light);
  font-style: normal;
}

/* ── Tabele ── */
/* ── Tabele AMA / OJS ── */

.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #111;
}

caption {
  caption-side: top;
  text-align: left;

  font-size: 0.82rem;
  line-height: 1.4;

  font-style: italic;
  font-weight: 400;

  margin-bottom: 0.45rem;
  color: #111;
}

caption strong {
  font-style: normal;
  font-weight: 700;
}

caption strong {
  font-weight: 700;
}

thead {
  border-top: 2px solid #000;
  border-bottom: 1px solid #000;
}

tbody {
  border-bottom: 2px solid #000;
}

th {
  text-align: left;
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  vertical-align: bottom;
}

td {
  padding: 0.4rem 0.6rem;
  vertical-align: top;
}

tbody tr {
  border: none;
}

/* elimină zebra/background */
tbody tr:nth-child(even) {
  background: none;
}

/* note sub tabel */
.table-notes {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #444;
}

.table-notes p {
  margin: 0.15rem 0;
}


/* ── Note de subsol ── */
.footnotes {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.footnotes h2 {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.7rem;
}

.footnotes ol { margin-left: 1.2rem; }
.footnotes li { margin-bottom: 0.4em; }

sup a {
  color: var(--accent-mid);
  text-decoration: none;
  font-size: 0.7em;
}
sup a:hover { text-decoration: underline; }

/* ── Referințe bibliografice ── */
.references {
  border-top: 2px solid var(--ink);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.references h2 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.references ol {
  margin-left: 1.5rem;
}

.references li {
  margin-bottom: 0.7rem;
  padding-left: 0.2rem;

  font-size: 0.85rem;
  line-height: 1.5;

  color: var(--ink-light);
}

.references li em { font-style: italic; }
.references li a { color: var(--accent-mid); }

/* ── Separator decorativ ── */
hr.section-break {
  border: none;
  text-align: center;
  margin: 2.5rem 0;
  color: var(--rule);
  font-size: 1rem;
  letter-spacing: 0.5em;
}
hr.section-break::before { content: "· · ·"; }

/* ── Footer ── */
footer.article-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.72rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* ── Print ── */
@media print {
  body { max-width: 100%; padding: 1cm 2cm; font-size: 11pt; }
  h1.article-title { font-size: 18pt; }
  a { color: var(--ink); text-decoration: none; }
  .abstract-block { border: 1px solid #ccc; background: none; }
}
/* ── PHONE ── */
@media (max-width: 768px) {
  html { font-size: 16px; }

  body {
    padding: 1.2rem;
  }

  h1.article-title {
    font-size: 1.45rem;
  }
}
.citation-block {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.citation-block strong {
  color: var(--ink-light);
  font-weight: 700;
}
.article-metadata {
  margin-top: 2.5rem;
  padding-top: 1.2rem;

  border-top: 1px solid var(--rule);

  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.article-metadata p {
  margin-bottom: 0.7rem;
}

.article-metadata strong {
  color: var(--ink-light);
  font-weight: 700;
}

.article-metadata a {
  color: var(--accent-mid);
  text-decoration: none;
}

.article-metadata a:hover {
  text-decoration: underline;
}
.article-citation{
    font-size:0.8rem;
    line-height:1.5;
    color:#555;
    margin-top:1rem;
}