/* Shared CSS for RSA blog articles. Loaded by every post under /blog/*. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-base); color: var(--fg-2); overflow-x: hidden; min-height: 100vh; }
body { font-family: var(--font-body); line-height: 1.55; }
a { color: inherit; text-decoration: none; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(11,16,33,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline, rgba(255,255,255,0.08));
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; color: var(--fg-1, #fff);
}
.nav-brand span {
  background: var(--grad-orange, linear-gradient(135deg, #f59e0b, #ea580c));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-display); font-weight: 900;
}
.nav-back-link {
  padding: 8px 18px; border-radius: var(--r-sm, 8px);
  color: var(--orange-500, #f59e0b);
  font-weight: 800; font-size: 14px;
}
.nav-back-link:hover { background: rgba(245,158,11,0.08); }

.post-page { max-width: 740px; margin: 0 auto; padding: 120px 24px 80px; }

.post-breadcrumb {
  font-size: 13px; color: var(--fg-mute, #94a3b8);
  margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
}
.post-breadcrumb a { color: var(--orange-500, #f59e0b); }

h1 {
  font-family: var(--font-display); font-optical-sizing: auto;
  font-size: clamp(34px, 5vw, 52px); font-weight: 900;
  color: var(--fg-1, #fff);
  letter-spacing: -0.025em; line-height: 1.08;
  margin-bottom: 22px;
}

.post-lede {
  color: var(--fg-2, #cbd5e1);
  font-size: 19px; line-height: 1.55; font-weight: 500;
  margin-bottom: 28px;
}

.post-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--border-hairline, rgba(255,255,255,0.08));
  margin-bottom: 36px;
  font-size: 13px; color: var(--fg-mute, #94a3b8); font-weight: 600;
}
.post-meta strong { color: var(--fg-2, #cbd5e1); font-weight: 700; }

.post-body { color: var(--fg-2, #cbd5e1); font-size: 17px; line-height: 1.75; }
.post-body h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--fg-1, #fff);
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 48px 0 16px;
}
.post-body h3 {
  font-weight: 800; font-size: 19px;
  color: var(--fg-1, #fff);
  margin: 30px 0 12px;
}
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 22px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--fg-1, #fff); font-weight: 700; }
.post-body em { color: var(--orange-500, #f59e0b); font-style: italic; }

.pullquote {
  border-left: 3px solid var(--orange-500, #f59e0b);
  padding: 4px 0 4px 20px;
  margin: 28px 0;
  color: var(--fg-1, #fff);
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700; line-height: 1.35;
  font-style: italic;
}

.script-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--orange-500, #f59e0b);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  font-family: 'Inter', sans-serif;
  color: var(--fg-1, #fff);
  font-size: 16px; line-height: 1.6;
}
.script-box-label {
  display: block;
  font-size: 11px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange-500, #f59e0b);
  margin-bottom: 10px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.comparison-table th {
  text-align: left;
  padding: 12px 14px;
  background: rgba(245,158,11,0.08);
  border-bottom: 2px solid rgba(245,158,11,0.30);
  color: var(--fg-1, #fff);
  font-weight: 800;
}
.comparison-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--fg-2, #cbd5e1);
  vertical-align: top;
}
.comparison-table tr:last-child td { border-bottom: 0; }

.post-cta {
  margin: 64px 0 32px;
  padding: 32px 28px;
  background: linear-gradient(145deg, rgba(245,158,11,0.10), rgba(245,158,11,0.04));
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 16px;
  text-align: center;
}
.post-cta h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 24px; color: var(--fg-1, #fff);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.post-cta p {
  color: var(--fg-2, #cbd5e1);
  font-size: 15px; margin-bottom: 18px;
}
.post-cta a {
  display: inline-block;
  padding: 13px 28px;
  background: var(--grad-orange, linear-gradient(135deg, #f59e0b, #ea580c));
  color: #000; font-weight: 900; font-size: 14.5px;
  border-radius: 12px;
}

.post-related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-hairline, rgba(255,255,255,0.08));
}
.post-related-label {
  font-size: 12px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--fg-mute, #94a3b8);
  margin-bottom: 14px;
}
.post-related a {
  display: block;
  padding: 14px 0;
  color: var(--fg-1, #fff);
  font-weight: 700; font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.post-related a:hover { color: var(--orange-500, #f59e0b); }
.post-related a:last-child { border-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--border-hairline, rgba(255,255,255,0.08));
  padding: 32px 24px;
  text-align: center;
  color: var(--fg-mute, #94a3b8);
  font-size: 13px;
}
.site-footer a { color: var(--orange-500, #f59e0b); }
