/* recipe-toc.css - Table of Contents styling */

.toc-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 26px;
  margin: 32px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-family: "Poppins", "Inter", sans-serif;
}

.toc-box h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #DD5903;
  font-weight: 700;
}

.toc-box ol {
  margin: 10px 0 0 18px;
  padding: 0;
}

.toc-box ol li {
  margin: 6px 0;
}

.toc-box ol li a {
  font-weight: 400 !important; /* force normal weight */
  color: #0F1A1A;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 1rem;
}



.toc-box ol li a:hover {
  color: #DD5903;
  text-decoration: underline;
}

.jump-btn {
  background: #DD5903;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.jump-btn:hover {
  opacity: 0.9;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  .toc-box {
    padding: 16px 18px;
    margin: 20px 0;
  }

  .toc-box h3 {
    font-size: 1.1rem;
  }

  .toc-box ol li a {
    font-size: 0.95rem;
  }

  .jump-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }

  .toc-box ol {
    margin-left: 12px;
  }

  .toc-box ol li {
    margin: 4px 0;
  }
}


/* Jump to Recipe Button - Support both class names */
.jump-btn,
.jump-button,
a.jump-btn,
a.jump-button {
  display: inline-block;
  background: #DD5903 !important;
  color: #fff !important;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-size: 16px;
}

.jump-btn:hover,
.jump-button:hover,
a.jump-btn:hover,
a.jump-button:hover {
  opacity: 0.9;
  background: #c24f02 !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.jump-btn:visited,
.jump-button:visited {
  color: #fff !important;
}

/* Container centering */
.jump-button-container {
  text-align: center;
  margin: 20px 0;
  padding: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .jump-btn,
  .jump-button {
    padding: 10px 20px;
    font-size: 15px;
  }
}