/* ═══════════════════════════════════════════════════
   competitive.css
═══════════════════════════════════════════════════ */

/* Utilities */

.btn-full {
  width: 100%;
  margin-top: 20px;
}

/* ── LAYOUT ── */
.comp-layout { 
  display: grid; 
  grid-template-columns: 280px 1fr; 
  gap: 40px; 
  max-width: 1200px; 
  margin: 40px auto 100px; 
  padding: 0 5%; 
  align-items: start; 
}

/* ── SIDEBAR ── */
.comp-sidebar { 
  background: var(--white); 
  border: 1px solid var(--grey-200); 
  border-radius: 12px; 
  padding: 24px; 
  position: sticky; 
  top: 100px; 
}
/* ── MAIN CONTENT ── */
.comp-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.exam-org-label {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--grey-200);
  margin-top: 20px;
}

.exam-org-label:first-child {
  margin-top: 0;
}

.exam-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
  gap: 24px; 
}

/* ── EXAM CARDS ── */
.exam-card { 
  background: var(--white); 
  border: 1px solid var(--grey-200); 
  border-radius: 12px; 
  padding: 24px; 
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; 
  display: flex; 
  flex-direction: column; 
  position: relative;
}

.exam-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-lg); 
  border-color: var(--gold); 
}

.exam-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
}

.exam-badge.banking { background: var(--navy-light); }
.exam-badge.ssc { background: var(--gold); color: var(--navy); }

.exam-title { 
  font-family: var(--font-display); 
  font-size: 1.25rem; 
  color: var(--navy); 
  margin-bottom: 10px; 
  margin-top: 6px;
  line-height: 1.3; 
}

.exam-desc { 
  font-size: 0.85rem; 
  color: var(--grey-500); 
  line-height: 1.6; 
  flex-grow: 1; 
  margin-bottom: 20px; 
}

.exam-meta { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  font-size: 0.75rem; 
  color: var(--grey-400); 
  font-weight: 500; 
  border-top: 1px solid var(--grey-100); 
  padding-top: 16px; 
}

.exam-meta strong {
  color: var(--gold);
  font-size: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .comp-layout { 
    grid-template-columns: 1fr; 
  }
  .comp-sidebar { 
    position: static; 
  }
}
