/**
 * CDA Forum Styles
 */

/* Container */
.forum-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2em;
    text-align: left;
}

/* Tytuły */
.forum-title {
    margin: 0 0 1.5em 0;
    font-size: 1.8em;
}

.section-group-title {
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 0.75em 0;
}

.forum-section-group {
    margin-bottom: 2em;
}

/* Sekcja - wiersz */
.forum-section-row {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-section-row:hover {
    color: #f86a22;
}

.forum-section-row:last-child {
    border-bottom: none;
}

.section-icon {
    color: #f86a22;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.section-name {
    flex: 1;
    font-weight: 500;
}

.section-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
}

.section-activity {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85em;
}

/* Breadcrumb */
.forum-breadcrumb {
    margin-bottom: 1em;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
}

.forum-breadcrumb a {
    color: #f86a22;
    text-decoration: none;
}

.forum-breadcrumb .separator {
    margin: 0 0.5em;
}

/* Header z przyciskiem */
.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
}

.forum-header h1 {
    margin: 0;
    font-size: 1.5em;
}

/* Topic row */
.forum-topic-row {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 0.75em 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-topic-row:hover {
    color: #f86a22;
}

.forum-topic-row.is-pinned .topic-title::before {
    content: "PRZYPIĘTY";
    font-size: 0.65em;
    background: #f86a22;
    color: white;
    padding: 0.2em 0.5em;
    border-radius: 3px;
    margin-right: 0.75em;
    font-weight: 600;
}

.topic-icon {
    color: #f86a22;
    font-size: 18px;
}

.topic-info {
    flex: 1;
}

.topic-title {
    margin: 0;
    font-size: 1em;
    font-weight: 500;
}

.topic-meta {
    margin-top: 0.25em;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
}

.topic-meta img {
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0.25em;
}

.topic-stats {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

/* Widok tematu */
.topic-header {
    margin-bottom: 1.5em;
}

.topic-header h1 {
    margin: 0 0 0.5em 0;
    font-size: 1.5em;
}

.topic-moderation {
    display: flex;
    gap: 0.5em;
    margin-top: 0.5em;
}

/* Pierwszy post */
.topic-first-post {
    padding: 1.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5em;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

.post-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.author-name {
    font-weight: 600;
}

.post-date {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

.post-content,
.topic-content {
    line-height: 1.7;
}

/* Article preview */
.article-preview {
    display: flex;
    gap: 1.5em;
}

.article-thumbnail {
    flex-shrink: 0;
}

.article-thumbnail img {
    width: 160px;
    border-radius: 4px;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.article-link {
    display: inline-block;
    margin-top: 1em;
    color: #f86a22;
    text-decoration: none;
}

/* Komentarze w forum - struktura z motywu */
.topic-comments .commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.topic-comments .commentlist > li {
    margin-bottom: 1.5em;
}

.topic-comments .comment-item {
    display: flex;
    gap: 1em;
}

.topic-comments .comment-item .avatar {
    flex-shrink: 0;
}

.topic-comments .comment-item .avatar img {
    border-radius: 50%;
}

.topic-comments .comment-right {
    flex: 1;
    min-width: 0;
}

.topic-comments .comment-meta {
    margin-bottom: 0.5em;
    font-size: 0.9em;
}

.topic-comments .comment-author {
    font-weight: 600;
}

.topic-comments .comment-date {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.5em;
}

.topic-comments .comment-date a {
    color: inherit;
    text-decoration: none;
}

.topic-comments .comment-content {
    line-height: 1.6;
}

.topic-comments .comment-content p:last-child {
    margin-bottom: 0;
}

.topic-comments .reply {
    margin-top: 0.5em;
}

.topic-comments .reply a {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    padding: 0.15em 0.5em;
    border-radius: 3px;
    font-size: 0.8em;
    text-decoration: none;
}

.topic-comments .reply a:hover {
    border-color: #f86a22;
    color: #f86a22;
}

/* Zagnieżdżone komentarze (dzieci) */
.topic-comments .children {
    list-style: none;
    margin: 1em 0 0 0;
    padding-left: calc(1em + 64px);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.topic-comments .children > li {
    margin-bottom: 1em;
}

.topic-comments .children .children {
    padding-left: 2em;
}

/* Light mode */
.lights-on .topic-comments .comment-date {
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .topic-comments .children {
    border-left-color: rgba(0, 0, 0, 0.1);
}

.lights-on .topic-comments .reply a {
    border-color: rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.5);
}

/* Formularz odpowiedzi */
.reply-form-container {
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-form-container h3 {
    margin: 0 0 1em 0;
    font-size: 1em;
}

#comment {
    width: 100%;
    min-height: 100px;
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: inherit;
    font-family: inherit;
    font-size: 1em;
}

#comment:focus {
    outline: none;
    border-color: #f86a22;
}

.form-submit {
    margin-top: 0.75em;
}

#submit {
    background: #f86a22;
    border: none;
    color: white;
    padding: 0.6em 1.5em;
    border-radius: 4px;
    cursor: pointer;
}

#submit:hover {
    background: #e55a12;
}

.reply-form-locked {
    padding: 1.5em;
    color: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-top: 1em;
}

/* Nowy temat */
.new-topic-form {
    max-width: 700px;
}

.form-field {
    margin-bottom: 1.5em;
}

.form-field label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
}

.form-field input[type="text"],
.form-field textarea {
    width: 100%;
    padding: 0.75em;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: inherit;
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #f86a22;
}

.field-hint {
    margin-top: 0.5em;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    gap: 1em;
}

.form-message.error {
    padding: 1em;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
    border-radius: 4px;
    margin-top: 1em;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.5em 1.25em;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9em;
}

.button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.button-primary {
    background: #f86a22;
    border-color: #f86a22;
    color: white;
}

.button-primary:hover {
    background: #e55a12;
}

/* Paginacja */
.forum-pagination {
    display: flex;
    gap: 0.5em;
    margin-top: 1.5em;
}

.forum-pagination a,
.forum-pagination span {
    padding: 0.4em 0.8em;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
}

.forum-pagination .current {
    background: #f86a22;
    color: white;
}

/* Puste */
.forum-empty {
    color: rgba(255, 255, 255, 0.5);
    padding: 2em 0;
}

.forum-empty a {
    color: #f86a22;
}

/* Mobile */
@media (max-width: 768px) {
    .forum-container {
        padding: 1em;
    }

    .section-count,
    .section-activity {
        display: none;
    }

    .topic-stats {
        display: none;
    }

    .article-preview {
        flex-direction: column;
    }

    .article-thumbnail img {
        width: 120px;
    }
}

/* Light mode */
.lights-on .forum-section-row,
.lights-on .forum-topic-row {
    border-color: rgba(0, 0, 0, 0.05);
}

.lights-on .section-count,
.lights-on .section-activity,
.lights-on .topic-meta,
.lights-on .reply-date {
    color: rgba(0, 0, 0, 0.5);
}

/* Topic actions bar */
.topic-actions {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

/* Subscription button */
.subscription-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.4em 0.8em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s ease;
}

.subscription-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

.subscription-btn.subscribed {
    background: rgba(248, 106, 34, 0.15);
    border-color: rgba(248, 106, 34, 0.4);
    color: #f86a22;
}

.subscription-btn.subscribed:hover {
    background: rgba(248, 106, 34, 0.2);
}

.subscription-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.subscription-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Light mode - subscription */
.lights-on .subscription-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .subscription-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.7);
}

.lights-on .subscription-btn.subscribed {
    background: rgba(248, 106, 34, 0.1);
    border-color: rgba(248, 106, 34, 0.3);
    color: #e55a12;
}

/* Light mode - general text improvements */
.lights-on .section-group-title {
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .post-date,
.lights-on .author-info .post-date {
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .topic-first-post {
    border-color: rgba(0, 0, 0, 0.1);
}

.lights-on .article-excerpt {
    color: rgba(0, 0, 0, 0.75);
}

.lights-on .reply-form-locked {
    color: rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 0, 0, 0.2);
}

.lights-on #comment {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
}

.lights-on .button {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.lights-on .button:hover {
}

.lights-on .button-primary {
    background: #f86a22;
    border-color: #f86a22;
    color: white;
}

.lights-on .button-primary:hover {
    background: #e55a12;
    border-color: #e55a12;
}

.lights-on .form-field input[type="text"],
.lights-on .form-field textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
}

.lights-on .field-hint {
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .forum-pagination a,
.lights-on .forum-pagination span {
    background: rgba(0, 0, 0, 0.05);
}

.lights-on .forum-empty {
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .topic-stats {
    color: rgba(0, 0, 0, 0.5);
}

.lights-on .no-comments {
    color: rgba(0, 0, 0, 0.5);
}

/* ========================================
   UX FIXES - Better contrast & light mode
   ======================================== */

/* Fix low contrast in light mode - increase opacity */
.lights-on .section-count,
.lights-on .section-activity {
    color: rgba(0, 0, 0, 0.65);
}

.lights-on .topic-meta {
    color: rgba(0, 0, 0, 0.65);
}

.lights-on .topic-stats {
    color: rgba(0, 0, 0, 0.65);
}

.lights-on .post-date,
.lights-on .author-info .post-date {
    color: rgba(0, 0, 0, 0.6);
}

.lights-on .field-hint {
    color: rgba(0, 0, 0, 0.6);
}

.lights-on .forum-empty {
    color: rgba(0, 0, 0, 0.6);
}

.lights-on .no-comments {
    color: rgba(0, 0, 0, 0.6);
}

/* Light mode breadcrumb */
.lights-on .forum-breadcrumb {
    color: rgba(0, 0, 0, 0.6);
}

.lights-on .forum-breadcrumb a {
    color: #d45a1a;
}

.lights-on .forum-breadcrumb a:hover {
    color: #f86a22;
}

/* Light mode section group title */
.lights-on .section-group-title {
    color: rgba(0, 0, 0, 0.55);
}

/* Light mode blockquotes in comments */
.lights-on .comment-content blockquote,
.lights-on .topic-content blockquote {
    border-left: 3px solid rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.7);
}

/* Dark mode blockquotes */
.comment-content blockquote,
.topic-content blockquote {
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75em 1em;
    margin: 0.5em 0;
    border-radius: 0 4px 4px 0;
}

/* Better visual separation between section groups */
.forum-section-group {
    margin-bottom: 2.5em;
    padding-bottom: 1em;
}

.forum-section-group:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lights-on .forum-section-group:not(:last-child) {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* Fix topic-header spacing with actions */
.topic-header {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    margin-bottom: 1.5em;
}

.topic-header h1 {
    margin: 0;
}

/* Consistent spacing for topic actions */
.topic-actions {
    display: flex;
    align-items: center;
    gap: 0.75em;
    flex-wrap: wrap;
    padding-top: 0.5em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lights-on .topic-actions {
    border-top-color: rgba(0, 0, 0, 0.05);
}

/* Better reply button visibility */
.topic-comments .reply a {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

.lights-on .topic-comments .reply a {
    color: rgba(0, 0, 0, 0.55);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Fix mobile contrast too */
@media (max-width: 768px) {
    .lights-on .forum-breadcrumb {
        color: rgba(0, 0, 0, 0.65);
    }
}

/* ==========================================================================
   Forum Sidebar (desktop only)
   ========================================================================== */

.forum-layout {
    display: flex;
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.forum-main-content {
    flex: 1;
    min-width: 0;
}

.forum-sidebar {
    text-align: left;
    width: 300px;
    flex-shrink: 0;
}

/* Hide sidebar on mobile/tablet */
@media (max-width: 1024px) {
    .forum-layout {
        display: block;
    }

    .forum-sidebar {
    text-align: left;
        display: none;
    }
}

/* Sidebar sections */
.sidebar-section {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1em;
    margin-bottom: 1em;
}

.lights-on .sidebar-section {
    text-align: left;
    background: rgba(0, 0, 0, 0.02);
}

.sidebar-title {
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.75em 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lights-on .sidebar-title {
    color: rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Sidebar list items */
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.sidebar-item {
    display: block;
    padding: 0.5em 0.75em;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lights-on .sidebar-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sidebar-item-title {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lights-on .sidebar-item-title {
    color: rgba(0, 0, 0, 0.85);
}

.sidebar-item-meta {
    display: block;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.15em;
}

.lights-on .sidebar-item-meta {
    color: rgba(0, 0, 0, 0.5);
}

/* Sidebar stats */
.sidebar-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75em;
}

.stat-item {
    text-align: center;
    padding: 0.5em;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.lights-on .stat-item {
    background: rgba(0, 0, 0, 0.03);
}

.stat-item-wide {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 1.25em;
    font-weight: 600;
    color: #f86a22;
}

.stat-item-wide .stat-value {
    font-size: 0.9em;
}

.stat-label {
    display: block;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.15em;
}

.lights-on .stat-label {
    color: rgba(0, 0, 0, 0.5);
}

.stat-item-wide .stat-label {
    margin-top: 0;
}

/* Login prompt in sidebar */
.sidebar-login-prompt {
    text-align: center;
}

.sidebar-login-prompt p {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 0.75em 0;
}

.lights-on .sidebar-login-prompt p {
    color: rgba(0, 0, 0, 0.6);
}

.sidebar-login-prompt .button {
    display: inline-block;
    padding: 0.5em 1.25em;
    background: #f86a22;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.sidebar-login-prompt .button:hover {
    background: #d45a1a;
}

/* Topic row - updated layout */
.forum-topic-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-topic-row .topic-main {
    display: flex;
    align-items: center;
    gap: 1em;
    flex: 1;
    padding: 0.75em 0;
    text-decoration: none;
    color: inherit;
}

.forum-topic-row .topic-main:hover {
    color: #f86a22;
}

.forum-topic-row .topic-activity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 0.75em 0 0.75em 1em;
    text-decoration: none;
    color: inherit;
    min-width: 140px;
    text-align: right;
}

.forum-topic-row .topic-activity:hover {
    color: #f86a22;
}

.forum-topic-row .activity-last {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

.lights-on .forum-topic-row .activity-last {
    color: rgba(0, 0, 0, 0.6);
}

.forum-topic-row .activity-time {
    display: block;
}

.forum-topic-row .activity-author {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.45);
}

.lights-on .forum-topic-row .activity-author {
    color: rgba(0, 0, 0, 0.45);
}

.forum-topic-row .activity-count {
    display: block;
    margin-top: 0.35em;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.4);
}

.lights-on .forum-topic-row .activity-count {
    color: rgba(0, 0, 0, 0.4);
}

/* Remove old topic-stats styles collision */
.forum-topic-row .topic-stats {
    display: none;
}


/* Fix anchor scroll offset for sticky header */
.comment,
[id^="comment-"] {
    scroll-margin-top: 80px;
}


/* Article body wrapper - keeps excerpt and link together */
.article-body {
    flex: 1;
}

.article-body .article-link {
    display: inline-block;
    margin-top: 1em;
}

/* ==========================================================================
   Pagination hover (missing)
   ========================================================================== */

.forum-pagination a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lights-on .forum-pagination a:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness
   ========================================================================== */

@media (max-width: 1024px) {
    .forum-layout {
        flex-direction: column;
    }

    .forum-sidebar {
        width: 100%;
        display: block;
    }
}

@media (max-width: 768px) {
    .forum-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75em;
    }

    .topic-header {
        flex-direction: column;
    }

    .topic-actions {
        flex-wrap: wrap;
    }

    .topic-moderation {
        flex-wrap: wrap;
    }

    .form-actions {
        flex-wrap: wrap;
    }

    .forum-topic-row .topic-activity {
        min-width: auto;
    }

    .forum-topic-row .activity-author {
        display: none;
    }

    .post-author img {
        width: 40px;
        height: 40px;
    }

    .topic-comments .children {
        padding-left: 1.5em;
    }

    .forum-breadcrumb {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .forum-pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .forum-topic-row .topic-activity {
        display: none;
    }

    .post-author {
        gap: 0.75em;
    }

    .article-thumbnail img {
        width: 100%;
        max-width: 200px;
    }
}

/* Topic image in first post */
.forum-image-display {
    margin-top: 1em;
}

.forum-image-display img {
    max-width: 100%;
    max-height: 600px;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
}

.forum-image-display img:hover {
    opacity: 0.9;
}
