body.forum-body {
    font-family: var(--oxpins-font, 'Manrope', sans-serif);
    direction: rtl;
    text-align: right;
    background-color: #f9f9f9;
    color: #49433b;
    -webkit-font-smoothing: antialiased;
}

body.forum-body[data-ui-lang="en"],
body.forum-body[data-ui-lang="tr"] {
    direction: ltr;
    text-align: left;
}

h1, h2, h3, h4, h5, h6, .forum-heading-font {
    font-family: 'Amiri', serif;
    color: #0a2711;
    font-weight: 700;
}

/* Hero Section */
.forum-page-hero {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #0a2711 0%, #184d25 100%);
    color: #fff;
    margin-bottom: 30px;
}

.forum-page-hero h1 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
}

.forum-page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    max-width: 800px;
}

/* Breadcrumb & Toolbar */
.forum-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 0 0 15px 0;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.forum-breadcrumb {
    font-size: 14px;
    color: #8a8277;
}

.forum-breadcrumb a {
    color: #0a2711;
    text-decoration: none;
    margin: 0 5px;
    font-weight: 600;
}

.forum-breadcrumb a:hover {
    color: #d4af37;
}

.forum-breadcrumb span {
    margin: 0 5px;
}

/* Buttons */
.forum-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 700;
    font-family: var(--oxpins-font, 'Manrope', sans-serif);
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.forum-btn-primary {
    background: #0a2711;
    color: #fff;
}

.forum-btn-primary:hover {
    background: #184d25;
    color: #fff;
}

.forum-btn-secondary {
    background: #d4af37;
    color: #0a2711;
}

.forum-btn-secondary:hover {
    background: #c29a1b;
    color: #0a2711;
}

.forum-btn-light {
    background: #fff;
    color: #0a2711;
    border: 1px solid rgba(14, 25, 12, 0.1);
}

.forum-btn-light:hover {
    background: #faf8f2;
    color: #0a2711;
}

.forum-btn-danger {
    background: #7d1d13;
    color: #fff;
}

.forum-btn-danger:hover {
    background: #66150d;
    color: #fff;
}

/* Hsoub Layout Container */
.hsoub-page-container {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

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

.hsoub-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

body.forum-body[data-ui-lang="en"] .hsoub-page-container,
body.forum-body[data-ui-lang="tr"] .hsoub-page-container {
    flex-direction: row;
}

/* Topic Card (Hsoub Style) */
.hsoub-topic {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(14, 25, 12, 0.08);
    display: flex;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hsoub-topic:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #d4af37;
}

.hsoub-topic.pinned {
    border-inline-end: 4px solid #0a2711;
}

.hsoub-votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
    padding-inline-end: 15px;
    margin-inline-end: 15px;
    border-inline-end: 1px solid rgba(14, 25, 12, 0.05);
    color: #8a8277;
}

.hsoub-votes button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #b0ada8;
    transition: color 0.2s ease;
    padding: 5px;
}

.hsoub-votes button:hover {
    color: #d4af37;
}

.hsoub-votes span {
    font-size: 16px;
    font-weight: 700;
    color: #49433b;
    margin: 3px 0;
}

.hsoub-topic-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hsoub-topic-title {
    font-size: 18px;
    font-weight: 700;
    color: #0a2711;
    text-decoration: none;
    font-family: var(--oxpins-font, 'Manrope', sans-serif);
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.hsoub-topic-title:hover {
    color: #d4af37;
}

.hsoub-topic-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #8a8277;
    flex-wrap: wrap;
}

.hsoub-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0a2711;
    color: #d4af37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.hsoub-author {
    color: #0a2711;
    font-weight: 600;
    text-decoration: none;
}

.hsoub-category-tag {
    background: #f5efe4;
    color: #a37c00;
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.hsoub-category-tag:hover {
    background: #e8dfcc;
    color: #0a2711;
}

.hsoub-topic-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-inline-start: 15px;
    color: #8a8277;
    font-size: 13px;
}

.hsoub-topic-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sidebar Widgets */
.hsoub-widget {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(14, 25, 12, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.hsoub-widget-title {
    background: #faf8f2;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    color: #0a2711;
    margin: 0;
    border-bottom: 1px solid rgba(14, 25, 12, 0.05);
    font-family: 'Amiri', serif;
}

.hsoub-widget-content {
    padding: 15px;
}

.hsoub-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hsoub-category-list li {
    margin-bottom: 12px;
}

.hsoub-category-list li:last-child {
    margin-bottom: 0;
}

.hsoub-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #49433b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hsoub-category-list a:hover {
    color: #0a2711;
}

.hsoub-category-list span {
    background: #f5efe4;
    color: #0a2711;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

/* Topic Page / Details */
.forum-post {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(14, 25, 12, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
}

.forum-post-votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    width: 60px;
    flex-shrink: 0;
    background: #faf8f2;
    border-inline-end: 1px solid rgba(14, 25, 12, 0.05);
    color: #8a8277;
}

.forum-post-votes button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #b0ada8;
    padding: 5px;
}

.forum-post-votes button:hover {
    color: #d4af37;
}

.forum-post-votes span {
    font-size: 18px;
    font-weight: 700;
    color: #0a2711;
    margin: 10px 0;
}

.forum-post-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.forum-post-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(14, 25, 12, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forum-post-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.forum-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0a2711;
    color: #d4af37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.forum-post-userinfo {
    display: flex;
    flex-direction: column;
}

.forum-post-username {
    font-weight: 700;
    color: #0a2711;
    font-size: 15px;
}

.forum-post-date {
    font-size: 12px;
    color: #8a8277;
}

.forum-post-content {
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.forum-post-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.forum-post-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(14, 25, 12, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

/* Forms */
.forum-form-panel {
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(14, 25, 12, 0.08);
    padding: 25px;
    margin-bottom: 30px;
    display: none;
}

.forum-form-panel.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.forum-form-control,
.forum-form-select,
.forum-form textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #ddd3c3;
    padding: 12px 15px;
    background: #fff;
    font-family: var(--oxpins-font, 'Manrope', sans-serif);
    font-size: 15px;
    margin-bottom: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.forum-form-control:focus,
.forum-form-select:focus,
.forum-form textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.forum-form textarea {
    min-height: 150px;
    resize: vertical;
}

.forum-form label {
    font-weight: 700;
    color: #0a2711;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

/* Utilities */
.forum-empty-state {
    padding: 40px;
    text-align: center;
    color: #8a8277;
    font-size: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(14, 25, 12, 0.08);
}

.forum-alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}

.forum-alert[data-type="success"] {
    background: #eef8f0;
    border: 1px solid #cfe4d3;
    color: #1f6a33;
}

.forum-alert[data-type="error"] {
    background: #fff0ef;
    border: 1px solid #efc7c1;
    color: #9f372c;
}

.forum-alert[data-type="info"] {
    background: #eef6ff;
    border: 1px solid #c5dbf0;
    color: #2f5d8a;
}

/* Mobile Nav Styles Copied for specific pages */
.mobile-nav__wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    visibility: hidden;
    pointer-events: none;
}

.mobile-nav__wrapper.active,
.mobile-nav__wrapper.expanded {
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-nav__wrapper.active .mobile-nav__overlay,
.mobile-nav__wrapper.expanded .mobile-nav__overlay {
    opacity: 1;
}

.mobile-nav__content {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: min(360px, 100%);
    height: 100%;
    background: linear-gradient(180deg, #0d2f16 0%, #153f20 100%);
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: 22px;
}

body.forum-body[data-ui-lang="en"] .mobile-nav__content,
body.forum-body[data-ui-lang="tr"] .mobile-nav__content {
    inset-inline-start: 0;
    inset-inline-end: auto;
    transform: translateX(-100%);
}

.mobile-nav__wrapper.active .mobile-nav__content,
.mobile-nav__wrapper.expanded .mobile-nav__content {
    transform: translateX(0);
}

.mobile-nav__close {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    margin-bottom: 18px;
}

.mobile-nav__navigation,
.mobile-nav__submenu,
.mobile-nav__extra-links,
.mobile-nav__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav__navigation > li,
.mobile-nav__extra-links > li,
.mobile-nav__contact > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__navigation > li > a,
.mobile-nav__extra-links > li > a,
.mobile-nav__contact > li > a,
.mobile-nav__submenu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    padding: 14px 0;
}

@media (max-width: 991px) {
    .hsoub-page-container {
        flex-direction: column;
    }
    .hsoub-sidebar {
        width: 100%;
        position: static;
    }
    .hsoub-votes {
        padding-inline-end: 10px;
        margin-inline-end: 10px;
    }
    .hsoub-topic-stats {
        display: none;
    }
    .forum-post {
        flex-direction: column;
    }
    .forum-post-votes {
        width: 100%;
        flex-direction: row;
        border-inline-end: none;
        border-bottom: 1px solid rgba(14, 25, 12, 0.05);
        padding: 10px 15px;
        justify-content: flex-start;
        gap: 15px;
    }
    .forum-post-votes span {
        margin: 0;
    }
}

/* Spinner and Nested Comments */
body.forum-loading .preloader {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.forum-comment-nested {
    margin-inline-start: 40px !important;
    border-inline-start: 2px solid #d4af37;
    border-radius: 0 8px 8px 0;
}
body.forum-body[data-ui-lang="en"] .forum-comment-nested,
body.forum-body[data-ui-lang="tr"] .forum-comment-nested {
    border-radius: 8px 0 0 8px;
}
.forum-post-comment-reply-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(14,25,12,0.05);
    display: none;
}
.forum-post-comment-reply-form.active {
    display: block;
}

/* Loading Overlay (initial load + in-site forum navigation) */
.forum-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 248, 243, 0.96);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    box-shadow: inset 0 0 0 1px rgba(10, 39, 17, 0.06);
}

.forum-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.forum-loading-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid #f0ebe3;
    border-top-color: #b8941f;
    border-right-color: #d4af37;
    border-radius: 50%;
    animation: forum-spin 0.75s linear infinite;
    box-shadow: 0 2px 12px rgba(10, 39, 17, 0.08);
}

@keyframes forum-spin {
    to { transform: rotate(360deg); }
}

.forum-loading-text {
    font-size: 16px;
    color: #0a2711;
    font-weight: 600;
    font-family: 'Amiri', serif;
}

/* Comment Votes */
.forum-comment-votes {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-end: 15px;
}

.forum-comment-votes button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #b0ada8;
    padding: 4px;
    transition: color 0.2s ease;
}

.forum-comment-votes button:hover {
    color: #d4af37;
}

.forum-comment-votes button.voted {
    color: #d4af37;
}

.forum-comment-votes span {
    font-size: 14px;
    font-weight: 700;
    color: #49433b;
    min-width: 20px;
    text-align: center;
}

/* Reply Button */
.forum-reply-btn {
    background: none;
    border: none;
    color: #8a8277;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.forum-reply-btn:hover {
    background: #f5efe4;
    color: #0a2711;
}

/* Hold Status */
.forum-status-hold {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

/* Status Pills */
.forum-status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-inline-start: 8px;
}

.forum-status-pill.pinned {
    background: #0a2711;
    color: #fff;
}

.forum-status-pill.hold {
    background: #ffc107;
    color: #856404;
}

.forum-status-pill.hidden {
    background: #dc3545;
    color: #fff;
}

/* Language Switcher Tabs */
.forum-lang-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.forum-lang-tab {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.forum-lang-tab.active {
    background: #0a2711;
    color: #fff;
}

.forum-lang-tab:not(.active) {
    background: #f5efe4;
    color: #0a2711;
    border-color: rgba(212,175,55,0.2);
}

.forum-lang-tab:not(.active):hover {
    background: #e8dfcc;
}

/* Collapsible Nested Replies */
.forum-comment-nested {
    margin-inline-start: 30px;
    border-inline-start: 2px solid #f5efe4;
    padding-inline-start: 15px;
}

.forum-replies-wrapper {
    margin-top: 10px;
}

.forum-replies-toggle {
    background: none;
    border: none;
    color: #8a8277;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    margin-top: 10px;
}

.forum-replies-toggle:hover {
    background: #f5efe4;
    color: #0a2711;
}

.forum-replies-toggle i {
    transition: transform 0.2s;
}

.forum-replies-toggle.collapsed i {
    transform: rotate(-90deg);
}

.forum-nested-replies {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 2000px;
    opacity: 1;
}

.forum-nested-replies.collapsed {
    max-height: 0;
    opacity: 0;
}

/* Home Page Sections Refactored Styles */
.forum-home-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 25px;
}

.forum-home-section-card {
    background: #fff;
    border: 1px solid rgba(14,25,12,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.forum-home-section-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.forum-home-section-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 25px;
    border-bottom: 2px solid #f5efe4;
    flex-wrap: wrap;
}

.forum-home-section-info {
    flex: 1;
}

.forum-home-section-title {
    margin: 0 0 4px 0;
    font-size: 21px;
    color: #0a2711;
    font-family: 'Amiri', serif;
}

.forum-home-section-count {
    font-size: 13px;
    color: #8a8277;
    font-weight: normal;
    font-family: sans-serif;
}

.forum-home-section-desc {
    color: #8a8277;
    font-size: 13px;
    margin: 0;
}

.forum-home-cat-grid {
    padding: 18px 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.forum-home-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #faf8f2;
    border-radius: 8px;
    text-decoration: none;
    color: #49433b;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    border: 1px solid transparent;
}

.forum-home-cat-link:hover {
    border-color: #d4af37;
    background: #fff;
}

.forum-home-cat-count {
    background: #f5efe4;
    color: #0a2711;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* Category Tabs Styles */
.forum-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.forum-cat-tab {
    background: #f5efe4;
    color: #0a2711;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(212,175,55,0.2);
    transition: all 0.2s;
}

.forum-cat-tab:hover {
    background: #e8dfcc;
}

.forum-cat-tab.active {
    background: #0a2711;
    color: #fff;
    border: 1px solid #0a2711;
}

/* Attachments Styles */
.forum-attachments-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #faf8f2;
}

.forum-attachments-title {
    font-size: 14px;
    margin-bottom: 10px;
    color: #0a2711;
    font-weight: bold;
}

.forum-attachment-item {
    margin-bottom: 5px;
}

.forum-attachment-item a {
    color: #d4af37;
    text-decoration: none;
}

.forum-attachment-item a:hover {
    text-decoration: underline;
}

/* Forum parent-nav active-state indicator */
.main-menu__list > li > a.forum-nav-active {
    color: #d4af37 !important;
    position: relative;
}
.main-menu__list > li > a.forum-nav-active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
}

/*
 * Forum top-bar LTR override
 * The Arabic forum pages use dir="rtl" on <html>, but the user wants the
 * top navigation bar itself to flow left-to-right (matching the English
 * layout). We force LTR on the header/sticky/mobile-nav wrappers while
 * preserving the Arabic body direction for content below.
 * Arabic text inside links still renders correctly via Unicode bidi.
 */
.forum-header-ltr,
.forum-header-ltr * {
    direction: ltr !important;
}

.forum-header-ltr .main-menu__list,
.forum-header-ltr .sticky-header__content .main-menu__list {
    flex-direction: row;
    text-align: left;
}

.forum-header-ltr .main-menu-two__right-top-address-list {
    flex-direction: row;
    text-align: left;
}

/* Keep Arabic label text inside links right-reading even though the
   enclosing bar is LTR — Unicode handles most of this automatically,
   but we add explicit unicode-bidi for safety with pseudo-elements. */
body.forum-body[data-ui-lang="ar"] .forum-header-ltr a,
body.forum-body[data-ui-lang="ar"] .forum-header-ltr h5,
body.forum-body[data-ui-lang="ar"] .forum-header-ltr p,
body.forum-body[data-ui-lang="ar"] .forum-header-ltr span {
    unicode-bidi: plaintext;
}

/* Mobile drawer: ensure the close button and list sit on the LTR-expected side */
.forum-header-ltr.mobile-nav__wrapper .mobile-nav__content {
    text-align: left;
}

/* YouTube Responsive Embed (16:9) */
.forum-youtube-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #000;
}

.forum-youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

/* Q&A Session Badge */
.forum-status-pill.forum-qa-badge {
    background: #1a4a7a;
    color: #fff;
}

/* ========== Dawiya-style Header — oxpins.css handles core styles ========== */
/* Sticky header + search popup are fully managed by oxpins.css + oxpins.js */

/* Search popup — handled by oxpins.css, no overrides needed */

/* Mobile nav logo box */
.mobile-nav__content .logo-box {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav__content .logo-box img {
    max-width: 140px;
}

/* Mobile nav contact info */
.mobile-nav__contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav__contact > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 10px 0;
    font-size: 14px;
}

.mobile-nav__contact > li > a:hover {
    color: #d4af37;
}

/* Admin-only info badge inline */
.forum-toolbar .forum-alert {
    border-radius: 6px;
}
