/* ═══════════════════════════════════════════════════
   HEIRPATH — ADDITIONAL CSS
   Appearance → Customize → Additional CSS → paste here
═══════════════════════════════════════════════════ */

/* Guide disclaimer banners */
.guide-disclaimer {
  padding: 16px 20px;
  background: rgba(201,168,76,0.08);
  border-left: 3px solid #c9a84c;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #5a5a4e;
  margin-bottom: 36px;
}
.guide-disclaimer--danger {
  background: rgba(192,57,43,0.06);
  border-left-color: #c0392b;
  color: #5a2a1a;
}

/* Two-column principle cards */
.principle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .principle-grid { grid-template-columns: 1fr; }
}
.principle-card {
  padding: 22px;
  border: 1px solid rgba(26,26,46,0.1);
  background: #fefefe;
}
.principle-card h4 {
  font-size: 0.95rem !important;
  margin: 0 0 10px 0 !important;
  color: #1a1a2e;
}
.principle-card p, .principle-card {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #7a7a6e;
}
.principle-card--danger {
  background: rgba(192,57,43,0.03);
  border-color: rgba(192,57,43,0.2);
}
.principle-card--highlight {
  background: rgba(42,74,127,0.04);
  border-color: rgba(42,74,127,0.16);
}
.principle-card--warn {
  background: rgba(201,168,76,0.05);
  border-color: rgba(201,168,76,0.22);
}

/* Dark complexity box */
.complexity-box {
  padding: 22px 26px;
  background: #1a1a2e;
  margin: 28px 0;
  color: rgba(245,240,232,0.6);
  font-size: 0.85rem;
  line-height: 1.65;
}
.complexity-box strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 10px;
  font-family: monospace;
}
.complexity-box a {
  color: #c9a84c !important;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Red danger box */
.danger-box {
  padding: 20px 24px;
  background: rgba(192,57,43,0.05);
  border: 1px solid rgba(192,57,43,0.18);
  border-left: 4px solid #c0392b;
  margin: 28px 0;
}
.danger-box strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 10px;
}
.danger-box p, .danger-box {
  font-size: 0.85rem;
  color: #5a2a1a;
  line-height: 1.65;
}
.danger-box a { color: #c0392b !important; font-weight: 500; }

/* Scenario tables */
.scenario-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  margin: 24px 0;
}
.scenario-table thead th {
  background: #1a1a2e;
  color: rgba(245,240,232,0.65);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.scenario-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(26,26,46,0.08);
  vertical-align: top;
  line-height: 1.55;
  color: #3a3a4e;
}
.scenario-table tbody tr:last-child td { border-bottom: none; }
.scenario-table tbody tr:hover td { background: rgba(201,168,76,0.04); }

/* Details/accordion */
details {
  border: 1px solid rgba(26,26,46,0.1);
  margin-bottom: 8px;
  background: #fefefe;
}
details summary {
  padding: 14px 18px;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  color: #1a1a2e;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  color: #c9a84c;
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
}
details[open] summary::after { content: '−'; }
details p {
  padding: 4px 18px 18px !important;
  font-size: 0.84rem !important;
  line-height: 1.7 !important;
  color: #7a7a6e !important;
}

/* End CTA block */
.guide-end-cta {
  padding: 32px;
  background: #1a1a2e;
  margin-top: 56px;
  text-align: center;
}
.guide-end-cta a {
  display: inline-block;
  background: #c9a84c;
  color: #1a1a2e !important;
  padding: 11px 26px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  margin: 5px;
  transition: opacity 0.2s;
}
.guide-end-cta a:last-child {
  background: transparent;
  border: 1px solid rgba(245,240,232,0.25);
  color: rgba(245,240,232,0.65) !important;
}
.guide-end-cta a:hover { opacity: 0.82; }

/* Content typography tweaks */
.entry-content h2 {
  scroll-margin-top: 80px;
}
@media (max-width: 860px) {
  .jr-tier-table { display: block !important; width: 100% !important; }
  .jr-tier-table thead, .jr-tier-table tbody, .jr-tier-table tr { display: block !important; width: 100% !important; }
  .jr-tier-table td { display: block !important; width: 100% !important; box-sizing: border-box !important; border: none !important; border-bottom: 1px solid rgba(232,228,220,0.08) !important; }
}