/* ============================================================
   CATALUNYAAR — "The Driving License Series" | Post #5 (FINAL)
   Fines, Road Rules & Mistakes Indian Drivers Actually Make
   Theme: Charcoal asphalt #1e293b with signal amber #f59e0b, gold finale accents
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-d5-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-d5-post {
  font-family: 'Space Grotesk', sans-serif;
  color: #1a1a2e;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 60px;
  line-height: 1.7;
}

/* ── SERIES NAV ── */
.cyr-series-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f8;
  flex-wrap: wrap;
  gap: 10px;
}
.cyr-series-prev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
}
.cyr-series-prev:hover { color: #1e293b; }
.cyr-series-prev .ti { font-size: 15px; }
.cyr-series-current {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f59e0b;
}

/* ── HERO ── */
.cyr-d5-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #1e293b 0%, #334155 55%, #1e293b 100%);
  border-radius: 20px;
  padding: 52px 48px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}
.cyr-d5-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,158,11,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-d5-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 14px;
}
.cyr-d5-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-d5-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.cyr-lang-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.15);
}
.cyr-lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.cyr-lang-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.cyr-lang-btn.active { background: #f59e0b; color: #1e293b; font-weight: 700; }

/* ── HERO STAT ── */
.cyr-d5-hero-stat {
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 14px;
  padding: 20px 22px;
  text-align: center;
  min-width: 170px;
}
.cyr-hs-label { font-size: 11px; color: rgba(255,255,255,0.65); margin-bottom: 8px; line-height: 1.4; }
.cyr-hs-num { font-family: 'Anton', sans-serif; font-size: 40px; color: #f59e0b; letter-spacing: 0.02em; margin-bottom: 6px; }
.cyr-hs-sub { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ── SERIES COMPLETE BANNER ── */
.cyr-series-complete {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(90deg, #D4AF37 0%, #f0c040 100%);
  border-radius: 14px;
  padding: 16px 24px;
  margin-bottom: 36px;
}
.cyr-sc-icon .ti { font-size: 28px; color: #1e293b; }
.cyr-sc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1e293b; margin-bottom: 2px; }
.cyr-sc-text { font-size: 14px; color: #1e293b; line-height: 1.5; }

/* ── OPENER ── */
.cyr-d5-opener {
  background: #f8fafc;
  border-left: 4px solid #1e293b;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-d5-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 14px;
}
.cyr-d5-opener p:last-child { margin-bottom: 0; }

/* ── SECTIONS ── */
.cyr-d5-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-d5-section:last-of-type { border-bottom: none; }
.cyr-d5-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.cyr-d5-sec-num {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: rgba(30,41,59,0.1);
  min-width: 60px;
  letter-spacing: 0.02em;
}
.cyr-d5-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.35;
}
.cyr-d5-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 4px 12px;
}
.cyr-d5-sec-tag .ti { font-size: 14px; }
.cyr-d5-body p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 18px; }

/* ── ROW ITEMS ── */
.cyr-row-items { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-row-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-row-item:last-child { border-bottom: none; }
.cyr-row-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: #f8fafc;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cyr-row-icon .ti { color: #1e293b; font-size: 21px; }
.cyr-row-item strong { display: block; font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.cyr-row-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── FINE ITEMS ── */
.cyr-fine-items { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.cyr-fine-item {
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  padding: 20px 22px;
  background: #fff;
  position: relative;
}
.cyr-fine-name { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 6px; padding-right: 70px; }
.cyr-fine-amount {
  position: absolute;
  top: 20px; right: 22px;
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: #ea580c;
}
.cyr-fine-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── MISTAKE LIST ── */
.cyr-mistake-list { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-ml-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-ml-item:last-child { border-bottom: none; }
.cyr-ml-num {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: #f59e0b;
  min-width: 34px;
  line-height: 1.2;
  flex-shrink: 0;
  padding-top: 2px;
}
.cyr-ml-item strong { display: block; font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.cyr-ml-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── CALLOUTS ── */
.cyr-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
}
.cyr-callout .ti { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.cyr-callout strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cyr-callout p { font-size: 14px; line-height: 1.65; margin: 0; }
.cyr-callout-info { background: #eff6ff; border: 1.5px solid #bfdbfe; }
.cyr-callout-info .ti, .cyr-callout-info strong { color: #1d4ed8; }
.cyr-callout-info p { color: #1e3a8a; }

/* ── SERIES SUMMARY ── */
.cyr-series-summary {
  background: #1e293b;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 44px;
}
.cyr-ss-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 20px;
}
.cyr-ss-posts { display: flex; flex-direction: column; gap: 4px; }
.cyr-ss-post {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: background 0.15s;
}
.cyr-ss-post:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); }
.cyr-ss-post-current { background: rgba(245,158,11,0.18); color: #f59e0b; font-weight: 600; }
.cyr-ss-num {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.25);
  min-width: 28px;
  letter-spacing: 0.04em;
}
.cyr-ss-post-current .cyr-ss-num { color: #f59e0b; }

/* ── CTA ── */
.cyr-cta-block { background: #f8fafc; border: 2px solid #e2e8f0; border-top: 4px solid #f59e0b; border-radius: 20px; padding: 44px; text-align: center; margin-bottom: 44px; }
.cyr-cta-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #f59e0b; margin-bottom: 10px; }
.cyr-cta-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: #1e293b; margin-bottom: 12px; line-height: 1.35; }
.cyr-cta-body { font-size: 15px; color: #4b5563; max-width: 480px; margin: 0 auto 24px; line-height: 1.65; }
.cyr-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cyr-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; padding: 13px 26px; border-radius: 999px; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.cyr-btn-primary:hover { background: #1db954; transform: translateY(-1px); color: #fff; }
.cyr-btn-secondary { display: inline-flex; background: #fff; color: #1a1a2e; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 2px solid #e2e8f0; transition: border-color 0.2s, transform 0.15s; }
.cyr-btn-secondary:hover { border-color: #1a1a2e; transform: translateY(-1px); color: #1a1a2e; }

/* ── SOCIAL FOOTER ── */
.cyr-social-footer { text-align: center; padding: 36px 0 0; border-top: 1.5px solid #f0f0f8; }
.cyr-social-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9ca3af; margin-bottom: 18px; }
.cyr-social-icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.cyr-social-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; text-decoration: none; color: #fff; transition: transform 0.15s, opacity 0.15s; }
.cyr-social-icon:hover { transform: translateY(-2px); opacity: 0.9; }
.cyr-social-wa { background: #25D366; }
.cyr-social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.cyr-social-yt { background: #FF0000; }
.cyr-social-fb { background: #1877F2; }
.cyr-social-tt { background: #000; }
.cyr-brand-tagline { font-size: 13px; color: #9ca3af; font-style: italic; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .cyr-d5-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-d5-title { font-size: 32px; }
  .cyr-d5-sec-num { font-size: 36px; min-width: 44px; }
  .cyr-d5-sec-title { font-size: 17px; }
  .cyr-fine-name { padding-right: 0; }
  .cyr-fine-amount { position: static; display: inline-block; margin-bottom: 8px; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-d5-opener { padding: 20px; }
  .cyr-series-summary { padding: 24px 20px; }
}