/* TACI Bulletin article landing page (article.php). Self-contained: navy + gold, Fraunces / Inter, Noto Nastaliq Urdu. */
:root {
  --ink: #0b1f40; --ink-2: #14305f; --paper: #f4f6fa; --card: #fff; --line: #e0e6f0;
  --text: #1b2433; --soft: #4b5668; --brass: #b8893a; --brass-deep: #8f6a28; --brass-light: #e8d3a3;
  --sci: #1d4280; --sci-bg: #e8effb; --sahifa: #8f5a14; --sahifa-bg: #f8eed9;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 1px 2px rgba(16,30,54,.06), 0 16px 30px -18px rgba(16,30,54,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.art-page { margin: 0; background: var(--paper); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.is-rtl { font-family: "Noto Nastaliq Urdu", Inter, serif; line-height: 2; }
.art-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--ink-2); }

/* navigation */
.art-nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, rgba(20,48,95,.97), rgba(11,31,64,.95)); border-bottom: 1px solid rgba(217,181,116,.25); box-shadow: 0 14px 34px -16px rgba(5,15,35,.6); backdrop-filter: blur(14px); }
.art-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.art-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 20px Fraunces, serif; }
.art-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-family: Inter, sans-serif; }
.art-nav-links a { color: #e8eefb; text-decoration: none; font-size: 14px; font-weight: 500; position: relative; }
.art-nav-links a:hover { color: #fff; }
.art-nav-links .art-lang { background: linear-gradient(180deg, #d9b574, #b8893a); color: #1a1205; font-weight: 700; padding: 6px 14px; border-radius: 999px; font-family: "Noto Nastaliq Urdu", Inter, sans-serif; line-height: 1.6; box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -2px 0 rgba(0,0,0,.18) inset; }

/* hero */
.art-hero { color: #fff; padding: 34px 0 40px; background: radial-gradient(1200px 400px at 85% -20%, rgba(184,137,58,.28), transparent 60%), linear-gradient(160deg, #0b1f40, #14305f 62%, #1d4280); border-bottom: 3px solid var(--brass); }
.art-crumbs { margin-bottom: 18px; font-size: 13px; font-family: Inter, sans-serif; }
.art-crumbs a { color: #cdd8ee; text-decoration: none; }
.art-crumbs a:hover { color: #fff; }
.art-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; font-family: Inter, sans-serif; }
.art-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.6; }
.art-badge.forum-sci { background: var(--sci-bg); color: var(--sci); }
.art-badge.forum-sahifa { background: var(--sahifa-bg); color: var(--sahifa); }
.art-badge.plain { background: rgba(255,255,255,.12); color: #e8eefb; border: 1px solid rgba(255,255,255,.18); }
.art-title { font: 600 clamp(26px, 4.2vw, 42px)/1.2 Fraunces, serif; letter-spacing: -.01em; margin: 0 0 16px; max-width: 24ch; max-width: 900px; text-wrap: balance; }
.art-title[lang="ur"] { font-family: "Noto Nastaliq Urdu", serif; line-height: 1.9; letter-spacing: 0; font-weight: 600; }
.art-authors { font-size: 18px; margin: 0 0 8px; color: #f3f6fd; }
.art-authors[lang="ur"] { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.1; }
.art-author sup { font-size: 11px; color: var(--brass-light); margin-inline-start: 1px; }
.art-corr { font-size: 12px; color: var(--brass-light); }
.art-affs { list-style: none; padding: 0; margin: 0 0 16px; font-size: 13.5px; color: #cdd8ee; }
.art-affs li { margin: 2px 0; }
.art-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; font: 500 13px Inter, sans-serif; color: #cdd8ee; margin-top: 14px; }
.art-meta i { color: var(--brass-light); margin-inline-end: 6px; }

/* layout */
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 30px; padding-bottom: 50px; align-items: start; }
.art-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); margin-bottom: 20px; }
.art-h { font: 600 22px Fraunces, serif; color: var(--ink); margin: 0 0 14px; }
body.is-rtl .art-h { font-family: "Noto Nastaliq Urdu", serif; line-height: 1.9; }
.art-h.small { font-size: 17px; }
.art-h::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; margin-top: 8px; background: linear-gradient(90deg, #d9b574, #b8893a); }
.art-abstract p { font-size: 16.5px; line-height: 1.8; margin: 0 0 12px; text-align: start; }
.art-abstract:not([lang="ur"]) p { font-family: "Times New Roman", Times, serif; font-size: 18px; line-height: 1.75; }
.art-abstract[lang="ur"] p { font-family: "Noto Nastaliq Urdu", serif; line-height: 2.3; font-size: 17px; }
.art-kw { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.art-kw-l { font: 700 11px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); margin-inline-end: 6px; }
body.is-rtl .art-kw-l { letter-spacing: 0; font-family: "Noto Nastaliq Urdu", serif; font-size: 13px; }
.art-chip { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 13px; color: var(--ink-2); }
.art-note { background: #fff8e6; border: 1px solid var(--brass-light); border-inline-start: 4px solid var(--brass); border-radius: 12px; padding: 12px 18px; margin-bottom: 20px; font-size: 14px; }

/* cite */
.art-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; font-family: Inter, sans-serif; }
.art-tab { border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: 600 13px Inter, sans-serif; padding: 6px 16px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.art-tab:hover { border-color: var(--brass); }
.art-tab.on { background: var(--ink-2); color: #fff; border-color: var(--ink-2); }
.art-cite { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font: 14.5px/1.7 Inter, sans-serif; }
.art-cite.on { display: block; }
.art-cite p { margin: 0 0 10px; word-break: break-word; text-align: left; }
.art-copy { border: 0; background: linear-gradient(180deg, #d9b574, #b8893a); color: #1a1205; font: 700 13px Inter, sans-serif; border-radius: 10px; padding: 7px 16px; cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -3px 0 rgba(0,0,0,.18) inset, 0 8px 14px -8px rgba(184,137,58,.8); transition: transform .15s var(--ease); }
.art-copy:active { transform: translateY(2px); }
.art-exports { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 14px; font: 500 13.5px Inter, sans-serif; }
.art-exports a { text-decoration: none; }
.art-exports a:hover { text-decoration: underline; }
.art-exports i { color: var(--brass-deep); margin-inline-end: 6px; }

/* sidebar */
.art-side { position: sticky; top: 84px; }
.art-actions { display: grid; gap: 10px; }
.art-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 12px; text-decoration: none; font: 700 14.5px Inter, sans-serif; transition: transform .15s var(--ease), filter .2s; }
body.is-rtl .art-btn { font-family: "Noto Nastaliq Urdu", Inter, sans-serif; line-height: 1.9; }
.art-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.art-btn:active { transform: translateY(2px); }
.art-btn.primary { background: linear-gradient(180deg, #1d4280, #0b1f40); color: #fff; box-shadow: 0 -3px 0 rgba(0,0,0,.28) inset, 0 12px 20px -10px rgba(11,31,64,.7); }
.art-btn.gold { background: linear-gradient(180deg, #d9b574, #b8893a); color: #1a1205; box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -3px 0 rgba(0,0,0,.18) inset, 0 12px 20px -10px rgba(184,137,58,.8); }
.art-btn.ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.art-dl { margin: 0; font-size: 14px; }
.art-dl dt { font: 700 10.5px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); margin-top: 12px; }
body.is-rtl .art-dl dt { letter-spacing: 0; font-family: "Noto Nastaliq Urdu", serif; font-size: 12.5px; }
.art-dl dd { margin: 2px 0 0; color: var(--text); }
.art-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.art-share .art-h { flex: 0 0 100%; }
.art-share a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: all .2s var(--ease); }
.art-share a:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }

.art-foot { background: linear-gradient(180deg, #14305f, #0b1f40); color: #cdd8ee; text-align: center; padding: 22px 16px; font: 14px Inter, sans-serif; }
.art-foot b { color: var(--brass-light); }

@media (max-width: 900px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; }
  .art-card { padding: 20px 18px; }
  .art-nav-links { gap: 14px; }
}
@media (max-width: 560px) {
  .art-nav-links a:not(.art-lang) { display: none; }
  .art-title { max-width: none; }
}
@media print {
  .art-nav, .art-side, .art-foot, .art-share { display: none; }
  .art-grid { display: block; }
  .art-hero { background: none; color: #000; border-bottom: 1px solid #999; }
  .art-hero * { color: #000 !important; }
}
