/* Trailhead callout on the home page: the first thing under the header. */
.th-call { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 22px;
  margin: 0 0 28px; padding: 16px 18px 16px 20px; background: #16140F; color: #EDE8DF; border-radius: 10px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(22,20,15,.18); border: 1px solid #16140F; max-width: 60rem; transition: transform .2s ease, box-shadow .2s ease; }
.th-call:hover, .th-call:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(22,20,15,.26); }
.th-call:focus-visible { outline: 2px solid #E4572E; outline-offset: 3px; }
.th-badge { display: inline-flex; align-items: center; gap: 8px; font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: #E4572E; color: #16140F; padding: 6px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.th-dot { width: 8px; height: 8px; border-radius: 50%; background: #16140F; box-shadow: 0 0 0 0 rgba(22,20,15,.6); animation: th-pulse 1.8s infinite; }
.th-text { min-width: 0; }
.th-text b { display: block; font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; color: #EDE8DF; }
.th-text b em { color: #E4572E; }
.th-text span { display: block; margin-top: 4px; font-size: .95rem; color: #CFC8BB; }
.th-go { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: #EDE8DF; color: #16140F; padding: 12px 16px; border-radius: 6px; font-weight: 600; }
.th-call:hover .th-go { background: #E4572E; }
@keyframes th-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,20,15,.55); } 70% { box-shadow: 0 0 0 9px rgba(22,20,15,0); } 100% { box-shadow: 0 0 0 0 rgba(22,20,15,0); } }
@media (prefers-reduced-motion: reduce) { .th-dot { animation: none; } .th-call { transition: none; } }
@media (max-width: 720px) {
  .th-call { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .th-badge { justify-self: start; }
  .th-go { justify-self: start; }
}
/* Dark theme: lift the card off the dark page with a warmer panel and a signal border. */
:root[data-theme="dark"] .th-call { background: #2A241C; border-color: #E4572E; box-shadow: 0 0 0 1px rgba(228,87,46,.35), 0 12px 34px rgba(0,0,0,.45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .th-call { background: #2A241C; border-color: #E4572E; box-shadow: 0 0 0 1px rgba(228,87,46,.35), 0 12px 34px rgba(0,0,0,.45); } }
