/* ============================================================
   CATALUNYAAR — "The Employee Series" | Post #7
   Bringing Your Family to Barcelona — /authority mode
   Theme: Deep teal #0d3d3a with rose #e11d48 family warmth accent
   WP CODER: Paste into the CSS tab
   ============================================================ */

.cyr-e7-post * { box-sizing: border-box; margin: 0; padding: 0; }

.cyr-e7-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-e7-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-e7-hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(225,29,72,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cyr-e7-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 14px;
}
.cyr-e7-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.cyr-e7-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: #0d3d3a; font-weight: 700; }

/* ── HERO FAMILY ── */
.cyr-e7-hero-family {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 140px;
}
.cyr-hf-icons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cyr-hfi {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.cyr-hfi .ti { font-size: 18px; color: #fda4af; }
.cyr-hf-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
}
.cyr-hft-item {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
.cyr-hft-blue { background: rgba(225,29,72,0.2); border-color: rgba(253,164,175,0.4); }
.cyr-hft-label { font-size: 11px; color: rgba(255,255,255,0.55); margin-bottom: 2px; }
.cyr-hft-time { font-size: 14px; font-weight: 700; color: #fff; }
.cyr-hft-blue .cyr-hft-time { color: #fda4af; }

/* ── OPENER ── */
.cyr-e7-opener {
  background: #fff1f2;
  border-left: 4px solid #e11d48;
  border-radius: 0 14px 14px 0;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.cyr-e7-opener p {
  font-size: 16px;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 14px;
}
.cyr-e7-opener p:last-child { margin-bottom: 0; }
.cyr-e7-opener em { font-style: italic; font-weight: 600; }

/* ── SECTIONS ── */
.cyr-e7-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1.5px solid #f0f0f8;
}
.cyr-e7-section:last-of-type { border-bottom: none; }
.cyr-e7-sec-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.cyr-e7-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-e7-sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #10143C;
  margin-bottom: 6px;
  line-height: 1.35;
}
.cyr-e7-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 4px 12px;
}
.cyr-e7-sec-tag .ti { font-size: 14px; }
.cyr-e7-body p { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 18px; }
.cyr-e7-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #10143C;
  margin: 28px 0 16px;
}

/* ── PERMIT COMPARE ── */
.cyr-permit-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.cyr-pc-col {
  border-radius: 14px;
  padding: 22px;
  border: 1.5px solid #e8eaf0;
}
.cyr-pc-blue { background: #fff1f2; border-color: #fecdd3; border-top: 4px solid #e11d48; }
.cyr-pc-standard { background: #f9fafb; border-top: 4px solid #6b7280; }
.cyr-pc-title { font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 8px; }
.cyr-pc-wait {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  display: inline-block;
}
.cyr-pcw-immediate { background: #dcfce7; color: #166534; }
.cyr-pc-standard .cyr-pc-wait { background: #fee2e2; color: #991b1b; }
.cyr-pc-note { font-size: 13px; color: #4b5563; line-height: 1.55; }

/* ── FAMILY GRID ── */
.cyr-family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}
.cyr-fg-item {
  border-radius: 14px;
  padding: 18px;
  border: 1.5px solid #e8eaf0;
}
.cyr-fg-yes { background: #f0fdf4; border-color: #bbf7d0; border-top: 3px solid #16a34a; }
.cyr-fg-no { background: #f9fafb; border-color: #e5e7eb; border-top: 3px solid #9ca3af; }
.cyr-fg-icon .ti { font-size: 20px; margin-bottom: 8px; display: block; }
.cyr-fg-yes .cyr-fg-icon .ti { color: #16a34a; }
.cyr-fg-no .cyr-fg-icon .ti { color: #9ca3af; }
.cyr-fg-label { font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-fg-note { font-size: 12px; color: #4b5563; line-height: 1.55; }

/* ── DOCUMENT LIST ── */
.cyr-doc-list { display: flex; flex-direction: column; gap: 0; border: 1.5px solid #e8eaf0; border-radius: 16px; overflow: hidden; margin: 20px 0; }
.cyr-dl-item {
  padding: 18px 22px;
  background: #fff;
  border-bottom: 1px solid #f0f0f8;
}
.cyr-dl-item:last-child { border-bottom: none; }
.cyr-dl-doc { font-size: 15px; font-weight: 700; color: #10143C; margin-bottom: 10px; }
.cyr-dl-detail { display: flex; flex-direction: column; gap: 5px; }
.cyr-dl-detail div { font-size: 13px; color: #4b5563; line-height: 1.5; }
.cyr-dl-tip {
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 6px;
}

/* ── APOSTILLE TIMELINE ── */
.cyr-apostille-timeline {
  background: #f0fdfa;
  border: 1.5px solid #5eead4;
  border-radius: 16px;
  padding: 22px;
  margin: 20px 0;
}
.cyr-at-title { font-size: 13px; font-weight: 700; color: #0d3d3a; margin-bottom: 14px; }
.cyr-at-items { display: flex; flex-direction: column; gap: 0; }
.cyr-at-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
  color: #374151;
  line-height: 1.55;
}
.cyr-at-item:last-child { border-bottom: none; }
.cyr-at-total { background: rgba(13,61,58,0.05); border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.cyr-at-step {
  font-size: 12px;
  font-weight: 700;
  color: #0d3d3a;
  min-width: 90px;
  white-space: nowrap;
}

/* ── SPONSOR DOCS ── */
.cyr-sponsor-docs { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; }
.cyr-sd-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1.5px solid #e8eaf0;
  border-radius: 10px;
  line-height: 1.5;
}
.cyr-sd-item .ti { color: #0d3d3a; font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* ── HOUSING BOX ── */
.cyr-housing-box {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  border-radius: 16px;
  padding: 22px;
  margin: 16px 0;
}
.cyr-hb-intro { font-size: 14px; color: #374151; line-height: 1.65; margin-bottom: 18px; }
.cyr-hb-steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.cyr-hbs-item {
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  border-left: 3px solid #e11d48;
}
.cyr-hbs-step { font-size: 13px; font-weight: 700; color: #e11d48; margin-bottom: 6px; }
.cyr-hbs-item div:last-child { font-size: 13px; color: #4b5563; line-height: 1.6; }
.cyr-hb-tip {
  font-size: 12px;
  font-weight: 600;
  color: #7c2d12;
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.55;
}

/* ── ARRIVAL STEPS ── */
.cyr-arrival-steps { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.cyr-as-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
}
.cyr-asc-num {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: #D4AF37;
  min-width: 36px;
  line-height: 1.1;
  flex-shrink: 0;
  padding-top: 2px;
}
.cyr-asc-title { font-size: 15px; font-weight: 700; color: #10143C; margin-bottom: 8px; }
.cyr-as-card p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── SCHOOL TYPES ── */
.cyr-school-types { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.cyr-st-card {
  border-radius: 14px;
  border: 1.5px solid #e8eaf0;
  padding: 22px;
  background: #fff;
  border-top: 4px solid #0d3d3a;
}
.cyr-st-international { border-top-color: #D4AF37; background: #fef9c3; border-color: #fde047; }
.cyr-st-title { font-size: 16px; font-weight: 700; color: #10143C; margin-bottom: 6px; }
.cyr-st-lang { font-size: 12px; color: #6b7280; font-weight: 600; margin-bottom: 4px; }
.cyr-st-cost { font-size: 12px; font-weight: 700; color: #0d3d3a; margin-bottom: 10px; }
.cyr-st-international .cyr-st-cost { color: #92400e; }
.cyr-st-card p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── SPOUSE COMPARE ── */
.cyr-spouse-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.cyr-sc-card {
  border-radius: 14px;
  padding: 22px;
  border: 1.5px solid #e8eaf0;
}
.cyr-sc-blue { background: #fff1f2; border-color: #fecdd3; border-top: 4px solid #e11d48; }
.cyr-sc-standard { background: #f9fafb; border-top: 4px solid #6b7280; }
.cyr-sc-title { font-size: 14px; font-weight: 700; color: #10143C; margin-bottom: 8px; }
.cyr-sc-verdict {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  display: inline-block;
}
.cyr-scv-good { background: #dcfce7; color: #166534; }
.cyr-scv-check { background: #fef3c7; color: #92400e; }
.cyr-sc-card p { font-size: 13px; color: #4b5563; line-height: 1.65; margin: 0; }

/* ── TIMELINE STRIP ── */
.cyr-timeline-strip {
  background: #10143C;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 44px;
}
.cyr-ts-title { font-size: 14px; font-weight: 700; color: #D4AF37; margin-bottom: 20px; }
.cyr-ts-items { display: flex; flex-direction: column; gap: 0; }
.cyr-ts-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cyr-ts-item:last-child { border-bottom: none; }
.cyr-ts-arrive { background: rgba(225,29,72,0.12); border-radius: 8px; padding: 12px 14px; margin-top: 8px; border: none; }
.cyr-ts-time {
  font-size: 12px;
  font-weight: 700;
  color: #5eead4;
  min-width: 90px;
  white-space: nowrap;
}
.cyr-ts-arrive .cyr-ts-time { color: #fda4af; }
.cyr-ts-task { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.55; }

/* ── 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; }

/* ── 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: #fff1f2; border: 2px solid #fecdd3; 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: #9f1239; 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-e7-hero { grid-template-columns: 1fr; padding: 36px 24px 32px; }
  .cyr-e7-hero-family { flex-direction: row; flex-wrap: wrap; }
  .cyr-e7-title { font-size: 36px; }
  .cyr-e7-sec-num { font-size: 38px; min-width: 48px; }
  .cyr-e7-sec-title { font-size: 18px; }
  .cyr-permit-compare { grid-template-columns: 1fr; }
  .cyr-family-grid { grid-template-columns: 1fr; }
  .cyr-spouse-compare { grid-template-columns: 1fr; }
  .cyr-cta-block { padding: 28px 20px; }
  .cyr-e7-opener { padding: 20px; }
  .cyr-timeline-strip { padding: 24px 20px; }
}