/* === Tutorial Section Styling (No White Box) === */
section.tutorial {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #2d2d2d;

  /* No background box */
  background: none;

  /* Normal layout, full-width */
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;

  /* Remove rounded corners and shadow */
  border-radius: 0;
  box-shadow: none;

  /* Add spacing between sections */
  padding: 6rem 0;

  /* Smooth width transition */
  transition: width 0.3s ease;
}

/* === Headings === */
section.tutorial h1,
section.tutorial h2 {
  font-weight: 700;
  line-height: 1.3;
}

section.tutorial h1 {
  font-size: 2rem;
  color: #1a1a1a;
  border-bottom: 3px solid #4f46e5;
  padding-bottom: 0.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

section.tutorial h2 {
  font-size: 1.4rem;
  color: #4f46e5;
  border-left: 4px solid #4f46e5;
  padding-left: 0.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* === Text & Links === */
section.tutorial p {
  margin-bottom: 1rem;
  text-align: justify;
}

section.tutorial strong {
  color: #1e1e1e;
}

section.tutorial em {
  color: #666;
}

section.tutorial a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

section.tutorial a:hover {
  text-decoration: underline;
}

/* === Lists === */
section.tutorial ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

section.tutorial li {
  margin-bottom: 0.5rem;
}

/* === Code Blocks === */
section.tutorial code {
  background: #f3f4f6;
  color: #d63384;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-family: "Fira Code", monospace;
  font-size: 0.95em;
}

section.tutorial pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: "Fira Code", monospace;
  margin-bottom: 1.5rem;
}

/* === Screenshot placeholders === */
section.tutorial p em {
  display: block;
  text-align: center;
  background: #f7f7f7;
  border: 1px dashed #ccc;
  color: #999;
  font-size: 0.9rem;
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: 6px;
}

/* === Tip Highlight === */
section.tutorial p strong::before {
  content: "👉 ";
  color: #facc15;
  display: inline-block;
  margin-right: 0.2em;
  font-weight: normal;
}

/* === Responsive === */
@media (max-width: 900px) {
  section.tutorial {
    width: 95%;
    padding: 1.5rem 0;
  }

  section.tutorial h1 {
    font-size: 1.7rem;
  }

 

  section.tutorial h2 {
    font-size: 1.2rem;
  }
}
