/* Container */
.post-container {
    width: 100%;
    max-width: 800px;
    margin: 3.5rem auto 0;
    padding: 0 1rem;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem; /* gap-1 */
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.post-tag {
    display: inline-block;
    white-space: nowrap;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    color: #9f7aea; /* default purple-600 */

    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}

.post-tag:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

/* Tag colors */
.post-tag.gray { background-color: #1f2937; color: #9ca3af; }
.post-tag.red { background-color: #7f1d1d; color: #fca5a5; }
.post-tag.blue { background-color: #1e3a8a; color: #93c5fd; }
/* Add more colors as needed */

/* Empty meta placeholder */
.post-meta-empty {
    margin: 0.75rem 0;
    font-size: 0.875rem; /* text-sm */
}

/* Post title */
.post-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    line-height: 1.1; /* leading-none */
    margin-top: 0.5rem;

    color: #f9fafb; /* near-white */
    letter-spacing: -0.02em;
}

/* Post info */
.post-info {
    display: flex;
    gap: 1rem;
    font-weight: 600; /* font-semibold */
    font-family: monospace; /* font-mono */
    font-size: 0.875rem; /* text-sm */
    color: #9ca3af; /* soft gray */
}

.post-info p {
    display: flex;
    align-items: center; /* aligns icon + text vertically - Ionicon specific */
    gap: 0.4rem;
}

/* Subtle divider line */
.post-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .post-info {
        font-size: 1rem; /* lg:text-base */
    }
}

/* GitHub Markdown CSS overrides */
@media (prefers-color-scheme: dark) {
  .markdown-body, [data-theme="dark"] {
    /*dark */
    color-scheme: dark;
    --bgColor-default: hsl(0, 0%, 7%);
  }
}

/* Strip GitHub's header-anchor styling away from normal inline links */
.markdown-body p a, 
.markdown-body li a,
.markdown-body td a {
  float: none !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  line-height: inherit !important;
  display: inline !important;
}