/* ─────────────────────────────────────────────────────────────────────────
   page-components.css — Shared page component library
   Бюро «Ми — є!» · v=20260529-1

   Включає:
   1. Breadcrumbs           (.breadcrumbs, .breadcrumb-list)
   2. Post Hero             (.post-hero, .post-hero-inner, .post-eyebrow …)
   3. Timeline              (.timeline, .timeline-item, .timeline-date …)
   4. Icon Card Grid        (.icon-card-grid, .icon-card, .icon-card-icon)
   5. Risk Card             (.risk-card, .risk-number, .risk-simple)
   6. Checklist             (.checklist, .checklist-group)
   7. Change Card           (.change-card, .change-number)
   8. Source List           (.source-list)
   ───────────────────────────────────────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════════════
   1. BREADCRUMBS
   Used by: analityka/* pages
   ═══════════════════════════════════════════════════════════════ */

.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid rgba(14,30,64,.07);
  padding: 12px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '→';
  margin-left: 8px;
  opacity: .45;
}

.breadcrumb-list a {
  color: var(--text-light);
  text-decoration: none;
}

.breadcrumb-list a:hover { color: var(--gold); }
.breadcrumb-list li:last-child { color: var(--navy); font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════
   2. POST HERO
   Used by: analityka/* report/analysis pages
   Per-page overrides (max-width on .post-hero-inner, etc.) remain
   in page-level <style> if needed.
   ═══════════════════════════════════════════════════════════════ */

.post-hero {
  background: linear-gradient(135deg, #0e1e40 0%, #0a1733 100%);
  padding: 72px 0 56px;
  color: #fff;
}

.post-hero-inner { max-width: 860px; }

.post-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.post-cluster-tag {
  background: rgba(215,164,10,.25);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.post-date { font-size: 13px; color: rgba(255,255,255,.5); }

.post-hero-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-hero-subtitle {
  font-size: 19px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.4;
}

.post-hero-excerpt {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.75);
  max-width: 760px;
}

.post-author { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }


/* ═══════════════════════════════════════════════════════════════
   3. TIMELINE
   Used by: materialy/zakonoproekt-15150-lgbtik-prostymy-slovamy/
   ═══════════════════════════════════════════════════════════════ */

.timeline {
  position: relative;
  max-width: 860px;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(215,164,10,.36);
}

.timeline-item {
  position: relative;
  margin-bottom: 26px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-date {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-event {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 4px;
}

.timeline-note {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.timeline-item--current::before {
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
}

.timeline-item--current .timeline-date {
  color: var(--navy);
}


/* ═══════════════════════════════════════════════════════════════
   4. ICON CARD GRID
   Used by: materialy explainer pages
   ═══════════════════════════════════════════════════════════════ */

.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.icon-card {
  background: #fff;
  border: 1px solid rgba(14,30,64,.08);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(14,30,64,.06);
}

.icon-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(215,164,10,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}

.icon-card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.4;
  margin-bottom: 8px;
}

.icon-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 860px) {
  .icon-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .icon-card-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════
   5. RISK CARD
   Used by: materialy explainer pages
   ═══════════════════════════════════════════════════════════════ */

.risk-card {
  background: #fff;
  border: 1px solid rgba(14,30,64,.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(14,30,64,.05);
}

.risk-number {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.risk-card h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  margin-bottom: 10px;
}

.risk-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.risk-card p:last-child { margin-bottom: 0; }

.risk-simple {
  background: rgba(14,30,64,.04);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-light);
}

.risk-simple strong { color: var(--navy); }


/* ═══════════════════════════════════════════════════════════════
   6. CHECKLIST
   Used by: materialy explainer pages
   ═══════════════════════════════════════════════════════════════ */

.checklist-group {
  margin-bottom: 30px;
}

.checklist-group h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.checklist li::before {
  content: "→";
  color: var(--gold);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ═══════════════════════════════════════════════════════════════
   7. CHANGE CARD
   Used by: materialy explainer pages
   ═══════════════════════════════════════════════════════════════ */

.change-card {
  background: #fff;
  border: 1px solid rgba(14,30,64,.08);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(14,30,64,.06);
}

.change-number {
  color: var(--gold);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.change-card h3 {
  color: var(--navy);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
  margin-bottom: 10px;
}

.change-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.72;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   8. SOURCE LIST
   Used by: materialy explainer pages
   ═══════════════════════════════════════════════════════════════ */

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.source-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.source-list li::before {
  content: "◆";
  color: var(--gold);
  font-size: 9px;
  margin-top: 6px;
}

.source-list a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-list a:hover { color: var(--gold); }
