/*
 * Wizard of Vegas redesign 2026, stage 1: fonts and colours.
 * Loaded after all-compiled.css and only for the light theme (see common/template.php).
 * The dark theme (style-dark-compiled.css) is unchanged for now.
 */

:root {
  --wov-navy: #161826;
  --wov-navy-2: #1d2034;
  --wov-red: #d42a2a;
  --wov-red-dark: #b02121;
  --wov-blue: #1d5fc4;
  --wov-blue-dark: #14468f;
  --wov-blue-light: #8fb4ff;
  --wov-ground: #f4f3ef;
  --wov-line: #e3e1da;
  --wov-ink: #1b1d27;
  --wov-muted: #5a5d6b;
  --wov-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wov-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

/* ---------- Fonts (self-hosted, latin subset) ---------- */

@font-face { font-family: 'Inter'; src: url(/common/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/common/fonts/barlow-condensed-600.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/common/fonts/barlow-condensed-700.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/*
 * The old CSS names Helvetica webfonts in hundreds of rules. Rather than rewrite them,
 * the same family names are pointed at the new fonts. These faces load after the old
 * ones, so they win, and the old Helvetica files are no longer downloaded.
 */
@font-face { font-family: HelveticaNeueLTStd67MdCn; src: url(/common/fonts/barlow-condensed-600.woff2) format('woff2'); font-weight: 100 600; font-display: swap; }
@font-face { font-family: HelveticaNeueLTStd67MdCn; src: url(/common/fonts/barlow-condensed-700.woff2) format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: HelveticaNeueLTStd75Bold; src: url(/common/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: HelveticaLTStdRoman; src: url(/common/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: HelveticaLight; src: url(/common/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

html, body, input, button, select, textarea {
  font-family: var(--wov-font);
}
body {
  color: var(--wov-ink);
  -webkit-font-smoothing: antialiased;
}
/* The bold legacy face was a separate font; Inter needs the weight set. */
.endorsed-button, a.button.endorsed-button {
  font-weight: 700;
}
/* Headings keep their sizes and uppercase; the condensed face is a little narrower, so give it air. */
h1, h2, h3 {
  letter-spacing: .01em;
}

/* ---------- Colours ---------- */

/* Header, top strip and mobile bars */
.header, .row-top, .row-mobile, .mobile-search-box, .copyright {
  background: var(--wov-navy);
}
.header nav ul.mobile-sub-menu li {
  border-color: var(--wov-navy);
}

/* Footer: one step lighter than the copyright strip under it */
.footer {
  background: var(--wov-navy-2);
}

/* Page background behind the white content panels */
.gray-bg, .topic {
  background: var(--wov-ground);
}

/* Forum thread header bar */
.thread-head {
  background: var(--wov-navy);
}

/* Sidebar box titles ("Recommended online casinos", bonus lists) were bright blue */
.online-casino h2, .book-odds-title {
  background: var(--wov-navy);
}

/* Play buttons: flat brand red instead of the glossy gradient */
a.button.endorsed-button {
  background: var(--wov-red);
  border: 1px solid var(--wov-red-dark);
  border-radius: 8px;
}
a.button.endorsed-button:hover, a.button.endorsed-button:focus-visible {
  background: var(--wov-red-dark);
}

/* Links and accents that used the old cyan (#0391d7) on white */
.loginUser a, .loginUser ul li a:hover {
  color: var(--wov-blue);
}
.article-detail-description p a, .article-detail-description li a {
  color: var(--wov-blue);
}
.article-detail-description p a:hover, .article-detail-description li a:hover {
  color: var(--wov-blue-dark);
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
  background-color: var(--wov-blue);
}
.signature {
  border-top-color: var(--wov-line);
}

/* =====================================================================
 * Stage 2: header and menu.
 * The menu markup (template.php) now puts Forums first and gives every item a
 * Font Awesome 4 icon; these rules restyle it without changing the float layout.
 * ===================================================================== */

/* Menu items: icon + label, sentence case, rounded hover */
.header nav ul li a {
  font-family: var(--wov-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: capitalize;
  color: #e8e9f0;
  padding: 7px 10px;
  border-radius: 6px;
}
.header nav ul li a .fa {
  width: 1.15em;
  margin-right: 3px;
  font-size: 15px;
  text-align: center;
  color: var(--wov-blue-light);
}
.header nav ul li a:hover,
.header nav ul li a.active {
  color: #fff;
  background: #2a2e48;
}
.header nav ul li a.active {
  box-shadow: inset 0 -2px 0 var(--wov-red);
}
/* Forums is the site's main feature: always highlighted */
.header nav ul li.nav-forums > a {
  color: #fff;
  background: #2a2e48;
}
/*
 * Desktop: icon stacked above the label (app-style tabs). With icons beside the
 * labels the menu needed ~910px and wrapped to two rows at 1280px; stacked it
 * fits on one row from 992px up, and the header grows only ~5px.
 */
.header .desktop-header-menu nav > ul {
  padding-top: 30px;
}
.desktop-header-menu nav ul li,
header.header .desktop-header-menu nav ul li {
  margin-right: 0;
  padding: 0 1px;
}
.desktop-header-menu nav > ul > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 16px;
}
.desktop-header-menu nav > ul > li > a .fa {
  width: auto;
  margin: 0;
  font-size: 17px;
}
.desktop-header-menu nav > ul > li.nav-home > a {
  padding-top: 13px;
  padding-bottom: 13px;
}
@media (max-width: 1199px) {
  .desktop-header-menu nav > ul > li > a {
    padding: 6px 5px;
    font-size: 12px;
  }
  .desktop-header-menu nav > ul > li > a .fa {
    font-size: 16px;
  }
}

/* Articles: small chevron in the corner instead of the old rotated arrow */
.desktop-header-menu nav > ul > li.has-sub-menu > a {
  position: relative;
  padding-right: 12px;
}
.desktop-header-menu nav > ul > li.has-sub-menu > a > span {
  display: none;
}
.desktop-header-menu nav > ul > li.has-sub-menu > a::after {
  content: "\f107";
  position: absolute;
  top: 8px;
  right: 2px;
  font-family: FontAwesome;
  font-size: 12px;
  line-height: 1;
  color: var(--wov-blue-light);
}
/* Mobile menu: the arrow was positioned for a label without an icon */
.menu-register nav ul li.has-sub-menu > a > span {
  position: static;
  display: inline-block;
  margin-left: 8px;
}

/* Articles drop-down: opens below the (now taller) item */
.header nav ul.sub-menu {
  background: var(--wov-navy);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.header .desktop-header-menu nav ul.sub-menu {
  top: 100%;
  left: 0;
  width: 130px;
  height: auto;
  padding: 6px 0;
}
.header .desktop-header-menu nav ul.sub-menu li {
  width: 100%;
  padding: 0;
}
.header .desktop-header-menu nav ul.sub-menu li a {
  display: block;
  padding: 8px 14px;
  text-align: left;
}
.header nav ul.sub-menu li a {
  font-weight: 500;
}

/* Search box (beats the inline header styles in template.php) */
.header .header-search-input-form input[type=search] {
  font-family: var(--wov-font);
  font-size: 14px;
  color: #fff;
  background: #22253a;
  border: 1px solid #3a3d52;
  border-radius: 8px;
}
.header .header-search-input-form input[type=search]:focus {
  border-color: var(--wov-blue-light);
}
.header .search-button {
  background: none;
  border: 0;
  font-size: 18px;
  color: #b8bbcc;
  cursor: pointer;
}
.header .search-button:hover {
  color: #fff;
}

/* Top strip: login, member menu, register */
.login li a,
.login li span {
  font-family: var(--wov-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  text-transform: none;
}
.login li span {
  padding: 9px 14px;
  color: #c9cbd8;
}
.login li span:hover {
  color: #fff;
  background: transparent;
  border-bottom: 0;
}
.login li span .fa {
  margin-right: 4px;
}
/* "Register for free" (logged out): red button */
.login li.register-cta span.active,
.login-mobile li.loginRegister-join a span {
  margin: 4px 0 4px 6px;
  padding: 6px 14px;
  color: #fff;
  background: var(--wov-red);
  border-bottom: 0;
  border-radius: 6px;
}
.login li.register-cta span.active:hover,
.login-mobile li.loginRegister-join a span:hover,
.login-mobile li.loginRegister-join a:hover span {
  color: #fff;
  background: var(--wov-red-dark);
}
/* Member name (logged in): quiet button that opens the member menu */
.login li.register-user span.active {
  margin: 4px 0 4px 6px;
  padding: 6px 14px;
  color: #fff;
  background: #2a2e48;
  border-bottom: 0;
  border-radius: 6px;
}

/* Mobile: menu button, slide-down panel and register button */
.menu {
  font-family: var(--wov-font);
  font-weight: 600;
  text-transform: none;
  color: #fff;
}
.menu-register {
  background: var(--wov-navy);
}
.menu-register nav ul li {
  border-bottom-color: #2a2e48;
}
.mob-register {
  height: auto;
  background: var(--wov-red);
  border: 0;
}
.mob-register span {
  line-height: 48px;
  font-weight: 700;
  text-transform: none;
  border-bottom: 0;
}
.mob-register span .fa {
  margin-right: 6px;
}
