.counseling-page { padding-top: 78px; background: #f6f9fc; min-height: 100vh; }
.counseling-hero { padding: 56px 0 38px; background: linear-gradient(135deg, #eef9fb, #f3f0ff); border-bottom: 1px solid #e7edf3; }
.counseling-hero h1 { margin: .55rem 0; font-size: clamp(2rem, 4vw, 3.25rem); }
.counseling-hero p { max-width: 760px; margin: 0; color: #5d6670; font-size: 1.05rem; }
.counseling-kicker { display: inline-flex; align-items: center; padding: .4rem .75rem; border-radius: 999px; background: rgba(4, 158, 187, .12); color: #047f98; font-weight: 600; }
.counseling-search .input-group { box-shadow: 0 .35rem 1.2rem rgba(31, 45, 61, .08); }
.counseling-composer, .counseling-post, .login-callout { border: 1px solid #e5ebf1; border-radius: 16px; }
.author-avatar { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #049ebb, #6f42c1); font-weight: 700; }
.author-avatar-sm { width: 42px; height: 42px; flex-basis: 42px; }
.author-avatar-xs { width: 32px; height: 32px; flex-basis: 32px; font-size: .78rem; }
.counseling-feed { display: grid; gap: 1rem; }
.counseling-post { scroll-margin-top: 100px; }
.post-body { color: #333e48; line-height: 1.7; overflow-wrap: anywhere; }
.min-w-0 { min-width: 0; }
.post-media-grid, .media-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.post-media { overflow: hidden; border-radius: 12px; border: 1px solid #e2e8ef; background: #101418; }
.post-media-image img, .post-media-video video { display: block; width: 100%; max-height: 430px; object-fit: contain; }
.post-media-grid > :only-child { grid-column: 1 / -1; }
.post-link-card { grid-column: 1 / -1; display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid #dde6ee; border-radius: 12px; color: #23313f; background: #f9fbfd; }
.post-link-card:hover { border-color: #049ebb; color: #047f98; }
.post-link-card small { display: block; color: #78838d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-link-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #049ebb; font-size: 1.2rem; }
.media-preview-item { position: relative; min-height: 130px; border: 1px solid #dde5ec; border-radius: 10px; overflow: hidden; background: #eef2f5; }
.media-preview-item img, .media-preview-item video { width: 100%; height: 180px; object-fit: contain; background: #111; }
.media-preview-item small { display: block; padding: .45rem .65rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-preview { border: 1px solid #dfe7ee; border-radius: 12px; padding: 1rem; background: #f8fbfd; }
.comments-area { border-top: 1px solid #edf0f3; padding-top: 1rem; }
.comment-item { display: flex; gap: .65rem; margin-top: .8rem; }
.comment-reply { margin-left: 2.65rem; }
.comment-bubble { padding: .65rem .8rem; border-radius: 12px; background: #f3f6f8; overflow-wrap: anywhere; }
.comment-bubble p { font-size: .94rem; line-height: 1.5; }
.role-badge { font-size: .65rem; }
.empty-discussion { border: 2px dashed #d8e1e8; border-radius: 16px; background: #fff; }
.empty-discussion > i { font-size: 3rem; color: #8fa0ae; }
@media (max-width: 767.98px) {
    .counseling-page { padding-top: 66px; }
    .counseling-hero { padding: 38px 0 26px; }
    .counseling-composer .card-body, .counseling-post .card-body { padding: 1rem !important; }
    .post-media-grid, .media-preview-grid { grid-template-columns: 1fr; }
    .post-media-grid > * { grid-column: auto !important; }
    .comment-reply { margin-left: 1.25rem; }
}
