/* ============================================================
   CATALUNYAAR — "The Simple Man" Series | Post #1
   WP CODER: Paste this entire block into the CSS tab
   ============================================================ */

/* ── FONTS & RESET ── */
.cyr-sm-post * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cyr-sm-post {
  font-family: 'Space Grotesk', sans-serif;
  color: #1a1a2e;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 60px;
  line-height: 1.7;
}

/* ── SERIES BADGE ── */
.cyr-series-badge {
  margin-bottom: 32px;
}

.cyr-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3e0;
  color: #e65c00;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid #ffccbc;
}

/* ── HERO ── */
.cyr-hero {
  background: linear-gradient(135deg, #10143C 0%, #1a1a6e 50%, #10143C 100%);
  border-radius: 20px;
  padding: 56px 48px 48px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.cyr-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-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cyr-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 16px;
}

.cyr-hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 7vw, 64px);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.cyr-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.65;
}

/* ── LANGUAGE 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 ease;
}

.cyr-lang-btn:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.cyr-lang-btn.active {
  background: #D4AF37;
  color: #10143C;
  font-weight: 700;
}

/* ── INTRO BLOCK ── */
.cyr-intro-block {
  padding: 36px 40px;
  background: #f8f9ff;
  border-radius: 16px;
  border-left: 4px solid #f97316;
  margin-bottom: 40px;
}

.cyr-intro-text {
  font-size: 17px;
  color: #1a1a2e;
  line-height: 1.75;
  margin-bottom: 14px;
}

.cyr-intro-text:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #f97316;
  font-size: 18px;
}

/* ── PROGRESS TRACKER ── */
.cyr-tracker {
  background: #ffffff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cyr-tracker-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.cyr-tracker-bar {
  flex: 1;
  min-width: 120px;
  height: 8px;
  background: #e8eaf0;
  border-radius: 999px;
  overflow: hidden;
}

.cyr-tracker-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316, #D4AF37);
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s ease;
}

.cyr-tracker-stat {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

/* ── WEEK BLOCKS ── */
.cyr-week {
  margin-bottom: 52px;
}

.cyr-week-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f8;
}

.cyr-week-number {
  font-family: 'Anton', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: #e8eaf0;
  letter-spacing: 0.02em;
  min-width: 68px;
}

.cyr-week-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.cyr-week-sub {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── TASK ITEMS ── */
.cyr-tasks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cyr-task {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid #e8eaf0;
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.cyr-task:hover {
  border-color: #f97316;
  box-shadow: 0 2px 12px rgba(249,115,22,0.08);
}

.cyr-task.done {
  background: #f0fdf4;
  border-color: #86efac;
}

.cyr-task.done .cyr-task-title {
  text-decoration: line-through;
  color: #6b7280;
}

.cyr-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 2px;
  position: relative;
  transition: all 0.2s ease;
  background: #ffffff;
}

.cyr-checkbox:checked {
  background: #10b981;
  border-color: #10b981;
}

.cyr-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.cyr-task-body {
  flex: 1;
  cursor: pointer;
}

.cyr-task-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.cyr-task-detail {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 10px;
}

.cyr-task-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #c2410c;
  margin-top: 10px;
}

.cyr-task-tip .ti {
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  color: #f97316;
}

.cyr-task-cta {
  display: inline-block;
  margin-top: 12px;
  color: #f97316;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid #fed7aa;
  transition: color 0.2s, border-color 0.2s;
}

.cyr-task-cta:hover {
  color: #ea580c;
  border-color: #f97316;
}

/* ── COMPLETION BANNER ── */
.cyr-completion {
  background: linear-gradient(135deg, #10143C, #1a1a6e);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-bottom: 48px;
}

.cyr-completion-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.cyr-completion-title {
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  color: #D4AF37;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.cyr-completion-body {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── CTA BLOCK ── */
.cyr-cta-block {
  background: #fff8f0;
  border: 2px solid #fed7aa;
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  margin-bottom: 48px;
}

.cyr-cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f97316;
  margin-bottom: 12px;
}

.cyr-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  line-height: 1.35;
}

.cyr-cta-body {
  font-size: 16px;
  color: #4b5563;
  max-width: 480px;
  margin: 0 auto 28px;
  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: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s;
}

.cyr-btn-primary:hover {
  background: #1db954;
  transform: translateY(-1px);
  color: #ffffff;
}

.cyr-btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #1a1a2e;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  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: 40px 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: 20px;
}

.cyr-social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cyr-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s;
  color: #ffffff;
}

.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: #000000; }

.cyr-brand-tagline {
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .cyr-hero {
    padding: 36px 24px 32px;
  }

  .cyr-hero-title {
    font-size: 38px;
  }

  .cyr-intro-block {
    padding: 24px 20px;
  }

  .cyr-week-number {
    font-size: 40px;
    min-width: 50px;
  }

  .cyr-week-title {
    font-size: 18px;
  }

  .cyr-cta-block {
    padding: 32px 24px;
  }

  .cyr-task {
    padding: 16px;
  }

  .cyr-tracker {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cyr-tracker-bar {
    width: 100%;
  }
}