.forum-section {
    margin-top: 1rem;
}

.fs18-activity-card-wrapper {
    padding-left: 1px;
    border-radius: 6px;
    border-left: 2px solid var(--color-red-theme);
    transition: all 200ms;
}

.fs18-activity-card {
    border-radius: 6px;
    background: var(--color-dark-grey-80);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.fs18-activity-card-wrapper:hover {
    border-left: 4px solid var(--color-red-theme);
}
.fs18-activity-card:hover {
}

.fs18-ac-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
}

.fs18-ac-count {
    color: var(--color-default-text-50);
    text-align: start;
    font-size: 0.8rem;
}

.fs18-category-label {
    background: linear-gradient(90deg, #de1a1e 0%, rgba(120, 14, 16, 0) 100%),
        linear-gradient(0deg, rgba(222, 26, 30, 0.06), rgba(222, 26, 30, 0.06));
    color: white;
    padding: 0.2rem 1rem;
}

.light .fs18-category-label {
    background: #2d3032;
}

.fs18-category-card {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #ffffff0f;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.fs18-category-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 200ms ease;
    background: linear-gradient(90deg, #3e171f 0%, #1d262f 100%);
    z-index: -1;
}

.light .fs18-category-card::after {
    background: linear-gradient(
        270deg,
        rgba(255, 254, 254, 0) -25.43%,
        rgba(255, 175, 177, 0.5) 100%
    );
}

.fs18-category-card:hover::after {
    opacity: 1;
}

.fs18-cc-title {
    font-size: 1.1rem;
    font-weight: 500;
}

.fs18-cc-desc {
    font-size: 0.9rem;
    color: var(--color-default-text-50);
}

.fs18-cc-date {
    font-size: 0.9rem;
    color: var(--color-default-text-50);
}

.fs18-breadcrumb {
    color: var(--color-default-text-50);
}

.fs18-breadcrumb a {
    color: var(--color-default-text-50);
}

.fs18-breadcrumb a:hover {
    color: var(--color-red-theme);
}

.fs18-totw-title {
    color: var(--color-red-theme);
    font-weight: 600;
}

.fs18-totw-card {
    background: var(--color-dark-grey-80);
    padding: 1.5rem 1.5rem;
    border-radius: 12px;
}

.fs18-totw-item {
    background-color: #ffffff08;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border-left: 2px solid #383c3f;
    transition: all 200ms ease;
    position: relative;
    z-index: 1;
}

.light .fs18-totw-item {
    background-color: #f8f9f9;
}

.fs18-totw-item:hover {
    border-left: 2px solid var(--color-red-theme);
}

.fs18-totw-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.0288) 100%
    );

    opacity: 0;
    transition: all 200ms ease;
    z-index: -1;
}

.light .fs18-totw-item::after {
    background: linear-gradient(
        270deg,
        rgba(255, 254, 254, 0) -25.43%,
        rgba(255, 175, 177, 0.5) 100%
    );
}

.fs18-totw-item:hover::after {
    opacity: 1;
}

.fs18-totw-item::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-red-theme);
    filter: blur(5px);
    opacity: 0;
    transition: all 200ms ease;
    border-radius: 100%;
}

.fs18-totw-item:hover::before {
    opacity: 1;
}

.fs18-totw-info {
    font-size: 0.9rem;
}

.fs18-totwi-label {
    color: var(--color-default-text-50);
}

.fs18-totwi-item {
    padding: 0 1rem;
}

.fs18-totwi-item:not(:first-of-type) {
    position: relative;
    border-left: 1px solid #ffffff1f;
}

.fs18-topic-label {
    background: linear-gradient(
            0deg,
            rgba(222, 26, 30, 0.06),
            rgba(222, 26, 30, 0.06)
        ),
        linear-gradient(90deg, #de1a1e 0%, rgba(120, 14, 16, 0) 100%);
    color: white;
    padding: 0.5rem 1rem;
}

.light .fs18-topic-label {
    background: #2d3032;
}

.fs18-tl-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: var(--color-dark-grey-80);
    position: relative;
    z-index: 1;
    overflow: hidden;
    font-size: 0.9rem;
    color: var(--color-default-text-50);
}

.fs18-tl-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 200ms ease;
    background: linear-gradient(90deg, #3e171f 0%, #1d262f 100%);
    z-index: -1;
}

.light .fs18-tl-item::after {
    background: linear-gradient(
        270deg,
        rgba(255, 254, 254, 0) -25.43%,
        rgba(255, 175, 177, 0.5) 100%
    );
}

.fs18-tl-item:hover::after {
    opacity: 1;
}

.fs18-tli-title {
    font-size: 1rem;
    color: var(--color-default-text);
}

.light .fs18-tli-author {
    color: var(--color-red-theme);
}

.fti-images-list {
    display: flex;
    flex-direction: row;
    gap: 0.2rem;
    align-items: center;
}

.fti-image-item {
    width: 50px;
    height: auto;
    aspect-ratio: 1;
    display: none;
    position: relative;
}

.fti-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: none;
}

.fti-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: #de1a1e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    z-index: 2;
}

.fti-input-group {
    display: flex;
}

.fti-input {
    position: relative;
    padding: 0.2rem 0.5rem;
    display: flex;
    flex-direction: row;
}

.form-control.fti-create-input {
    background: var(--color-light-grey);
    border-radius: 6px;
    overflow: hidden;
    padding: 0.2rem 1rem;
}

.fti-create-upload {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 1rem 0;
    background: var(--color-light-grey);
    border-radius: 6px;
}

.fti-img-input {
}

.fs18-tc-header-op {
    background: linear-gradient(
        270.52deg,
        rgba(222, 26, 30, 0.5) 0%,
        rgba(120, 14, 16, 0) 57.69%,
        #de1a1e 100%
    );
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 0.7rem 1.5rem;
}

.light .fs18-tc-header-op {
    background: linear-gradient(
        270deg,
        rgba(255, 254, 254, 0) -25.43%,
        rgba(255, 175, 177, 0.5) 100%
    );
}

.fs18-tc-header {
    background: var(--color-dark-grey-80);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 1rem 1.5rem 0 1.5rem;
    position: relative;
}

.fs18-tc-header::before {
    /* content: ""; */
    position: absolute;
    width: 95%;
    height: 0.5px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff1f;
}

.light .fs18-tc-header::before {
    background: #3737373d;
}

.fs18-tc-content {
    background: var(--color-dark-grey-80);
    padding: 0.35rem 1.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.fs18-tc-text-content {
    white-space: pre-line;
}

.fs18-reply-card:not(:has(.fs18-tc-comment)) .fs18-tc-content {
    border-end-start-radius: 6px;
    border-end-end-radius: 6px;
}

.fs18-tc-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.fs18-tc-level {
    font-size: 0.9rem;
    color: var(--color-default-text-50);
}

.fs18-tc-date,
.fs18-tc-author {
    font-size: 0.9rem;
    font-weight: 300;
}

.fs18-tc-author {
    font-size: 0.775rem;
}

.fs18-tc-header .fs18-tc-date {
    margin-left: 1rem;
    color: var(--color-default-text-50);
}

.fs18-tc-comment {
    position: relative;
    background: var(--color-dark-grey-80);
    padding: 1rem 1.5rem;
    border-left: 2px solid var(--color-red-theme);
    border-radius: 6px;
    border-top-right-radius: 0;
}

.fs18-tc-comment::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 0.5px;
    background: #ffffff1f;
}

.light .fs18-tc-comment::before {
    background: #3737373d;
}

.fs18-tc-comment {
    font-size: 0.9rem;
}

.form-text-img {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fti-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fti-input {
    background: var(--color-light-grey);
    border-radius: 6px;
    overflow: hidden;
    padding: 0.5rem 1rem 0.75rem 1rem;
    flex-grow: 1;
    flex-direction: column;
    align-items: end;
    row-gap: 0.5rem;
}

.fti-img-input {
    color: var(--color-default-text-50);
    display: flex;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.fti-text-input {
    background: transparent;
    border: none;
    width: 100%;
    color: var(--color-default-text);
    resize: none;
    padding-right: 0.5rem;
}

.fs18-topic {
    margin-top: 1.5rem;
}

.fs18-topic-replies {
    margin-top: 1.5rem;
    border-left: 1px solid #ffffff1f;
    padding-left: 1rem;
}

.fs18-tcc-image-wrapper {
    max-height: 150px;
    background: var(--color-dark-grey-80);
    width: 100%;
    height: 100%;
}

.fs18-hide-replies-btn {
    background: none;
    border: none;
    color: var(--color-default-text-50);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 200ms;
}

.fs18-hide-replies-btn:hover {
    color: white;
}

.fs18-hide-replies-btn span i {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 200ms;
}

.fs18-hide-replies-btn.collapsed span i {
    transform: rotate(180deg);
}

.fs18-sort-btn {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    background: #ffffff0f;
    color: var(--color-default-text-50);
    font-size: 0.85rem;
    transition: all 200ms;
}

.fs18-sort-btn.active,
.fs18-sort-btn:hover {
    background: rgba(222, 26, 30, 0.2);
    color: white;
}

.fs18-create-card {
    gap: 0.25rem;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    background: var(--color-dark-grey-80);
    border-radius: 6px;
}

@media (min-width: 992px) {
    .fs18-create-card {
        gap: 1rem;
        padding: 1.5rem 2rem;
    }
    .forum-section {
        margin-top: 0rem;
    }
    .fs18-totwi-item {
        padding: 0 2rem;
    }

    .fs18-topic-replies {
        padding-left: 3rem;
    }
}
