/* ============================================================
   Level Up Plating Supply — Article Page Styles
   article-styles.css
   Shared stylesheet for all /articles/artN.html pages
   ============================================================ */

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

:root {
  --navy:     #0b1c36;
  --navy2:    #132848;
  --amber:    #e5a818;
  --amber2:   #d4920e;
  --amber3:   #f0ba2c;
  --amber-lt: #fef7e7;
  --amber-bd: rgba(229,168,24,.25);
  --bg:       #f4f6fb;
  --white:    #ffffff;
  --tx:       #1a2540;
  --tx2:      #243050;
  --mu:       #4a5568;
  --mu2:      #6b7280;
  --mu3:      #9ca3af;
  --bd:       rgba(14,30,60,.12);
  --r:        10px;
  --r2:       12px;
  --fd:       'Montserrat', system-ui, sans-serif;
  --fs:       Georgia, 'Times New Roman', serif;
  --ease:     cubic-bezier(.4,0,.2,1);
}

body {
  font-family: var(--fs);
  font-size: 17px;
  line-height: 1.8;
  color: var(--tx);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber2); text-decoration: none }
a:hover { text-decoration: underline }

/* ── Header ── */
.art-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.art-header-in {
  max-width: 860px; margin: 0 auto;
  padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.art-logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.art-logo { height: 32px; width: auto; display: block }
.art-logo-text {
  font-family: var(--fd); font-size: 14px; font-weight: 700;
  color: #fff; letter-spacing: .3px; line-height: 1.2;
}
.art-nav-link {
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.7); text-decoration: none;
  letter-spacing: .3px;
}
.art-nav-link:hover { color: var(--amber3); text-decoration: none }

/* ── Main content ── */
.art-main {
  max-width: 760px; margin: 0 auto;
  padding: 48px 24px 64px;
}

/* ── Metadata strip ── */
.art-meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.art-cat {
  font-family: var(--fd); font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--amber2); background: var(--amber-lt);
  border: 1px solid var(--amber-bd); border-radius: 4px;
  padding: 3px 9px;
}
.art-date, .art-read {
  font-family: var(--fd); font-size: 12px; color: var(--mu3);
  font-weight: 600; letter-spacing: .3px;
}
.art-date::before { content: '·'; margin-right: 10px }
.art-read::before { content: '·'; margin-right: 10px }

/* ── Article title ── */
.art-title {
  font-family: var(--fd); font-size: clamp(24px, 4vw, 38px);
  font-weight: 900; line-height: 1.18; color: var(--navy);
  margin-bottom: 36px; letter-spacing: -.5px;
}

/* ── Article body ── */
.art-body h4 {
  font-family: var(--fd); font-size: 17px; font-weight: 800;
  color: var(--navy2); letter-spacing: .2px; line-height: 1.35;
  margin: 44px 0 14px; padding-top: 6px;
  border-top: 2px solid var(--amber3); display: inline-block;
  padding-right: 0;
}
.art-body h4:first-child { margin-top: 0 }

.art-body p { margin-bottom: 20px; color: var(--mu) }
.art-body strong { color: var(--tx); font-weight: 700 }
.art-body em { font-style: italic }

.art-body ul, .art-body ol {
  margin: 0 0 20px 28px; color: var(--mu);
}
.art-body li { margin-bottom: 6px; line-height: 1.7 }

/* ── Tables ── */
.art-body table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 14.5px;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--bd);
}
.art-body th {
  background: var(--navy); color: rgba(255,255,255,.85);
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 10px 14px; text-align: left;
}
.art-body td { padding: 10px 14px; border-bottom: 1px solid var(--bd) }
.art-body tr:last-child td { border-bottom: none }
.art-body tr:nth-child(even) { background: var(--bg) }

/* ── Media ── */
.art-media {
  margin: 28px 0; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--bd); box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.art-media img, .art-media video {
  width: 100%; display: block; object-fit: cover;
}
.art-media-cap {
  padding: 12px 18px; background: var(--bg);
  border-top: 1px solid var(--bd);
  font-size: 13px; color: var(--mu2);
  line-height: 1.55; font-family: var(--fd);
}
.art-media-cap strong { color: var(--tx2); font-weight: 600 }

.art-media-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 28px 0;
}
.art-media-grid .art-media { margin: 0 }

.art-vid-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 28px 0;
}
.art-vid-pair .art-media { margin: 0; position: relative }

.art-vid-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.art-vid-label.fail { background: rgba(185,28,28,.9); color: #fff }
.art-vid-label.pass { background: rgba(12,104,40,.9); color: #fff }

/* ── Related articles box ── */
.art-related {
  margin-top: 40px; padding: 20px 24px;
  background: var(--bg); border-radius: var(--r2);
  border-left: 3px solid var(--amber3);
}
.art-related strong {
  display: block; font-family: var(--fd); font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--mu3); margin-bottom: 10px;
}
.art-related ul { margin: 0; padding: 0; list-style: none }
.art-related li { font-size: 14.5px; margin-bottom: 6px }
.art-related a { color: var(--amber2) }

/* ── CTA box ── */
.art-cta-box {
  margin-top: 28px; padding: 24px 28px;
  background: var(--navy); border-radius: var(--r2);
}
.art-cta-box p {
  font-size: 15px; color: rgba(255,255,255,.75);
  line-height: 1.7; margin: 0 0 16px;
  font-family: var(--fd);
}
.art-cta-box a, .art-cta-box .btn, .art-cta-box button {
  display: inline-block;
  background: var(--amber3); color: var(--navy);
  font-family: var(--fd); font-size: 13px; font-weight: 800;
  letter-spacing: .6px; text-transform: uppercase;
  padding: 12px 24px; border-radius: var(--r);
  border: none; cursor: pointer; text-decoration: none;
  margin-top: 4px;
}
.art-cta-box a:hover { filter: brightness(1.07); text-decoration: none }

/* ── Bottom nav ── */
.art-bottom-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 56px; padding-top: 28px;
  border-top: 1px solid var(--bd); flex-wrap: wrap;
}
.art-bottom-back {
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  color: var(--mu2); text-decoration: none;
}
.art-bottom-back:hover { color: var(--amber2); text-decoration: none }
.art-bottom-cta {
  font-family: var(--fd); font-size: 13px; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase;
  background: var(--amber3); color: var(--navy);
  padding: 11px 22px; border-radius: var(--r); text-decoration: none;
}
.art-bottom-cta:hover { filter: brightness(1.07); text-decoration: none }

/* ── Footer ── */
.art-footer {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px;
}
.art-footer-in {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  font-family: var(--fd); font-size: 12px; color: rgba(255,255,255,.45);
}
.art-footer-in a { color: rgba(255,255,255,.45); text-decoration: none }
.art-footer-in a:hover { color: var(--amber3) }

/* ── Responsive ── */
@media (max-width: 640px) {
  .art-main { padding: 32px 20px 48px }
  .art-title { font-size: 24px }
  .art-media-grid, .art-vid-pair { grid-template-columns: 1fr }
  .art-bottom-nav { flex-direction: column; align-items: flex-start }
  .art-footer-in { gap: 12px }
  .art-logo-text { display: none }
}
