
/* ============================================
   CONDUCTATLAS — INTELLIGENCE COMPONENTS
   Reusable across all blog posts
   ============================================ */

/* --- At a Glance / Key Points --- */
.intel-summary {
  background: #f8f9fb;
  border: 1px solid #e2e5ea;
  border-left: 4px solid #1a2b4a;
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0 2.5rem;
}
.intel-summary h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a2b4a;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.intel-summary h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #1a2b4a;
  border-radius: 2px;
}
.intel-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.intel-summary li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.55;
}
.intel-summary li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #94a3b8;
  font-weight: 600;
}

/* --- What Changed Diff --- */
.change-diff {
  margin: 2.5rem 0;
  border: 1px solid #e2e5ea;
  border-radius: 6px;
  overflow: hidden;
}
.change-diff-header {
  background: #1a2b4a;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.change-diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .change-diff-row { grid-template-columns: 1fr; }
}
.change-diff-before,
.change-diff-after {
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}
.change-diff-before {
  background: #fef2f2;
  border-right: 1px solid #e2e5ea;
}
.change-diff-before .diff-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #991b1b;
  margin-bottom: 0.5rem;
}
.change-diff-after {
  background: #f0fdf4;
}
.change-diff-after .diff-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #166534;
  margin-bottom: 0.5rem;
}
.change-diff-footer {
  background: #f8f9fb;
  border-top: 1px solid #e2e5ea;
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
}

/* --- Key Clause Language Box --- */
.clause-box {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 4px solid #d97706;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.clause-box .clause-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #92400e;
  margin-bottom: 0.5rem;
}
.clause-box blockquote {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-style: italic;
  color: #78350f;
  line-height: 1.6;
  border: none;
}

/* --- Severity Provisions Feed --- */
.severity-feed {
  margin: 2.5rem 0;
}
.severity-feed-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a2b4a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1a2b4a;
}
.severity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e5ea;
  align-items: flex-start;
}
.severity-item:last-child {
  border-bottom: none;
}
.severity-badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-top: 0.15rem;
}
.severity-badge.high {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.severity-badge.medium {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.severity-badge.low {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
}
.severity-content h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}
.severity-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}
.severity-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Archive Metadata --- */
.archive-meta {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
}
.archive-meta-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.archive-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}
@media (max-width: 640px) {
  .archive-meta-grid { grid-template-columns: 1fr; }
}
.archive-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.archive-meta-row:last-child {
  border-bottom: none;
}
.archive-meta-key {
  font-size: 0.8rem;
  color: #64748b;
}
.archive-meta-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}

/* --- Inaction Warning --- */
.inaction-box {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid #dc2626;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.inaction-box h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #991b1b;
  margin: 0 0 0.75rem;
}
.inaction-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.inaction-box li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.92rem;
  color: #7f1d1d;
  line-height: 1.5;
}
.inaction-box li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}

/* --- Monitor CTA Block --- */
.monitor-cta {
  background: #1a2940;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  color: #fff;
  text-align: center;
}
.monitor-cta h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.monitor-cta-tracks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.monitor-cta-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
}
.monitor-cta a.cta-btn {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
}
.monitor-cta a.cta-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.monitor-cta .cta-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.75rem;
}


/* --- ConductAtlas Assessment Box --- */
.assessment-box {
  background: #fff;
  border: 1px solid #e2e5ea;
  border-top: 3px solid #1a2b4a;
  border-radius: 0 0 6px 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.assessment-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.assessment-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.assessment-row .a-key {
  font-size: 0.8rem;
  color: #64748b;
  min-width: 120px;
}
.assessment-row .a-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}
.assessment-impacts {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e5ea;
}
.assessment-impacts .a-key {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.4rem;
}
.impact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.impact-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  color: #475569;
}

/* --- Archived Versions Badge --- */
.archive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a2b4a;
  background: #f0f9ff;
  border: 1px solid #93c5fd;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  margin: 1rem 0;
}
.archive-badge::before {
  content: "⬡";
  font-size: 0.7rem;
}

/* --- Clause Excerpt (inline) --- */
.clause-excerpt {
  background: #fffbeb;
  border-left: 3px solid #d97706;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
.clause-excerpt .ce-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400e;
  margin-bottom: 0.4rem;
}
.clause-excerpt .ce-text {
  color: #78350f;
  font-style: italic;
}
.clause-excerpt .ce-source {
  font-size: 0.72rem;
  color: #b45309;
  margin-top: 0.5rem;
  font-style: normal;
}


/* --- Archive Badge hover --- */
a.archive-badge:hover {
  background: #e0f2fe;
  border-color: #60a5fa;
  color: #1a2b4a;
}

/* --- Severity item link hover --- */
.severity-content h4 a:hover {
  color: #1a2940;
  text-decoration: underline;
}

/* --- Archive metadata link hover --- */
.archive-meta-val a:hover {
  border-bottom-style: solid;
  color: #1a2940;
}
