/* Forum */
body.page-forum {
    background: #f7f9fc;
}

.forum-nav {
    border-bottom: 1px solid #e5eaf0;
    background: #fff;
}

.forum-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
}

.forum-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink, #16242e);
    text-decoration: none;
}

.forum-nav-brand > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px !important;
    background: linear-gradient(145deg, #165f9d, #40a6e8);
    color: #fff;
}

.forum-nav-brand .icon {
    width: 16px;
    height: 16px;
}

.forum-nav-brand strong {
    font-family: var(--font-head);
    font-size: 15px;
    letter-spacing: -0.02em;
}

.forum-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
}

.forum-nav-links > a,
.forum-nav-logout button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 9px;
    border-radius: 9px !important;
    color: #56656f;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.forum-nav-links > a:hover,
.forum-nav-logout button:hover {
    background: #f2f7fb;
    color: #165f9d;
}

.forum-nav-links .icon {
    width: 13px;
    height: 13px;
}

.forum-nav-new,
.forum-nav-cta {
    background: #0d2f45 !important;
    color: #fff !important;
}

.forum-nav-new:hover,
.forum-nav-cta:hover {
    background: #165f9d !important;
    color: #fff !important;
}

.forum-nav-user {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 9px 5px 5px !important;
    border: 1px solid #e1e8ef;
    background: #fbfcfe;
}

.forum-nav-admin {
    border: 1px solid #d8e8f5;
    background: #f5faff;
    color: #165f9d !important;
}

.forum-nav-logout {
    margin: 0;
}

.forum-nav-logout button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.forum-avatar {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: var(--forum-avatar-size, 42px);
    height: var(--forum-avatar-size, 42px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50% !important;
    background: var(--forum-avatar, #165f9d);
    color: #fff;
    font-family: var(--font-head);
    font-size: calc(var(--forum-avatar-size, 42px) * 0.4);
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.forum-role {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid #dce6ef;
    border-radius: 999px !important;
    background: #f7fafc;
    color: #5d6b75;
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.forum-role.is-admin {
    border-color: #f0d8b8;
    background: #fff8ec;
    color: #a7651d;
}

.forum-role.is-moderator {
    border-color: #cfe4f4;
    background: #f2faff;
    color: #1f6fae;
}

.forum-hero .page-hero-inner {
    max-width: none;
}

.forum-hero-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
}

.forum-hero-copy {
    max-width: 720px;
}

.forum-hero-copy h1 {
    max-width: 700px;
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.03;
}

.forum-hero-copy p {
    max-width: 620px;
}

.forum-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.forum-btn-ghost {
    border-color: rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.forum-btn-ghost:hover {
    border-color: #fff !important;
    background: #fff !important;
    color: #123a55 !important;
}

.forum-hero-stats {
    display: grid;
    flex: 0 0 340px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.forum-hero-stats > div {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.forum-hero-stats strong {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.forum-hero-stats span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.forum-hero-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 660px;
    margin-top: 24px;
    padding: 6px 6px 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.forum-hero-search .icon {
    width: 16px;
    height: 16px;
}

.forum-hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 11px;
    outline: none;
}

.forum-hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.52);
}

.forum-hero-search button {
    padding: 8px 14px;
    border: 0;
    border-radius: 8px !important;
    background: #fff;
    color: #123a55;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.forum-section {
    padding-top: 34px;
}

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

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

.forum-side {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.forum-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.forum-section-head h2 {
    margin: 3px 0 0;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.forum-section-note {
    color: #7b8790;
    font-size: 9px;
    font-weight: 700;
}

.forum-section-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #165f9d;
    font-size: 9.5px;
    font-weight: 800;
    text-decoration: none;
}

.forum-section-link .icon {
    width: 12px;
    height: 12px;
}

.forum-latest-head {
    margin-top: 30px;
}

.forum-cat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forum-cat-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border: 1px solid #e3e9ef;
    border-radius: 15px !important;
    background: #fff;
    box-shadow: 0 16px 34px -32px rgba(19, 48, 70, 0.55);
    color: var(--ink, #16242e);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.forum-cat-row:hover {
    border-color: #c6ddec;
    box-shadow: 0 22px 40px -30px rgba(19, 48, 70, 0.5);
    transform: translateY(-1px);
}

.forum-cat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #d8e8f5;
    border-radius: 12px !important;
    background: #f4faff;
    color: #1f6fae;
}

.forum-cat-icon .icon {
    width: 19px;
    height: 19px;
}

.forum-cat-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.forum-cat-copy strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.forum-cat-copy small {
    overflow: hidden;
    color: #6f7c86;
    font-size: 9.5px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-unread-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #35b879;
    box-shadow: 0 0 0 3px #e9f9f1;
}

.forum-cat-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: #8b969e;
    font-size: 8.5px;
    white-space: nowrap;
}

.forum-cat-meta b {
    color: #31424e;
    font-size: 11px;
}

.forum-cat-meta > span {
    color: #8b969e;
    font-size: 8px;
}

.forum-cat-last {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
    padding-left: 14px;
    border-left: 1px solid #edf1f5;
}

.forum-cat-last strong {
    overflow: hidden;
    color: #3f4f5b;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-cat-last small {
    color: #8b969e;
    font-size: 8px;
}

.forum-cat-arrow {
    display: grid;
    place-items: center;
    color: #b3bec7;
}

.forum-cat-arrow .icon {
    width: 14px;
    height: 14px;
}

.forum-topic-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.forum-topic-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto 150px;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid #e6ebf0;
    border-radius: 13px !important;
    background: #fff;
    color: var(--ink, #16242e);
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.forum-topic-row:hover {
    border-color: #c9dfee;
    background: #fbfdff;
}

.forum-topic-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.forum-topic-copy > strong {
    overflow: hidden;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-topic-copy > small {
    color: #7b8790;
    font-size: 8.5px;
    line-height: 1.4;
}

.forum-topic-copy > small strong {
    color: #3e4e59;
}

.forum-topic-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.forum-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    border-radius: 999px !important;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}

.forum-badge .icon {
    width: 9px;
    height: 9px;
}

.forum-badge.is-pinned {
    border: 1px solid #f0d8b8;
    background: #fff8ec;
    color: #a7651d;
}

.forum-badge.is-locked {
    border: 1px solid #e1e7ec;
    background: #f5f8fa;
    color: #66747e;
}

.forum-topic-cat {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid #dcebf6;
    border-radius: 999px !important;
    background: #f4faff;
    color: #1f6fae;
    font-size: 7.5px;
    font-weight: 800;
    line-height: 1;
}

.forum-topic-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: #7b8790;
    font-size: 8px;
    white-space: nowrap;
}

.forum-topic-stats b {
    color: #3c4d58;
    font-size: 10px;
}

.forum-topic-last {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    padding-left: 12px;
    border-left: 1px solid #edf1f5;
    text-align: right;
}

.forum-topic-last small,
.forum-topic-last span {
    color: #8b969e;
    font-size: 7.5px;
}

.forum-topic-last strong {
    color: #4d5d68;
    font-size: 9px;
    font-weight: 700;
}

.forum-topic-profile-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dcebf6;
    border-radius: 11px !important;
    background: #f4faff;
    color: #1f6fae;
}

.forum-topic-profile-icon .icon {
    width: 16px;
    height: 16px;
}

.forum-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 36px 20px;
    border: 1px dashed #d7e2eb;
    border-radius: 15px !important;
    background: #fff;
    text-align: center;
}

.forum-empty > .icon {
    width: 28px;
    height: 28px;
    color: #9fb1bf;
}

.forum-empty strong {
    color: #344651;
    font-family: var(--font-head);
    font-size: 14px;
}

.forum-empty p {
    margin: 0;
    color: #7b8790;
    font-size: 10px;
}

.forum-empty .btn {
    margin-top: 6px;
}

.forum-side-card {
    padding: 17px;
    border: 1px solid #e3e9ef;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 20px 40px -40px rgba(19, 48, 70, 0.5);
}

.forum-side-card h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    color: var(--ink, #16242e);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.forum-side-card h3 .icon {
    width: 13px;
    height: 13px;
    color: #1f6fae;
}

.forum-side-card p {
    margin: 0 0 10px;
    color: #6b7983;
    font-size: 10px;
    line-height: 1.6;
}

.forum-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.forum-stat-grid > span {
    padding: 9px;
    border: 1px solid #edf1f5;
    border-radius: 10px !important;
    background: #fbfcfe;
}

.forum-stat-grid b {
    display: block;
    color: #243641;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.forum-stat-grid small {
    display: block;
    margin-top: 3px;
    color: #8b969e;
    font-size: 7.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.forum-latest-member {
    margin: 11px 0 0 !important;
    color: #8b969e !important;
    font-size: 8.5px !important;
}

.forum-latest-member a {
    color: #165f9d;
    font-weight: 700;
}

.forum-member-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forum-member-list > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border-radius: 9px !important;
    color: var(--ink, #16242e);
    text-decoration: none;
}

.forum-member-list > a:hover {
    background: #f7fafc;
}

.forum-member-list strong {
    display: block;
    font-size: 10px;
    line-height: 1.2;
}

.forum-member-list small {
    display: block;
    margin-top: 2px;
    color: #8b969e;
    font-size: 8px;
}

.forum-muted {
    color: #8b969e !important;
    font-size: 10px !important;
}

.forum-side-rules ul,
.forum-side-cta ul {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.forum-side-rules li,
.forum-side-cta li {
    position: relative;
    padding-left: 12px;
    color: #66757f;
    font-size: 9.5px;
    line-height: 1.55;
}

.forum-side-rules li::before,
.forum-side-cta li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b4c2cc;
}

.forum-side-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #165f9d;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.forum-side-link .icon {
    width: 12px;
    height: 12px;
}

.forum-side-guides p {
    margin-bottom: 11px;
}

.forum-side-cta {
    border-color: #163f59;
    background: linear-gradient(145deg, #0d2f45 0%, #16516f 100%);
    color: #fff;
}

.forum-side-cta h3 {
    color: #fff;
}

.forum-side-cta p,
.forum-side-cta li {
    color: rgba(255, 255, 255, 0.7);
}

.forum-side-cta .btn {
    width: 100%;
    justify-content: center;
    border-color: #fff;
    background: #fff;
    color: #123a55;
}

.forum-side-cta-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.forum-side-cta-icon .icon {
    width: 17px;
    height: 17px;
}

.forum-cat-mini-list {
    display: flex;
    flex-direction: column;
}

.forum-cat-mini-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f3f6;
    color: #56656f;
    font-size: 9.5px;
    font-weight: 600;
    text-decoration: none;
}

.forum-cat-mini-list a:last-child {
    border-bottom: 0;
}

.forum-cat-mini-list a:hover {
    color: #165f9d;
}

.forum-cat-mini-list span {
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px !important;
    background: #f4faff;
    color: #1f6fae;
}

.forum-cat-mini-list .icon {
    width: 12px;
    height: 12px;
}

.forum-cat-mini-list strong {
    flex: 1;
    font-weight: 600;
}

.forum-cat-mini-list small {
    color: #9aa7b0;
    font-size: 8px;
}

.forum-category-hero {
    padding: 28px 0 30px;
    border-bottom: 1px solid #e7ecef;
    background:
        radial-gradient(circle at 90% 0%, rgba(199, 232, 107, 0.18), transparent 35%),
        linear-gradient(135deg, #fbf7ef 0%, #f5faf4 100%);
}

.forum-category-hero .breadcrumb {
    margin-bottom: 18px;
}

.forum-category-hero-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.forum-category-hero-icon {
    display: grid;
    flex: 0 0 66px;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 1px solid #d8e8f5;
    border-radius: 18px !important;
    background: #fff;
    color: #1f6fae;
    box-shadow: 0 16px 30px -24px rgba(19, 48, 70, 0.55);
}

.forum-category-hero-icon .icon {
    width: 28px;
    height: 28px;
}

.forum-category-hero-copy {
    flex: 1;
    min-width: 0;
}

.forum-category-hero-copy h1 {
    margin: 3px 0 6px;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.forum-category-hero-copy p {
    max-width: 720px;
    margin: 0;
    color: #6c7a83;
    font-size: 11px;
    line-height: 1.6;
}

.forum-category-stats {
    display: flex;
    gap: 14px;
    margin-top: 9px;
    color: #7b8790;
    font-size: 9px;
}

.forum-category-stats b {
    color: #31424e;
}

.forum-category-new {
    flex: 0 0 auto;
}

.forum-topic-hero {
    padding: 26px 0 28px;
    border-bottom: 1px solid #e7ecef;
    background:
        radial-gradient(circle at 88% 0%, rgba(64, 166, 232, 0.12), transparent 35%),
        linear-gradient(135deg, #fbf7ef 0%, #f7fbfe 100%);
}

.forum-topic-hero .breadcrumb {
    margin-bottom: 16px;
}

.forum-topic-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.forum-topic-hero-icon {
    display: grid;
    flex: 0 0 56px;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid #d8e8f5;
    border-radius: 15px !important;
    background: #fff;
    color: #1f6fae;
    box-shadow: 0 14px 26px -22px rgba(19, 48, 70, 0.55);
}

.forum-topic-hero-icon .icon {
    width: 24px;
    height: 24px;
}

.forum-topic-hero-copy {
    flex: 1;
    min-width: 0;
}

.forum-topic-hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.forum-topic-hero-badges > a {
    display: inline-flex;
    padding: 4px 7px;
    border: 1px solid #dcebf6;
    border-radius: 999px !important;
    background: #fff;
    color: #1f6fae;
    font-size: 7.5px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.forum-topic-hero-copy h1 {
    margin: 0;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.forum-topic-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 16px;
    margin-top: 10px;
    color: #7b8790;
    font-size: 8.5px;
    font-weight: 600;
}

.forum-topic-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.forum-topic-meta .icon {
    width: 12px;
    height: 12px;
}

.forum-topic-reply-cta {
    flex: 0 0 auto;
    margin-top: 20px;
}

.forum-topic-section {
    padding-top: 28px;
}

.forum-admin-bar-wrap {
    margin-top: 12px;
}

.forum-admin-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid #f0dfc4;
    border-radius: 12px !important;
    background: #fffaf0;
    color: #8d6428;
    font-size: 9px;
    font-weight: 700;
}

.forum-admin-bar > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 4px;
}

.forum-admin-bar .icon {
    width: 12px;
    height: 12px;
}

.forum-admin-bar form {
    margin: 0;
}

.forum-admin-bar button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border: 1px solid #e8d8bd;
    border-radius: 7px !important;
    background: #fff;
    color: #755828;
    font: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.forum-admin-bar button:hover {
    border-color: #c9a96f;
}

.forum-admin-bar button.is-danger {
    color: #b23b2e;
}

.forum-post-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.forum-post {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border: 1px solid #e3e9ef;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 22px 44px -44px rgba(19, 48, 70, 0.55);
    overflow: hidden;
}

.forum-post.is-first {
    border-color: #d8e8f5;
}

.forum-post-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 18px 12px;
    border-right: 1px solid #edf1f5;
    background: #fbfcfe;
    text-align: center;
}

.forum-post-author > a {
    margin-top: 4px;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.forum-post-author > small {
    color: #8b969e;
    font-size: 8px;
}

.forum-author-stat {
    color: #8b969e;
    font-size: 8px;
    line-height: 1.3;
}

.forum-author-stat b {
    color: #4d5d68;
}

.forum-online {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1c7a55;
    font-size: 7.5px;
    font-weight: 700;
}

.forum-online i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #35b879;
    box-shadow: 0 0 0 3px #e9f9f1;
}

.forum-post-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 17px 20px 15px;
}

.forum-post-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f3f6;
    color: #8b969e;
    font-size: 8px;
}

.forum-post-head > a {
    color: #165f9d;
    font-weight: 800;
    text-decoration: none;
}

.forum-op-badge {
    padding: 3px 6px;
    border: 1px solid #dcebf6;
    border-radius: 999px !important;
    background: #f4faff;
    color: #1f6fae;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
}

.forum-post-body {
    padding-top: 13px;
    color: #3f4f5a;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.forum-post-body p {
    margin: 0 0 12px;
}

.forum-post-body p:last-child {
    margin-bottom: 0;
}

.forum-post-body strong {
    color: #1f303b;
}

.forum-post-body a {
    color: #165f9d;
    font-weight: 600;
}

.forum-post-body ul,
.forum-post-body ol {
    margin: 0 0 12px;
    padding-left: 18px;
}

.forum-post-body li {
    margin-bottom: 4px;
}

.forum-post-body blockquote {
    margin: 0 0 12px;
    padding: 10px 13px;
    border-left: 3px solid #cfe4f4;
    background: #f7fbfe;
    color: #5b6a74;
}

.forum-post-body blockquote p:last-child {
    margin-bottom: 0;
}

.forum-post-body code {
    padding: 2px 5px;
    border-radius: 5px !important;
    background: #f2f5f8;
    color: #b3442f;
    font-size: 10.5px;
}

.forum-post-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid #f0f3f6;
}

.forum-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border: 1px solid transparent;
    border-radius: 7px !important;
    background: transparent;
    color: #7b8790;
    font: inherit;
    font-size: 8.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.forum-action-btn:hover {
    background: #f5f8fb;
    color: #165f9d;
}

.forum-action-btn .icon {
    width: 12px;
    height: 12px;
}

.forum-action-btn.is-liked {
    color: #d34a38;
}

.forum-like-form {
    margin: 0;
}

.forum-report {
    margin: 0;
}

.forum-report summary {
    list-style: none;
    cursor: pointer;
}

.forum-report summary::-webkit-details-marker {
    display: none;
}

.forum-report form {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #e4e9ef;
    border-radius: 10px !important;
    background: #fbfcfe;
}

.forum-report label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #6b7983;
    font-size: 8px;
    font-weight: 700;
}

.forum-report select {
    min-width: 190px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #dbe5ee;
    border-radius: 7px !important;
    background: #fff;
    font: inherit;
    font-size: 9px;
}

.forum-quoted {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 3px solid #d6e6f2;
    border-radius: 0 8px 8px 0;
    background: #f7fbfe;
}

.forum-quoted strong {
    display: block;
    margin-bottom: 3px;
    color: #1f6fae;
    font-size: 8.5px;
}

.forum-quoted p {
    margin: 0;
    color: #6b7983;
    font-size: 9.5px;
    line-height: 1.5;
}

.forum-signature {
    margin-top: 14px;
    padding-top: 9px;
    border-top: 1px dashed #e4e9ef;
    color: #9aa7b0;
    font-size: 8.5px;
    font-style: italic;
}

.forum-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 18px 0;
}

.forum-page-btn {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #dde6ee;
    border-radius: 8px !important;
    background: #fff;
    color: #5d6b75;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.forum-page-btn:hover {
    border-color: #bcd6e8;
    color: #165f9d;
}

.forum-page-btn.is-active {
    border-color: #0d2f45;
    background: #0d2f45;
    color: #fff;
}

.forum-page-btn.is-arrow .icon {
    width: 13px;
    height: 13px;
    transform: rotate(180deg);
}

.forum-page-btn.is-arrow.is-next .icon {
    transform: none;
}

.forum-page-dots {
    color: #9aa7b0;
    font-size: 10px;
}

.forum-reply-card,
.forum-form-card {
    padding: 20px;
    border: 1px solid #e3e9ef;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: 0 24px 48px -48px rgba(19, 48, 70, 0.55);
}

.forum-reply-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.forum-reply-icon {
    display: grid;
    flex: 0 0 38px;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d8e8f5;
    border-radius: 11px !important;
    background: #f4faff;
    color: #1f6fae;
}

.forum-reply-icon .icon {
    width: 18px;
    height: 18px;
}

.forum-reply-head h2 {
    margin: 0;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.forum-reply-head p {
    margin: 2px 0 0;
    color: #7b8790;
    font-size: 9.5px;
}

.forum-reply-form,
.forum-topic-form,
.forum-auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forum-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.forum-field > span {
    color: #41525e;
    font-size: 9.5px;
    font-weight: 700;
}

.forum-field > span b {
    color: #e85d3f;
}

.forum-field input,
.forum-field select,
.forum-field textarea {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #dce5ed;
    border-radius: 9px !important;
    background: #fff;
    color: #24343f;
    font: inherit;
    font-size: 11px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.forum-field textarea {
    min-height: 100px;
    resize: vertical;
}

.forum-field input:focus,
.forum-field select:focus,
.forum-field textarea:focus {
    border-color: #7db8df;
    box-shadow: 0 0 0 3px rgba(64, 166, 232, 0.12);
}

.forum-field small {
    color: #8b969e;
    font-size: 8px;
}

.forum-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.forum-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    padding: 5px;
    border: 1px solid #dce5ed;
    border-bottom: 0;
    border-radius: 9px 9px 0 0 !important;
    background: #fbfcfe;
}

.forum-editor-toolbar button {
    display: grid;
    place-items: center;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 6px !important;
    background: transparent;
    color: #5d6b75;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.forum-editor-toolbar button:hover {
    border-color: #dce5ed;
    background: #fff;
    color: #165f9d;
}

.forum-editor-toolbar .icon {
    width: 12px;
    height: 12px;
}

.forum-editor-toolbar > span {
    margin-left: auto;
    padding-right: 5px;
    color: #9aa7b0;
    font-size: 7.5px;
}

.forum-reply-form .forum-editor-toolbar + textarea,
.forum-topic-form .forum-editor-toolbar + textarea {
    border-radius: 0 0 9px 9px !important;
}

.forum-editor-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px;
}

.forum-editor-foot > small {
    max-width: 360px;
    color: #8b969e;
    font-size: 8px;
    line-height: 1.5;
}

.forum-editor-foot > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.forum-check {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #66757f;
    font-size: 9px;
    line-height: 1.5;
}

.forum-check input {
    margin-top: 2px;
}

.forum-check a {
    color: #165f9d;
    font-weight: 700;
}

.forum-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.forum-quote-preview {
    display: none;
    position: relative;
    padding: 9px 30px 9px 11px;
    border-left: 3px solid #cfe4f4;
    border-radius: 0 8px 8px 0;
    background: #f7fbfe;
}

.forum-quote-preview.is-visible {
    display: block;
}

.forum-quote-preview strong {
    display: block;
    margin-bottom: 2px;
    color: #1f6fae;
    font-size: 8.5px;
}

.forum-quote-preview p {
    margin: 0;
    color: #6b7983;
    font-size: 9.5px;
    line-height: 1.5;
}

.forum-quote-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50% !important;
    background: #fff;
    color: #7b8790;
    cursor: pointer;
}

.forum-quote-remove .icon {
    width: 11px;
    height: 11px;
}

.forum-preview-box {
    padding: 12px;
    border: 1px dashed #d7e2eb;
    border-radius: 9px !important;
    background: #fbfcfe;
    color: #3f4f5a;
    font-size: 11px;
    line-height: 1.7;
}

.forum-preview-box p {
    margin: 0 0 8px;
}

.forum-form-errors {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #f0d2ca;
    border-radius: 10px !important;
    background: #fff6f3;
    color: #9c3b2d;
}

.forum-form-errors > .icon {
    width: 15px;
    height: 15px;
    margin-top: 1px;
}

.forum-form-errors strong {
    display: block;
    font-size: 9.5px;
}

.forum-form-errors ul {
    margin: 4px 0 0;
    padding-left: 15px;
    font-size: 8.5px;
    line-height: 1.5;
}

.forum-reply-login {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 13px;
    border: 1px solid #dcebf6;
    border-radius: 10px !important;
    background: #f7fbfe;
}

.forum-reply-login p {
    flex: 1;
    margin: 0;
    color: #5d6b75;
    font-size: 10px;
}

.forum-locked-note {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px;
    border: 1px solid #e3e9ef;
    border-radius: 10px !important;
    background: #f7fafc;
    color: #7b8790;
    font-size: 10px;
}

.forum-locked-note .icon {
    width: 14px;
    height: 14px;
}

.forum-side-category-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 9px;
    border: 1px solid #d8e8f5;
    border-radius: 10px !important;
    background: #f4faff;
    color: #1f6fae;
}

.forum-side-category-icon .icon {
    width: 17px;
    height: 17px;
}

.forum-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 10px;
}

.forum-detail-stats > span {
    padding: 8px;
    border: 1px solid #edf1f5;
    border-radius: 9px !important;
    background: #fbfcfe;
    text-align: center;
}

.forum-detail-stats b {
    display: block;
    color: #243641;
    font-family: var(--font-head);
    font-size: 15px;
    line-height: 1;
}

.forum-detail-stats small {
    display: block;
    margin-top: 3px;
    color: #8b969e;
    font-size: 7px;
    text-transform: uppercase;
}

.forum-side-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 6px !important;
    color: #8b969e !important;
    font-size: 8.5px !important;
}

.forum-side-meta strong {
    color: #4d5d68;
}

.forum-similar-list {
    display: flex;
    flex-direction: column;
}

.forum-similar-list a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f3f6;
    color: #4d5d68;
    text-decoration: none;
}

.forum-similar-list a:last-child {
    border-bottom: 0;
}

.forum-similar-list a:hover strong {
    color: #165f9d;
}

.forum-similar-list strong {
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.35;
}

.forum-similar-list small {
    color: #9aa7b0;
    font-size: 7.5px;
}

.forum-auth-section {
    margin-top: 24px;
    padding: 20px 0 52px;
}

.forum-auth-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 16px;
}

.forum-auth-intro .breadcrumb {
    margin: 0;
}

.forum-auth-intro .breadcrumb a {
    color: #6b7a83;
}

.forum-auth-intro .breadcrumb strong {
    color: #31424e;
}

.forum-auth-intro .breadcrumb > span {
    color: #aeb9c1;
}

.forum-auth-intro-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #165f9d;
    font-size: 8.5px;
    font-weight: 800;
    text-decoration: none;
}

.forum-auth-intro-back .icon {
    width: 12px;
    height: 12px;
    transform: rotate(180deg);
}

.forum-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.forum-auth-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
    overflow: hidden;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 90% 10%, rgba(199, 232, 107, 0.18), transparent 35%),
        linear-gradient(145deg, #0d2f45 0%, #16516f 100%);
    color: #fff;
    box-shadow: 0 34px 70px -60px rgba(19, 48, 70, 0.7);
}

.forum-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.forum-auth-back .icon {
    width: 12px;
    height: 12px;
    transform: rotate(180deg);
}

.forum-auth-brand h1 {
    max-width: 420px;
    margin: 8px 0 12px;
    font-family: var(--font-head);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.forum-auth-brand > p {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10.5px;
    line-height: 1.7;
}

.forum-auth-perks {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.forum-auth-perks li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 9.5px;
    font-weight: 600;
}

.forum-auth-perks .icon {
    width: 13px;
    height: 13px;
    color: #c7e86b;
}

.forum-auth-stats {
    display: flex;
    gap: 6px;
    margin-top: 22px;
}

.forum-auth-stats span {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.forum-auth-stats b {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.forum-auth-stats small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.forum-auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
    border: 1px solid #e3e9ef;
    border-radius: 24px !important;
    background: #fff;
    box-shadow: 0 34px 70px -60px rgba(19, 48, 70, 0.7);
}

.forum-auth-card h2 {
    margin: 4px 0 5px;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.forum-auth-card > p {
    margin: 0 0 18px;
    color: #7b8790;
    font-size: 9.5px;
    line-height: 1.6;
}

.forum-auth-submit {
    justify-content: center;
    margin-top: 3px;
}

.forum-auth-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 12px 0 0;
    color: #8b969e;
    font-size: 8px;
    line-height: 1.5;
}

.forum-auth-note .icon {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    color: #1c7a55;
}

.forum-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid #edf1f5;
    color: #8b969e;
    font-size: 8.5px;
}

.forum-auth-links a {
    color: #165f9d;
    font-weight: 700;
    text-decoration: none;
}

.forum-profile-hero {
    padding: 28px 0 30px;
    border-bottom: 1px solid #e7ecef;
    background:
        radial-gradient(circle at 88% 0%, rgba(199, 232, 107, 0.18), transparent 35%),
        linear-gradient(135deg, #fbf7ef 0%, #f5faf4 100%);
}

.forum-profile-hero .breadcrumb {
    margin-bottom: 16px;
}

.forum-profile-card {
    display: flex;
    align-items: center;
    gap: 18px;
}

.forum-profile-copy {
    flex: 1;
    min-width: 0;
}

.forum-profile-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.forum-profile-name h1 {
    margin: 0;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.forum-profile-copy > p {
    max-width: 720px;
    margin: 7px 0 0;
    color: #66757f;
    font-size: 10.5px;
    line-height: 1.6;
}

.forum-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-top: 9px;
    color: #8b969e;
    font-size: 8.5px;
}

.forum-profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.forum-profile-meta .icon {
    width: 12px;
    height: 12px;
}

.forum-profile-actions {
    flex: 0 0 auto;
}

.forum-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.forum-profile-stats > span {
    min-width: 110px;
    padding: 10px 14px;
    border: 1px solid #e2e8ee;
    border-radius: 12px !important;
    background: #fff;
}

.forum-profile-stats b {
    display: block;
    color: #243641;
    font-family: var(--font-head);
    font-size: 17px;
    line-height: 1;
}

.forum-profile-stats small {
    display: block;
    margin-top: 3px;
    color: #8b969e;
    font-size: 7.5px;
    text-transform: uppercase;
}

.forum-profile-posts {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.forum-profile-post {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 14px;
    border: 1px solid #e6ebf0;
    border-radius: 13px !important;
    background: #fff;
    color: var(--ink, #16242e);
    text-decoration: none;
}

.forum-profile-post:hover {
    border-color: #c9dfee;
}

.forum-profile-post-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.forum-profile-post-top strong {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
}

.forum-profile-post-top small {
    color: #9aa7b0;
    font-size: 7.5px;
}

.forum-profile-post p {
    margin: 0;
    color: #6b7983;
    font-size: 9px;
    line-height: 1.5;
}

.forum-profile-signature {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px dashed #e4e9ef;
    color: #8b969e;
    font-size: 9px;
    font-style: italic;
    line-height: 1.5;
}

.forum-settings-hero .forum-new-hero-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.forum-new-hero-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.forum-new-hero h1 {
    margin: 3px 0 5px;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-size: clamp(27px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.forum-new-hero p {
    max-width: 720px;
    margin: 0;
    color: #6c7a83;
    font-size: 10.5px;
    line-height: 1.6;
}

.forum-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.forum-color-options label {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.forum-color-options input {
    position: absolute;
    opacity: 0;
}

.forum-color-options span {
    display: block;
    width: 32px;
    height: 32px;
    border: 3px solid #fff;
    border-radius: 50% !important;
    background: var(--swatch, #165f9d);
    box-shadow: 0 0 0 1px #dce5ed;
}

.forum-color-options input:checked + span {
    box-shadow: 0 0 0 2px #0d2f45;
}

.forum-profile-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px;
    border: 1px dashed #d7e2eb;
    border-radius: 12px !important;
    background: #fbfcfe;
    text-align: center;
}

.forum-profile-preview strong {
    font-family: var(--font-head);
    font-size: 14px;
}

.forum-profile-preview small {
    color: #8b969e;
    font-size: 8px;
}

.forum-search-big {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 760px;
    margin-top: 16px;
    padding: 6px 6px 6px 14px;
    border: 1px solid #dce5ed;
    border-radius: 12px !important;
    background: #fff;
    box-shadow: 0 16px 30px -28px rgba(19, 48, 70, 0.45);
}

.forum-search-big > .icon {
    width: 16px;
    height: 16px;
    color: #9aa7b0;
}

.forum-search-big input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--ink, #16242e);
    font: inherit;
    font-size: 11px;
    outline: none;
}

.forum-search-big button {
    padding: 9px 16px;
    border: 0;
    border-radius: 8px !important;
    background: #0d2f45;
    color: #fff;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.forum-topic-copy mark {
    padding: 0 2px;
    border-radius: 3px;
    background: #fff2b8;
    color: inherit;
}

.forum-side-guides .forum-side-link {
    margin-top: 2px;
}

@media (max-width: 1120px) {
    .forum-cat-row {
        grid-template-columns: 44px minmax(0, 1fr) 18px;
    }

    .forum-cat-last {
        display: none;
    }

    .forum-topic-row {
        grid-template-columns: 38px minmax(0, 1fr) auto;
    }

    .forum-topic-last {
        display: none;
    }

    .forum-hero-stats {
        flex-basis: 300px;
    }
}

@media (max-width: 980px) {
    .forum-layout {
        grid-template-columns: 1fr;
    }

    .forum-side {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .forum-hero-grid {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .forum-hero-stats {
        flex-basis: auto;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .forum-auth-shell {
        grid-template-columns: 1fr 400px;
    }

    .forum-auth-brand {
        padding: 30px;
    }
}

@media (max-width: 760px) {
    .forum-nav-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 10px 0;
    }

    .forum-nav-links {
        width: 100%;
        gap: 2px;
    }

    .forum-nav-links > a {
        padding: 7px;
    }

    .forum-nav-guide,
    .forum-nav-user span {
        display: none;
    }

    .forum-nav-user {
        padding: 3px !important;
        border: 0;
        background: transparent;
    }

    .forum-nav-admin span,
    .forum-nav-logout span {
        display: none;
    }

    .forum-main {
        order: 1;
    }

    .forum-side {
        grid-template-columns: 1fr;
        order: 2;
    }

    .forum-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .forum-cat-row {
        grid-template-columns: 40px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 11px 12px;
    }

    .forum-cat-icon {
        width: 40px;
        height: 40px;
    }

    .forum-cat-meta {
        display: none;
    }

    .forum-cat-copy small {
        white-space: normal;
    }

    .forum-topic-row {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 9px;
        padding: 10px;
    }

    .forum-topic-stats {
        display: none;
    }

    .forum-topic-copy > strong {
        font-size: 11.5px;
        white-space: normal;
    }

    .forum-topic-hero-inner {
        flex-wrap: wrap;
    }

    .forum-topic-hero-copy {
        flex-basis: calc(100% - 74px);
    }

    .forum-topic-reply-cta {
        margin-top: 0;
        margin-left: 74px;
    }

    .forum-post {
        grid-template-columns: 1fr;
    }

    .forum-post-author {
        display: grid;
        grid-template-columns: 40px 1fr auto;
        align-items: center;
        gap: 4px 9px;
        padding: 11px 14px;
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
        text-align: left;
    }

    .forum-post-author .forum-avatar {
        grid-row: span 2;
    }

    .forum-post-author > a {
        margin: 0;
        align-self: end;
    }

    .forum-post-author > .forum-role {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .forum-post-author > small,
    .forum-post-author > .forum-author-stat,
    .forum-post-author > .forum-online {
        display: none;
    }

    .forum-post-content {
        padding: 14px;
    }

    .forum-post-body {
        font-size: 11.5px;
    }

    .forum-auth-shell {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .forum-auth-brand {
        padding: 26px;
    }

    .forum-auth-brand h1 {
        font-size: 29px;
    }

    .forum-auth-card {
        padding: 24px;
    }

    .forum-field-row {
        grid-template-columns: 1fr;
    }

    .forum-category-hero-inner,
    .forum-new-hero-inner,
    .forum-profile-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .forum-category-hero-copy,
    .forum-profile-copy {
        flex-basis: calc(100% - 86px);
    }

    .forum-category-new,
    .forum-profile-actions {
        margin-left: 86px;
    }

    .forum-profile-stats > span {
        min-width: 0;
        flex: 1 1 40%;
    }

    .forum-profile-post-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .forum-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .forum-section-note {
        align-self: flex-start;
    }

    .forum-topic-hero-copy h1 {
        font-size: 24px;
    }

    .forum-admin-bar {
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .forum-hero-copy h1 {
        font-size: 34px;
    }

    .forum-hero-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .forum-hero-stats {
        gap: 6px;
    }

    .forum-hero-stats > div {
        padding: 11px 12px;
    }

    .forum-hero-stats strong {
        font-size: 20px;
    }

    .forum-hero-search {
        flex-wrap: wrap;
        padding: 8px;
    }

    .forum-hero-search input {
        flex-basis: calc(100% - 30px);
    }

    .forum-hero-search button {
        width: 100%;
    }

    .forum-topic-copy > strong {
        font-size: 11px;
    }

    .forum-topic-copy > small {
        font-size: 8px;
    }

    .forum-post-actions {
        gap: 2px;
    }

    .forum-action-btn {
        padding: 5px;
        font-size: 8px;
    }

    .forum-editor-foot {
        align-items: stretch;
        flex-direction: column;
    }

    .forum-editor-foot > div {
        width: 100%;
    }

    .forum-editor-foot .btn {
        flex: 1;
        justify-content: center;
    }

    .forum-reply-card,
    .forum-form-card {
        padding: 15px;
    }

    .forum-auth-brand,
    .forum-auth-card {
        padding: 20px;
    }

    .forum-auth-brand h1 {
        font-size: 26px;
    }

    .forum-profile-actions {
        margin-left: 0;
    }

    .forum-profile-copy {
        flex-basis: 100%;
    }

    .forum-category-new {
        margin-left: 0;
    }

    .forum-category-hero-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .forum-category-hero-copy h1 {
        font-size: 27px;
    }
}

.forum-settings-divider {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 2px;
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
    color: #41525e;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.forum-settings-divider .icon {
    width: 13px;
    height: 13px;
    color: #1f6fae;
}

.forum-settings-divider small {
    color: #8b969e;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.forum-post-body h2,
.forum-post-body h3 {
    margin: 18px 0 8px;
    color: var(--ink, #16242e);
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.forum-post-body h2 {
    font-size: 20px;
}

.forum-post-body h3 {
    font-size: 16px;
}

.forum-post-body h2:first-child,
.forum-post-body h3:first-child {
    margin-top: 0;
}

.forum-category-hero .breadcrumb a,
.forum-topic-hero .breadcrumb a,
.forum-profile-hero .breadcrumb a,
.forum-search-hero .breadcrumb a,
.forum-settings-hero .breadcrumb a {
    color: #6b7a83;
}

.forum-category-hero .breadcrumb strong,
.forum-topic-hero .breadcrumb strong,
.forum-profile-hero .breadcrumb strong,
.forum-search-hero .breadcrumb strong,
.forum-settings-hero .breadcrumb strong {
    color: #31424e;
}

.forum-category-hero .breadcrumb > span,
.forum-topic-hero .breadcrumb > span,
.forum-profile-hero .breadcrumb > span,
.forum-search-hero .breadcrumb > span,
.forum-settings-hero .breadcrumb > span {
    color: #aeb9c1;
}

.forum-post-body ul {
    list-style: disc outside;
}

.forum-post-body ol {
    list-style: decimal outside;
}

.forum-post-body li {
    display: list-item;
    padding-left: 2px;
}

/* Forum hero — %30 daha kompakt */
.forum-hero {
    padding: 26px 0 28px;
}

.forum-hero .breadcrumb {
    margin-bottom: 12px;
}

.forum-hero-copy h1 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.05;
}

.forum-hero-copy p {
    font-size: 11px;
    line-height: 1.55;
}

.forum-hero-actions {
    margin-top: 14px;
    gap: 7px;
}

.forum-hero-actions .btn {
    min-height: 38px;
}

.forum-hero-search {
    margin-top: 16px;
}

.forum-hero-stats > div {
    padding: 10px 12px;
}

.forum-hero-stats strong {
    font-size: 21px;
}

.forum-hero-stats span {
    margin-top: 4px;
}

@media (max-width: 640px) {
    .forum-hero {
        padding: 22px 0 24px;
    }

    .forum-hero-copy h1 {
        font-size: 28px;
    }
}

/* Forum ana sayfa - blog hizalamasi ve ust bosluk */
.page-forum .forum-index-section {
    margin-top: 0;
    padding-top: 34px;
}

.page-forum .forum-index-section .forum-layout {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

@media (max-width: 520px) {
    .forum-auth-section {
        padding-top: 16px;
    }

    .forum-auth-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

.page-forum .forum-auth-section > .container {
    width: 100%;
    max-width: 1200px;
    margin-inline: 0;
}
