/* ============================================================
   CATALUNYAAR — "The Student Series" | Post #2
   Your Student Visa Decoded — /authority mode, younger voice
   Theme: Deep violet #4c1d95 with saffron #f59e0b accent
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-s2-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-s2-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: #4c1d95; }
.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-s2-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 55%, #4c1d95 100%);
  border-radius: 20px;
  padding: 52px 48px;
  margin-bottom: 36px;
  overflow: hidden;
  position: relative;
}
.cyr-s2-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-s2-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 14px;
}
.cyr-s2-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(38px, 6vw, 62px);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-s2-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: #4c1d95; font-weight: 700; }

/* ── HERO DOCS ── */
.cyr-s2-hero-docs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 130px;
}
.cyr-hd-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 10px 16px;
  text-align: center;
}
.cyr-hd-highlight { background: rgba(245,158,11,0.2); border-color: rgba(251,191,36,0.4); }
.cyr-hd-label { font-family: 'Anton', sans-serif; font-size: 18px; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
.cyr-hd-highlight .cyr-hd-label { color: #fbbf24; }
.cyr-hd-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ── OPENER ── */
.cyr-s2-opener {
  background: #f5f3ff;
  border-left: 4px solid #4c1d95;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-s2-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 14px;
}
.cyr-s2-opener p:last-child { margin-bottom: 0; }

/* ── SECTIONS ── */
.cyr-s2-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-s2-section:last-of-type { border-bottom: none; }
.cyr-s2-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.cyr-s2-sec-num {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: rgba(76,29,149,0.12);
  min-width: 60px;
  letter-spacing: 0.02em;
}
.cyr-s2-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 6px;
  line-height: 1.35;
}
.cyr-s2-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4c1d95;
  background: #f5f3ff;
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  padding: 4px 12px;
}
.cyr-s2-sec-tag .ti { font-size: 14px; }
.cyr-s2-body p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 18px; }
.cyr-s2-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #10143C;
  margin: 24px 0 14px;
}

/* ── DOC TABLE ── */
.cyr-doc-table {
  border: 1.5px solid #e8eaf0;
  border-radius: 16px;
  overflow: hidden;
  margin: 20px 0;
}
.cyr-dt-header {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.3fr;
  background: #4c1d95;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  gap: 12px;
}
.cyr-dt-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.3fr;
  padding: 16px;
  border-bottom: 1px solid #f0f0f8;
  gap: 12px;
  background: #fff;
  align-items: start;
}
.cyr-dt-row:nth-child(even) { background: #fafafa; }
.cyr-dt-row:last-child { border-bottom: none; }
.cyr-dt-doc { font-size: 13px; font-weight: 700; color: #10143C; line-height: 1.4; }
.cyr-dt-what { font-size: 12px; color: #4b5563; line-height: 1.55; }
.cyr-dt-when { font-size: 12px; color: #6b7280; font-style: italic; line-height: 1.5; }

/* ── VISA FACTS ── */
.cyr-visa-facts { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e8eaf0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-vf-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-vf-item:last-child { border-bottom: none; }
.cyr-vf-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: #f5f3ff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cyr-vf-icon .ti { color: #4c1d95; font-size: 20px; }
.cyr-vf-item strong { display: block; font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-vf-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── NIE USES ── */
.cyr-nie-uses {
  background: #f5f3ff;
  border: 1.5px solid #c4b5fd;
  border-radius: 16px;
  padding: 22px;
  margin: 20px 0;
}
.cyr-nu-title { font-size: 13px; font-weight: 700; color: #4c1d95; margin-bottom: 16px; }
.cyr-nu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cyr-nu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
}
.cyr-nu-item .ti { color: #4c1d95; font-size: 16px; flex-shrink: 0; }

/* ── TIE STEPS ── */
.cyr-tie-steps { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e8eaf0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-ts-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-ts-item:last-child { border-bottom: none; }
.cyr-ts-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-ts-item strong { display: block; font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-ts-item p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── TIE CARD VISUAL ── */
.cyr-tie-card-visual {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0;
}
.cyr-tcv-row {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.cyr-tcv-row:last-child { border-bottom: none; }
.cyr-tcv-label { font-size: 13px; color: rgba(255,255,255,0.85); }

/* ── RENEWAL ITEMS ── */
.cyr-renewal-items { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e8eaf0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-ri-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-ri-item:last-child { border-bottom: none; }
.cyr-ri-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: #fef3c7;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.cyr-ri-icon .ti { color: #d97706; font-size: 20px; }
.cyr-ri-item strong { display: block; font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-ri-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; }

/* ── QUICK REFERENCE ── */
.cyr-quick-ref {
  background: #4c1d95;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 44px;
}
.cyr-qr-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 20px;
}
.cyr-qr-items { display: flex; flex-direction: column; gap: 0; }
.cyr-qr-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.cyr-qr-item:last-child { border-bottom: none; }
.cyr-qr-q { font-size: 13px; color: rgba(255,255,255,0.7); }
.cyr-qr-a { font-size: 13px; font-weight: 700; color: #fbbf24; text-align: right; }

/* ── NEXT POST ── */
.cyr-next-post { background: #f8f9ff; border: 1.5px solid #e8eaf0; 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: #f59e0b; 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: #4c1d95; text-decoration: none; border-bottom: 2px solid #c4b5fd; }
.cyr-next-cta:hover { border-color: #4c1d95; }

/* ── 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: #4c1d95; 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-s2-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-s2-hero-docs { flex-direction: row; }
  .cyr-hd-item { flex: 1; }
  .cyr-s2-title { font-size: 38px; }
  .cyr-s2-sec-num { font-size: 36px; min-width: 44px; }
  .cyr-s2-sec-title { font-size: 17px; }
  .cyr-dt-header, .cyr-dt-row { grid-template-columns: 1fr; gap: 4px; }
  .cyr-dt-header div:not(:first-child) { display: none; }
  .cyr-nu-grid { grid-template-columns: 1fr; }
  .cyr-qr-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .cyr-qr-a { text-align: left; }
  .cyr-quick-ref { padding: 24px 20px; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-s2-opener { padding: 20px; }
}