a {
    color: white;
}

.post-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.post-hero {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 28px;
    background: rgba(255, 255, 255, .04);
}

.post-header {
    margin-top: 14px;
    margin-bottom: 8px;
    display: grid;
    gap: 8px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    font-size: .95rem;
    opacity: .9;
}

.badge {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .8rem;
    text-transform: uppercase;
}

.post-content {
    color: var(--primary-color);
    opacity: .98;
    line-height: 1.8;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-bottom: .55em;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 28px;
}

.post-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.loader {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .25);
    border-top-color: var(--secondary-color);
    animation: spin .9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty {
    opacity: .85;
    font-style: italic;
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, .25);
    border-radius: 28px;
}

.pn-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 26px;
}

.pn-nav a {
    text-decoration: none;
}

.pn-item {
    flex: 1 1 50%;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    padding: 12px;
    display: grid;
    gap: 4px;
}

.pn-label {
    font-size: .8rem;
    opacity: .8;
    text-transform: uppercase;
}

pre {
    overflow: auto;
    background: rgba(255, 255, 255, .04);
    padding: 12px;
    border-radius: 12px;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* breadcrumb tiny */
.crumbs {
    font-size: .9rem;
    opacity: .9;
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 10px 0 2px 0;
}

.crumbs a {
    text-decoration: none;
}