/* ─── WebKreatives — Article Page Styles ─────────────────────────────────────
 * Shared by all article pages in /articles/
 * Import: <link rel="stylesheet" href="../css/article.css">
 * ─────────────────────────────────────────────────────────────────────────── */

/* ── PAGE BASE ────────────────────────────────────────────────────────────── */
body[data-page="article"] {
  background: oklch(9% .010 25);
  color: oklch(68% .006 25);
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.art-hero {
  background: oklch(7% .010 25);
  padding: 80px 6% 0;
  position: relative;
  overflow: hidden;
}
.art-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(223,56,33,.12) 0%, transparent 70%);
  pointer-events: none;
}
.art-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── BREADCRUMB ───────────────────────────────────────────────────────────── */
/* use <div class="art-breadcrumb"> — avoids global nav CSS bleed */
.art-breadcrumb {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: oklch(40% .006 25);
  position: static !important;
  height: auto !important;
  padding: 0 !important;
  justify-content: flex-start !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
}
.art-breadcrumb::before { display: none !important; }
.art-breadcrumb a {
  color: oklch(46% .006 25);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.art-breadcrumb a:hover { color: oklch(90% .005 25); }
.art-breadcrumb span { color: oklch(28% .008 25); white-space: nowrap; }
.art-breadcrumb .arc-current { color: oklch(50% .006 25); }

/* ── CATEGORY PILL ────────────────────────────────────────────────────────── */
.art-category {
  display: inline-block;
  background: rgba(223,56,33,.14);
  color: #df3821;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(223,56,33,.22);
}

/* ── TITLE ────────────────────────────────────────────────────────────────── */
.art-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 900;
  color: oklch(95% .005 25);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.art-title em {
  font-style: italic;
  color: #fbeb78;
}

/* ── META ROW ─────────────────────────────────────────────────────────────── */
.art-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.art-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.art-author img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid oklch(28% .010 25);
}
.art-author-name { font-size: 14px; font-weight: 600; color: oklch(88% .005 25); }
.art-meta-divider { color: oklch(28% .008 25); font-size: 12px; }
.art-date, .art-readtime { font-size: 13px; color: oklch(44% .006 25); }

/* ── COVER IMAGE ──────────────────────────────────────────────────────────── */
.art-cover {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  height: 360px;
}
.art-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── BODY WRAPPER ─────────────────────────────────────────────────────────── */
.art-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 6% 80px;
  background: oklch(9% .010 25);
}

/* ── ARTICLE CONTENT ──────────────────────────────────────────────────────── */
.art-content {
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 17.5px;
  line-height: 1.85;
  color: oklch(68% .006 25);
}
.art-content h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: oklch(93% .005 25);
  margin: 56px 0 16px;
  letter-spacing: -.02em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.art-content h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: #df3821;
  color: oklch(97% .004 80);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  font-style: normal;
  flex-shrink: 0;
}
.art-content h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: oklch(90% .005 25);
  margin: 36px 0 12px;
  letter-spacing: -.01em;
}
.art-content p  { margin-bottom: 22px; }
.art-content ul,
.art-content ol { margin: 0 0 22px 24px; }
.art-content li { margin-bottom: 10px; }
.art-content strong { color: oklch(90% .005 25); font-weight: 700; }
.art-content a {
  color: #df3821;
  text-decoration: underline;
  text-decoration-color: rgba(223,56,33,.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.art-content a:hover { text-decoration-color: #df3821; }

/* ── INLINE IMAGE ─────────────────────────────────────────────────────────── */
.art-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 36px 0;
}
.art-img img {
  width: 100%; height: 300px;
  object-fit: cover;
  display: block;
}
.art-img figcaption {
  font-size: 12px;
  color: oklch(46% .006 25);
  padding: 10px 14px;
  background: oklch(12% .010 25);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-style: italic;
}

/* ── CALLOUT / MISTAKE BOX ────────────────────────────────────────────────── */
.art-mistake {
  background: oklch(12% .010 25);
  border: 1.5px solid oklch(22% .010 25);
  border-top: 2px solid #df3821;
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 0 0 22px;
}
.art-mistake strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #df3821;
  font-weight: 700;
  margin-bottom: 8px;
}
.art-mistake p {
  font-size: 15px;
  color: oklch(60% .006 25);
  margin: 0;
  line-height: 1.65;
}

/* ── PULL QUOTE ───────────────────────────────────────────────────────────── */
.art-quote {
  border-top: 2px solid #df3821;
  border-bottom: 1px solid oklch(22% .010 25);
  padding: 28px 32px;
  margin: 40px 0;
  background: oklch(12% .010 25);
  border-radius: 0;
}
.art-quote p {
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 21px;
  font-style: italic;
  color: oklch(88% .005 25);
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
  max-width: 65ch;
}

/* ── STAT BOXES ───────────────────────────────────────────────────────────── */
.art-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 36px 0;
  background: oklch(12% .010 25);
  border: 1.5px solid oklch(20% .010 25);
  border-radius: var(--r-md);
  padding: 24px;
}
.art-stat {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid oklch(18% .010 25);
}
.art-stat:last-child { border-right: none; }
.art-stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fbeb78;
  line-height: 1.2;
  display: block;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.art-stat-label { font-size: 13px; color: oklch(50% .006 25); line-height: 1.5; }

/* ── INLINE CTA BOX ───────────────────────────────────────────────────────── */
.art-cta-box {
  background: oklch(12% .010 25);
  border: 1.5px solid oklch(22% .010 25);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.art-cta-box-text h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: oklch(93% .005 25);
  margin: 0 0 6px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.art-cta-box-text p { font-size: 14px; color: oklch(52% .006 25); margin: 0; }
.art-cta-box .btn {
  white-space: nowrap;
  background: #df3821;
  color: oklch(97% .004 80);
  flex-shrink: 0;
}
.art-cta-box .btn:hover { opacity: .88; }

/* ── CHECKLIST ────────────────────────────────────────────────────────────── */
.art-checklist {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border: 1.5px solid oklch(20% .010 25);
  border-radius: var(--r-md);
  overflow: hidden;
  background: oklch(11% .010 25);
}
.art-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid oklch(16% .010 25);
  font-size: 15.5px;
  color: oklch(68% .006 25);
  background: transparent;
  transition: background .15s;
}
.art-checklist li:last-child { border-bottom: none; }
.art-checklist li:hover { background: oklch(14% .010 25); }
.art-checklist li::before {
  content: '✓';
  width: 24px; height: 24px;
  background: oklch(18% .040 145);
  color: #b9e185;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── SHARE BAR ────────────────────────────────────────────────────────────── */
.art-share {
  border-top: 1px solid oklch(20% .010 25);
  border-bottom: 1px solid oklch(20% .010 25);
  padding: 22px 0;
  margin: 48px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.art-share-label {
  font-size: 12px;
  font-weight: 700;
  color: oklch(42% .006 25);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  font-family: var(--wk-f2, 'Figtree', sans-serif);
  border: none;
  cursor: pointer;
}
.share-btn:hover { opacity: .86; transform: translateY(-1px); }
.share-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.share-btn.linkedin  { background: #0077B5; color: #fff; }
.share-btn.instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.share-btn.instagram svg { fill: none; stroke: #fff; stroke-width: 2; }
.share-btn.copy {
  background: oklch(14% .010 25);
  color: oklch(68% .006 25);
  border: 1.5px solid oklch(24% .010 25);
}
.share-btn.copy svg { fill: none; stroke: currentColor; stroke-width: 2; }
.share-btn.copy:hover { border-color: oklch(36% .010 25); background: oklch(18% .010 25); }
.share-btn.copy.copied { background: oklch(18% .040 145); color: #b9e185; border-color: oklch(28% .060 145); }
.share-btn.copy.copied svg { stroke: #b9e185; }

/* ── AUTHOR BIO ───────────────────────────────────────────────────────────── */
.art-author-bio {
  background: oklch(12% .010 25);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 48px;
  border: 1.5px solid oklch(20% .010 25);
}
.art-author-bio img {
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid oklch(22% .010 25);
}
.art-author-bio h4 { font-size: 16px; font-weight: 700; color: oklch(90% .005 25); margin-bottom: 3px; }
.art-author-bio .bio-role {
  font-size: 11px;
  color: #df3821;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 10px;
}
.art-author-bio p { font-size: 14px; color: oklch(52% .006 25); line-height: 1.65; margin: 0; }

/* ── BOTTOM CTA ───────────────────────────────────────────────────────────── */
.art-bottom-cta {
  background: oklch(7% .010 25);
  border: 1.5px solid oklch(18% .010 25);
  border-radius: var(--r-xl);
  padding: 64px 52px;
  text-align: center;
  margin-bottom: 48px;
}
.art-bottom-cta .label { color: #fbeb78; }
.art-bottom-cta h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 900;
  color: oklch(94% .005 25);
  margin: 12px 0 16px;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.art-bottom-cta p {
  font-size: 16px;
  color: oklch(50% .006 25);
  margin: 0 auto 32px;
  max-width: 460px;
  line-height: 1.7;
}
.art-bottom-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-red { background: #df3821; color: oklch(97% .004 80) !important; }
.btn-red:hover { opacity: .88; }
.btn-outline-white {
  background: transparent;
  color: oklch(88% .005 25) !important;
  border: 1.5px solid oklch(28% .010 25);
}
.btn-outline-white:hover { border-color: oklch(48% .010 25); }

/* ── RELATED ARTICLES ─────────────────────────────────────────────────────── */
.art-related { margin-bottom: 80px; }
.art-related h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: oklch(90% .005 25);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  min-height: 80px;
}
.art-related-card {
  border: 1.5px solid oklch(20% .010 25);
  border-radius: var(--r-md);
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: border-color .2s, background .2s, transform .18s;
}
.art-related-card:hover {
  border-color: oklch(38% .010 25);
  background: oklch(12% .010 25);
  transform: translateY(-2px);
}
.arc-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #df3821;
  display: block;
  margin-bottom: 10px;
}
.arc-title {
  font-size: 16px;
  font-weight: 700;
  color: oklch(84% .005 25);
  line-height: 1.35;
  margin-bottom: 8px;
}
.arc-date  { font-size: 12px; color: oklch(44% .006 25); }

/* ── READING PROGRESS BAR ─────────────────────────────────────────────────── */
#read-progress {
  position: fixed;
  top: 66px; left: 0;
  height: 2px;
  background: #df3821;
  width: 0%;
  z-index: 199;
  transition: width .1s linear;
}

/* ── INLINE-DEFINED COMPONENT DARK OVERRIDES ──────────────────────────────── */
/* Targets classes defined inline in article HTML (not in this stylesheet) */
.art-mini-card {
  background: oklch(13% .010 25);
  border: 1.5px solid oklch(22% .010 25);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
}
.art-mini-card .eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #df3821;
  margin-bottom: 8px;
}
.art-mini-card h3 { font-size: 17px; margin: 0 0 8px; color: oklch(88% .005 25); }
.art-mini-card p  { font-size: 14px; color: oklch(56% .006 25); margin: 0; line-height: 1.65; }

.art-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 30px 0 34px;
}

.art-steps {
  counter-reset: steps;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.art-steps li {
  counter-increment: steps;
  background: oklch(13% .010 25);
  border: 1.5px solid oklch(22% .010 25);
  border-radius: var(--r-md);
  padding: 16px 18px 16px 58px;
  position: relative;
  color: oklch(66% .006 25);
  font-size: 15px;
  line-height: 1.6;
}
.art-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 16px; top: 16px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: oklch(88% .005 25);
  color: oklch(9% .010 25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.art-steps li strong { display: block; margin-bottom: 3px; color: oklch(88% .005 25); }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (min-width: 1100px) {
  .art-hero-inner,
  .art-cover,
  .art-body { max-width: 920px; }
}
@media (min-width: 1400px) {
  .art-hero-inner,
  .art-cover,
  .art-body { max-width: 1000px; }
}

@media (max-width: 860px) {
  .art-hero { padding: 70px 5% 0; }
  .art-body { padding: 44px 5% 70px; }
  .art-cover { height: 280px; }
  .art-img img { height: 240px; }
  .art-cta-box { flex-direction: column; text-align: center; }
  .art-bottom-cta { padding: 48px 32px; }
  .art-stats { padding: 16px; }
  .art-stat { border-right: none; border-bottom: 1px solid oklch(18% .010 25); }
  .art-stat:last-child { border-bottom: none; }
}

@media (max-width: 580px) {
  .art-hero { padding: 60px 5% 0; }
  .art-body { padding: 36px 5% 56px; }
  .art-cover { height: 210px; }
  .art-img img { height: 190px; }
  .art-bottom-cta { padding: 40px 20px; }
  .art-author-bio { flex-direction: column; }
  .art-title { font-size: 26px; }
  .art-content h2 { font-size: 18px; }
  .art-content h2 .num { width: 28px; height: 28px; font-size: 13px; }
  .art-quote p { font-size: 18px; }
  .art-share { gap: 8px; }
  .art-stats { grid-template-columns: 1fr; }
}
