/* ================================================================
   AISJEED - ARTICLE / BLOG POST STYLES
   Used by all article-*.html pages
   ================================================================ */

/* -- HERO --------------------------------------------------------- */
.art-hero {
  background: linear-gradient(135deg, #000d26 0%, #001e5c 55%, #000d26 100%);
  padding: 140px 6% 80px;
  position: relative;
  overflow: hidden;
}
.art-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255,153,0,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.art-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.art-hero-inner { max-width: 980px; position: relative; z-index: 2; }

.art-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(179,209,255,0.65);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 28px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.art-back:hover { color: var(--accent); }

.art-tag {
  display: inline-block;
  background: rgba(255,153,0,0.12);
  border: 1px solid rgba(255,153,0,0.28);
  color: #FF9900;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.art-tag.ai { background: rgba(0,184,255,0.1); border-color: rgba(0,184,255,0.25); color: #00b8ff; }
.art-tag.cloud { background: rgba(0,200,100,0.1); border-color: rgba(0,200,100,0.25); color: #00c864; }
.art-tag.data { background: rgba(200,80,0,0.1); border-color: rgba(200,80,0,0.25); color: #ff7733; }
.art-tag.digital { background: rgba(140,0,200,0.1); border-color: rgba(140,0,200,0.25); color: #cc44ff; }
.art-tag.software { background: rgba(0,160,180,0.1); border-color: rgba(0,160,180,0.25); color: #00c8e0; }
.art-tag.process { background: rgba(180,160,0,0.1); border-color: rgba(180,160,0,0.25); color: #ddcc00; }

.art-hero h1 {
  font-family: var(--font-head);
  /* Syne is a wide face and article titles run long, so this caps
     lower than the marketing headings to keep them to 3-4 lines. */
  font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.art-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(179,209,255,0.65);
  font-size: 0.84rem;
  align-items: center;
}
.art-meta span { display: flex; align-items: center; gap: 6px; }
.art-meta i { color: var(--accent); }

/* -- LAYOUT ------------------------------------------------------- */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 6% 80px;
  align-items: start;
}

/* -- ARTICLE BODY ------------------------------------------------- */
.art-body {
  font-size: 1.03rem;
  line-height: 1.88;
  color: rgba(215,235,255,0.86);
  min-width: 0;
}
.art-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 700;
  color: #fff;
  margin: 52px 0 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,153,0,0.12);
  scroll-margin-top: 90px;
}
.art-body h2:first-of-type { margin-top: 0; }
.art-body h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: rgba(226,240,255,0.95);
  margin: 30px 0 12px;
}
.art-body p { margin: 0 0 20px; }
.art-body ul, .art-body ol { padding-left: 26px; margin: 0 0 20px; }
.art-body li { margin-bottom: 9px; }
.art-body strong { color: rgba(226,240,255,0.95); font-weight: 700; }
.art-body a { color: var(--accent); text-decoration: underline; transition: opacity 0.2s; }
.art-body a:hover { opacity: 0.8; }
.art-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* callout: orange left-border highlight */
.art-callout {
  background: linear-gradient(135deg, rgba(255,153,0,0.07), rgba(255,153,0,0.03));
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.art-callout strong {
  display: block;
  color: var(--accent);
  margin-bottom: 7px;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.art-callout p { margin: 0; color: rgba(215,235,255,0.9); }

/* tip: blue info box */
.art-tip {
  background: rgba(0,102,255,0.06);
  border: 1px solid rgba(0,102,255,0.18);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.art-tip-icon { color: #4d94ff; font-size: 1.15rem; flex-shrink: 0; margin-top: 3px; }
.art-tip p { margin: 0; font-size: 0.92rem; }

/* warning: red/amber box */
.art-warn {
  background: rgba(255,80,60,0.06);
  border: 1px solid rgba(255,80,60,0.2);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.art-warn-icon { color: #ff6644; font-size: 1.15rem; flex-shrink: 0; margin-top: 3px; }
.art-warn p { margin: 0; font-size: 0.92rem; }

/* styled blockquote */
.art-quote {
  border-left: 3px solid rgba(255,153,0,0.35);
  padding: 14px 24px;
  margin: 32px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(215,235,255,0.78);
  line-height: 1.7;
}

/* numbered checklist */
.art-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.art-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.96rem;
}
.art-checklist li::before {
  content: '';
  width: 20px; height: 20px;
  background: rgba(255,153,0,0.12);
  border: 1px solid rgba(255,153,0,0.3);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23FF9900' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

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

.art-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.art-toc-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(179,209,255,0.55);
  margin-bottom: 18px;
}
.art-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.art-toc li {
  counter-increment: toc;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
}
.art-toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}
.art-toc a {
  color: rgba(179,209,255,0.7);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.45;
  transition: color 0.2s;
}
.art-toc a:hover { color: var(--accent); }

.art-share {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 24px;
}
.art-share-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(179,209,255,0.55);
  margin-bottom: 14px;
}
.art-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.art-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: rgba(179,209,255,0.65);
  text-decoration: none;
  font-size: 0.79rem;
  transition: all 0.2s;
}
.art-share-btn:hover {
  border-color: rgba(255,153,0,0.3);
  color: var(--accent);
  background: rgba(255,153,0,0.06);
}

.art-cta-card {
  background: linear-gradient(135deg, rgba(0,40,100,0.8), rgba(0,60,130,0.6));
  border: 1px solid rgba(0,102,255,0.25);
  border-radius: 18px;
  padding: 24px;
}
.art-cta-card p {
  color: rgba(179,209,255,0.8);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.art-cta-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #0a0f1e;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.83rem;
  transition: background 0.2s;
  width: 100%;
  justify-content: center;
}
.art-cta-card a:hover { background: #ffb84d; }

/* -- RELATED ARTICLES --------------------------------------------- */
.art-related {
  padding: 64px 6%;
  background: var(--surface);
}
.art-related-inner { max-width: 1100px; margin: 0 auto; }
.art-related h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 32px;
  text-align: center;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.art-related-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.28s;
}
.art-related-card:hover { border-color: rgba(255,153,0,0.28); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.art-related-tag { font-size: 0.67rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.art-related-card h4 { font-family: var(--font-head); font-size: 1rem; color: #fff; line-height: 1.4; margin: 0; }
.art-related-card span { font-size: 0.79rem; color: rgba(179,209,255,0.5); }

/* -- RESPONSIVE --------------------------------------------------- */
@media (max-width: 1000px) {
  .art-layout { grid-template-columns: 1fr; gap: 40px; }
  .art-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .art-toc, .art-share, .art-cta-card { flex: 1; min-width: 260px; }
}
@media (max-width: 600px) {
  .art-hero { padding: 120px 5% 56px; }
  .art-layout { padding: 40px 5% 56px; }
  .art-body h2 { font-size: 1.25rem; }
  .art-related { padding: 48px 5%; }
  .art-sidebar { flex-direction: column; }
}
