/* =========================================================
   TechChampTOC – Tech Champion Blue/Green Premium Card
   ========================================================= */

.techchamp-toc {
  background:
    radial-gradient(circle at top left, rgba(0, 152, 121, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef7f5 52%, #f7fbff 100%);
  border: 1px solid rgba(0, 152, 121, 0.18);
  border-left: 4px solid #009879;
  border-radius: 18px;
  padding: 18px 20px 18px;
  margin: 28px 0 34px;
  max-width: 100%;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  position: relative;
  overflow: hidden;
}

/* Soft glow layers */
.techchamp-toc::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 260px at 88% 8%, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0) 62%),
    radial-gradient(420px 240px at 18% 90%, rgba(0, 152, 121, 0.14), rgba(0, 152, 121, 0) 65%);
  pointer-events: none;
}

/* Decorative orb */
.techchamp-toc::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -48px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 152, 121, 0.14) 0%, rgba(0, 152, 121, 0) 70%);
  pointer-events: none;
}

/* Keep content above overlays */
.techchamp-toc > * {
  position: relative;
  z-index: 1;
}

/* Title */
.techchamp-toc .toc-title {
  margin: 0 0 12px;
  padding: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 850;
  color: #0a2540;
  border-bottom: 1px solid rgba(0, 152, 121, 0.16);
  letter-spacing: 0.075em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Icon */
.techchamp-toc .toc-title::before {
  content: "☰";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
  font-size: 0.86rem;
  width: 26px;
  height: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, #009879, #0ea5e9);
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(0, 152, 121, 0.18);
}

/* Reset list spacing */
.techchamp-toc .toc-list.toc-list,
.techchamp-toc .toc-list.toc-list ul,
.techchamp-toc .toc-list.toc-list ol {
  margin: 0;
  padding: 0;
}

/* Top-level ordered list */
.techchamp-toc .toc-list.toc-list {
  list-style: decimal;
  list-style-position: outside;
  padding-left: 1.18rem;
}

/* List items */
.techchamp-toc .toc-list.toc-list li {
  margin: 0;
  padding: 0;
  line-height: 1.22;
}

/* Spacing between top-level sections */
.techchamp-toc .toc-list.toc-list > li + li {
  margin-top: 5px;
}

/* Links */
.techchamp-toc .toc-list.toc-list a {
  display: block;
  text-decoration: none;
  color: #0a2540;
  font-weight: 700;
  font-size: 0.91rem;
  padding: 5px 9px;
  border-radius: 10px;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

/* Hover */
.techchamp-toc .toc-list.toc-list a:hover {
  color: #009879;
  background: rgba(0, 152, 121, 0.09);
  transform: translateX(3px);
  box-shadow: 0 7px 16px rgba(15, 23, 42, 0.07);
}

/* Focus */
.techchamp-toc .toc-list.toc-list a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 152, 121, 0.18);
}

/* Nested levels */
.techchamp-toc .toc-list.toc-list ul {
  list-style: none;
  padding-left: 16px;
  margin-top: 4px;
  margin-bottom: 5px;
  border-left: 1px dashed rgba(0, 152, 121, 0.22);
}

/* Nested item spacing */
.techchamp-toc .toc-list.toc-list ul > li + li {
  margin-top: 3px;
}

/* Nested marker */
.techchamp-toc .toc-list.toc-list ul li {
  position: relative;
  padding-left: 13px;
}

.techchamp-toc .toc-list.toc-list ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 2px;
  color: #009879;
  font-weight: 900;
}

/* Nested link style */
.techchamp-toc .toc-level-3 > a,
.techchamp-toc .toc-level-4 > a,
.techchamp-toc .toc-level-5 > a,
.techchamp-toc .toc-level-6 > a {
  font-size: 0.86rem;
  font-weight: 630;
  color: #334155;
  opacity: 0.98;
}

/* H2 entries */
.techchamp-toc .toc-level-2 > a {
  font-weight: 780;
}

/* Mobile */
@media (max-width: 640px) {
  .techchamp-toc {
    padding: 16px 15px;
    border-radius: 15px;
    margin: 24px 0 30px;
  }

  .techchamp-toc .toc-title {
    font-size: 0.84rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .techchamp-toc .toc-title::before {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .techchamp-toc .toc-list.toc-list a {
    padding: 6px 8px;
    font-size: 0.86rem;
  }

  .techchamp-toc .toc-level-3 > a,
  .techchamp-toc .toc-level-4 > a,
  .techchamp-toc .toc-level-5 > a,
  .techchamp-toc .toc-level-6 > a {
    font-size: 0.82rem;
  }
}