/* ============================================================
   CATALUNYAAR — "The Employee Series" | Post #5
   India + Spain Full Tax Picture — /authority mode
   Theme: Deep indigo #1e1b4b with saffron #f97316 India accent
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-e5-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-e5-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: #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-e5-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #2e2570 55%, #1e1b4b 100%);
  border-radius: 20px;
  padding: 52px 48px;
  margin-bottom: 36px;
  overflow: hidden;
  position: relative;
}
.cyr-e5-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(249,115,22,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-e5-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-e5-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f97316;
  margin-bottom: 14px;
}
.cyr-e5-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-e5-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: #D4AF37; color: #1e1b4b; font-weight: 700; }

/* ── HERO FLAGS ── */
.cyr-e5-hero-flags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}
.cyr-hf-flag {
  width: 130px;
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
}
.cyr-hf-india { border-color: rgba(249,115,22,0.5); background: rgba(249,115,22,0.15); }
.cyr-hf-spain { border-color: rgba(212,175,55,0.4); background: rgba(212,175,55,0.1); }
.cyr-hf-label { font-family: 'Anton', sans-serif; font-size: 18px; color: #fff; margin-bottom: 4px; letter-spacing: 0.04em; }
.cyr-hf-india .cyr-hf-label { color: #fb923c; }
.cyr-hf-spain .cyr-hf-label { color: #D4AF37; }
.cyr-hf-sub { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.4; }
.cyr-hf-plus { font-family: 'Anton', sans-serif; font-size: 24px; color: #fff; opacity: 0.6; }

/* ── OPENER ── */
.cyr-e5-opener {
  background: #f5f3ff;
  border-left: 4px solid #7c3aed;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-e5-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 14px;
}
.cyr-e5-disclaimer {
  font-size: 13px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  line-height: 1.6;
  font-style: italic;
  margin-top: 4px;
}

/* ── SECTIONS ── */
.cyr-e5-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-e5-section:last-of-type { border-bottom: none; }
.cyr-e5-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.cyr-e5-sec-num {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: rgba(30,27,75,0.1);
  min-width: 64px;
  letter-spacing: 0.02em;
}
.cyr-e5-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 6px;
  line-height: 1.35;
}
.cyr-e5-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #5b21b6;
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  padding: 4px 12px;
}
.cyr-e5-sec-tag .ti { font-size: 14px; }
.cyr-e5-body p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 18px; }

/* ── NRI CARDS ── */
.cyr-nri-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.cyr-nri-card {
  border-radius: 16px;
  padding: 22px;
  border: 1.5px solid #e8eaf0;
  background: #f9fafb;
  border-top: 4px solid #9ca3af;
}
.cyr-nri-card-active {
  background: #f5f3ff;
  border-color: #c4b5fd;
  border-top-color: #7c3aed;
}
.cyr-nri-icon .ti { font-size: 24px; color: #9ca3af; margin-bottom: 10px; display: block; }
.cyr-nri-card-active .cyr-nri-icon .ti { color: #7c3aed; }
.cyr-nri-title { font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 12px; }
.cyr-nri-rule {
  font-size: 13px;
  color: #374151;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.5;
}
.cyr-nri-rule:last-child { border-bottom: none; }

/* ── DTAA TABLE ── */
.cyr-dtaa-table {
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-dt-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  background: #1e1b4b;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid #f97316;
  gap: 8px;
}
.cyr-dt-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f8;
  gap: 8px;
  background: #fff;
  align-items: start;
}
.cyr-dt-row:nth-child(even) { background: #fafafa; }
.cyr-dt-row:last-child { border-bottom: none; }
.cyr-dt-income { font-size: 13px; font-weight: 600; color: #10143C; line-height: 1.4; }
.cyr-dt-yes { font-size: 12px; color: #dc2626; font-weight: 600; line-height: 1.4; }
.cyr-dt-no { font-size: 12px; color: #16a34a; font-weight: 600; line-height: 1.4; }
.cyr-dt-maybe { font-size: 12px; color: #d97706; font-weight: 600; line-height: 1.4; }
.cyr-dt-note { font-size: 11px; color: #6b7280; line-height: 1.5; }

/* ── FILING CARDS ── */
.cyr-filing-cards { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.cyr-fc-card {
  border-radius: 16px;
  border: 1.5px solid #e8eaf0;
  padding: 24px;
  background: #fff;
  border-top: 4px solid #7c3aed;
}
.cyr-fc-card-alert { border-top-color: #dc2626; background: #fff9f9; border-color: #fecaca; }
.cyr-fc-modelo {
  display: inline-block;
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: #7c3aed;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.cyr-fc-card-alert .cyr-fc-modelo { color: #dc2626; }
.cyr-fc-title { font-size: 16px; font-weight: 700; color: #10143C; margin-bottom: 12px; }
.cyr-fc-who, .cyr-fc-when {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: flex;
  gap: 6px;
}
.cyr-fc-what { font-size: 13px; color: #4b5563; line-height: 1.65; margin-bottom: 10px; }
.cyr-fc-note { font-size: 12px; color: #6b7280; font-style: italic; }
.cyr-fc-note-alert { color: #b91c1c; font-style: normal; font-weight: 600; background: #fee2e2; padding: 8px 12px; border-radius: 7px; }

/* ── INDIA ITEMS ── */
.cyr-india-items { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e8eaf0; border-radius: 16px; overflow: hidden; margin: 16px 0; }
.cyr-ii-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-ii-item:last-child { border-bottom: none; }
.cyr-ii-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: #fff7ed;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cyr-ii-icon .ti { color: #f97316; font-size: 20px; }
.cyr-ii-item strong { display: block; font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-ii-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── RSU SCENARIOS ── */
.cyr-rsu-scenarios { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.cyr-rs-card {
  border-radius: 14px;
  border: 1.5px solid #e8eaf0;
  overflow: hidden;
  background: #fff;
}
.cyr-rs-header {
  padding: 14px 20px;
  background: #f5f3ff;
  font-size: 14px;
  font-weight: 700;
  color: #5b21b6;
  border-bottom: 1px solid #e8eaf0;
}
.cyr-rs-body { padding: 18px 20px; }
.cyr-rs-body p { font-size: 13px; color: #374151; line-height: 1.65; margin-bottom: 10px; }
.cyr-rs-body p:last-child { margin-bottom: 0; }
.cyr-rs-example {
  background: #f9fafb;
  border-left: 3px solid #7c3aed;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 10px 0;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

/* ── CHECKLIST TIMELINE ── */
.cyr-checklist-timeline { display: flex; flex-direction: column; gap: 20px; margin: 20px 0; }
.cyr-cl-month-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e1b4b;
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  padding: 5px 16px;
  display: inline-block;
  margin-bottom: 10px;
}
.cyr-cl-items { display: flex; flex-direction: column; gap: 8px; }
.cyr-cl-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #e8eaf0;
}
.cyr-cl-spain { background: #eff6ff; border-color: #bfdbfe; }
.cyr-cl-india { background: #fff7ed; border-color: #fed7aa; }
.cyr-cl-both { background: #f0fdf4; border-color: #bbf7d0; }
.cyr-cl-country {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 50px;
  padding-top: 2px;
}
.cyr-cl-spain .cyr-cl-country { color: #1d4ed8; }
.cyr-cl-india .cyr-cl-country { color: #ea580c; }
.cyr-cl-both .cyr-cl-country { color: #16a34a; }
.cyr-cl-task { font-size: 13px; color: #374151; line-height: 1.6; }

/* ── PRO STRIP ── */
.cyr-e5-pro-strip {
  background: linear-gradient(135deg, #1e1b4b, #2e2570);
  border-radius: 20px;
  padding: 4px;
  margin-bottom: 44px;
}
.cyr-e5-pro-inner {
  background: linear-gradient(135deg, #1e1b4b, #2e2570);
  border-radius: 17px;
  padding: 40px 44px;
  border: 1px solid rgba(249,115,22,0.25);
}
.cyr-e5-pro-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f97316;
  margin-bottom: 10px;
}
.cyr-e5-pro-title {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.cyr-e5-pro-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 20px;
}
.cyr-e5-pro-cta {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #D4AF37;
  text-decoration: none;
  border-bottom: 2px solid rgba(212,175,55,0.4);
}
.cyr-e5-pro-cta:hover { border-color: #D4AF37; }

/* ── 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; }
.cyr-next-cta:hover { border-color: #0d3d3a; }

/* ── CTA ── */
.cyr-cta-block { background: #f5f3ff; border: 2px solid #c4b5fd; 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: #5b21b6; 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-e5-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-e5-hero-flags { flex-direction: row; justify-content: center; }
  .cyr-e5-title { font-size: 36px; }
  .cyr-e5-sec-num { font-size: 38px; min-width: 48px; }
  .cyr-e5-sec-title { font-size: 18px; }
  .cyr-nri-cards { grid-template-columns: 1fr; }
  .cyr-dt-header, .cyr-dt-row { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .cyr-dt-note { display: none; }
  .cyr-e5-pro-inner { padding: 28px 20px; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-e5-opener { padding: 20px; }
}