/* ============================================================
   Question pages
   Used by every "question-shaped" page. Loaded via:
   <link rel="stylesheet" href="assets/css/questions.css" />
   ============================================================ */

.q-page { max-width: 780px; margin: 0 auto; padding: 60px 20px 40px 20px; }

/* Breadcrumb */
.q-breadcrumb {
  font-size: 0.9rem;
  color: #7d7d9c;
  margin-bottom: 32px;
}
.q-breadcrumb a { color: #7d7d9c; text-decoration: none; }
.q-breadcrumb a:hover { color: #2d9be4; }
.q-breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* The question itself */
.q-page h1 {
  font-size: 2.4rem;
  font-weight: 300;
  color: #2c3e50;
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Short direct answer, before the detail */
.q-answer {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2c3e50;
  padding: 24px 28px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #36d1dc, #5b86e5) 1;
  background: #f8fbfd;
  margin-bottom: 40px;
}
.q-answer p { margin: 0 0 14px 0; }
.q-answer p:last-child { margin-bottom: 0; }

/* Body */
.q-page h2 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.3;
  margin-top: 44px;
  margin-bottom: 16px;
}
.q-page h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 28px;
  margin-bottom: 12px;
}
.q-page p { font-size: 1.05rem; line-height: 1.7; color: #555; margin-bottom: 18px; }
.q-page ul, .q-page ol { margin: 0 0 22px 0; padding-left: 24px; }
.q-page li { font-size: 1.05rem; line-height: 1.7; color: #555; margin-bottom: 10px; }
.q-page li strong { color: #2c3e50; }
.q-page a { color: #2d9be4; }

.q-page blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid #e9ecef;
  color: #7d7d9c;
  font-style: italic;
}

/* Callout for caveats and honest limitations */
.q-note {
  background: #fbfbfc;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
}
.q-note p { margin-bottom: 0; font-size: 1rem; }
.q-note strong { color: #2c3e50; }

/* Related questions */
.q-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e9ecef; }
.q-related h2 { margin-top: 0; font-size: 1.2rem; }
.q-related ul { list-style: none; padding-left: 0; }
.q-related li { margin-bottom: 12px; }
.q-related a { text-decoration: none; font-weight: 500; }
.q-related a:hover { text-decoration: underline; }

/* Closing call to action */
.q-cta {
  margin-top: 48px;
  padding: 32px;
  background: #f8fbfd;
  border-radius: 10px;
  text-align: center;
}
.q-cta h2 { margin-top: 0; font-size: 1.4rem; }
.q-cta p { margin-bottom: 22px; }
.q-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #36d1dc, #5b86e5);
  color: white;
  padding: 12px 28px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.q-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(91, 134, 229, 0.4); }
.q-cta-fine { font-size: 0.9rem; color: #7d7d9c; margin-top: 16px; margin-bottom: 0; }

@media (max-width: 768px) {
  .q-page { padding: 40px 20px 30px 20px; }
  .q-page h1 { font-size: 1.9rem; }
  .q-answer { font-size: 1.1rem; padding: 20px; }
}
