.structure-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 600px; /* Optional: limit the width of the structure container */
  margin: 0 auto; /* Center the container within the post-content */
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px;
  background-color: #f0f8ff;
  border-radius: 8px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.post-content ul {
  list-style-type: none; /* Remove default list styling */
  padding: 0;
  text-align: center; /* Left align list items within the centered block */
  display: inline-block; /* Make the list inline-block to center it */
  margin: 0 auto; /* Center the list */
}

.post-content li {
  font-size: 16px;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Centering the figure inside a div */
.figure-container {
  display: flex;
  justify-content: center; /* Centers the figure horizontally */
  align-items: center; /* Centers the figure vertically */
  margin-top: 20px;
}

.figure-container figure {
  margin: 0; /* Remove any default margin on figure */
}

.figure-container img {
  max-width: 100%; /* Ensure image does not overflow */
  height: auto; /* Maintain aspect ratio */
  border-radius: 8px; /* Optional: adds rounded corners to the image */
}
.equation-container {
  display: flex;
  justify-content: center; /* Centers the equation horizontally */
  align-items: center; /* Centers vertically */
  background-color: #fff; /* Optional background for better contrast */
  border-radius: 8px;
  max-width: 95%; /* Makes it responsive for smaller screens */
}

.equation-container p {
  color: #333;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .structure-container {
    width: 80%;
  }

  .equation-container {
    padding: 15px;
    font-size: 10px; /* Slightly reduce font size for mobile */
  }

  .equation-container p {

    font-size: 10px; /* Adjust text size for mobile readability */
  }

  .step {

    font-size: 10px;
  }
}