/* Reading Fluency Educational Page Styles */

/* Override page-wrapper padding for this page */
body:has(.reading-fluency-page) .page-wrapper {
  padding: 0;
}

.reading-fluency-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2a2a3e;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.reading-fluency-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Why It Matters Section */
.why-matters-section {
  padding: 60px 0;
  background: white;
}

.why-matters-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a2e;
}

.matters-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.matter-point {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.matter-icon {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.matter-text {
  flex: 1;
}

.matter-text h3 {
  font-size: 1.5rem;
  color: #667eea;
  margin-bottom: 1rem;
  font-weight: 700;
}

.matter-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 1rem;
}

.matter-text p:last-child {
  margin-bottom: 0;
}

.research-note {
  font-size: 0.95rem;
  color: #6c757d;
  font-style: italic;
  padding: 0.75rem;
  background: white;
  border-left: 3px solid #667eea;
  margin-top: 1rem;
}

/* CTA Links */
.cta-links {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.helper-text {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.inline-link {
  color: #ffd23f;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #ffd23f;
  transition: all 0.3s;
}

.inline-link:hover {
  color: white;
  border-bottom-color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .matter-point {
    flex-direction: column;
    padding: 1.5rem;
  }

  .matter-icon {
    font-size: 2.5rem;
  }

  .matter-text h3 {
    font-size: 1.3rem;
  }

  .matter-text p {
    font-size: 1rem;
  }
}
