/* ═══════════ Category Grouped Detail Page (U13–U19) ═══════════ */

/* Age tabs in hero */
.cg-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.cg-tab {
  display: inline-block;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-head, 'Bebas Neue', sans-serif);
  font-size: 1.15rem;
  letter-spacing: .1em;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(245, 181, 27, .45);
  border-radius: 10px;
  background: rgba(7, 30, 61, .55);
  transition: all .3s ease;
}
.cg-tab:hover { background: rgba(245, 181, 27, .18); border-color: #F5B51B; }
.cg-tab.active {
  background: linear-gradient(135deg, #FFD97A, #F5B51B);
  color: #071E3D;
  border-color: #F5B51B;
  box-shadow: 0 0 22px rgba(245, 181, 27, .4);
}

/* Detail card */
.cg-detail { padding: 72px 0; }
.cg-detail:nth-of-type(odd) { background: #fff; }
.cg-detail:nth-of-type(even) { background: var(--bg-soft, #F4F6FA); }
.cg-card {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(7, 30, 61, .08);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(7, 30, 61, .12);
}
.cg-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.cg-badge {
  flex: none;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  font-family: var(--font-head, 'Bebas Neue', sans-serif);
  font-size: 1.9rem;
  color: #fff;
  background: linear-gradient(135deg, #0B3D91, #071E3D);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(7, 30, 61, .35);
}
.cg-head-txt .cg-squad {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #D99A0C;
  margin-bottom: 4px;
}
.cg-head-txt h2 { margin: 0; color: #071E3D; }
.cg-rows { display: flex; flex-direction: column; gap: 14px; }
.cg-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #2A3550;
  font-size: 1rem;
  line-height: 1.55;
}
.cg-row i { color: #D99A0C; margin-top: 5px; }
.cg-row strong { color: #071E3D; }
.cg-row a { color: #0B3D91; font-weight: 700; }
.cg-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Who It's For + Key Skills inside category card */
.cg-about, .cg-skills { margin-top: 26px; }
.cg-about-label {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #D99A0C;
  margin-bottom: 10px;
}
.cg-about p { margin: 0; color: #2A3550; font-size: 1rem; line-height: 1.65; }
.cg-about p strong { color: #071E3D; }
.cg-skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.cg-skills-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(7, 30, 61, .10);
  border-radius: 10px;
  background: #F8F9FC;
  color: #2A3550;
  font-size: .92rem;
  font-weight: 600;
}
.cg-skills-list li i { color: #D99A0C; flex: none; }

@media (max-width: 600px) {
  .cg-card { padding: 26px 20px; }
  .cg-head { flex-direction: column; align-items: flex-start; }
}
