/**
 * Latest Signals Page Styles
 * Non-critical CSS loaded after initial render (critical CSS inlined in HTML)
 */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header .breadcrumbs {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-header .breadcrumbs a {
  color: white;
  text-decoration: none;
}

.page-header .breadcrumbs a:hover {
  text-decoration: underline;
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
}

.page-header .subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0.5rem 0;
}

.page-header .meta {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

/* Section Description */
.section-description {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Table Container */
.table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive Table */
@media (max-width: 768px) {
  .signals-table {
    font-size: 0.85rem;
  }

  .signals-table th,
  .signals-table td {
    padding: 0.75rem 0.5rem;
  }

  .summary-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.faq-item h3 {
  margin-top: 0;
  color: #1f2937;
  font-size: 1.2rem;
}

.faq-item p {
  margin: 0.75rem 0;
  line-height: 1.7;
  color: #374151;
}

.faq-item ul,
.faq-item ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

.faq-item li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Related Content */
.related-content {
  margin: 3rem 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.link-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #1f2937;
}

.link-card p {
  margin: 0.5rem 0 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  margin-top: 0;
  color: #1f2937;
}

.btn-cta {
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

/* Footer */
.page-footer {
  background: #f9fafb;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid #e5e7eb;
}

.page-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-footer p {
  margin: 0.5rem 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.page-footer .disclaimer {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Table Styles for FAQ Content */
.faq-item table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.faq-item table thead {
  background: #f3f4f6;
}

.faq-item table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid #d1d5db;
  color: #1f2937;
}

.faq-item table td {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.faq-item table tbody tr:hover {
  background: #f9fafb;
}

/* Responsive tables */
@media (max-width: 768px) {
  .faq-item table {
    font-size: 0.8rem;
  }

  .faq-item table th,
  .faq-item table td {
    padding: 0.5rem;
  }
}
