/* ===============================
   ARTICLE / CONTENT PAGE STYLES
   Shared across all silo pages
   All classes prefixed art-
================================= */

/* ── Navbar brand lockup (matches cart.css / index.html) ───── */
.nav-left a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  text-decoration: none !important;
}
.nav-left a:hover,
.nav-left a:visited {
  text-decoration: none !important;
  color: inherit !important;
}
.nav-left .logo {
  height: 80px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  mix-blend-mode: screen !important;
}
.nav-brand-text {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  background: linear-gradient(135deg, #ffffff 0%, #c4b0ff 50%, #7b4dff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
@media (max-width: 768px) {
  .nav-left .logo { height: 52px !important; }
  .nav-brand-text { font-size: 0.78rem !important; }
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.art-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(196,176,255,0.5);
  padding: 32px 0 0 0;
  flex-wrap: wrap;
}

.art-breadcrumb a {
  color: rgba(196,176,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.art-breadcrumb a:hover { color: #c4b0ff; }

.art-breadcrumb-sep {
  color: rgba(196,176,255,0.25);
  font-size: 10px;
}

.art-breadcrumb-current {
  color: rgba(196,176,255,0.8);
}

/* ── Two-Column Layout ────────────────────────────────────── */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
  padding-bottom: 100px;
}

/* ── Article Hero ─────────────────────────────────────────── */
.art-hero {
  padding: 40px 0 36px 0;
  border-bottom: 1px solid rgba(123,77,255,0.15);
  margin-bottom: 48px;
}

.art-hero-tag {
  display: inline-block;
  background: rgba(123,77,255,0.15);
  border: 1px solid rgba(123,77,255,0.3);
  color: #c4b0ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.art-hero-tag--guide {
  background: rgba(0,180,255,0.1);
  border-color: rgba(0,180,255,0.3);
  color: #7dd8ff;
}

.art-hero-tag--compound {
  background: rgba(80,220,140,0.1);
  border-color: rgba(80,220,140,0.3);
  color: #7de8b0;
}

.art-hero-tag--reference {
  background: rgba(255,180,50,0.1);
  border-color: rgba(255,180,50,0.3);
  color: #ffd580;
}

.art-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #ffffff 0%, #c4b0ff 45%, #7b4dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.art-hero-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 600px;
}

.art-hero-desc a {
  color: #c4b0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.art-hero-desc a:hover { color: #ffffff; }

/* ── Body Content ─────────────────────────────────────────── */
.art-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #ffffff;
  margin: 48px 0 14px 0;
  padding-top: 0;
}

.art-body h2:first-child { margin-top: 0; }

.art-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  color: #e8e0ff;
  margin: 28px 0 10px 0;
}

.art-body p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin: 0 0 18px 0;
}

.art-body a {
  color: #c4b0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.art-body a:hover { color: #ffffff; }

.art-body ul,
.art-body ol {
  padding-left: 22px;
  margin: 0 0 18px 0;
}

.art-body li {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}

/* ── Steps ────────────────────────────────────────────────── */
.art-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.art-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}

.art-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(123,77,255,0.2);
  border: 1px solid rgba(123,77,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #c4b0ff;
  flex-shrink: 0;
  margin-top: 2px;
}

.art-step-body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #e8e0ff;
  margin: 0 0 6px 0;
}

.art-step-body p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ── Note / Warning Box ───────────────────────────────────── */
.art-note {
  background: rgba(123,77,255,0.08);
  border: 1px solid rgba(123,77,255,0.25);
  border-left: 3px solid #7b4dff;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
}

.art-note--warning {
  background: rgba(255,180,50,0.06);
  border-color: rgba(255,180,50,0.25);
  border-left-color: #ffd580;
}

.art-note--info {
  background: rgba(0,180,255,0.06);
  border-color: rgba(0,180,255,0.2);
  border-left-color: #7dd8ff;
}

.art-note-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b0ff;
  margin-bottom: 6px;
}

.art-note--warning .art-note-label { color: #ffd580; }
.art-note--info .art-note-label    { color: #7dd8ff; }

.art-note p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* ── Tables ───────────────────────────────────────────────── */
.art-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid rgba(123,77,255,0.2);
}

.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.art-table thead tr {
  background: rgba(123,77,255,0.15);
}

.art-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b0ff;
  white-space: nowrap;
}

.art-table td {
  padding: 11px 16px;
  color: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(123,77,255,0.1);
  line-height: 1.5;
}

.art-table tbody tr:hover td {
  background: rgba(123,77,255,0.05);
}

/* ── Sidebar ──────────────────────────────────────────────── */
.art-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── CTA Box ──────────────────────────────────────────────── */
.art-cta-box {
  background: rgba(123,77,255,0.1);
  border: 1px solid rgba(123,77,255,0.3);
  border-radius: 16px;
  padding: 24px;
}

.art-cta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b0ff;
  margin-bottom: 10px;
}

.art-cta-box h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.art-cta-box p {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 0 0 16px 0;
}

.art-cta-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(135deg, #7b4dff, #9b7bff);
  border: none;
  border-radius: 10px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.art-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.art-cta-btn + .art-cta-btn {
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(123,77,255,0.4);
  color: #c4b0ff;
}

/* ── Sidebar TOC ──────────────────────────────────────────── */
.art-toc {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(123,77,255,0.15);
  border-radius: 16px;
  padding: 20px;
}

.art-toc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b0ff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(123,77,255,0.15);
}

.art-toc-link {
  display: block;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(196,176,255,0.6);
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}

.art-toc-link:hover {
  background: rgba(123,77,255,0.08);
  color: #c4b0ff;
}

/* ── Shop Compounds Section ───────────────────────────────── */
.art-shop {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(123,77,255,0.15);
}

.art-shop-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b0ff;
  margin-bottom: 10px;
}

.art-shop h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.art-shop > p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 24px 0;
}

.art-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.art-shop-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(123,77,255,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.art-shop-chip:hover {
  background: rgba(123,77,255,0.1);
  border-color: rgba(123,77,255,0.4);
  transform: translateY(-2px);
}

.art-shop-chip svg {
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.art-shop-chip:hover svg { opacity: 1; }

/* ── Related Research Section ─────────────────────────────── */
.art-related {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(123,77,255,0.15);
}

.art-related-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b0ff;
  margin-bottom: 10px;
}

.art-related h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.art-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(123,77,255,0.18);
  border-radius: 10px;
  padding: 13px 16px;
  text-decoration: none;
  color: rgba(196,176,255,0.85);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.art-related-link:hover {
  background: rgba(123,77,255,0.08);
  border-color: rgba(123,77,255,0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.art-related-link svg {
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.art-related-link:hover svg { opacity: 0.9; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .art-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .art-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
    order: -1;
  }
  .art-toc { display: none; }
}

@media (max-width: 768px) {
  .art-sidebar {
    grid-template-columns: 1fr;
  }
  .art-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .art-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .art-shop-grid,
  .art-related-grid {
    grid-template-columns: 1fr;
  }
  .art-step {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }
  .art-step-num {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
