/* ============================================================
   CATALUNYAAR — "The Employee Series" | Post #2
   EU Blue Card vs Work Permit — /authority mode
   Theme: Deep Teal #0d3d3a with Blue Card accent #1d4ed8
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-e2-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-e2-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;
  transition: color 0.2s;
}
.cyr-series-prev:hover { color: #0d3d3a; }
.cyr-series-prev .ti { font-size: 15px; }
.cyr-series-current {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4AF37;
}

/* ── HERO ── */
.cyr-e2-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #0d3d3a 0%, #0f4d49 60%, #0d3d3a 100%);
  border-radius: 20px;
  padding: 52px 48px;
  margin-bottom: 36px;
  overflow: hidden;
  position: relative;
}
.cyr-e2-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-e2-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 14px;
}
.cyr-e2-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  color: #ffffff;
  line-height: 1.07;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-e2-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* ── LANG TOGGLE ── */
.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: #D4AF37; color: #0d3d3a; font-weight: 700; }

/* ── HERO CARDS ── */
.cyr-e2-hero-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}
.cyr-hero-doc {
  width: 140px;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.cyr-hero-blue { background: rgba(29,78,216,0.3); border-color: rgba(96,165,250,0.5); }
.cyr-hero-work { background: rgba(255,255,255,0.07); }
.cyr-hero-doc-icon .ti { font-size: 26px; color: #D4AF37; display: block; margin-bottom: 6px; }
.cyr-hero-doc-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cyr-hero-doc-tag { font-size: 11px; color: rgba(255,255,255,0.55); }
.cyr-hero-vs {
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  color: #D4AF37;
  letter-spacing: 0.1em;
}

/* ── OPENER ── */
.cyr-e2-opener {
  background: #f0fdfa;
  border-left: 4px solid #0d3d3a;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-e2-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 14px;
}
.cyr-e2-opener p:last-child { margin-bottom: 0; }

/* ── SECTIONS ── */
.cyr-e2-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-e2-section:last-of-type { border-bottom: none; }
.cyr-e2-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.cyr-e2-sec-num {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: rgba(13,61,58,0.12);
  min-width: 64px;
  letter-spacing: 0.02em;
}
.cyr-e2-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 6px;
  line-height: 1.35;
}
.cyr-e2-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0d3d3a;
  background: #ccfbf1;
  border: 1px solid #5eead4;
  border-radius: 999px;
  padding: 4px 12px;
}
.cyr-e2-sec-tag .ti { font-size: 14px; }
.cyr-e2-body p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 18px; }
.cyr-e2-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #10143C;
  margin: 28px 0 16px;
}

/* ── CARD READ ── */
.cyr-card-read {
  background: #f8f9ff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 22px;
  margin: 20px 0;
}
.cyr-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 14px;
}
.cyr-card-fields { display: flex; flex-direction: column; gap: 12px; }
.cyr-cf-item { display: flex; flex-direction: column; gap: 4px; }
.cyr-cf-field { font-size: 12px; font-weight: 700; color: #0d3d3a; text-transform: uppercase; letter-spacing: 0.07em; }
.cyr-cf-value { font-size: 14px; color: #374151; line-height: 1.55; }

/* ── OBS GRID ── */
.cyr-obs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.cyr-obs-card {
  border-radius: 14px;
  padding: 20px;
  border: 1.5px solid #e8eaf0;
}
.cyr-obs-blue { background: #eff6ff; border-color: #bfdbfe; border-top: 4px solid #1d4ed8; }
.cyr-obs-work { background: #f0fdfa; border-color: #5eead4; border-top: 4px solid #0d3d3a; }
.cyr-obs-other { background: #f9fafb; border-color: #e5e7eb; border-top: 4px solid #9ca3af; }
.cyr-obs-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: #dbeafe;
  color: #1e40af;
}
.cyr-obs-badge-teal { background: #ccfbf1; color: #0d3d3a; }
.cyr-obs-badge-grey { background: #f3f4f6; color: #374151; }
.cyr-obs-text { font-size: 13px; font-weight: 600; color: #10143C; margin-bottom: 8px; line-height: 1.45; font-style: italic; }
.cyr-obs-card p { font-size: 13px; color: #4b5563; line-height: 1.6; margin: 0; }

/* ── CRITERIA LIST ── */
.cyr-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #dbeafe;
  border-radius: 16px;
  overflow: hidden;
  margin: 16px 0;
}
.cyr-crit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #eff6ff;
}
.cyr-crit-item:last-child { border-bottom: none; }
.cyr-crit-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: #eff6ff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cyr-crit-icon .ti { color: #1d4ed8; font-size: 20px; }
.cyr-crit-item strong { display: block; font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 5px; }
.cyr-crit-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── RIGHTS GRID ── */
.cyr-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.cyr-right-card {
  background: #fff;
  border: 1.5px solid #dbeafe;
  border-radius: 14px;
  padding: 20px;
  border-top: 3px solid #1d4ed8;
}
.cyr-right-icon { margin-bottom: 10px; }
.cyr-right-icon .ti { font-size: 22px; color: #1d4ed8; }
.cyr-right-title { font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 8px; }
.cyr-right-card p { font-size: 13px; color: #4b5563; line-height: 1.6; margin: 0; }

/* ── PERMIT FACTS ── */
.cyr-permit-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-pf-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
  gap: 16px;
  align-items: start;
}
.cyr-pf-item:last-child { border-bottom: none; }
.cyr-pf-label { font-size: 13px; font-weight: 700; color: #0d3d3a; }
.cyr-pf-value { font-size: 13px; color: #374151; line-height: 1.55; }

/* ── COMPARE TABLE ── */
.cyr-compare-table {
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-ct-header, .cyr-ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.cyr-ct-header {
  background: #0d3d3a;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid #D4AF37;
}
.cyr-ct-header div { padding: 0 4px; }
.cyr-ct-row {
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-ct-row:last-child { border-bottom: none; }
.cyr-ct-row:nth-child(even) { background: #fafafa; }
.cyr-ct-feature { padding: 12px 16px; font-size: 13px; font-weight: 600; color: #374151; border-right: 1px solid #f0f0f8; }
.cyr-ct-blue { padding: 12px 16px; font-size: 13px; color: #1e40af; background: #eff6ff; border-right: 1px solid #f0f0f8; }
.cyr-ct-work { padding: 12px 16px; font-size: 13px; color: #374151; }
.cyr-ct-better { font-weight: 700; color: #166534; background: #f0fdf4; }

/* ── JOB SCENARIOS ── */
.cyr-job-scenarios { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.cyr-job-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e8eaf0;
}
.cyr-job-blue { border-color: #bfdbfe; }
.cyr-job-work { border-color: #5eead4; }
.cyr-job-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cyr-job-blue .cyr-job-header { background: #eff6ff; }
.cyr-job-work .cyr-job-header { background: #f0fdfa; }
.cyr-job-permit { font-size: 15px; font-weight: 700; color: #10143C; margin-bottom: 2px; }
.cyr-job-blue .cyr-job-permit { color: #1e40af; }
.cyr-job-work .cyr-job-permit { color: #0d3d3a; }
.cyr-job-sub { font-size: 13px; color: #6b7280; }
.cyr-job-rule {
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-job-rule:last-child { border-bottom: none; }
.cyr-job-rule-better { background: #f0fdf4; }
.cyr-jr-title { font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 8px; }
.cyr-job-rule p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── UPGRADE STEPS ── */
.cyr-upgrade-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-us-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-us-step:last-child { border-bottom: none; }
.cyr-us-num {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  color: #D4AF37;
  min-width: 32px;
  line-height: 1.2;
  flex-shrink: 0;
  padding-top: 2px;
}
.cyr-us-step strong { display: block; font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-us-step 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: #f8f9ff;
  border: 1.5px solid #e8eaf0;
  border-left: 5px solid #D4AF37;
  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: #D4AF37; margin-bottom: 8px; }
.cyr-next-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: #10143C; 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: #0d3d3a; text-decoration: none; border-bottom: 2px solid #5eead4; transition: border-color 0.2s; }
.cyr-next-cta:hover { border-color: #0d3d3a; }

/* ── CTA BLOCK ── */
.cyr-cta-block { background: #f0fdfa; border: 2px solid #5eead4; 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: #0d3d3a; margin-bottom: 10px; }
.cyr-cta-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: #1a1a2e; 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 #e8eaf0; 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-e2-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-e2-hero-cards { flex-direction: row; justify-content: center; }
  .cyr-e2-title { font-size: 34px; }
  .cyr-e2-sec-num { font-size: 38px; min-width: 48px; }
  .cyr-e2-sec-title { font-size: 18px; }
  .cyr-obs-grid { grid-template-columns: 1fr; }
  .cyr-rights-grid { grid-template-columns: 1fr; }
  .cyr-pf-item { grid-template-columns: 1fr; gap: 4px; }
  .cyr-ct-header, .cyr-ct-row { grid-template-columns: 1fr 1fr 1fr; font-size: 11px; }
  .cyr-ct-feature, .cyr-ct-blue, .cyr-ct-work { padding: 10px 10px; font-size: 11px; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-e2-opener { padding: 20px; }
}