/* ═══════════════════════════════════════
   1Cryptor Blog — Shared Stylesheet
   ═══════════════════════════════════════ */

/* ── Blog Hero ─────────────────────────────── */
.blog-hero {
  background: var(--green);
  padding: 8rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.bh-inner { max-width: 760px; position: relative; z-index: 1; }
.bh-breadcrumb {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6);
  text-decoration: none; margin-bottom: 1.2rem;
  transition: color 0.2s;
}
.bh-breadcrumb:hover { color: #fff; }
.bh-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.bh-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.65rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: 6px; letter-spacing: 0.6px; text-transform: uppercase;
}
.bh-tag.world    { background: rgba(185,28,28,0.85);  color: #fecaca; border: 1px solid rgba(254,202,202,0.4); }
.bh-tag.security { background: rgba(0,98,46,0.6);     color: #86efac; border: 1px solid rgba(134,239,172,0.3); }
.bh-tag.privacy  { background: rgba(161,98,10,0.5);   color: #fde68a; border: 1px solid rgba(253,230,138,0.3); }
.bh-tag.analysis { background: rgba(109,40,217,0.5);  color: #ddd6fe; border: 1px solid rgba(221,214,254,0.3); }
.blog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.1;
  color: #fff; margin-bottom: 1.2rem;
}
.bh-meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.bh-meta-item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.6); font-family: var(--mono);
}

/* ── Alert Bar ────────────────────────────── */
.alert-bar {
  background: #fff5f5;
  border-bottom: 1.5px solid #fecaca;
  border-top: 3px solid #b91c1c;
}
.alert-inner {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 0; max-width: 900px;
}
.alert-ico {
  flex-shrink: 0; width: 36px; height: 36px;
  background: #fee2e2; border-radius: 8px;
  display: grid; place-items: center; color: #b91c1c;
}
.alert-ico svg { width: 18px; height: 18px; }
.alert-label {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; color: #b91c1c; margin-bottom: 0.3rem;
}
.alert-text { font-size: 0.875rem; color: #7f1d1d; line-height: 1.65; }

/* ── Blog Body ────────────────────────────── */
.blog-body { padding: 4rem 0 6rem; background: var(--bg); }
.blog-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 3rem; align-items: start;
}
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }

/* ── Article ───────────────────────────────── */
.blog-article { min-width: 0; }
.blog-article h2 {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); margin: 2.5rem 0 1rem; line-height: 1.25;
}
.blog-article h2:first-child { margin-top: 0; }
.blog-article p { font-size: 1rem; color: var(--text2); line-height: 1.8; margin-bottom: 1.4rem; }
.blog-article strong { color: var(--text); font-weight: 700; }

/* ── Stats ─────────────────────────────────── */
.stat-row {
  display: flex; gap: 0; border: 1.5px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; margin: 2rem 0;
}
.stat-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 1.4rem 1rem; background: var(--surface);
  border-right: 1px solid var(--border); gap: 0.3rem;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--mono); font-size: 1.8rem; font-weight: 900;
  color: var(--green); letter-spacing: -0.04em; line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text3); text-align: center; line-height: 1.4; }
@media (max-width: 600px) {
  .stat-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* ── Sources ──────────────────────────────── */
.sources-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem; margin: 2rem 0;
}
.source-card {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 0.9rem 1rem;
}
.source-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  flex-shrink: 0; margin-top: 0.25rem;
}
.source-pub  { font-size: 0.7rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.15rem; }
.source-title { font-size: 0.8rem; color: var(--text); font-weight: 600; line-height: 1.4; margin-bottom: 0.2rem; }
.source-date  { font-size: 0.7rem; color: var(--text3); font-family: var(--mono); }

/* ── Pull Quote ───────────────────────────── */
.pullquote {
  margin: 2rem 0; padding: 1.4rem 1.8rem 1.4rem 2rem;
  border-left: 4px solid var(--green);
  background: var(--green-xlt);
  border-radius: 0 var(--r) var(--r) 0;
}
.pullquote p   { font-size: 1.1rem; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 0.6rem; }
.pullquote cite { font-size: 0.8rem; color: var(--text3); font-style: normal; }

/* ── Warn Box ─────────────────────────────── */
.warn-box {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: #fff5f5; border: 1.5px solid #fecaca;
  border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.8rem 0;
}
.warn-box svg { width: 20px; height: 20px; flex-shrink: 0; color: #b91c1c; margin-top: 0.1rem; }
.warn-box-text { font-size: 0.9rem; color: #7f1d1d; line-height: 1.65; }
.warn-box-text strong { color: #b91c1c; }

/* ── Why 1Cryptor ─────────────────────────── */
.why-1cryptor {
  background: var(--green);
  border-radius: var(--r-xl); margin: 2.5rem 0; overflow: hidden;
  position: relative;
}
.why-1cryptor::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px; pointer-events: none;
}
.w1c-inner { padding: 2.4rem; position: relative; z-index: 1; }
.w1c-eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: #86efac; margin-bottom: 0.5rem;
}
.why-1cryptor h2 {
  font-size: 1.6rem; font-weight: 900; letter-spacing: -0.04em;
  color: #fff; margin-bottom: 0.75rem; line-height: 1.2;
}
.w1c-inner > p { font-size: 0.975rem; color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 1.6rem; }

/* ── Crypto Specs ─────────────────────────── */
.crypto-specs {
  display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r); overflow: hidden; margin-bottom: 1.6rem;
}
.cs-item {
  flex: 1; display: flex; flex-direction: column; padding: 0.9rem 0.75rem;
  background: rgba(255,255,255,0.06); border-right: 1px solid rgba(255,255,255,0.1); gap: 0.2rem;
}
.cs-item:last-child { border-right: none; }
.cs-label { font-size: 0.62rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.6px; }
.cs-val   { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: #86efac; }
@media (max-width: 640px) {
  .crypto-specs { flex-wrap: wrap; }
  .cs-item { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ── W1C Features ──────────────────────────── */
.w1c-features  { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.8rem; }
.w1c-feat      { display: flex; align-items: center; gap: 0.6rem; }
.w1c-feat svg  { width: 16px; height: 16px; color: #86efac; flex-shrink: 0; }
.w1c-feat-text { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.w1c-cta-row   { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.w1c-note      { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── Download Button ────────────────────────── */
.btn-download {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--green); font-family: var(--sans);
  font-size: 0.9rem; font-weight: 800; padding: 0.75rem 1.5rem;
  border-radius: 10px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-download:hover { background: #f0fdf4; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.22); }

/* ── Sidebar ─────────────────────────────────── */
.blog-sidebar {
  display: flex; flex-direction: column; gap: 1.5rem;
  position: sticky; top: 90px;
}
.sidebar-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 1.4rem;
}
.sidebar-card h4 {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text3); margin-bottom: 1rem;
}
.sidebar-link {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.sidebar-link:last-child { border-bottom: none; padding-bottom: 0; }
.sl-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 0.4rem; }
.sl-text { font-size: 0.83rem; color: var(--text2); line-height: 1.5; transition: color 0.2s; }
.sidebar-link:hover .sl-text { color: var(--green); }
.sidebar-cta {
  background: var(--green); border-radius: var(--r-xl); padding: 1.4rem;
}
.sidebar-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.65; margin-bottom: 1rem; }
.sidebar-cta .btn-download { width: 100%; justify-content: center; }

/* ── Related Section ────────────────────────── */
.related-section { background: var(--surface); border-top: 1.5px solid var(--border); padding: 4rem 0; }
.section-label {
  display: inline-block; font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--green); margin-bottom: 1.6rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 1.4rem 1.6rem; text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,98,46,0.1); border-color: rgba(0,98,46,0.25); }
.rc-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.62rem; font-weight: 700;
  padding: 0.2rem 0.55rem; border-radius: 5px; letter-spacing: 0.5px; text-transform: uppercase;
  background: var(--green-xlt); color: var(--green); border: 1px solid rgba(0,98,46,0.18); margin-bottom: 0.7rem;
}
.related-card h4 {
  font-size: 0.95rem; font-weight: 800; color: var(--text); line-height: 1.4;
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.related-card p { font-size: 0.83rem; color: var(--text2); line-height: 1.65; }
