.board-section {
  position: relative;
}
.board-section--pinned {
  margin-bottom: 1.75rem;
}
.board-section--regular {
  padding-top: 0.5rem;
}
.board-post-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  margin: 0.75rem;
  background: rgba(16, 20, 27, 0.85);
  backdrop-filter: blur(4px);
  box-shadow: 0 14px 30px rgba(6, 8, 12, 0.35);
  transition: transform 180ms ease, box-shadow 200ms ease;
}
.board-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(6, 8, 12, 0.45);
}
.board-post-card--pinned {
  border: none;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 255, 255, 0.08));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}
.board-post-card--pinned::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #00ff11cc, rgba(255, 255, 255, 0.2));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.board-post-card--pinned h3 a {
  color: #00ff229d;
}
/* Post detail styling */
.post-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(2px);
}
.post-title {
  color: #ecf0f1 !important;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #3498db, #2980b9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.post-subtitle {
  color: #bdc3c7 !important;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  font-style: italic;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.post-content {
  color: #ecf0f1;
  line-height: 1.8;
  font-size: 1.1rem;
  padding: 1rem 0;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: #3498db;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.post-content h1 {
  font-size: 2rem;
}
.post-content h2 {
  font-size: 1.75rem;
}
.post-content h3 {
  font-size: 1.5rem;
}
.post-content h4 {
  font-size: 1.25rem;
}
.post-content h5 {
  font-size: 1.1rem;
}
.post-content h6 {
  font-size: 1rem;
}
.post-content p {
  margin-bottom: 0.5rem;
  text-align: justify;
}
.post-content ul,
.post-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.post-content blockquote {
  border-left: 4px solid #3498db;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #95a5a6;
}
.post-content code {
  background: rgba(52, 152, 219, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #3498db;
}
.post-content pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Simple table styling - only cell borders */
.board-post-card table,
.board-post-card .table {
  border-collapse: collapse;
  width: 100%;
}
.board-post-card table td,
.board-post-card table th,
.board-post-card .table td,
.board-post-card .table th {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px;
}
/* Mobile responsive styles */
@media (max-width: 768px) {
  .board-post-card {
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 1rem;
    max-width: 98%;
    box-sizing: border-box;
  }
  .board-post-card h3 {
    font-size: 1.2rem;
  }
  .board-post-card h5 {
    font-size: 1rem;
  }
  .board-post-card table,
  .board-post-card .table {
    font-size: 0.8rem;
  }
  .board-post-card table td,
  .board-post-card table th,
  .board-post-card .table td,
  .board-post-card .table th {
    padding: 4px 2px;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .board-post-card {
    padding: 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
  }
  .board-post-card h3 {
    font-size: 1.1rem;
  }
  .board-post-card h5 {
    font-size: 0.9rem;
  }
}