body {
    font-family: "Istok Web", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 500px;
    font-style: normal;
    background: url('/storage/resources/background-69fbf4d237e9b.webp');
    background-size: cover;
    background-attachment: fixed;

}

.header {
    margin-bottom: 0;
    background: none;
    box-shadow: none;
    
    & > div {
        background: var(--c-elevation-1);
        padding-left: var(--spacing-6);
        padding-right: var(--spacing-6);
    }
}

main {
    padding: var(--spacing-6);
    margin-bottom: 0;
    background-color: var(--c-elevation-0);
}

.card-title {
    background-color: var(--c-secondary);
    color: var(--c-secondary-text);
    border: none;
    display: flex;
    justify-content: space-between;
    padding: 12px;
    font-weight: 400;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.forum-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.forum-page-main {
    min-width: 0;
}

.forum-page-sidebar {
    padding-top: 53px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Main widget box */
.side-widget {
    background: #303136;
    border-radius: 4px;
    overflow: hidden;
    color: #fff;
}

/* Top grey title bar */
.side-widget-header {
    background: #505154;
    color: #fff;
    padding: 7px 16px;
    font-size: 16px;
    font-weight: 400;
}

/* Widget content rows */
.side-widget-row {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-widget-row:last-child {
    border-bottom: none;
}

.side-widget-row h3 {
    margin: 0 0 4px 0;
    color: #d8dbe3;
    font-size: 19px;
    font-weight: 500;
}

.side-widget-row p {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
}

.side-widget-row a {
    color: #ffffff;
    text-decoration: none;
}

.side-widget-row a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 1000px) {
    .forum-page-layout {
        grid-template-columns: 1fr;
    }
}

.col-sm-3 {
    padding: 40px;
}

.invite-widget {
    width: 100%;
    max-width: 340px;
    background: #25262b;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.invite-widget-title {
    background: #4a4b4f;
    color: #ffffff;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.invite-widget-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.invite-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 74px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.invite-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18),
        rgba(255, 255, 255, 0.02)
    );
    pointer-events: none;
}

.invite-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
    filter: brightness(1.08);
    color: #ffffff;
    text-decoration: none;
}

.invite-icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.invite-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.invite-label {
    font-size: 19px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invite-content small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 500;
}

/* Discord */

.invite-discord {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 35%),
        linear-gradient(135deg, #5865f2, #3746b5);
}

/* Steam */

.invite-steam {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 35%),
        linear-gradient(135deg, #1b2838, #0b1118);
}

/* ArmA 3 */

.invite-arma {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 35%),
        linear-gradient(135deg, #5f6f3a, #2f3a20);
}

/* TikTok */

.invite-tiktok {
    background: linear-gradient(135deg, #ff0050, #00f2ea);
}

.invite-tiktok .invite-icon {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 35%),
        linear-gradient(135deg, #111111, #2c2c2c);
}

/* YouTube */

.invite-youtube {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 35%),
        linear-gradient(135deg, #ff0000, #9f0000);
}

.invite-youtube .invite-icon {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

/* Mobile */

@media (max-width: 480px) {
    .invite-widget {
        max-width: 100%;
    }

    .invite-card {
        min-height: 68px;
        padding: 12px 14px;
    }

    .invite-label {
        font-size: 16px;
    }

    .invite-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 25px;
    }
}

.comment-author-roles {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

.comment-author-role {
    --role-color: #7ed957;

    position: relative;
    display: flex;
    align-items: center;

    min-height: 30px;
    padding: 5px 12px 5px 12px;

    background: #242424;
    color: #ffffff;
    border-radius: 5px;

    font-size: 0.85rem;
    font-weight: 700;
    font-style: bold;
    line-height: 1;

    overflow: hidden;
}

.comment-author-role::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;
    background: var(--role-color);
}

.comment-author-role .role-icon {
    color: var(--role-color);
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.comment-author-role .role-title {
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.profile-user-roles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;

    margin: 0 0 0.5rem 0;
    padding: 0;
    list-style: none;

    width: fit-content;
    max-width: 100%;
}

.profile-user-role {
    --role-color: #7ed957;

    position: relative;
    display: inline-flex;
    align-items: center;

    width: fit-content;
    max-width: 100%;

    min-height: 30px;
    padding: 5px 14px 7px 10px;
    border-radius: 5px;

    background: #242424;
    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 700;
    font-style: bold;
    line-height: 1;

    overflow: hidden;
    white-space: nowrap;
}

.profile-user-role::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;
    background: var(--role-color);
}

.profile-user-role .role-icon {
    color: var(--role-color);
    font-size: 1rem;
    line-height: 1;

    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.profile-user-role .role-title {
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}