:root {
    --forum-red: #c81d25;
    --forum-red-deep: #7f0f14;
    --forum-cream: #f8f2e7;
    --forum-ink: #1e1d25;
    --forum-muted: #5c5a68;
    --forum-gold: #d6a84f;
    --forum-panel: rgba(255, 255, 255, 0.9);
    --forum-line: rgba(30, 29, 37, 0.1);
    --forum-shadow: 0 24px 60px rgba(61, 11, 17, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--forum-ink);
    background:
        radial-gradient(circle at top left, rgba(214, 168, 79, 0.25), transparent 32%),
        radial-gradient(circle at top right, rgba(200, 29, 37, 0.2), transparent 24%),
        linear-gradient(180deg, #fbf6ee 0%, #fff 28%, #f6eee1 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.forum-page-shell {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 72px;
}

.forums-nav {
    position: sticky;
    top: 14px;
    z-index: 20;
    margin: 18px auto 24px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    background: rgba(116, 8, 12, 0.88);
    box-shadow: 0 18px 38px rgba(58, 7, 11, 0.2);
    backdrop-filter: blur(18px);
}

.forums-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.forums-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    padding: 4px;
}

.forums-brand strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.forums-brand span {
    display: block;
    color: rgba(255, 241, 241, 0.78);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.forums-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.forums-nav-links a {
    padding: 10px 14px;
    color: #fff9f9;
    font-weight: 600;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.forums-nav-links a:hover,
.forums-nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.forums-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.forums-nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.forums-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 30px;
    align-items: stretch;
    padding: 42px 0 28px;
}

.forums-hero-copy,
.forums-hero-panel,
.forum-board-section,
.forum-spotlight-section,
.forum-streams-section {
    position: relative;
}

.forums-hero-copy {
    padding: 40px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(127, 15, 20, 0.94), rgba(200, 29, 37, 0.93)),
        url('images/IMG_6018.jpg') center/cover;
    box-shadow: var(--forum-shadow);
    overflow: hidden;
}

.forums-hero-copy::after {
    content: "";
    position: absolute;
    inset: auto -60px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.forums-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.forums-eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #fff2da;
    margin-bottom: 18px;
}

.forums-hero-copy h1,
.section-heading-wrap h2,
.section-heading-wrap-light h2,
.forum-stream-head h3,
.forum-lane-head h4,
.forum-card-content h3,
.forum-spotlight-copy h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.forums-hero-copy h1 {
    max-width: 12ch;
    color: #fffaf7;
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    line-height: 0.96;
    margin-bottom: 18px;
}

.forums-hero-copy p {
    max-width: 60ch;
    color: rgba(255, 243, 238, 0.88);
    font-size: 1.04rem;
    line-height: 1.8;
}

.forums-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.forums-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    min-width: 160px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.forums-btn:hover,
.forums-btn:focus-visible {
    transform: translateY(-2px);
}

.forums-btn-primary {
    background: #fff2df;
    color: var(--forum-red-deep);
    box-shadow: 0 18px 34px rgba(48, 12, 18, 0.2);
}

.forums-btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.forums-hero-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    border-radius: 32px;
    background: rgba(255, 252, 247, 0.82);
    border: 1px solid rgba(127, 15, 20, 0.08);
    box-shadow: var(--forum-shadow);
    backdrop-filter: blur(12px);
}

.forum-status-banner {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(200, 29, 37, 0.1), rgba(214, 168, 79, 0.22));
    color: var(--forum-red-deep);
    font-weight: 700;
}

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

.forum-stat-card {
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(127, 15, 20, 0.08);
}

.forum-stat-card-accent {
    background: linear-gradient(145deg, rgba(127, 15, 20, 0.94), rgba(200, 29, 37, 0.92));
    color: #fff;
}

.forum-stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forum-muted);
    margin-bottom: 8px;
    font-weight: 700;
}

.forum-stat-card-accent .forum-stat-label,
.forum-stat-card-accent p {
    color: rgba(255, 244, 244, 0.8);
}

.forum-stat-card strong {
    display: block;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
    margin-bottom: 8px;
}

.forum-stat-card p {
    font-size: 0.92rem;
    color: var(--forum-muted);
    line-height: 1.5;
}

.forum-board-section,
.forum-streams-section {
    margin-top: 34px;
    padding: 34px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(127, 15, 20, 0.08);
    box-shadow: var(--forum-shadow);
}

.forum-spotlight-section {
    margin-top: 34px;
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(30, 29, 37, 0.95), rgba(94, 18, 24, 0.95));
    box-shadow: var(--forum-shadow);
}

.section-heading-wrap,
.section-heading-wrap-light {
    margin-bottom: 24px;
}

.section-kicker {
    background: rgba(200, 29, 37, 0.09);
    color: var(--forum-red-deep);
    margin-bottom: 12px;
}

.section-heading-wrap h2,
.section-heading-wrap-light h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

.section-heading-wrap p,
.section-heading-wrap-light p {
    max-width: 64ch;
    color: var(--forum-muted);
    line-height: 1.8;
}

.section-heading-wrap-light .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: #ffeac0;
}

.section-heading-wrap-light h2,
.section-heading-wrap-light p {
    color: #fff;
}

.forum-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.forum-board-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 28px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(180deg, rgba(24, 18, 26, 0.18), rgba(24, 18, 26, 0.88));
    box-shadow: 0 18px 36px rgba(35, 12, 20, 0.2);
}

.forum-board-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--forum-card-image, linear-gradient(180deg, rgba(200, 29, 37, 0.6), rgba(127, 15, 20, 0.9)));
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.forum-board-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 12, 16, 0.08), rgba(14, 12, 16, 0.86));
    z-index: 1;
}

.forum-board-card > * {
    position: relative;
    z-index: 2;
}

.forum-board-pill-row,
.forum-category-tags,
.forum-meta-row,
.forum-lane-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.forum-board-pill,
.forum-category-tag,
.forum-item-type,
.forum-item-meta,
.forum-lane-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.forum-board-pill,
.forum-category-tag,
.forum-lane-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #fff8ea;
}

.forum-board-card h3 {
    font-size: 2rem;
    margin: 20px 0 10px;
}

.forum-board-card p {
    color: rgba(255, 248, 245, 0.86);
    line-height: 1.7;
    margin-bottom: 16px;
}

.forum-board-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--forum-red-deep);
    font-weight: 800;
}

.forum-spotlight-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.forum-spotlight-media {
    min-height: 320px;
    background-size: cover;
    background-position: center;
}

.forum-spotlight-copy {
    padding: 30px;
    color: #fff;
}

.forum-spotlight-copy h3 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.04;
    margin: 14px 0;
}

.forum-spotlight-copy p {
    color: rgba(255, 248, 240, 0.84);
    line-height: 1.8;
}

.forum-streams {
    display: grid;
    gap: 26px;
}

.forum-stream-block {
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(250, 244, 236, 0.8));
    border: 1px solid rgba(127, 15, 20, 0.08);
}

.forum-stream-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.forum-stream-head h3 {
    font-size: 2.2rem;
    line-height: 1.04;
    margin-bottom: 8px;
}

.forum-stream-head p {
    max-width: 60ch;
    color: var(--forum-muted);
    line-height: 1.75;
}

.forum-stream-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(127, 15, 20, 0.14);
    background: #fff;
    color: var(--forum-red-deep);
    font-weight: 800;
}

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

.forum-lane {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(127, 15, 20, 0.08);
}

.forum-lane-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forum-lane-head h4 {
    font-size: 1.45rem;
}

.forum-lane-head p {
    color: var(--forum-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.forum-card-stack {
    display: grid;
    gap: 12px;
}

.forum-content-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(127, 15, 20, 0.08);
    box-shadow: 0 10px 24px rgba(29, 18, 20, 0.08);
}

.forum-card-image {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}

.forum-card-content {
    padding: 16px;
}

.forum-card-content h3 {
    font-size: 1.18rem;
    line-height: 1.22;
    margin: 10px 0 8px;
}

.forum-card-content p {
    color: var(--forum-muted);
    font-size: 0.93rem;
    line-height: 1.68;
}

.forum-item-type {
    background: rgba(200, 29, 37, 0.08);
    color: var(--forum-red-deep);
}

.forum-item-meta {
    background: rgba(30, 29, 37, 0.06);
    color: var(--forum-muted);
}

.forum-empty-card,
.forum-empty-inline {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(127, 15, 20, 0.2);
    color: var(--forum-muted);
    background: rgba(255, 255, 255, 0.58);
    line-height: 1.6;
}

.forum-empty-inline {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1180px) {
    .forums-hero {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 860px) {
    .forum-page-shell {
        width: min(100% - 18px, 100%);
    }

    .forums-nav {
        flex-wrap: wrap;
        top: 8px;
        margin-top: 8px;
    }

    .forums-nav-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .forums-nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 8px;
    }

    .forums-nav-links.open {
        display: flex;
    }

    .forums-nav-links a {
        text-align: center;
        background: rgba(255, 255, 255, 0.08);
    }

    .forums-hero-copy,
    .forums-hero-panel,
    .forum-board-section,
    .forum-spotlight-section,
    .forum-streams-section,
    .forum-stream-block {
        padding: 22px;
        border-radius: 24px;
    }

    .forum-stat-grid,
    .forum-board-grid,
    .forum-lane-grid {
        grid-template-columns: 1fr;
    }

    .forum-stream-head {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .forums-hero-copy h1 {
        font-size: 2.4rem;
    }

    .forum-stream-head h3,
    .section-heading-wrap h2,
    .section-heading-wrap-light h2 {
        font-size: 1.85rem;
    }

    .forum-board-card h3 {
        font-size: 1.6rem;
    }
}