/* Forum dark palette — layer contrast: page → section → card → text */
:root {
    --forum-page-bg: #0f1115;
    --forum-section-bg: #1a1d23;
    --forum-section-bg-end: #14171c;
    --forum-card-bg: #232733;
    --forum-card-border: rgba(255, 255, 255, 0.05);
    --forum-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --forum-text: #c9d1d9;
    --forum-text-muted: #8b949e;
    --forum-gold: #f5c542;
    --forum-gold-hover: #ffd86b;
}

/* Force dark body when this stylesheet is loaded (forum pages) */
body {
    background: var(--forum-page-bg) !important;
    color: var(--forum-text);
}

.forum-page-wrapper {
    background: var(--forum-page-bg);
    color: var(--forum-text);
}

.forum-hero {
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.35), transparent 55%),
                radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.22), transparent 55%),
                linear-gradient(135deg, #000000, #121212);
    color: #ffffff;
    padding: 40px 0 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.forum-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

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

.forum-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}

.forum-hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.forum-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin-bottom: 18px;
}

.forum-hero-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

.forum-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.forum-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out, color 0.12s ease-out;
}

.forum-hero-cta-primary {
    background: #d4af37;
    border-color: rgba(250, 233, 160, 0.8);
    color: #101010;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.forum-hero-cta-primary:hover {
    background: #f0c84a;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
    color: #050505;
}

.forum-hero-cta-secondary {
    background: transparent;
    border-color: rgba(212, 175, 55, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.forum-hero-cta-secondary:hover {
    background: rgba(212, 175, 55, 0.12);
    transform: translateY(-1px);
}

.forum-hero-cta-ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.forum-hero-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.forum-hero-cta i {
    font-size: 0.95rem;
}

.forum-hero-aside {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.forum-hero-card {
    max-width: 320px;
    width: 100%;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 60%),
                rgba(15, 15, 15, 0.9);
    border-radius: 20px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(250, 233, 160, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.forum-hero-card h3 {
    font-size: 0.96rem;
    margin-bottom: 6px;
}

.forum-hero-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.forum-hero-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
}

.forum-hero-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.forum-hero-card-list i {
    color: #d4af37;
    font-size: 0.8rem;
}

.forum-hero-footnote {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.forum-hero-footnote a {
    color: #f6d870;
    text-decoration: underline;
}

.forum-hero-footnote a:hover {
    color: #ffffff;
}

/* Under-hero: live activity + discussion board shortcuts */
.forum-boards-under-hero {
    padding: 22px 0 10px;
    background: #080808;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.forum-live-activity-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
    margin-bottom: 18px;
}

.forum-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.forum-live-pill strong {
    color: #f6d870;
    font-weight: 600;
}

.forum-live-pill a {
    color: #f6d870;
    text-decoration: none;
    font-weight: 600;
}

.forum-live-pill a:hover {
    text-decoration: underline;
}

.forum-boards-section-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

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

@media (min-width: 576px) {
    .forum-boards-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .forum-boards-card-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.forum-board-quick-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 12px;
    min-height: 120px;
    background: #101010;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    transition: transform 0.12s ease-out, border-color 0.12s ease-out, box-shadow 0.12s ease-out;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.forum-board-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.forum-board-quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    color: #f6d870;
    font-size: 1rem;
}

.forum-board-quick-label {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}

.forum-board-quick-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.35;
    margin-top: auto;
}

.forum-intent-panel {
    padding: 24px 0 8px;
    background: #050505;
}

.forum-intent-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.intent-card {
    background: #111111;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 16px 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
}

.intent-card:hover {
    transform: translateY(-3px);
    border-color: rgba(250, 233, 160, 0.38);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}

.intent-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.intent-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.intent-card form {
    display: flex;
    gap: 8px;
}

.intent-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(9, 9, 9, 0.9);
    color: #ffffff;
    padding: 8px 14px;
    font-size: 0.85rem;
}

.intent-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.intent-button {
    border-radius: 999px;
    border: none;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #d4af37;
    color: #101010;
    cursor: pointer;
    white-space: nowrap;
}

.intent-button:hover {
    background: #f0c84a;
}

.intent-link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.intent-link-button:hover {
    background: rgba(255, 255, 255, 0.12);
}

.forum-latest-discussions-hero {
    padding: 8px 0 12px;
    background: #050505;
}

.forum-latest-discussions-hero-inner {
    background: #121212;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 18px 14px;
}

.forum-latest-discussions-hero-header {
    margin-bottom: 12px;
}

.forum-latest-discussions-hero-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.forum-latest-discussions-hero-title span {
    color: #ffaa3b;
}

.forum-latest-discussions-hero-sub {
    margin: 6px 0 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.forum-latest-discussions-hero-dot {
    margin: 0 0.35em;
}

.forum-latest-discussions-hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.forum-latest-discussions-hero-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.forum-latest-discussions-hero-item:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.forum-latest-discussions-hero-link {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    line-height: 1.35;
}

.forum-latest-discussions-hero-link:hover {
    color: #ffaa3b;
}

.forum-latest-discussions-hero-meta {
    margin-top: 4px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.58);
}

.forum-latest-discussions-hero-sep {
    margin: 0 0.4em;
    opacity: 0.7;
}

.forum-latest-discussions-hero-empty {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.forum-latest-discussions-hero-empty--cold {
    margin-top: 4px;
    margin-bottom: 12px;
    line-height: 1.45;
}

.forum-latest-discussions-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid rgba(246, 216, 112, 0.22);
    background: rgba(246, 216, 112, 0.06);
}

.forum-latest-discussions-cta-text {
    margin: 0;
    flex: 1 1 220px;
    font-size: 0.84rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

.forum-latest-discussions-cta-text i {
    margin-right: 8px;
    color: #f6d870;
}

.forum-latest-discussions-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: #0a0a0a;
    background: linear-gradient(135deg, #f6d870, #ffaa3b);
    border: 1px solid rgba(255, 200, 120, 0.9);
    white-space: nowrap;
}

.forum-latest-discussions-start-btn:hover {
    filter: brightness(1.06);
    color: #0a0a0a;
}

.forum-latest-discussions-start-btn--lg {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.forum-latest-discussions-start-row {
    margin-bottom: 18px;
}

.forum-getting-started {
    padding: 14px 16px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}

.forum-getting-started-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 10px;
}

.forum-getting-started-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.trending-reviews-section {
    padding: 8px 0 12px;
    background: #050505;
}

.forum-verified-reviews-below {
    padding-top: 4px;
    padding-bottom: 18px;
}

.trending-reviews-inner {
    background: #121212;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 18px 14px;
}

.trending-reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 10px;
}

.trending-reviews-header-hint {
    flex: 1 1 100%;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.35;
    margin: 0;
}

.trending-reviews-title {
    font-size: 1rem;
    font-weight: 600;
}

.trending-reviews-title span {
    color: #ffaa3b;
}

.trending-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trending-review-card {
    background: #181818;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trending-review-provider {
    font-size: 0.92rem;
    font-weight: 600;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(246, 216, 112, 0.7);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f6d870;
}

.trending-review-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.trending-review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #ffd86b;
}

.trending-review-social {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.trending-review-excerpt {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    max-height: 3.1em;
    overflow: hidden;
}

.trending-review-cta {
    margin-top: 6px;
    font-size: 0.8rem;
}

.trending-review-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(246, 216, 112, 0.85);
    background: rgba(0, 0, 0, 0.35);
    color: #f6d870;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 0 rgba(246, 216, 112, 0.3);
    transition: background 0.12s ease-out, box-shadow 0.12s ease-out, transform 0.12s ease-out, border-color 0.12s ease-out;
}

.trending-review-cta a:hover {
    background: rgba(246, 216, 112, 0.16);
    border-color: rgba(255, 239, 180, 0.95);
    box-shadow: 0 0 16px rgba(246, 216, 112, 0.55);
    transform: translateY(-1px);
}

.trending-review-cta a:hover {
    text-decoration: underline;
}

.forum-stats-bar {
    padding: 16px 0 8px;
    background: #050505;
}

.forum-stats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #111111;
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.forum-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
}

.forum-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #f6d870;
    font-size: 0.85rem;
}

.forum-stat-labels {
    display: flex;
    flex-direction: column;
}

.forum-stat-number {
    font-size: 0.95rem;
    font-weight: 600;
}

.forum-stat-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.forum-main-layout {
    padding: 28px 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 3.1fr) minmax(0, 1.4fr);
    gap: 20px;
}

/*
 * Hub: <main> + <aside class="forum-sidebar"> as direct children (two grid tracks).
 * State forum_*.php: sidebar is Bootstrap cols inside <main> — only one grid child was reserving a blank second track.
 */
.forum-page-wrapper .forum-main-layout:has(> .forum-main:only-child) {
    grid-template-columns: minmax(0, 1fr);
}

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

.forum-section-card {
    background: #101010;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 18px 16px;
    margin-bottom: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.forum-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.forum-section-title {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.forum-section-title span {
    color: #f6d870;
}

.forum-category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-category-row {
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr);
    gap: 10px;
    padding: 12px 10px;
    border-radius: 12px;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.15), transparent 65%),
                #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.12s ease-out, border-color 0.12s ease-out, transform 0.12s ease-out;
}

.forum-category-row:hover {
    border-color: rgba(250, 233, 160, 0.4);
    transform: translateY(-1px);
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.25), transparent 70%),
                #151515;
}

.forum-category-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.forum-category-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #f6d870;
}

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

.forum-category-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
}

.forum-category-name:hover {
    color: #f6d870;
}

.forum-category-description {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.forum-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.forum-badge-hot {
    background: rgba(255, 87, 51, 0.18);
    color: #ff9f6b;
}

.forum-badge-active {
    background: rgba(73, 209, 146, 0.16);
    color: #7be2b4;
}

.forum-category-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.8rem;
}

.forum-category-stats {
    display: flex;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.forum-category-stats span strong {
    font-weight: 600;
    color: #f6d870;
}

.forum-category-latest {
    text-align: right;
}

.forum-category-latest a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.82rem;
    text-decoration: none;
}

.forum-category-latest a:hover {
    color: #f6d870;
}

.forum-category-latest-meta {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
}

.membership-tease {
    margin: 10px 0 4px;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), transparent 70%),
                #090909;
    border-radius: 18px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(250, 233, 160, 0.45);
}

.membership-tease h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.membership-tease p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.membership-tease ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.membership-tease li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.membership-tease li i {
    color: #f6d870;
    font-size: 0.8rem;
}

.membership-tease-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #f6d870;
    color: #101010;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.membership-tease-cta:hover {
    background: #ffe891;
    color: #050505;
}

.forum-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-widget {
    background: #101010;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.sidebar-widget-header {
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f6d870;
}

.sidebar-widget-body {
    padding: 14px 16px 12px;
}

.trending-provider-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.trending-provider-item:last-child {
    border-bottom: none;
}

.trending-provider-main {
    min-width: 0;
}

.trending-provider-name {
    font-weight: 600;
}

.trending-provider-location {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.trending-provider-meta {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
}

.trending-provider-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.trending-provider-quick {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(246, 216, 112, 0.12);
    color: #f6d870;
    border: 1px solid rgba(246, 216, 112, 0.5);
    font-size: 0.78rem;
    text-decoration: none;
}

.trending-provider-quick:hover {
    background: rgba(246, 216, 112, 0.2);
}

.recent-post-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-title a {
    font-size: 0.84rem;
    color: #ffffff;
    text-decoration: none;
}

.recent-post-title a:hover {
    color: #f6d870;
}

.sidebar-discussion-list .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Roomier sidebar lists (topic page + hub): flex gap + title/meta separation */
.sidebar-discussion-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.active-discussions .sidebar-discussion-list .recent-post-item {
    padding: 0 0 22px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-new-threads .sidebar-widget-body {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.sidebar-new-threads .recent-post-item {
    padding: 0 0 22px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-new-threads .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.active-discussions .recent-post-title,
.sidebar-new-threads .recent-post-title {
    line-height: 1.45;
    margin-bottom: 2px;
}

.active-discussions .recent-post-meta,
.sidebar-new-threads .recent-post-meta {
    margin-top: 0.75rem;
    line-height: 1.45;
    display: block;
}

.active-discussions .recent-post-title a,
.sidebar-new-threads .recent-post-title a {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.active-discussions .recent-post-title a:hover,
.sidebar-new-threads .recent-post-title a:hover {
    color: #facc15;
}

.sidebar-widget-footer {
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.active-discussions .sidebar-widget-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-widget-footer a {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(250, 204, 21, 0.9);
    text-decoration: none;
}

.sidebar-widget-footer a:hover {
    color: #facc15;
}

.recent-post-meta {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.65);
}

.online-count {
    font-weight: 700;
    color: #f6d870;
}

.forum-footer-links {
    padding-bottom: 28px;
}

.forum-footer-links-inner {
    background: #101010;
    border-radius: 999px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
}

.forum-footer-links-inner a {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.forum-footer-links-inner a:hover {
    color: #f6d870;
}

@media (max-width: 992px) {
    .forum-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .forum-hero-aside {
        width: 100%;
        justify-content: flex-start;
    }

    .forum-hero-card {
        max-width: 100%;
    }

    .forum-main-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

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

    .forum-hero-title {
        font-size: 1.8rem;
    }

    .forum-intent-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .trending-reviews-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-section-card {
        padding: 16px 14px 14px;
    }

    .forum-category-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-category-meta {
        align-items: flex-start;
        text-align: left;
    }

    .forum-stats-inner {
        border-radius: 16px;
    }
}

/* Gold links inside forum main — pop + hover (inline pages often set title/link colors) */
.forum-page-wrapper .topic-title {
    transition: color 0.2s ease;
}
.forum-page-wrapper a.topic-title {
    color: #ffffff !important;
}
.forum-page-wrapper a.topic-title:hover {
    color: var(--forum-gold-hover) !important;
}
/* Topic / city pills (Topics in … grid) — dark surface; inline CSS used light bg + we set gold text = unreadable */
.forum-page-wrapper .city-link,
.forum-page-wrapper a.city-link,
.forum-page-wrapper span.city-link {
    background: rgba(255, 255, 255, 0.06) !important;
    background-image: none !important;
    border: 1px solid var(--forum-card-border) !important;
    border-radius: 10px !important;
    color: var(--forum-text) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
}
.forum-page-wrapper .city-link::before {
    display: none !important;
}
.forum-page-wrapper a.city-link:hover,
.forum-page-wrapper .city-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(245, 197, 66, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    text-decoration: none !important;
}
.forum-page-wrapper .city-link.current-city,
.forum-page-wrapper a.city-link.current-city {
    background: var(--forum-gold) !important;
    border-color: var(--forum-gold) !important;
    color: #000000 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}
.forum-page-wrapper .city-link.current-city:hover {
    background: var(--forum-gold-hover) !important;
    border-color: var(--forum-gold-hover) !important;
    color: #000000 !important;
}

.forum-page-wrapper .forum-main a:not(.btn):not(.topic-title):not(.city-link) {
    color: var(--forum-gold);
    transition: color 0.2s ease;
}
.forum-page-wrapper .forum-main a:not(.btn):not(.topic-title):not(.city-link):hover {
    color: var(--forum-gold-hover);
}

/* Dark overrides for legacy forum pages (forum_general, forum_provider411, etc.) */
.forum-page-wrapper .breadcrumb {
    background: transparent;
    padding: 0.75rem 0 0;
    margin-top: 0;
    margin-bottom: 1.25rem;
}
.forum-page-wrapper .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}
.forum-page-wrapper .breadcrumb-item a:hover {
    color: #f6d870;
}
.forum-page-wrapper .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .widget-card,
.forum-page-wrapper .card {
    background: var(--forum-card-bg);
    border: 1px solid var(--forum-card-border);
    border-radius: 12px;
    color: var(--forum-text);
    box-shadow: var(--forum-card-shadow);
}
.forum-page-wrapper .stat-card {
    background: var(--forum-card-bg) !important;
    border: 1px solid var(--forum-card-border) !important;
    border-radius: 10px !important;
    box-shadow: var(--forum-card-shadow) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.forum-page-wrapper .stat-card:hover {
    border-color: rgba(245, 197, 66, 0.35) !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5) !important;
}
.forum-page-wrapper .stat-icon {
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--forum-gold) !important;
}
.forum-page-wrapper .stat-number {
    color: #ffffff !important;
}
.forum-page-wrapper .stat-label {
    color: var(--forum-text-muted) !important;
}
.forum-page-wrapper .search-form {
    background: linear-gradient(180deg, var(--forum-section-bg) 0%, var(--forum-section-bg-end) 100%);
    border: 1px solid var(--forum-card-border);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--forum-card-shadow);
}
.forum-page-wrapper .search-form .form-label {
    color: var(--forum-text);
}
.forum-page-wrapper .search-form .form-control,
.forum-page-wrapper .search-form .form-select {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--forum-card-border);
    color: var(--forum-text);
}
.forum-page-wrapper .search-form .form-control:focus,
.forum-page-wrapper .search-form .form-select:focus {
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.15);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}
.forum-page-wrapper .search-form .form-control::placeholder {
    color: var(--forum-text-muted);
}
.forum-page-wrapper .widget-card h5,
.forum-page-wrapper .card-header {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.06);
}
.forum-page-wrapper .alert {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .alert-success { border-color: rgba(115, 209, 61, 0.4); }
.forum-page-wrapper .alert-danger { border-color: rgba(220, 53, 69, 0.4); }
.forum-page-wrapper .alert-warning { border-color: rgba(255, 193, 7, 0.4); }
.forum-page-wrapper .btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%) !important;
    border: 1px solid rgba(246, 216, 112, 0.6) !important;
    color: #101010 !important;
}
.forum-page-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, #e0bc40 0%, #d4af37 100%) !important;
    border-color: rgba(246, 216, 112, 0.9) !important;
    color: #101010 !important;
}
.forum-page-wrapper .sidebar-empty {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Topic listing cards — beats inline !important + .card-view / .list-view specificity */
.forum-page-wrapper .topics-list.card-view .topic-card,
.forum-page-wrapper .topics-list.list-view .topic-card,
.forum-page-wrapper .mb-4.card-view .topic-card,
.forum-page-wrapper .mb-4.list-view .topic-card,
.forum-page-wrapper .website-posts-section.card-view .topic-card,
.forum-page-wrapper .website-posts-section.list-view .topic-card,
.forum-page-wrapper .website-posts-section .topic-card,
.forum-page-wrapper .mb-4 .topic-card,
.forum-page-wrapper .topics-list .topic-card,
.forum-page-wrapper .topic-card {
    background: var(--forum-card-bg) !important;
    border: 1px solid var(--forum-card-border) !important;
    border-radius: 10px !important;
    box-shadow: var(--forum-card-shadow) !important;
    padding: 14px 16px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.forum-page-wrapper .topic-card:hover {
    border-color: rgba(245, 197, 66, 0.35) !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5) !important;
}
.forum-page-wrapper .topic-title:not(a) {
    color: #ffffff !important;
}
.forum-page-wrapper .topic-preview {
    background: rgba(255, 255, 255, 0.05) !important;
    border-left: 3px solid rgba(245, 197, 66, 0.35) !important;
    color: var(--forum-text) !important;
}
.forum-page-wrapper .topic-meta {
    color: var(--forum-text);
}
.forum-page-wrapper .topic-meta .stat-item,
.forum-page-wrapper .topic-meta .stat-item .count {
    color: var(--forum-text-muted);
}
.forum-page-wrapper .topic-meta .stat-item i {
    color: var(--forum-gold);
    transition: color 0.2s ease;
}
/* Topic row: reset widget .stat-item rules from inline forum CSS (padding + #f8fafc background) */
.forum-page-wrapper .topic-meta .meta-right .stat-item {
    background: transparent !important;
    padding: 0 !important;
    text-align: inherit !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
.forum-page-wrapper .topic-meta .meta-right .stat-item a {
    background: transparent !important;
}
.forum-page-wrapper .topic-meta .meta-right .stat-item i.text-info,
.forum-page-wrapper .topic-meta .meta-right .stat-item i.text-success {
    color: var(--forum-gold) !important;
}
.forum-page-wrapper .topic-meta .meta-right .stat-item a.text-danger i {
    color: rgba(248, 113, 113, 0.95) !important;
}
.forum-page-wrapper .meta-left {
    color: var(--forum-text-muted);
}
.forum-page-wrapper .meta-left .username {
    color: var(--forum-gold);
    transition: color 0.2s ease;
}
.forum-page-wrapper .meta-left .username:hover {
    color: var(--forum-gold-hover);
}

/* Recent Topics shell — gradient section, clear separation from page bg */
.forum-page-wrapper .topics-section {
    background: linear-gradient(180deg, var(--forum-section-bg) 0%, var(--forum-section-bg-end) 100%) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: var(--forum-card-shadow) !important;
    border: 1px solid var(--forum-card-border) !important;
    overflow: hidden;
}
.forum-page-wrapper .topics-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--forum-card-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.forum-page-wrapper .topics-title {
    color: #ffffff;
}
.forum-page-wrapper .topics-title i {
    color: var(--forum-gold);
    transition: color 0.2s ease;
}
.forum-page-wrapper .topics-controls {
    color: var(--forum-text);
}
.forum-page-wrapper .filter-tabs {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
    border: 1px solid var(--forum-card-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.forum-page-wrapper .view-controls {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid var(--forum-card-border);
    padding: 4px;
}
.forum-page-wrapper .filter-tab {
    color: var(--forum-text);
    transition: background 0.2s ease, color 0.2s ease;
}
.forum-page-wrapper .filter-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.forum-page-wrapper .filter-tab.active {
    background: var(--forum-gold) !important;
    color: #000000 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.forum-page-wrapper .view-controls .view-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--forum-card-border);
    color: var(--forum-text);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.forum-page-wrapper .view-controls .view-btn:hover {
    color: var(--forum-gold-hover);
}
.forum-page-wrapper .view-controls .view-btn.active {
    background: var(--forum-gold) !important;
    border-color: transparent !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Dark overrides for forum_topic.php (single thread view) */
.forum-page-wrapper .forum-main {
    min-height: 30vh;
}
.forum-page-wrapper .topic-content-card,
.forum-page-wrapper .replies-section {
    display: block !important;
    visibility: visible !important;
}
.forum-page-wrapper .topic-content-card {
    background: var(--forum-card-bg);
    border: 1px solid var(--forum-card-border);
    border-radius: 10px;
    box-shadow: var(--forum-card-shadow);
}
.forum-page-wrapper .topic-content-card::before {
    background: linear-gradient(90deg, var(--forum-gold) 0%, #e6b038 50%, var(--forum-gold) 100%);
}
.forum-page-wrapper .topic-meta {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    color: var(--forum-text);
}
.forum-page-wrapper .topic-content,
.forum-page-wrapper .reply-content {
    color: var(--forum-text);
}
.forum-page-wrapper .meta-left,
.forum-page-wrapper .stat-item,
.forum-page-wrapper .date {
    color: var(--forum-text-muted);
}
.forum-page-wrapper .username {
    color: var(--forum-gold);
    transition: color 0.2s ease;
}
.forum-page-wrapper .username:hover {
    color: var(--forum-gold-hover);
}
.forum-page-wrapper .replies-section h3 {
    color: #ffffff;
}
.forum-page-wrapper .reply-card {
    background: var(--forum-card-bg);
    border: 1px solid var(--forum-card-border);
    border-left-color: rgba(245, 197, 66, 0.45);
    box-shadow: var(--forum-card-shadow);
}
.forum-page-wrapper .reply-form {
    background: var(--forum-section-bg);
    border: 1px solid var(--forum-card-border);
    border-radius: 12px;
    color: var(--forum-text);
    box-shadow: var(--forum-card-shadow);
}
.forum-page-wrapper .reply-form .form-label,
.forum-page-wrapper .reply-form .form-control {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .reply-form .form-control {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}
.forum-page-wrapper .reply-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(246, 216, 112, 0.5);
    color: #fff;
}
.forum-page-wrapper .forum-nav-strip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.forum-page-wrapper .forum-nav-title {
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}
.forum-page-wrapper .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f6d870;
    color: #f6d870;
}
.forum-page-wrapper .text-muted {
    color: var(--forum-text-muted) !important;
}
.forum-page-wrapper .bg-light {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.8);
}
