/* ============================================================
   CATALUNYAAR — "The Simple Man" Series | Post #4
   Money in Spain — /authority mode
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-p4-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-p4-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: #16a34a; }
.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 — green/gold money theme ── */
.cyr-p4-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: #0a2a1a;
  border-radius: 20px;
  padding: 52px 48px;
  margin-bottom: 36px;
  overflow: hidden;
  position: relative;
}
.cyr-p4-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-p4-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 30%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(22,163,74,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-p4-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 14px;
}
.cyr-p4-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 6vw, 62px);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-p4-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: #0a2a1a; font-weight: 700; }

/* ── MONEY FLOW DIAGRAM ── */
.cyr-money-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 130px;
}
.cyr-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px 16px;
  width: 130px;
  text-align: center;
}
.cyr-flow-node .ti { font-size: 20px; }
.cyr-flow-node span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); }
.cyr-flow-spain .ti { color: #4ade80; }
.cyr-flow-bank .ti { color: #D4AF37; }
.cyr-flow-send .ti { color: #60a5fa; }
.cyr-flow-tax .ti { color: #f87171; }
.cyr-flow-arrow {
  color: rgba(255,255,255,0.25);
  font-size: 16px;
  padding: 2px 0;
}

/* ── OPENER ── */
.cyr-p4-opener {
  background: #f0fdf4;
  border-left: 4px solid #16a34a;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-p4-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 14px;
}
.cyr-p4-opener p:last-child { margin-bottom: 0; }

/* ── SECTIONS ── */
.cyr-p4-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-p4-section:last-of-type { border-bottom: none; }
.cyr-p4-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.cyr-p4-sec-num {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  line-height: 1;
  color: #e8eaf0;
  min-width: 64px;
  letter-spacing: 0.02em;
}
.cyr-p4-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 6px;
  line-height: 1.3;
}
.cyr-p4-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 4px 12px;
}
.cyr-p4-sec-tag .ti { font-size: 14px; }

.cyr-p4-body p {
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 18px;
}
.cyr-p4-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #10143C;
  margin: 28px 0 14px;
}

/* ── BANK COMPARE ── */
.cyr-bank-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.cyr-bank-card {
  border-radius: 16px;
  padding: 24px;
  border: 1.5px solid #e8eaf0;
  background: #fff;
}
.cyr-bank-digital { border-top: 4px solid #D4AF37; }
.cyr-bank-spanish { border-top: 4px solid #16a34a; }
.cyr-bank-phase {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}
.cyr-bank-title {
  font-size: 18px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 4px;
}
.cyr-bank-names {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
  font-style: italic;
}
.cyr-bank-pros, .cyr-bank-cons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.cyr-bank-pro, .cyr-bank-con {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.cyr-bank-pro .ti { color: #16a34a; font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.cyr-bank-con .ti { color: #ef4444; font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.cyr-bank-pro span { color: #374151; }
.cyr-bank-con span { color: #6b7280; }

/* ── REMITTANCE TABLE ── */
.cyr-remit-table {
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-remit-header {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr 1fr;
  gap: 8px;
  padding: 12px 18px;
  background: #0a2a1a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.cyr-remit-row {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr 1fr;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid #f0f0f8;
  align-items: center;
  background: #fff;
  font-size: 13px;
}
.cyr-remit-row:last-child { border-bottom: none; }
.cyr-remit-best { background: #f0fdf4; }
.cyr-remit-name { font-weight: 700; color: #10143C; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cyr-remit-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.cyr-badge-best { background: #dcfce7; color: #166534; }
.cyr-remit-fee { font-weight: 700; color: #16a34a; }
.cyr-remit-rate, .cyr-remit-speed { color: #4b5563; font-size: 12px; }
.cyr-remit-verdict { font-size: 12px; font-weight: 600; }
.cyr-verdict-green { color: #16a34a; }
.cyr-verdict-amber { color: #d97706; }
.cyr-verdict-red { color: #dc2626; }

/* ── STRATEGY STEPS ── */
.cyr-strategy-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
  background: #f0fdf4;
}
.cyr-strat-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  border-bottom: 1px solid #bbf7d0;
}
.cyr-strat-step:last-child { border-bottom: none; }
.cyr-strat-num {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: #16a34a;
  min-width: 32px;
  line-height: 1.2;
}
.cyr-strat-step strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 4px;
}
.cyr-strat-step p {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

/* ── VISIBILITY GRID ── */
.cyr-visibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.cyr-vis-card {
  border-radius: 14px;
  padding: 22px;
  border: 1.5px solid #e8eaf0;
}
.cyr-vis-sees { background: #fff1f0; border-color: #fecaca; }
.cyr-vis-cannot { background: #f0fdf4; border-color: #bbf7d0; }
.cyr-vis-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.cyr-vis-sees .cyr-vis-title { color: #dc2626; }
.cyr-vis-cannot .cyr-vis-title { color: #16a34a; }
.cyr-vis-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  margin-bottom: 8px;
  line-height: 1.5;
}
.cyr-vis-item:last-child { margin-bottom: 0; }
.cyr-vis-item .ti { font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.cyr-vis-sees .cyr-vis-item .ti { color: #dc2626; }
.cyr-vis-cannot .cyr-vis-item .ti { color: #16a34a; }

/* ── TAX TIMELINE ── */
.cyr-tax-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-ttl-item {
  padding: 22px;
  border-right: 1px solid #f0f0f8;
  background: #fff;
}
.cyr-ttl-item:last-child { border-right: none; }
.cyr-ttl-month {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  color: #D4AF37;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.cyr-ttl-desc { font-size: 13px; color: #4b5563; line-height: 1.6; }

/* ── DEDUCTIONS ── */
.cyr-deduction-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 16px 0;
}
.cyr-ded-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-ded-item:last-child { border-bottom: none; }
.cyr-ded-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: #f0fdf4;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cyr-ded-icon .ti { color: #16a34a; font-size: 18px; }
.cyr-ded-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 5px;
}
.cyr-ded-item p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ── NRI CARDS ── */
.cyr-nri-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.cyr-nri-card {
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 22px;
  border-top: 4px solid #16a34a;
}
.cyr-nri-icon { font-size: 26px; margin-bottom: 10px; }
.cyr-nri-icon .ti { color: #16a34a; font-size: 26px; }
.cyr-nri-title {
  font-size: 14px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 10px;
  line-height: 1.4;
}
.cyr-nri-card 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; }

/* ── MISTAKES STRIP ── */
.cyr-mistakes-strip { margin-bottom: 52px; }
.cyr-mistakes-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 20px;
}
.cyr-mistake-list {
  display: flex;
  flex-direction: column;
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
}
.cyr-mistake-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-mistake-item:last-child { border-bottom: none; }
.cyr-mistake-item:hover { background: #fafafa; }
.cyr-mistake-num {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: #D4AF37;
  min-width: 36px;
  line-height: 1.2;
}
.cyr-mistake-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 4px;
}
.cyr-mistake-item p {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ── 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: 18px;
  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: #16a34a;
  text-decoration: none;
  border-bottom: 2px solid #bbf7d0;
  transition: border-color 0.2s;
}
.cyr-next-cta:hover { border-color: #16a34a; }

/* ── CTA BLOCK ── */
.cyr-cta-block {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  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: #16a34a;
  margin-bottom: 10px;
}
.cyr-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.35;
}
.cyr-cta-body {
  font-size: 15px;
  color: #4b5563;
  max-width: 460px;
  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-p4-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-money-flow { flex-direction: row; flex-wrap: wrap; justify-content: center; min-width: unset; }
  .cyr-flow-node { width: 100px; padding: 10px; }
  .cyr-flow-arrow { transform: rotate(-90deg); padding: 0 4px; }
  .cyr-p4-title { font-size: 38px; }
  .cyr-p4-sec-num { font-size: 38px; min-width: 48px; }
  .cyr-p4-sec-title { font-size: 19px; }
  .cyr-remit-header, .cyr-remit-row { grid-template-columns: 1.2fr 0.7fr 1fr; }
  .cyr-remit-header span:nth-child(4), .cyr-remit-row div:nth-child(4),
  .cyr-remit-header span:nth-child(5), .cyr-remit-row div:nth-child(5) { display: none; }
  .cyr-tax-timeline { grid-template-columns: 1fr; }
  .cyr-ttl-item { border-right: none; border-bottom: 1px solid #f0f0f8; }
  .cyr-ttl-item:last-child { border-bottom: none; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-p4-opener { padding: 20px; }
}