/* /transmissions/post_shared.css */
/* Shared styling for ALL transmission posts so you never copy inline CSS again */

:root{
  /* fallback in case transmissions.css is not loaded for some reason */
  --accent: #E3B341;
}

/* ---------- NAV parity with transmissions/index.html ---------- */

.nav-paper{
  border-bottom: 1px solid rgba(0,0,0,0.10);
  background: rgba(246,241,228,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner{
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: rgba(11,12,15,0.92);
}

.brand-dot{
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
}

.nav-links{
  display: none;
  align-items: center;
  gap: 32px;
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgba(11,12,15,0.72);
}

@media (min-width: 768px){
  .nav-links{ display: flex; }
}

.nav-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: color 160ms ease;
}

.nav-link:hover{ color: rgba(0,0,0,0.92); }

.nav-link i{
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.18);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 600;
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: transparent;
  color: rgba(11,12,15,0.84);
  text-decoration: none;
}

.btn:hover{ background: rgba(0,0,0,0.04); }

.mobile-toggle{
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: rgba(11,12,15,0.72);
}

.mobile-menu{
  border-top: 1px solid rgba(0,0,0,0.08);
  background: rgba(246,241,228,0.94);
}

.mobile-menu a{
  text-decoration: none;
  color: rgba(11,12,15,0.72);
  font-weight: 600;
}

.mobile-menu a:hover{ color: rgba(0,0,0,0.92); }

/* ---------- Read progress bar ---------- */

.readbar-wrap{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: rgba(0,0,0,0.06);
}

.readbar{
  height: 2px;
  width: 0%;
  background: var(--accent);
  transform-origin: left center;
}

/* ---------- Post header helpers ---------- */

.live-row{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.live-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(227,179,65,0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse{
  0% { box-shadow: 0 0 0 0 rgba(227,179,65,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(227,179,65,0.0); }
  100% { box-shadow: 0 0 0 0 rgba(227,179,65,0.0); }
}

/* ---------- Body typography fixes ---------- */
/* This is the part that makes your body formatting stop looking "flat". */

.prose{
  /* transmissions.css likely defines this already, but this is a safe guard */
  color: rgba(11,12,15,0.86);
}

.prose p{
  margin: 18px 0;
}

.prose ul{
  margin: 18px 0;
  padding-left: 1.25rem;
}

.prose li{
  margin: 10px 0;
}

/* Support both <div class="h2"> and actual <h2> tags */
.prose .h2,
.prose h2{
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(11,12,15,0.96);
  letter-spacing: -0.03em;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  margin: 42px 0 14px;
}

/* The “system status” block */
.system-status{
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.55);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 26px 0;
  line-height: 1.7;
}

/* Pull quote */
.pull-quote{
  font-family: "PT Serif", Georgia, "Times New Roman", Times, serif;
  font-size: 1.6rem;
  line-height: 1.45;
  text-align: center;
  font-style: italic;
  color: rgba(11,12,15,0.92);
  margin: 42px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Media block */
.video-col{ margin-top: 18px; margin-bottom: 32px; }

.media .frame{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(11,12,15,0.03);
}

.yt{ width: 100%; aspect-ratio: 16 / 9; display: block; }

.caption{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.55);
  text-align: center;
  margin-top: 12px;
}

/* Note card */
.note-card{
  background: rgba(11,12,15,0.035);
  border: 1px solid rgba(11,12,15,0.10);
  border-radius: 14px;
  padding: 18px;
  margin: 22px 0;
}

.note-card p{ margin: 0; }

/* Reading progress bar */
.readbar-wrap{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: rgba(0,0,0,0.06);
}
.readbar{
  height: 2px;
  width: 0%;
  background: var(--accent, #E3B341);
  transform-origin: left center;
}

/* Post "summary" block (your screenshot style) */
.post-summary{
  margin: 22px 0 6px;
}
.post-summary-inner{
  display: block;
  border-left: 3px solid var(--accent, #E3B341);
  padding-left: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(11,12,15,0.55);
}

/* Optional: keep it from feeling cramped on mobile */
@media (max-width: 640px){
  .post-summary-inner{
    font-size: 12px;
    letter-spacing: 0.14em;
  }
}
