/* ============================================================
   CATALUNYAAR — "The Driving License Series" | Post #3
   The Points System Decoded (Carnet por Puntos)
   Theme: Charcoal asphalt #1e293b with signal amber #f59e0b accent
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-d3-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-d3-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-d3-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: 36px;
  overflow: hidden;
  position: relative;
}
.cyr-d3-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-d3-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f59e0b;
  margin-bottom: 14px;
}
.cyr-d3-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4.6vw, 48px);
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-d3-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 PROGRESS ── */
.cyr-d3-hero-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 175px;
}
.cyr-hp-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cyr-hp-highlight { background: rgba(245,158,11,0.2); border-color: rgba(245,158,11,0.45); }
.cyr-hp-num { font-family: 'Anton', sans-serif; font-size: 24px; color: rgba(255,255,255,0.8); min-width: 30px; }
.cyr-hp-highlight .cyr-hp-num { color: #f59e0b; }
.cyr-hp-label { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ── OPENER ── */
.cyr-d3-opener {
  background: #f8fafc;
  border-left: 4px solid #1e293b;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-d3-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 14px;
}
.cyr-d3-opener p:last-child { margin-bottom: 0; }

/* ── SECTIONS ── */
.cyr-d3-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-d3-section:last-of-type { border-bottom: none; }
.cyr-d3-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.cyr-d3-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-d3-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.35;
}
.cyr-d3-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-d3-sec-tag .ti { font-size: 14px; }
.cyr-d3-body p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 18px; }

/* ── PROGRESS TIMELINE ── */
.cyr-progress-timeline { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-pt-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-pt-item:last-child { border-bottom: none; }
.cyr-pt-num {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: #f59e0b;
  min-width: 60px;
  line-height: 1.2;
  flex-shrink: 0;
  padding-top: 2px;
}
.cyr-pt-item strong { display: block; font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.cyr-pt-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── DEDUCTION TABLE ── */
.cyr-deduction-table {
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-dt-header {
  display: grid;
  grid-template-columns: 3fr 1fr;
  background: #1e293b;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  gap: 12px;
}
.cyr-dt-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f8;
  gap: 12px;
  align-items: center;
}
.cyr-dt-row:last-child { border-bottom: none; }
.cyr-dt-infraction { font-size: 13px; color: #374151; line-height: 1.5; }
.cyr-dt-points { font-family: 'Anton', sans-serif; font-size: 18px; text-align: right; }
.cyr-dt-severe { background: #fef2f2; } .cyr-dt-severe .cyr-dt-points { color: #991b1b; }
.cyr-dt-mid { background: #fffbeb; } .cyr-dt-mid .cyr-dt-points { color: #92400e; }

/* ── ZERO STEPS ── */
.cyr-zero-steps { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e2e8f0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-zs-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-zs-item:last-child { border-bottom: none; }
.cyr-zs-num {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  color: #f59e0b;
  min-width: 32px;
  line-height: 1.2;
  flex-shrink: 0;
  padding-top: 2px;
}
.cyr-zs-item strong { display: block; font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.cyr-zs-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── RECOVERY GRID ── */
.cyr-recovery-grid { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.cyr-rg-item {
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  padding: 22px;
  background: #fff;
}
.cyr-rg-highlight { border-color: #f59e0b; border-width: 2px; background: #fffbeb; }
.cyr-rg-title { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.cyr-rg-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; }
.cyr-callout-warning { background: #fff8f0; border: 1.5px solid #fed7aa; }
.cyr-callout-warning .ti, .cyr-callout-warning strong { color: #ea580c; }
.cyr-callout-warning p { color: #7c2d12; }

/* ── NEXT POST ── */
.cyr-next-post { background: #f8fafc; border: 1.5px solid #e2e8f0; border-left: 5px solid #f59e0b; border-radius: 16px; padding: 28px 32px; margin-bottom: 32px; }
.cyr-next-label { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: #b45309; margin-bottom: 8px; }
.cyr-next-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: #1e293b; margin-bottom: 8px; line-height: 1.4; }
.cyr-next-post p { font-size: 14px; color: #6b7280; margin-bottom: 14px; line-height: 1.6; }
.cyr-next-cta { display: inline-block; font-size: 14px; font-weight: 700; color: #1e293b; text-decoration: none; border-bottom: 2px solid #f59e0b; }
.cyr-next-cta:hover { border-color: #1e293b; }

/* ── CTA ── */
.cyr-cta-block { background: #f8fafc; border: 2px solid #e2e8f0; 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-d3-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-d3-hero-progress { flex-direction: row; flex-wrap: wrap; }
  .cyr-hp-item { flex: 1; min-width: 130px; }
  .cyr-d3-title { font-size: 28px; }
  .cyr-d3-sec-num { font-size: 36px; min-width: 44px; }
  .cyr-d3-sec-title { font-size: 17px; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-d3-opener { padding: 20px; }
}