/* Cards flow inside the multi-column container defined in index.css. They are
   statically positioned (the old build placed them absolutely from JavaScript)
   and never break across two columns. `margin-bottom` matches the 16px column
   gap so the masonry grid stays visually even.

   `display: block` overrides the `mdui-card` host style (`inline-block`); an
   inline-level card keeps the whole column stack in the first column because
   Chrome's multi-column balancer treats it as an inline-level item. */
.post-card {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 20px;
    background-color: rgb(var(--mdui-color-secondary-container));
    position: static;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.post-card-meta {
    margin-bottom: 16px;
}

.post-card-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: 4px;
}

.post-card-main {
    display: flex;
    flex-direction: column;
    column-gap: 12px;
}

.post-card-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
    color: rgb(var(--mdui-color-primary));
}

.post-card-content {
    font-size: 16px;
    color: rgb(var(--mdui-color-on-secondary-container));
}

.post-card-date {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgb(var(--mdui-color-tertiary));
}

.post-card-forward {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 40px;
    border-radius: 21px;
    background-color: rgb(var(--mdui-color-primary));
}

.post-card-forward-div {
    display: flex;
    justify-content: center;
    height: 40px;
}

.post-card-forward-icon {
    font-size: 24px;
    color: rgb(var(--mdui-color-on-primary));
    margin: auto;
}
