/* SCSS */
/* SCSS */
/* ===== Usage ===== */
.category__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
}

    .category__container .forum-index__category-wrapper {
        padding: 0;
    }

    .category__container .forum-stats__footer {
        padding: 0;
    }

.category__compact {
    width: 100%;
}

    .category__compact .topic-card__main {
        display: grid;
        grid-template-columns: 1fr auto;
    }

        .category__compact .topic-card__main .table__pages-wrapper {
            grid-column: 1;
        }

    .category__compact .topic-card__content {
        display: none;
    }

    .category__compact .topic-card__content-image {
        grid-column: 2;
        grid-row: span 2;
    }

        .category__compact .topic-card__content-image img {
            aspect-ratio: 1/1;
            width: 75px;
        }

    .category__compact .topic-card__expand {
        display: none;
    }

.category__view-toggle {
    display: flex;
    border: 1px solid var(--clr-neutral-80);
    background: var(--clr-surface);
}

    .category__view-toggle .svg-wrapper {
        width: 28px;
        height: 28px;
        padding: 0.25rem;
        color: var(--clr-neutral-50);
    }

        .category__view-toggle .svg-wrapper svg {
            fill: currentColor;
        }

        .category__view-toggle .svg-wrapper:hover {
            color: var(--clr-secondary);
            background: var(--clr-neutral-85);
        }

    .category__view-toggle > * {
        border-right: 1px solid var(--clr-neutral-80);
    }

        .category__view-toggle > *:last-child {
            border-right: 0;
        }

    .category__view-toggle .active {
        background: var(--clr-neutral-85);
        color: var(--clr-secondary);
    }

.category__suggestions {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.category__suggestions-wrapper {
    flex: 1;
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid var(--clr-neutral-80);
    border-radius: 1rem;
    background: var(--clr-surface);
    width: 100%;
}

.category__suggestions-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 125px;
}

.category__suggestions-image img {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
}

.category__suggestions-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
    text-align: center;
    font-size: 14px;
}

    .category__suggestions-content a,
    .category__suggestions-content p {
        display: inline;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-transform: capitalize;
    }

    .category__suggestions-content .pill-secondary {
        margin: 0.5rem 0;
        margin-top: auto;
    }

.category__filter {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

    .category__filter::-webkit-scrollbar {
        display: none;
    }

    .category__filter .active {
        color: var(--clr-secondary);
        border: 1px solid var(--clr-secondary);
        background: var(--clr-surface);
    }

.category__filter-item {
    font-size: 14px;
    border-radius: 0.25rem;
    border: 1px solid var(--clr-neutral-70);
    padding: 0 0.5rem;
    flex-shrink: 0;
    text-align: center;
}

.topic-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

/* Also the JS anchor for the my-posts expander (closest('.topic-card__item')); the card
   chrome comes from .forum-card, so this must not draw its own border. */
.topic-card__item {
    display: flex;
    flex-direction: column;
    background: var(--clr-surface);
}

.topic-card__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    -moz-column-gap: 0.25rem;
    column-gap: 0.25rem;
    padding: 0.5rem;
    position: relative;
}

.topic-card__image {
    grid-column: 1;
    grid-row: span 2;
    overflow: hidden;
}

    .topic-card__image img {
        aspect-ratio: 1/1;
        width: 40px;
        border-radius: 50%;
        -o-object-fit: cover;
        object-fit: cover;
    }

.topic-card .thread__footer {
    border-top: 0;
}

@media only screen and (max-width: 425px) {
    .topic-card .thread__footer {
        display: flex;
        flex-direction: column-reverse;
    }
}

.topic-card__expand {
    margin: 0 auto;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--clr-neutral-80);
    background: var(--clr-surface);
    border-radius: 1rem;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .topic-card__expand:hover {
        background: var(--clr-neutral-85);
        color: var(--clr-secondary);
    }

.topic-card__forum-wrapper, .topic-card__author-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-neutral-10);
}

.topic-card__forum {
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.topic-card__author-wrapper {
    font-size: 13px;
    gap: 1rem;
    grid-column: 2;
}

.topic-card__join {
    font-size: 13px;
    padding: 0.125rem 0.5rem;
    font-weight: 600;
    color: var(--clr-secondary);
}

.topic-card__options {
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.5rem;
    margin-left: auto;
    grid-column: 3;
    grid-row: 1/-1;
    align-self: flex-start;
}

.topic-card__options-list {
    display: none;
    flex-direction: column;
    background: var(--clr-neutral-80);
    padding: 0.25rem 0;
    border: 1px solid var(--clr-neutral-70);
    border-radius: 0.25rem;
    position: absolute;
    top: 2rem;
    right: 0.5rem;
    z-index: 2;
}

.topic-card__options-item {
    text-transform: capitalize;
    font-size: 14px;
    padding: 0 0.5rem;
    border-bottom: 1px solid var(--clr-neutral-70);
}

    .topic-card__options-item:last-child {
        border-bottom: 0;
    }

.topic-card__main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    row-gap: 0.5rem;
    padding: 0.125rem 0.75rem;
}

.topic-card__title {
    font-size: 1rem;
    font-weight: 600;
    word-break: break-word;
}

@media only screen and (min-width: 768px) {
    .topic-card__title {
        font-size: 1.125rem;
    }
}

.topic-card__content {
    grid-column: 1;
}

    .topic-card__content p {
        font-size: 14px;
        color: var(--clr-neutral-20);
    }

.topic-card__content-image {
    max-width: 640px;
}

    .topic-card__content-image img {
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: 0.5rem;
        max-height: 450px;
        width: 100%;
    }

.topic-card__footer {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.topic-card__actions {
    display: grid;
    grid-template-columns: auto auto auto 1fr auto;
    grid-template-areas: "vote stats comments share " "reply reply reply page";
    align-items: center;
    gap: 0.5rem;
    -moz-column-gap: 0.125rem;
    column-gap: 0.125rem;
    width: 100%;
}

@media only screen and (min-width: 576px) {
    .topic-card__actions {
        justify-content: left;
        grid-template-columns: auto auto auto 1fr auto auto;
        grid-template-areas: "vote stats comments share reply page";
    }
}

.topic-card__actions > * {
    display: flex;
    align-items: center;
}

.topic-card__actions .svg-wrapper {
    width: 24px;
    height: 24px;
    padding: 0.25rem;
    border-radius: 50%;
}

    .topic-card__actions .svg-wrapper svg {
        color: var(--clr-neutral-30);
    }

.topic-card__count {
    font-size: 14px;
    color: var(--clr-neutral-40);
}

.topic-card__vote {
    grid-area: vote;
}

.topic-card__share {
    margin-left: auto;
    grid-area: share;
}

.topic-card__page {
    grid-area: page;
    margin-left: auto;
    border: 1px solid var(--clr-neutral-70);
    padding: 0.325rem !important;
}

    .topic-card__page svg {
        transform: rotate(270deg);
    }

@media only screen and (min-width: 576px) {
    .topic-card__page {
        margin-left: 0;
    }
}

.topic-card__last-reply {
    font-size: 12px;
    color: var(--clr-neutral-40);
    grid-area: reply;
}

    .topic-card__last-reply a {
        color: var(--clr-neutral-40);
    }

    .topic-card__last-reply div {
        background: var(--clr-neutral-85);
        border-radius: 0.25rem;
        padding: 0.25rem 0.5rem;
    }

        .topic-card__last-reply div a:first-child {
            font-weight: 600;
        }

        .topic-card__last-reply div a:last-child {
            font-weight: 600;
        }

            .topic-card__last-reply div a:last-child:before {
                content: "by ";
                font-weight: 400;
            }

    .topic-card__last-reply .svg-wrapper {
        background: none;
    }

.topic-card__filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.topic-card__filter-content {
    display: none;
    position: absolute;
    top: 2rem;
    left: 0;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-70);
    list-style-type: none;
}

    .topic-card__filter-content li {
        margin: 0.125rem;
    }

.topic-card__filter-button {
    border: 1px solid var(--clr-neutral-70);
    background: var(--clr-surface);
    position: relative;
    padding-left: 0.25rem;
}

    .topic-card__filter-button::after {
        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" id="down-icon" viewBox="0 0 512 298.04"><path fill-rule="nonzero" d="M12.08 70.78c-16.17-16.24-16.09-42.54.15-58.7 16.25-16.17 42.54-16.09 58.71.15L256 197.76 441.06 12.23c16.17-16.24 42.46-16.32 58.71-.15 16.24 16.16 16.32 42.46.15 58.7L285.27 285.96c-16.24 16.17-42.54 16.09-58.7-.15L12.08 70.78z"/></svg>');
        width: 0.75rem;
        height: 0.75rem;
        position: absolute;
        top: 50%;
        right: 0.75rem;
        transform: translateY(-85%);
    }

.topic-card__filter-button, .topic-card__filter-option {
    display: flex;
    align-items: center;
    padding: 0.25rem;
    gap: 0.25rem;
    width: 175px;
    font-size: 14px;
}

    .topic-card__filter-button .svg-wrapper, .topic-card__filter-option .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

.topic-card__filter-content {
    align-items: center;
    padding: 0.25rem;
    gap: 0.25rem;
    width: 175px;
    font-size: 14px;
}

    .topic-card__filter-content .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

.topic-card__btn {
    align-self: center;
}

.topic-card__toggle-posts {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text-color, var(--clr-neutral-30));
    transition: color 0.2s ease;
    margin-left: auto;
    grid-area: share;
}

    .topic-card__toggle-posts:hover {
        color: var(--primary-color, var(--clr-secondary));
    }

    .topic-card__toggle-posts .svg-wrapper {
        width: 16px;
        height: 16px;
        margin-right: 4px;
        transition: transform 0.3s ease;
    }

.topic-card__posts-container {
    border-top: 1px solid var(--clr-neutral-80);
    padding: 0;
    border-radius: 0 0 6px 6px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.3s ease-in-out, visibility 0s linear 0.3s;
}

    .topic-card__posts-container.expanded {
        padding: 12px;
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        transition: all 0.3s ease-in-out, visibility 0s linear;
    }

.topic-card__posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.topic-card__post-id {
    font-weight: 600;
    color: var(--clr-link);
    border: 1px solid var(--clr-neutral-80);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .topic-card__post-id:hover {
        background-color: var(--clr-neutral-80);
        text-decoration: none;
    }

.topic-card-more {
    border: 1px solid var(--clr-neutral-80);
    height: 28px;
    width: 28px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--clr-link);
    font-weight: 600;
    cursor: pointer;
}

    .topic-card-more:hover {
        background-color: var(--clr-neutral-80);
        text-decoration: none;
    }

.topic-card__no-posts {
    text-align: center;
    color: var(--clr-neutral-40);
    font-style: italic;
    padding: 10px;
}

/* MY POSTS button for card and compact views */
.forum-card__btn {
    width: 100%;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid var(--clr-neutral-80);
    background: var(--clr-surface);
    border-radius: 6px;
    color: var(--clr-link);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

    .forum-card__btn:hover {
        background-color: var(--clr-neutral-90);
        border-color: var(--clr-neutral-70);
    }

    .forum-card__btn .svg-wrapper {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

.category__filter-button {
    text-decoration: none;
    cursor: pointer;
    color: var(--clr-on-body);
}

.forum-card {
    background: var(--clr-surface);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--clr-neutral-80);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.forum-card__filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.forum-card__filter-content {
    display: none;
    position: absolute;
    top: 2rem;
    left: 0;
    background: var(--clr-surface);
    border: 1px solid var(--clr-neutral-70);
    list-style-type: none;
}

    .forum-card__filter-content li {
        margin: 0.125rem;
    }

.forum-card__filter-button {
    border: 1px solid var(--clr-neutral-70);
    background: var(--clr-surface);
    position: relative;
    padding-left: 0.25rem;
}

    .forum-card__filter-button::after {
        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" id="down-icon"   viewBox="0 0 512 298.04"><path fill="currentColor" fill-rule="nonzero" d="M12.08 70.78c-16.17-16.24-16.09-42.54.15-58.7 16.25-16.17 42.54-16.09 58.71.15L256 197.76 441.06 12.23c16.17-16.24 42.46-16.32 58.71-.15 16.24 16.16 16.32 42.46.15 58.7L285.27 285.96c-16.24 16.17-42.54 16.09-58.7-.15L12.08 70.78z"/></svg>');
        width: 0.75rem;
        height: 0.75rem;
        position: absolute;
        top: 50%;
        right: 0.75rem;
        transform: translateY(-85%);
    }

.forum-card__filter-button, .forum-card__filter-option {
    display: flex;
    align-items: center;
    padding: 0.25rem;
    gap: 0.25rem;
    width: 175px;
    font-size: 14px;
}

    .forum-card__filter-button .svg-wrapper, .forum-card__filter-option .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

.forum-card__filter-content {
    align-items: center;
    padding: 0.25rem;
    gap: 0.25rem;
    width: 175px;
    font-size: 14px;
}

    .forum-card__filter-content .svg-wrapper {
        width: 24px;
        height: 24px;
        padding: 0.25rem;
    }

.forum-card__filter__btn {
    align-self: center;
}

.forum-card__filter__toggle-posts {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text-color, var(--clr-neutral-30));
    transition: color 0.2s ease;
    margin-left: auto;
    grid-area: share;
}

    .forum-card__filter__toggle-posts:hover {
        color: var(--primary-color, var(--clr-secondary));
    }

    .forum-card__filter__toggle-posts .svg-wrapper {
        width: 16px;
        height: 16px;
        margin-right: 4px;
        transition: transform 0.3s ease;
    }

.forum-card__filter__posts-container {
    border-top: 1px solid var(--clr-neutral-80);
    padding: 0;
    border-radius: 0 0 6px 6px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.3s ease-in-out, visibility 0s linear 0.3s;
}

    .forum-card__filter__posts-container.expanded {
        padding: 12px;
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease-in-out, visibility 0s linear;
    }

.forum-card__filter__posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.forum-card__filter__post-id {
    font-weight: 600;
    color: var(--clr-link);
    border: 1px solid var(--clr-neutral-80);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .forum-card__filter__post-id:hover {
        background-color: var(--clr-neutral-80);
        text-decoration: none;
    }

.forum-card__filter-more {
    border: 1px solid var(--clr-neutral-80);
    height: 28px;
    width: 28px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--clr-link);
    font-weight: 600;
    cursor: pointer;
}

    .forum-card__filter-more:hover {
        background-color: var(--clr-neutral-80);
        text-decoration: none;
    }

.forum-card__filter__no-posts {
    text-align: center;
    color: var(--clr-neutral-40);
    font-style: italic;
    padding: 10px;
}

.forum-card__header {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.forum-card__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.forum-card__forum {
    font-size: 13px;
    color: var(--clr-neutral-50);
}

    .forum-card__forum span {
        color: var(--clr-neutral-70);
    }

.forum-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-on-surface);
    margin: 0;
    line-height: 1.4;
}

.forum-card__main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ── Social-embed containment (same fix as .thread__main in forum.css) ──────
   The topic-list cards render post bodies too, and the Instagram/Twitter embed
   scripts swap their blockquotes for iframes carrying inline px min-widths and
   render-time-pinned widths that ignore the ~260px card column. */
.forum-card__main iframe,
.forum-card__main embed,
.forum-card__main object {
    max-width: 100%;
}

.forum-card__main .instagram-media,
.forum-card__main .twitter-tweet {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Backstop: anything still holding a pixel width scrolls inside the card
   body instead of spilling over the page. */
.forum-card__content {
    overflow-x: auto;
}

.forum-card__author {
    font-size: 12px;
    color: var(--clr-neutral-60);
}

    .forum-card__author span {
        color: var(--clr-neutral-50);
        font-weight: 500;
    }

.forum-card__content-image {
    margin-top: 0.5rem;
    max-width: 100%;
}

    .forum-card__content-image img,
    .forum-card__content-image .placeholder {
        width: 100%;
        height: 200px;
        border-radius: 8px;
        -o-object-fit: cover;
        object-fit: cover;
        background: var(--clr-neutral-85);
    }

.forum-card__layout {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.forum-card__img-col {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    background: var(--clr-neutral-85);
}

    .forum-card__img-col img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

.forum-card__content-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: stretch;
}

.forum-card__expand {
    align-self: center;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--clr-neutral-80);
    background: var(--clr-surface);
    border-radius: 1rem;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

    .forum-card__expand:hover, .forum-card__expand:focus-visible {
        background: var(--clr-neutral-85);
        color: var(--clr-secondary);
    }

.forum-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.forum-card__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

.forum-card__left, .forum-card__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.forum-card__vote, .forum-card__stats, .forum-card__comments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.forum-card__toggle-posts {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text-color, var(--clr-neutral-30));
    transition: color 0.2s ease;
    margin-left: auto;
    grid-area: share;
}

    .forum-card__toggle-posts:hover {
        color: var(--primary-color, var(--clr-secondary));
    }

    .forum-card__toggle-posts .svg-wrapper {
        width: 16px;
        height: 16px;
        margin-right: 4px;
        transition: transform 0.3s ease;
    }

.forum-card__posts-container {
    border-top: 1px solid var(--clr-neutral-80);
    padding: 0;
    border-radius: 0 0 6px 6px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.3s ease-in-out, visibility 0s linear 0.3s;
}

    .forum-card__posts-container.expanded {
        padding: 12px;
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease-in-out, visibility 0s linear;
    }

.forum-card__posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
}

.forum-card__post-id {
    font-weight: 600;
    color: var(--clr-link);
    border: 1px solid var(--clr-neutral-80);
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .forum-card__post-id:hover {
        background-color: var(--clr-neutral-80);
        text-decoration: none;
    }

.forum-card-more {
    border: 1px solid var(--clr-neutral-80);
    height: 28px;
    width: 28px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--clr-link);
    font-weight: 600;
    cursor: pointer;
}

    .forum-card-more:hover {
        background-color: var(--clr-neutral-80);
        text-decoration: none;
    }

.forum-card__no-posts {
    text-align: center;
    color: var(--clr-neutral-40);
    font-style: italic;
    padding: 10px;
}

.forum-card__last-reply {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 12px;
    color: var(--clr-neutral-40);
}

        .forum-card__last-reply div a {
            color: var(--clr-neutral-40);
            font-weight: 600;
        }

            .forum-card__last-reply div a:last-child::before {
                content: "by ";
                font-weight: 400;
            }

.forum-card__page {
    border: 1px solid var(--clr-neutral-70);
    padding: 0.25rem;
    border-radius: 6px;
}

    .forum-card__page svg {
        transform: rotate(270deg);
        width: 14px;
        height: 14px;
    }

.forum-card__count {
    font-size: 13px;
    color: var(--clr-neutral-50);
}

.forum-card .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .forum-card .svg-wrapper svg {
        width: 15px;
        height: 15px;
    }

.forum__card-latest-reply {
    width: 10px !important;
    height: 10px !important;
}

.forum-card__share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.forum-card .iframe-container {
    width: 100%;
    height: auto;
}

/* Reset padding only when external__wrapper sits inside our special parent */
.external-wrapper-parent > a > div > .external__wrapper {
    padding: 0; /* or whatever padding you need */
    margin: 0; /* optional */
    box-sizing: border-box;
    max-width: 500px;
}

@media only screen and (min-width: 576px) {
    .forum-card__content-image img,
    .forum-card__content-image .placeholder {
        -o-object-fit: cover;
        object-fit: cover;
        height: 500px;
    }

    .forum-card__layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .forum-card__img-col {
        flex: 0 0 70px;
        height: 70px;
    }

    .forum-card__footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .forum-card__actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media only screen and (min-width: 768px) {
    .forum-card__content-image img,
    .forum-card__content-image .placeholder {
        -o-object-fit: cover;
        object-fit: cover;
        height: 500px;
    }

    .forum-card__layout {
        gap: 0.75rem;
    }
}

.forum-card__content-border {
    border-top: 1px solid var(--clr-neutral-70);
    border-bottom: 1px solid var(--clr-neutral-70);
    padding: 0.5rem 0;
}