body {
  font-family: "Roboto", sans-serif;
  line-height: 1.7;
  margin: 0;
  background-color: #f0f2f5;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #2c3e50;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.full-post {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.post-header-title {
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #1f1f21;
  line-height: 1.2;
  padding: 5px 0;
}

.post-header-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 25px;
}

.post-header-meta span,
.post-header-meta time {
  margin-right: 15px;
}

.post-hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-hero-image {
  width: 80%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.post-content h3 {
  font-family: "Poppins", sans-serif;
  color: #212020;
  font-size: 21px;
  line-height: 28px;
  font-weight: 600;
  padding: 20px 0 10px;
}

.post-content h4 {
  font-family: "Poppins", sans-serif;
  color: #313131;
  font-size: 19px;
  line-height: 28px;
  font-weight: 600;
  padding: 15px 0 3px;
}

.post-content p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 31px;
  color: #272727;
  font-size: 17px;
  text-align: justify;
}

.post-content .intro {
  font-size: 19px;
  font-weight: 500;
  color: #313131;
}

.post-content strong {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.toc-container {
  margin-bottom: 1.5rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-top: 0.8rem;
  border-radius: 8px;
}

#toc-toggle {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 35px;
  height: 30px;
  border: 1px solid #ddd;
  outline: none;
  border-radius: 2px;
}

.toc h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.toc li {
  position: relative;
  margin: 0.4rem 0;
  padding-left: 1.5em;
}

.toc li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  border: 1px solid #333;
  background-color: white;
}

.toc a {
  text-decoration: none;
  color: #444444;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.toc a:hover {
  text-decoration: underline;
}

.toc {
  max-height: 800px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.toc.hidden {
  max-height: 0;
}

[id] {
  scroll-margin-top: 120px;
}

.toc-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc-toggle-line-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.toc-toggle-dot {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #999;
}

.toc-toggle-line {
  display: block;
  width: 15px;
  height: 2px;
  background-color: #999;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .post-header-title {
    font-size: 22px;
  }

  .full-post {
    padding: 20px;
  }

  .post-content strong {
    font-size: 14px;
    line-height: 28px;
  }

  .post-content p {
    font-size: 14px;
    line-height: 28px;
  }

  .post-content h2 {
    font-size: 17px;
  }
  .post-content h3 {
    font-size: 15px;
  }

  .post-content .intro {
    font-size: 16px;
  }

  .toc {
    line-height: 16px;
  }

  .toc a {
    text-decoration: none;
    color: #444444;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 12px;
    text-align: justify;
  }
}
