.single-post-container {
  max-width: 820px;
  margin: auto;
  padding: 2rem 1rem;
}

.breadcrumb a {
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
}

.single-post-content {
  margin-top: 1rem;
}

.meta {
  font-size: 0.85rem;
  color: #666;
}

.post-title {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
  color: #000;
}

.post-body {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.taxonomy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tax-button {
  background: #EFF4FF;
  color: #003594;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  border: none;
  border-radius: 9999px;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.action-buttons button {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  background: white;
  border-radius: 6px;
  cursor: pointer;
}

.resource-link {
  display: inline-block;
  background: #1744da;
  color: white;
  padding: 0.8rem 1.2rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 2rem;
}

.comment-section {
  /* max-width: 600px; */
  margin: auto;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
 /* box-shadow: 0 4px 10px rgba(0,0,0,0.05); */
}

.comment {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.comment:last-child {
  border-bottom: none;
}

.avatar {
  width: 40px;
  height: 40px;
  background: #ccc;
  border-radius: 50%;
  margin-right: 15px;
}

.avatar.active {
  background: #2a71d0;
}

.content {
  flex: 1;
}

.content p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
    color: #333;
}

.top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.username {
  font-weight: bold;
}

.timestamp {
  font-size: 0.85em;
  color: #999;
}

.text {
  margin: 0;
  color: #333;
}

.comment-input {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.comment-input textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 1em;
  margin-bottom: 10px;
}

.comment-input button {
  align-self: flex-end;
  padding: 8px 16px;
  background: #2a71d0;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.comment-input button:hover {
  background: #1d5bbf;
}

.view-all-comments { 
    display: inline-block; 
    margin-top: 1rem; 
    cursor: pointer; 
    color: #0073aa; 

}

button.submit-comment[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transition: all 0.2s ease;
}

.form-submit{
    margin-top: 10px;
}

.logged-in-as{
    display: none;
}

.related-posts h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.related-card {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  background: white;
}

.related-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.related-card h3 {
  font-size: 1rem;
  margin: 0.3rem 0;
}

.related-card .excerpt {
  font-size: 0.85rem;
  color: #555;
}

a {
    text-decoration: none;
    color: #000;
}
