/* phpBB prosilver theme override — LinkJuice design system.
   Uploaded to /forum/styles/prosilver/theme/ and included as last stylesheet
   in overall_header.html so it wins by source order. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --c-primary: #16162a;   /* ink */
  --c-secondary: #FFFAF1; /* cream */
  --c-accent: #FBAB13;    /* gold */
  --c-accent-dark: #8A6D00;
  --c-bg: #ffffff;
  --c-card: #ffffff;
  --c-border: #ece6d8;
  --c-row-alt: #FFFAF1;
  --c-text: #3a3a4d;
}

/* --- Body / general --- */
body, .wrap {
  background: var(--c-bg) !important;
  color: var(--c-text);
  font-family: 'Montserrat', 'Open Sans', sans-serif !important;
}

a, a:link, a:visited { color: var(--c-accent-dark); }
a:hover, a:active { color: var(--c-accent); }

/* --- Header --- */
#site-description, #logo { background: transparent; }
#site-description h1, #site-description p { color: #fff !important; }
.headerbar {
  background: var(--c-primary) !important;
  background-image: none !important;
  color: #fff;
  border-bottom: 3px solid var(--c-accent);
}
.headerbar h1 a, .headerbar p, .headerbar a { color: #fff !important; }
.headerbar #search-box input { color: #2b2b2b; }

/* --- Navigation tabs --- */
.navbar {
  background: var(--c-secondary) !important;
  border-bottom: 1px solid var(--c-border);
}
.linklist > li > a { color: var(--c-primary); font-weight: 600; }
.linklist > li > a:hover { color: var(--c-accent-dark); }

/* --- Forum row / topic row --- */
.forumbg, .forabg, .forabg-content {
  background-color: var(--c-card) !important;
  background-image: none !important;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}
.forumbg .inner, .forabg .inner { background: var(--c-card); }
ul.topiclist li.row { background: var(--c-card); border-color: var(--c-border); }
ul.topiclist li.row.bg2 { background: var(--c-row-alt); }
li.header {
  background: var(--c-primary) !important;
  background-image: none !important;
  color: #fff;
}
li.header dt, li.header dd { color: #fff !important; }
li.header dt a, li.header dd a { color: #fff !important; }
li.row .responsive-show { color: var(--c-text); }

/* --- Section/category title --- */
.forabg .header { background-color: var(--c-primary) !important; }
a.forumtitle { color: var(--c-primary) !important; font-weight: 700; }
a.forumtitle:hover { color: var(--c-accent-dark) !important; }
a.topictitle { color: var(--c-primary); font-weight: 600; }
a.topictitle:hover { color: var(--c-accent-dark); }

/* --- Buttons (gold like the main site) --- */
.button, input.button1, input.button2, input.button3,
button.button1, button.button2, button.button3 {
  background: var(--c-accent) !important;
  color: var(--c-primary) !important;
  border-color: var(--c-accent) !important;
  font-weight: 600;
  border-radius: 7px;
}
.button:hover, input.button1:hover, button.button1:hover {
  background: #ff9d00 !important;
  border-color: #ff9d00 !important;
}

/* --- Posts --- */
.postbody { background: var(--c-card); }
.postprofile {
  background: var(--c-secondary);
  border-right: 1px solid var(--c-border);
  padding: 10px;
  border-radius: 8px;
}
.postprofile .username, .postprofile a.username {
  color: var(--c-primary) !important;
  font-weight: 700;
}
.postprofile .rank { color: var(--c-accent-dark) !important; font-weight: 600; }

.postbody blockquote, .signature {
  background: var(--c-secondary);
  border-left: 3px solid var(--c-accent);
}
.signature { color: #74748a; }

/* --- Pagination --- */
.pagination .active span {
  background: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
}
.pagination li a, .pagination li.active span { color: var(--c-primary); }

/* --- Footer --- */
#page-footer {
  background: var(--c-primary);
  color: #b9b9c8;
  padding: 20px 0 14px;
  margin-top: 30px;
}
#page-footer a { color: var(--c-accent); }
