.post-card {
    background: var(--surface-color);
    position: relative;
}

.single-card-post-hero {
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.post-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12) 0%,
            rgba(0, 0, 0, 0.18) 30%,
            rgba(0, 0, 0, 0.65) 100%
    );
}

.post-card-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 700px;
}

.post-card-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin: 0 auto;
    text-wrap: balance;
    text-transform: uppercase;
}

.post-card-author {
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.post-card-author-fallback,
.empty-response {
    background: var(--secondary-link-color);
    color: var(--primary-link-color);
    font-size: 1rem;
}

.post-card-author-name {
    font-weight: 700;
    color: #212529;
}

.post-card-author-role {
    font-size: 0.925rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.post-card-meta {
    font-size: 0.92rem;
    color: #6c757d;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.post-card-body {
    font-size: 1rem;
    line-height: 1.85;
    color: #212529;
    padding-bottom: 1rem;
}

.post-card-body > * {
    max-width: 70ch;
}

.post-card-body p,
.post-card-body ul,
.post-card-body ol,
.post-card-body blockquote,
.post-card-body h2,
.post-card-body h3 {
    margin-left: auto;
    margin-right: auto;
}

.tags-container {
    border-bottom: 1px solid #eee;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.post-card-body p:last-child {
    margin-bottom: 0;
}

.post-card-body a {
    color: var(--primary-link-color);
    text-decoration: underline;
}

.post-card-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--surface-radius-sm);
}

.response-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.responses-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.response-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 0;
}

.response-item + .response-item {
    border-top: 1px solid #eee;
}

.response-item:last-child {
    border-bottom: 1px solid #eee;
}

.response-avatar {
    flex: 0 0 auto;
}

.response-avatar-fallback {
    font-size: 0.9rem;
}

.response-main {
    flex: 1 1 auto;
    min-width: 0;
}

.response-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.response-author {
    font-weight: 600;
    color: #212529;
}

.response-role {
    color: #6c757d;
    font-size: 0.9rem;
}

.response-role::before {
    content: "\2022";
    margin-right: 0.35rem;
    color: #adb5bd;
}

.response-date {
    color: #999;
    font-size: 0.85rem;
}

.response-date::before {
    content: "\2022";
    margin-right: 0.35rem;
    color: #adb5bd;
}

.response-body {
    color: #212529;
    font-size: 0.96rem;
    line-height: 1.7;
}

.response-delete {
    margin-left: auto;
}

.response-body p:last-child {
    margin-bottom: 0;
}

.response-create {
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.message-board-index-filter {
    display: flex;
    justify-content: flex-end;
}

.message-board-index-filter .message-board-filter {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    .message-board-index-filter {
        display: block;
    }
}
