/* ============================================================================================================
   Bohemia RP - the forum's theme (2026-10-11), over the repainted "Estilo claro" stylesheets: it loads last.
   Palette: Royal Crimson #711F27 · Antique Gold #B89A5D · Parchment #EAE0CC · Dark Walnut #3A2B24 · Obsidian #20201E
   Type: EB Garamond (small capitals for titles and menus).
   ============================================================================================================ */
:root {
  --crimson: #711f27;
  --crimson-hi: #8c2a33;
  --gold: #b89a5d;
  --gold-hi: #d4b878;
  --parchment: #eae0cc;
  --parchment-dim: #cfc3ab;
  --muted: #a8997f;
  --walnut: #3a2b24;
  --obsidian: #20201e;
  --panel: #2a2421;
  --panel-alt: #2f2724;
  --panel-hover: #372c27;
  --line: #4a3b31;
  --line-soft: rgba(184, 154, 93, 0.18);
  --radius: 6px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --font: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --wrap: 1240px;
}

/* ---------- base ---------- */
html, body {
  background: var(--obsidian) !important;
  color: var(--parchment) !important;
  font-family: var(--font) !important;
  font-size: 17px;
  line-height: 1.5;
}
body {
  margin: 0;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(113, 31, 39, 0.18), transparent 60%),
                    linear-gradient(180deg, #24211e 0%, var(--obsidian) 420px) !important;
  background-attachment: fixed !important;
}
body, td, th, input, select, textarea, button, .smalltext, .largetext { font-family: var(--font) !important; }
a, a:link, a:visited { color: var(--gold) !important; text-decoration: none; }
a:hover, a:active { color: var(--gold-hi) !important; text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--crimson); color: var(--parchment); }
hr { border: 0; border-top: 1px solid var(--line); }
img { max-width: 100%; }
.smalltext { font-size: 15px; color: var(--parchment-dim); }
.largetext { font-size: 20px; }
h1, h2, h3, .thead, .tcat, .bh-nav, .bh-card__title, .wo_title, input.button, .button, .footer-distributed h3 {
  font-variant: small-caps;
  letter-spacing: 0.04em;
}

/* the old top bar, banner and helpers of the light theme: replaced by the new header */
.haut, .headerlist, #mobile_member { display: none !important; }

/* ---------- the top bar ---------- */
.bh-topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(24, 22, 20, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(113, 31, 39, 0.65), 0 8px 20px rgba(0, 0, 0, 0.5);
}
.bh-topbar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 24px; min-height: 64px;
}
.bh-brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.bh-brand img { height: 46px; width: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
.bh-brand__name { font-size: 26px; font-variant: small-caps; letter-spacing: 0.06em; color: var(--parchment); line-height: 1; }
.bh-brand__name b { color: var(--gold); font-weight: 600; }
.bh-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.bh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.bh-nav li { position: relative; }
.bh-nav > ul > li > a, .bh-nav > ul > li > span > a {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius);
  color: var(--parchment) !important; font-size: 18px; white-space: nowrap;
}
.bh-nav > ul > li > a:hover { background: rgba(184, 154, 93, 0.12); color: var(--gold-hi) !important; text-decoration: none; }
.bh-nav > ul > li > a i { color: var(--gold); font-size: 14px; }
.bh-nav li img { width: 26px !important; height: 26px !important; border-radius: 50%; border: 1px solid var(--gold); margin: 0 !important; float: none !important; }
/* the drop-down menus */
.bh-nav li ul {
  display: none; position: absolute; top: 100%; right: 0; min-width: 220px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--crimson);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
}
.bh-nav__main li ul { left: 0; right: auto; }
.bh-nav li:hover > ul, .bh-nav li:focus-within > ul { display: flex; }
.bh-nav li ul li a { display: block; padding: 8px 12px; border-radius: 4px; color: var(--parchment) !important; font-variant: small-caps; }
.bh-nav li ul li a:hover { background: var(--crimson); color: var(--parchment) !important; text-decoration: none; }
.bh-cta { background: var(--crimson) !important; border: 1px solid var(--crimson-hi); }
.bh-cta:hover { background: var(--crimson-hi) !important; }
.bh-menu-toggle, .bh-burger { display: none; }

/* ---------- the banner ---------- */
.bh-hero { position: relative; margin: 0 auto; max-width: 1600px; line-height: 0; overflow: hidden; }
.bh-hero img { width: 100%; height: auto; display: block; aspect-ratio: 2000 / 397; object-fit: cover; }
.bh-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(32, 32, 30, 0) 60%, var(--obsidian) 100%),
              linear-gradient(90deg, var(--obsidian) 0%, rgba(32, 32, 30, 0) 6%, rgba(32, 32, 30, 0) 94%, var(--obsidian) 100%);
  pointer-events: none;
}

/* ---------- the page frame ---------- */
#container {
  max-width: var(--wrap) !important; width: auto !important; margin: 0 auto !important; padding: 0 20px 40px !important;
  background: transparent !important; color: var(--parchment) !important; box-shadow: none !important; float: none !important;
}
#header, #content, .wrapper { background: transparent !important; width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; float: none !important; }

/* breadcrumbs */
.navigation {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--panel) !important; border: 1px solid var(--line) !important; border-left: 3px solid var(--crimson) !important;
  border-radius: var(--radius); padding: 12px 18px !important; margin: 18px 0 !important; box-shadow: var(--shadow);
  color: var(--parchment-dim) !important; font-size: 17px;
}
.navigation a, .navigation a:link, .navigation a:visited { color: var(--gold) !important; }
.navigation .active { color: var(--parchment) !important; font-weight: 600; }
#home_bit i { color: var(--gold); font-size: 16px; }

/* ---------- the index: forums and the side column ---------- */
.bh-index { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bh-index .forum, .bh-index .side { float: none !important; width: auto !important; margin: 0 !important; }
.bh-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.bh-card__title {
  margin: 0; padding: 12px 16px; font-size: 19px; font-weight: 600; color: var(--parchment);
  background: linear-gradient(180deg, var(--crimson-hi), var(--crimson)); border-bottom: 1px solid #4d151b;
  display: flex; align-items: center; gap: 10px;
}
.bh-card__title i { color: var(--gold-hi); font-size: 15px; }
.bh-card__body { padding: 14px 16px; color: var(--parchment-dim); }
.bh-stats { list-style: none; margin: 0; padding: 8px 0; }
.bh-stats li { display: flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line-soft); }
.bh-stats li:last-child { border-bottom: 0; }
.bh-stats__n { min-width: 52px; text-align: right; font-size: 24px; font-weight: 600; color: var(--gold); line-height: 1; }
.bh-stats__l { color: var(--parchment-dim); }
.bh-newest { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--panel-alt); color: var(--parchment-dim); }
.bh-newest a { font-weight: 600; }
.side td, .side .trow1, .side .trow2 { background: transparent !important; border: 0 !important; color: var(--parchment-dim) !important; }

/* ---------- tables: categories, forums, threads, everything tabular ---------- */
table.tborder, .tborder {
  width: 100%; border-collapse: separate !important; border-spacing: 0 !important;
  background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px !important;
}
.thead, td.thead, .thead td {
  background: linear-gradient(180deg, var(--crimson-hi), var(--crimson)) !important; color: var(--parchment) !important;
  border-bottom: 1px solid #4d151b !important; padding: 13px 18px !important; font-size: 19px !important;
}
.thead a, .thead a:link, .thead a:visited, .thead strong a { color: var(--parchment) !important; }
.thead a:hover { color: var(--gold-hi) !important; }
.thead .smalltext { color: rgba(234, 224, 204, 0.75) !important; font-variant: normal; letter-spacing: 0; font-size: 15px; }
.tcat, td.tcat {
  background: var(--walnut) !important; color: var(--gold) !important; border-bottom: 1px solid var(--line) !important;
  padding: 8px 14px !important; font-size: 15px !important;
}
.tcat a, .tcat a:link, .tcat a:visited, .tcat strong, .tcat .smalltext { color: var(--gold) !important; }
.trow1, .trow2, td.trow1, td.trow2 {
  background: var(--panel) !important; color: var(--parchment) !important; border-bottom: 1px solid var(--line-soft) !important;
  padding: 14px !important; transition: background 0.15s ease;
}
.trow2, td.trow2 { background: var(--panel-alt) !important; }
tr:hover > .trow1, tr:hover > .trow2 { background: var(--panel-hover) !important; }
.trow_shaded, .trow_selected td, tr.trow_selected td { background: #3d2226 !important; }
.trow_sep { background: var(--walnut) !important; color: var(--gold) !important; font-variant: small-caps; }
.tfoot, td.tfoot { background: var(--walnut) !important; color: var(--parchment-dim) !important; border-top: 1px solid var(--line) !important; }
.tfoot a { color: var(--gold) !important; }
.expcolimage { float: right; }
.expcolimage i, .expander { color: var(--gold-hi) !important; cursor: pointer; }

/* forum rows: the name, its description, the moderators and sub-forums */
.trow1 strong a, .trow2 strong a { font-size: 19px; font-weight: 600; color: var(--gold) !important; }
.trow1 strong a:hover, .trow2 strong a:hover { color: var(--gold-hi) !important; }
.forum_status { width: 46px; height: 46px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--walnut) !important; border: 1px solid var(--line); }
.forum_status i { font-size: 20px !important; color: var(--muted) !important; }
.forum_on { background: var(--crimson) !important; border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(113, 31, 39, 0.35); }
.forum_on i { color: var(--parchment) !important; }
#threads, #replies, #views { color: var(--parchment) !important; font-size: 18px !important; }
#lastpost, #lastpost .smalltext, .lastpost { color: var(--parchment-dim) !important; }
.subforumicon, .subforum_minion, .subforum_minioff { color: var(--gold) !important; }

/* ---------- who is online, stats under the forums ---------- */
.wo_title { display: block; padding: 12px 18px; background: var(--walnut); color: var(--gold); border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0; font-size: 18px; }
.wo_desc { display: block; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius); color: var(--parchment-dim); box-shadow: var(--shadow); }

/* ---------- buttons and forms ---------- */
input.button, button.button, .button, a.button, input[type="submit"], input[type="button"] {
  background: linear-gradient(180deg, var(--crimson-hi), var(--crimson)) !important; color: var(--parchment) !important;
  border: 1px solid #8f3a42 !important; border-radius: var(--radius) !important; padding: 8px 20px !important;
  font-size: 17px !important; cursor: pointer; box-shadow: 0 2px 0 #3d1015; text-shadow: none !important;
}
input.button:hover, .button:hover, input[type="submit"]:hover { background: var(--crimson-hi) !important; color: #fff !important; text-decoration: none; }
a.button span, .postbit_buttons > a span { color: inherit !important; }
input.textbox, input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="number"], textarea, select {
  background: #1a1917 !important; color: var(--parchment) !important; border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; padding: 8px 12px !important; font-size: 17px !important; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
input.textbox:focus, input:focus, textarea:focus, select:focus { outline: none !important; border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(184, 154, 93, 0.2) !important; }
fieldset { border: 1px solid var(--line) !important; border-radius: var(--radius); background: var(--panel-alt) !important; }
legend { color: var(--gold); font-variant: small-caps; }
label { color: var(--parchment-dim); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--crimson); }

/* the buttons under a post and on the lists */
.postbit_buttons > a:link, .postbit_buttons > a:visited, .postbit_buttons > a:active, .postbit_buttons_showteam > a {
  background: var(--walnut) !important; color: var(--parchment) !important; border: 1px solid var(--line) !important;
  border-radius: 4px !important; padding: 4px 10px !important; display: inline-block; margin: 2px; font-size: 15px;
}
.postbit_buttons > a:hover { background: var(--crimson) !important; border-color: var(--crimson-hi) !important; text-decoration: none; }
.popup_menu { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--radius); box-shadow: var(--shadow); }
.popup_menu .popup_item { background: transparent !important; color: var(--parchment) !important; }
.popup_menu .popup_item:hover { background: var(--crimson) !important; color: var(--parchment) !important; }

/* ---------- the posts ---------- */
.post { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: var(--radius); margin-bottom: 18px;
  box-shadow: var(--shadow); overflow: hidden; }
.post_flexible { display: flex; }
.post.classic .post_author, .post_author {
  background: linear-gradient(180deg, var(--walnut), #2c211c) !important; border-right: 1px solid var(--line) !important;
  color: var(--parchment-dim) !important; width: 220px; flex: none; padding: 18px 14px !important; text-align: center;
}
.post_author .largetext a { font-size: 21px; font-weight: 600; }
.post_author img { border: 0 !important; box-shadow: none !important; }
.post_author .author_avatar img, .post_author > a > img, .post_author img.avatar { border-radius: var(--radius); border: 2px solid var(--gold) !important; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5) !important; }
.author_statistics { color: var(--muted) !important; font-size: 15px; border-top: 1px solid var(--line-soft); margin-top: 10px; padding-top: 10px; }
.post_content { flex: 1; padding: 16px 22px !important; min-width: 0; }
.post_head { border-bottom: 1px solid var(--line-soft) !important; padding-bottom: 8px !important; margin-bottom: 12px; color: var(--muted); }
.post_body { color: var(--parchment) !important; font-size: 18px; line-height: 1.65; }
.post_controls { background: var(--panel-alt) !important; border-top: 1px solid var(--line) !important; padding: 8px 12px !important; overflow: hidden; }
.signature { border-top: 1px dashed var(--line) !important; color: var(--muted); margin-top: 16px; padding-top: 10px; }
blockquote { background: rgba(58, 43, 36, 0.55) !important; border: 0 !important; border-left: 3px solid var(--gold) !important;
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--parchment-dim) !important; padding: 12px 16px !important; }
blockquote cite { color: var(--gold) !important; border-bottom: 1px solid var(--line-soft) !important; font-variant: small-caps; }
.codeblock, code, pre { background: #171614 !important; color: #e3d3b0 !important; border: 1px solid var(--line) !important; border-radius: var(--radius); }

/* ---------- notices ---------- */
.red_alert, .pm_alert, .error, .inline_error, #flash_message {
  background: #3d2226 !important; border: 1px solid var(--crimson) !important; border-left: 4px solid var(--crimson-hi) !important;
  color: var(--parchment) !important; border-radius: var(--radius); padding: 12px 16px !important;
}
.success_message, .valid { color: #a7d083 !important; }
.pagination a, .pagination .pagination_current {
  background: var(--panel) !important; color: var(--parchment) !important; border: 1px solid var(--line) !important; border-radius: 4px !important;
}
.pagination .pagination_current, .pagination a:hover { background: var(--crimson) !important; border-color: var(--crimson-hi) !important; color: var(--parchment) !important; }

/* thread prefixes and statuses keep their own colours; the online/offline dots */
.online { color: #8fbf6a !important; }
.offline { color: var(--muted) !important; }

/* ---------- the footer ---------- */
.bh-footer { margin-top: 40px; background: #181715; border-top: 1px solid var(--line); box-shadow: 0 -2px 0 rgba(113, 31, 39, 0.65); color: var(--parchment-dim); }
.bh-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 34px 20px 18px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.bh-footer h4 { margin: 0 0 12px; color: var(--gold); font-variant: small-caps; letter-spacing: 0.05em; font-size: 20px; font-weight: 600; }
.bh-footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.bh-footer__brand img { height: 74px; }
.bh-footer p { margin: 0 0 10px; }
.bh-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.bh-footer li { margin: 0 0 6px; }
.bh-footer__icons { display: flex; gap: 10px; flex-wrap: wrap; }
.bh-footer__icons a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--walnut); border: 1px solid var(--line); color: var(--gold) !important; text-decoration: none !important; }
.bh-footer__icons a:hover { background: var(--crimson); color: var(--parchment) !important; }
.bh-footer__legal { border-top: 1px solid var(--line); text-align: center; padding: 14px 20px; font-size: 15px; color: var(--muted); }
.bh-footer__legal a { color: var(--muted) !important; }
.footer-distributed { display: none !important; }   /* the old footer, should a page still print it */
.scrollToTop, .scrollToDown {
  position: fixed; right: 22px; width: 42px; height: 42px; display: flex !important; align-items: center; justify-content: center;
  background: var(--crimson) !important; color: var(--parchment) !important; border: 1px solid var(--gold); border-radius: 50%;
  cursor: pointer; z-index: 900; box-shadow: var(--shadow); font-size: 20px;
}
.scrollToTop { bottom: 78px; display: none !important; }
.bh-scrolled .scrollToTop { display: flex !important; }
.scrollToDown { bottom: 26px; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .bh-index { grid-template-columns: 1fr; }
  .bh-footer__inner { grid-template-columns: 1fr; }
  .bh-burger { display: inline-flex; margin-left: auto; color: var(--gold); font-size: 24px; cursor: pointer; padding: 8px; }
  .bh-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(24, 22, 20, 0.98); border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .bh-menu-toggle:checked ~ .bh-nav { display: flex; }
  .bh-nav ul { flex-direction: column; align-items: stretch; }
  .bh-nav li ul { position: static; display: flex; box-shadow: none; border: 0; background: transparent; padding-left: 16px; }
  .post_flexible { flex-direction: column; }
  .post.classic .post_author, .post_author { width: auto; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  #lastpost, #views, .hide_mobile { display: none; }
  .bh-brand__name { font-size: 22px; }
}

/* ---------- second pass (2026-10-11): what the first screenshots showed ---------- */
.thead, .thead *, .tcat, .tcat *, .bh-card__title, .wo_title { text-transform: none !important; }
td#lastpost, .tcat#lastpost { width: 250px !important; white-space: normal !important; }
td#threads, td#replies, td#views { width: 84px !important; }
.forum .trow1 .smalltext, .forum .trow2 .smalltext { max-width: 62ch; }
.bh-stats__l { font-size: 17px; }
.scrollToTop, .scrollToDown { width: 42px !important; height: 42px !important; line-height: 1 !important; padding: 0 !important; font-size: 20px !important; }
.scrollToTop i, .scrollToDown i { margin: 0 !important; }
td#lastpost { min-width: 210px; }
.lastpost, td#lastpost .smalltext { white-space: normal; }
.trow_sep, td.trow_sep { font-size: 15px !important; padding: 8px 14px !important; }
.bh-footer, .bh-footer p, .bh-footer h4, .bh-footer ul { text-align: left !important; }
.bh-footer__legal { text-align: center !important; }
/* the footer at the bottom of a short page */
body { display: flex; flex-direction: column; min-height: 100vh; }
#container { flex: 1 0 auto; width: 100% !important; box-sizing: border-box; }
.bh-topbar, .bh-hero, .bh-footer { flex: none; width: 100%; }
