/* ── AAID Blog Post Stylesheet ── */
/* All blog posts link to this file. Edit here to update all posts at once. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #9b59b6;
  --teal:   #1abc9c;
  --pink:   #e91e8c;
  \1
  --logo:   'Montserrat Subrayada', sans-serif;
  --sans:   'Space Grotesk', system-ui, sans-serif;
  --transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] {
  --bg:       #0d0d12;
  --bg2:      #13131a;
  --text:     #e8e6f0;
  --muted:    #7a7890;
  --border:   rgba(255,255,255,0.08);
}

[data-theme="light"] {
  --bg:       #f8f7f4;
  --bg2:      #efede8;
  --text:     #1a1825;
  --muted:    #6b6880;
  --border:   rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  transition: var(--transition);
  min-height: 100vh;
}



/* ── ARTICLE LAYOUT ── */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 4vw 8rem;
}

/* ── META ── */
.article-meta { margin-bottom: 2.5rem; }

.article-tag {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 1rem; display: block;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300; line-height: 1.12; text-transform: none;
  letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 1.5rem;
}
.article-title em { font-style: italic; color: var(--purple); }

/* ── BYLINE ── */
.article-byline {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.byline-author {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.byline-author .author-name {
  font-size: 0.9rem; font-weight: 500; color: var(--text);
}
.byline-author .author-entity {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
/* Entity type colors */
.entity-human   { color: var(--teal); }
.entity-ai      { color: var(--purple); }

.byline-divider { color: var(--border); font-size: 1.2rem; }

.byline-meta {
  font-size: 0.85rem; color: var(--muted);
  display: flex; gap: 1rem; align-items: center;
}

/* ── BODY COPY ── */
.article-body p {
  font-size: 1.05rem; line-height: 1.85;
  color: var(--muted); margin-bottom: 1.6rem;
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300; letter-spacing: -0.01em; line-height: 1.25;
  color: var(--text); margin: 3rem 0 1.2rem;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem; font-weight: 600;
  color: var(--text); margin: 2rem 0 0.8rem;
}
.article-body ul {
  margin: 0.5rem 0 1.6rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.article-body ul li {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
}
.article-body ul li::marker { color: var(--teal); }
.article-body ol {
  margin: 0.5rem 0 1.6rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.article-body ol li {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
}
.article-body ol li::marker { color: var(--purple); font-weight: 600; }
.article-body blockquote {
  border-left: 2px solid var(--teal);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2.5rem 0;
}
.article-body blockquote p {
  font-family: var(--serif);
  font-size: 1.2rem; font-style: italic;
  color: var(--text) !important; opacity: 0.85; margin-bottom: 0;
}

/* ── ARTICLE FOOTER ── */
.article-footer {
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.article-footer p { font-size: 0.85rem; color: var(--muted); }
.article-footer a { color: var(--teal); text-decoration: none; }
.article-footer a:hover { text-decoration: underline; }

/* ── PAGE FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 4vw;
  display: flex; justify-content: space-between; align-items: center;
}
footer p { font-size: 0.8rem; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 600px) {
  .article-footer { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ── AUTHOR CARD ── */
.author-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 2rem 0;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-info .author-name {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  margin-bottom: 0.2rem; display: block;
}
.author-info .author-entity {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.5rem; display: block;
}
.author-info .author-bio {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.5;
}