.risk-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
  margin: 18px 0;
}

.risk-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transition: all 0.4s ease;
}

.full-width {
  width: 100%;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.check-item {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.check-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.child-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
}

.child-card h4 {
  margin-bottom: 12px;
}

.child-card label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.child-card input,
.child-card select {
  width: 100%;
  margin-top: 6px;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
}

.article-content p,
.article-content li {
  line-height: 1.8;
  color: var(--gray-600);
}

.article-content h3 {
  margin-top: 48px;
  margin-bottom: 18px;
}

.city-comparison-table-wrapper {
  margin: 28px 0 48px;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: white;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.city-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.city-comparison-table thead {
  background: linear-gradient(
    135deg,
    var(--primary),
    color-mix(in srgb, var(--primary) 75%, white)
  );
}

.city-comparison-table th {
  padding: 18px 20px;
  text-align: left;
  color: white;
  font-size: 0.92rem;
  font-weight: 700;
}

.city-comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 0.95rem;
}

.city-comparison-table tbody tr:hover {
  background: var(--gray-50);
}

.city-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--gray-900);
}

.city-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.city-dot.montreal { background: #ef4444; }
.city-dot.quebec { background: #3b82f6; }
.city-dot.laval { background: #8b5cf6; }
.city-dot.longueuil { background: #10b981; }
.city-dot.gatineau { background: #f59e0b; }
.city-dot.sherbrooke { background: #06b6d4; }

.budget-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.budget-tag.high {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.budget-tag.medium-high {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.budget-tag.medium {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.budget-tag.low {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

@media (max-width: 768px) {
  .city-comparison-table {
    min-width: 680px;
  }
}

.hidden-costs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}

.hidden-cost-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hidden-cost-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gray-100);
  font-size: 1.3rem;
}

.hidden-cost-card h4 {
  margin: 0 0 6px;
  color: var(--gray-900);
  font-size: 1rem;
}

.hidden-cost-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .hidden-costs-grid {
    grid-template-columns: 1fr;
  }
}