.banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-bottom: 4px solid #d00;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 10px;
}

.author-info {
  display: flex;
  justify-content: space-between;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.toc {
  background-color: #f9f9f9;
  border-left: 4px solid #d00;
  padding: 15px;
  margin-bottom: 30px;   transition: 0.2s;
}
.toc:hover {
    transition: 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.toc a:hover {
    transition: 0.2s;
  color: rgb(34, 31, 31);
}
.toc h4 {
  margin: 0 0 10px 0;
  color: rgb(0, 0, 0);
}

.toc ul {
  list-style: none;
  padding: 0;
}

.toc li {
  margin-bottom: 6px;
}

.toc a {
  text-decoration: none;
  color: #d00;
  transition: 0.2s;
}

.toc a:hover {
  text-decoration: underline;
}

h2 {
  color: #d00;
  margin-top: 40px;
}

p {
  margin-bottom: 20px;
}
.container img {
  width: 100%;
  margin: 20px 0;
  border-radius: 8px;
}


@media (max-width: 1200px) {
    .container {
    max-width: 350px;
    margin: 40px auto;
    padding: 50px 0px;
}
}
