/* Page-specific styles for The Technology Changes. The Principles Rarely Do. */

/* ===== HERO THEME ===== */
.article-hero { background: #fefce8; }
.article-tag-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.article-hero-sub { color: #444; }
.article-meta-read { color: var(--brand-green-dark); }
.article-cta { background: #fefce8; border: 2px solid #4a5a2a; }
.article-cta p { color: #444; }
.article-cta a.secondary { color: var(--brand-green-dark); border: 2px solid #4a5a2a; }

/* ===== H3 OVERRIDE ===== */
.article-body h3 {
  font-size: 19px;
  font-weight: 900;
  color: #14170d;
  text-transform: none;
  letter-spacing: 0;
  margin: 40px 0 10px;
}

/* ===== CC COMPOUND ===== */
.cc-compound {
  background: #eef5e8;
  border-left: 4px solid #6a7a3a;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.cc-compound-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6a7a3a;
  margin-bottom: 8px;
}
.cc-compound-body {
  font-size: 15px;
  color: #1e2415;
  line-height: 1.7;
}

/* ===== PRINCIPLE EXAMPLES ===== */
.principle-examples {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.principle-examples.is-visible { opacity: 1; transform: translateY(0); }
.principle-card {
  border: 1px solid #dde2c8;
  border-radius: 12px;
  padding: 20px 22px;
  background: #ffffff;
}
.principle-name { font-size: 16px; font-weight: 900; color: #1e2415; margin-bottom: 10px; }
.principle-then {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin-bottom: 10px;
}
.principle-now {
  font-size: 13px;
  font-weight: 700;
  color: #4a5a2a;
  background: #eef5e8;
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  border-left: 3px solid #6a7a3a;
  line-height: 1.55;
}

/* ===== PRINCIPLE TEST (numbered steps) ===== */
.principle-test {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 2px solid #d8dcc0;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.principle-test.is-visible { opacity: 1; transform: translateY(0); }
.test-step {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid #e4e8d4;
}
.test-step:last-child { border-bottom: none; }
.test-step:nth-child(odd)  { background: #eef5e8; }
.test-step:nth-child(even) { background: #fff; }
.test-num {
  flex-shrink: 0;
  width: 32px;
  font-size: 13px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #6a7a3a;
  padding-top: 2px;
}
.test-title { font-size: 15.5px; font-weight: 900; color: #1a1a1a; margin-bottom: 6px; }
.test-desc { font-size: 13.5px; color: #555; line-height: 1.65; }

/* Heading/CTA text darkened to read on the pale hero/CTA background (was inheriting white from blog.css) */
.article-hero h1 { color: #1a1a1a; }
.article-hero h1 em { color: var(--brand-green-dark); }
.article-cta h3 { color: #1a1a1a; }
