/* ===== PROBLEM ===== */
.problem-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-mid) 100%);
}

/* GitHub PR comment — light theme simulation */
.gh-comment-wrapper {
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
  max-width: 900px;
}

.gh-comment {
  flex: 1;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.12);
  position: relative;
}

/* The little triangle nub on the left */
.gh-comment::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -8px;
  width: 14px;
  height: 14px;
  background: #f6f8fa;
  border-left: 1px solid #d1d9e0;
  border-bottom: 1px solid #d1d9e0;
  transform: rotate(45deg);
}

.gh-comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f6f8fa;
  border-bottom: 1px solid #d1d9e0;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.gh-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #d1d9e0;
}

.gh-username {
  font-weight: 700;
  color: #1f2328;
}

.gh-badge {
  font-size: 11px;
  font-weight: 500;
  color: #636c76;
  border: 1px solid #d1d9e0;
  border-radius: 12px;
  padding: 1px 8px;
  background: #ffffff;
}

.gh-time {
  color: #636c76;
  font-size: 12px;
}

.gh-dots {
  margin-left: auto;
  color: #acb2b9;
  cursor: default;
  letter-spacing: -2px;
  font-size: 16px;
}

.gh-comment-body {
  padding: 16px;
  font-size: 14px;
  color: #1f2328;
  line-height: 1.65;
}

.gh-comment-body code {
  background: #eff1f3;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12.5px;
  color: #1f2328;
}

.gh-comment-body .gh-aside-text {
  margin-top: 12px;
  color: #636c76;
  font-size: 13px;
}

.gh-comment-footer {
  padding: 8px 16px;
  border-top: 1px solid #d1d9e0;
  display: flex;
  gap: 6px;
  background: #ffffff;
}

.gh-reaction {
  font-size: 12px;
  color: #636c76;
  background: #f6f8fa;
  border: 1px solid #d1d9e0;
  border-radius: 100px;
  padding: 2px 10px;
  cursor: default;
  transition: border-color 0.15s;
}

.gh-reaction:hover { border-color: #0969da; }

/* Aside callout */
.gh-comment-aside {
  max-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gh-comment-aside svg { flex-shrink: 0; }

.gh-comment-aside p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.gh-comment-aside code {
  background: #1c2128;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 12px;
  color: var(--text);
}

@media (max-width: 768px) {
  .gh-comment-wrapper { flex-direction: column; gap: 16px; }
  .gh-comment-aside { max-width: 100%; }
  .gh-comment::before { display: none; }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.problem-card:hover {
  border-color: #e74c3c33;
  box-shadow: var(--shadow-lg), var(--glow-red);
  transform: translateY(-2px);
}

.problem-card .emoji { font-size: 26px; margin-bottom: 10px; }
.problem-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.problem-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
