/* Subject Radar Buttons */
.btn-subject {
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.btn-subject:hover, .btn-subject.active {
  background: var(--brand-dark);
  color: white;
  border-color: var(--brand-dark);
}

/* CA Card */
.ca-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
}
.ca-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.ca-header-strip {
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ca-subject {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.ca-body { padding: 20px; }

.ca-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--brand-darker);
  text-decoration: none;
}
.ca-title:hover { color: var(--accent); text-decoration: underline; }

/* Prelims Box */
.box-prelims {
  background: #fffbeb; /* Yellow-ish */
  border-left: 4px solid #f59e0b;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.box-prelims ul { margin-bottom: 0; padding-left: 1.2rem; }

/* Mains Box */
.box-mains {
  background: #eff6ff; /* Blue-ish */
  border-left: 4px solid #2563eb;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #334155;
  margin-top: 15px;
}
/* ... existing styles ... */

/* List Layout Override */
.layout-list .col-md-6 {
  width: 100%; /* Force full width */
  flex: 0 0 100%;
  max-width: 100%;
}

/* Custom Markup Typography */
.markup-content h2 { 
  font-size: 1.3rem; font-weight: 800; margin: 12px 0 6px; color: #1e293b; 
}
.markup-content h3 { 
  font-size: 1.1rem; font-weight: 700; margin: 11px 0 6px; color: #1e293b; 
}
.markup-content h4 { 
  font-size: 0.95rem; font-weight: 600; margin: 10px 0 4px; color: #475569; text-transform: uppercase; letter-spacing: 0.5px; 
}
.markup-content p { 
  margin-bottom: 8px; font-size: 0.95rem; line-height: 1.6; 
}
.markup-content ul { 
  padding-left: 1.2rem; margin-bottom: 8px; 
}
.markup-content li { 
  margin-bottom: 4px; line-height: 1.5; 
}

/* Prelims Box (Yellow Theme) */
.box-prelims {
  background: #fffbeb; 
  border-left: 4px solid #f59e0b;
  padding: 15px; margin-bottom: 15px;
  border-radius: 0 4px 4px 0;
}

/* Mains Box (Blue Theme) */
.box-mains {
  background: #eff6ff; 
  border-left: 4px solid #2563eb;
  padding: 15px; margin-top: 15px;
  border-radius: 0 4px 4px 0;
}