/* ==========================================================================
   WHEELS GAMING — MODERN THEME v2.1  (modern.css)
   >>> If you can read "v2.1" in DevTools, the new stylesheet is loaded. <<<
   Light-grey app background · boxed content (Airbnb/afreshtrip style) ·
   white cards · sticky header · YouTube video cards · hero news slider.
   Loaded LAST so it overrides Bootstrap 3 defaults.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --wg-bg:         #eef0f4;   /* app background (light grey)     */
  --wg-ink:        #0f0f14;
  --wg-ink-soft:   #5c5f6e;
  --wg-surface:    #ffffff;   /* cards / panels                  */
  --wg-surface-2:  #f6f6f9;
  --wg-line:       #e4e6ee;
  --wg-brand:      #b5179e;
  --wg-brand-2:    #7209b7;
  --wg-accent:     #ff2e88;
  --wg-grad:       linear-gradient(90deg, #b5179e 0%, #7209b7 100%);
  --wg-radius:     16px;
  --wg-radius-sm:  10px;
  --wg-shadow:     0 1px 2px rgba(15,15,20,.05), 0 6px 20px rgba(15,15,20,.06);
  --wg-shadow-lg:  0 12px 32px rgba(15,15,20,.14);
  --wg-header-h:   64px;
  --wg-maxw:       1320px;    /* boxed content width             */
  --wg-font-body:  'Plus Jakarta Sans', 'Poppins', Arial, sans-serif;
  --wg-font-disp:  'Orbitron', 'Russo One', sans-serif;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--wg-font-body) !important;
  background: var(--wg-bg) !important;
  color: var(--wg-ink);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--wg-brand-2); }
a:hover { color: var(--wg-accent); text-decoration: none; }
h1, h2, h4 { color: var(--wg-ink); background: transparent !important; }

/* BOXED content: legacy .container becomes a centered shell (NOT full width) */
body > .container,
.container {
  width: 100% !important;
  max-width: var(--wg-maxw) !important;
  margin: 0 auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  float: none !important;
}
#ryt, #sel { border: 0 !important; box-shadow: none !important; margin: 0 !important; width: 100% !important; }
blockquote { border: 0; padding: 0; margin: 0; }

/* Legacy templates wrap whole pages in <h3>: neutralise it, keep real
   headings (h2 / strong inside content) at sane sizes */
.container h3 { font-size: 15px; font-weight: 400; line-height: 1.65; background: transparent !important; color: var(--wg-ink); }
.container { font-size: 15px; }
.container h2 { font-size: 22px; font-weight: 800; }
.container h1 { font-size: 26px; }

/* Hide legacy fixed background, legacy navbars and the OLD inline footer
   strip + old top button (still printed by single-article / view-video) */
#background { display: none !important; }
nav.navbar.navbar-inverse { display: none !important; }
.small-print { display: none !important; }
#myBtn { display: none !important; }

/* ---------- 3. Layout shells ---------- */
.wg-shell { max-width: var(--wg-maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .wg-shell { padding: 0 14px; } }

/* ==========================================================================
   4. STICKY HEADER
   ========================================================================== */
.wg-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.wg-header.is-scrolled { box-shadow: 0 2px 14px rgba(15,15,20,.08); border-color: var(--wg-line); }
.wg-header__bar {
  max-width: 1440px; margin: 0 auto;
  height: var(--wg-header-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 24px;
}

.wg-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-width: 0; }
.wg-brand img { height: 36px; width: auto; }
.wg-brand__name {
  font-family: var(--wg-font-disp);
  font-size: 16px; font-weight: 700; letter-spacing: .5px;
  background: var(--wg-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  white-space: nowrap;
}

.wg-search { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.wg-search form { display: flex; width: 100%; max-width: 560px; }
.wg-search input[type="text"] {
  flex: 1; min-width: 0; height: 42px;
  border: 1px solid var(--wg-line); border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 0 20px; font-size: 14px;
  background: var(--wg-surface-2);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.wg-search input[type="text"]:focus {
  background: #fff; border-color: var(--wg-brand);
  box-shadow: 0 0 0 3px rgba(181,23,158,.12);
}
.wg-search button {
  height: 42px; padding: 0 20px; border: 0; cursor: pointer;
  border-radius: 0 999px 999px 0;
  background: var(--wg-grad); color: #fff;
  font-weight: 600; font-size: 14px; transition: filter .2s;
}
.wg-search button:hover { filter: brightness(1.1); }

.wg-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.wg-nav a.wg-nav__link {
  padding: 9px 14px; border-radius: 999px;
  color: var(--wg-ink); font-weight: 600; font-size: 14px;
  text-decoration: none; transition: background .2s;
}
.wg-nav a.wg-nav__link:hover { background: var(--wg-surface-2); color: var(--wg-ink); }

.wg-drop { position: relative; }
.wg-drop__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--wg-line); background: #fff;
  color: var(--wg-ink); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: box-shadow .2s;
}
.wg-drop__btn:hover { box-shadow: var(--wg-shadow); }
.wg-drop__menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--wg-line);
  border-radius: var(--wg-radius); box-shadow: var(--wg-shadow-lg);
  display: none; z-index: 1001;
}
.wg-drop.is-open .wg-drop__menu { display: block; animation: wgPop .18s ease; }
.wg-drop__menu a {
  display: block; padding: 10px 14px; border-radius: var(--wg-radius-sm);
  color: var(--wg-ink); font-size: 14px; font-weight: 500; text-decoration: none;
}
.wg-drop__menu a:hover { background: var(--wg-surface-2); color: var(--wg-brand); }
@keyframes wgPop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.wg-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--wg-grad); color: #fff !important;
  font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(114,9,183,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wg-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(114,9,183,.35); color: #fff; }

.wg-burger {
  display: none; border: 1px solid var(--wg-line); background: #fff;
  border-radius: 10px; width: 40px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  flex-shrink: 0;
}
.wg-burger span { display: block; width: 18px; height: 2px; background: var(--wg-ink); border-radius: 2px; }
.wg-drawer { display: none; background: #fff; border-top: 1px solid var(--wg-line); padding: 12px 20px 20px; }
.wg-drawer.is-open { display: block; }
.wg-drawer a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--wg-surface-2); color: var(--wg-ink); font-weight: 600; text-decoration: none; }
.wg-drawer a:hover { color: var(--wg-brand); }

/* MOBILE HEADER — compact, nothing overflows */
@media (max-width: 900px) {
  .wg-header__bar { gap: 10px; padding: 0 14px; justify-content: space-between; }
  .wg-search { display: none; }
  .wg-nav { display: none; }          /* Home / categories / Login live in the drawer */
  .wg-burger { display: flex; }
  .wg-brand img { height: 30px; }
  .wg-brand__name { font-size: 14px; }
  .wg-drawer .wg-search { display: flex; margin: 10px 0 6px; }
  .wg-drawer .wg-search form { max-width: 100%; }
}
@media (max-width: 360px) { .wg-brand__name { display: none; } }

/* ==========================================================================
   5. LOGIN MODAL
   ========================================================================== */
.wg-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  background: rgba(15,15,20,.55);
  backdrop-filter: blur(4px);
  padding: 20px;
}
.wg-modal.is-open { display: flex; animation: wgFade .2s ease; }
@keyframes wgFade { from { opacity: 0; } to { opacity: 1; } }
.wg-modal__card {
  width: 100%; max-width: 400px;
  background: #fff; border-radius: 20px; box-shadow: var(--wg-shadow-lg);
  padding: 28px; animation: wgPop .22s ease;
}
.wg-modal__card h2 { margin: 0 0 4px; font-family: var(--wg-font-disp); font-size: 20px; }
.wg-modal__card p.wg-sub { margin: 0 0 18px; color: var(--wg-ink-soft); font-size: 13px; }
.wg-modal__card label { font-size: 13px; font-weight: 600; display: block; margin: 12px 0 6px; }
.wg-modal__card input {
  width: 100%; height: 46px; border: 1px solid var(--wg-line);
  border-radius: 12px; padding: 0 14px; font-size: 14px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.wg-modal__card input:focus { border-color: var(--wg-brand); box-shadow: 0 0 0 3px rgba(181,23,158,.12); }
.wg-modal__actions { display: flex; gap: 10px; margin-top: 20px; }
.wg-modal__actions .wg-cta { flex: 1; justify-content: center; }
.wg-btn-ghost {
  flex: 1; height: 42px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--wg-line); background: #fff; font-weight: 600; font-size: 14px;
}
.wg-btn-ghost:hover { background: var(--wg-surface-2); }

/* Legacy popup fallback */
.form-popup { display: none; position: fixed; z-index: 2000; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.form-container { background: #fff; border-radius: 20px; box-shadow: var(--wg-shadow-lg); padding: 24px; min-width: 300px; }
.form-container input { width: 100%; height: 44px; margin: 6px 0 12px; border: 1px solid var(--wg-line); border-radius: 12px; padding: 0 12px; }
.form-container .btn { width: 100%; border-radius: 999px; background: var(--wg-grad); color: #fff; border: 0; padding: 10px; margin-bottom: 8px; }
.form-container .btn.cancel { background: var(--wg-surface-2); color: var(--wg-ink); }

/* ==========================================================================
   6. HERO NEWS SLIDER  (full-width, replaces the purple banner;
      slides vertically top→bottom like a news ticker)
   ========================================================================== */
.wg-slider {
  position: relative; width: 100%;
  height: clamp(320px, 46vw, 480px);
  overflow: hidden;
  background: #0b0418;
}
.wg-slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  transform: translateY(100%);
  transition: transform .8s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.wg-slide.is-active { transform: translateY(0); z-index: 2; }
.wg-slide.is-leaving { transform: translateY(-100%); z-index: 1; }
.wg-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,4,24,.15) 0%, rgba(11,4,24,.35) 45%, rgba(11,4,24,.88) 100%);
}
.wg-slide__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wg-maxw);
  margin: 0 auto; padding: 0 24px 54px;
  color: #fff;
}
.wg-slide__tag {
  display: inline-block; margin-bottom: 12px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: .5px; color: #fff;
}
.wg-slide__title {
  margin: 0 0 14px; max-width: 720px;
  font-size: clamp(19px, 3vw, 32px); font-weight: 800; line-height: 1.25;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.wg-slide__meta { font-size: 13px; opacity: .85; margin-bottom: 16px; }
.wg-slide__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  background: #fff; color: var(--wg-ink) !important;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.wg-slide__btn:hover { transform: translateY(-1px); box-shadow: var(--wg-shadow-lg); }

.wg-slider__dots {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 5; display: flex; flex-direction: column; gap: 8px;
}
.wg-slider__dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: background .2s, height .2s;
}
.wg-slider__dots button.is-active { background: #fff; height: 22px; border-radius: 999px; }
@media (max-width: 768px) {
  .wg-slide__inner { padding: 0 16px 40px; }
  .wg-slider__dots { right: 12px; }
}

/* ==========================================================================
   7. SECTIONS
   ========================================================================== */
.wg-section { padding: 40px 0 8px; }
.wg-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.wg-section__title {
  font-family: var(--wg-font-disp); font-size: 20px; font-weight: 700; margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.wg-section__title::before { content: ""; width: 6px; height: 22px; border-radius: 4px; background: var(--wg-grad); }

.wg-home-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
@media (max-width: 1100px) { .wg-home-grid { grid-template-columns: 1fr; } }

.wg-rail { position: sticky; top: calc(var(--wg-header-h) + 20px); }
@media (max-width: 1100px) { .wg-rail { position: static; } }

/* ==========================================================================
   8. VIDEO CARDS — white cards on grey (Airbnb finish, YouTube layout)
   NOTE: card parts are <span>s, so everything is forced to display:block
   and the thumbnail uses the padding-top ratio trick (works everywhere).
   ========================================================================== */
.wg-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
@media (max-width: 640px) { .wg-video-grid { grid-template-columns: 1fr; } }

.wg-video-card {
  display: block; text-decoration: none; color: var(--wg-ink);
  background: var(--wg-surface);
  border: 1px solid var(--wg-line);
  border-radius: var(--wg-radius);
  overflow: hidden;
  box-shadow: var(--wg-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.wg-video-card:hover { transform: translateY(-3px); box-shadow: var(--wg-shadow-lg); color: var(--wg-ink); }

.wg-video-card__thumb {
  display: block; position: relative;
  width: 100%; height: 0; padding-top: 56.25%;   /* fixed 16:9 — no overflow */
  max-height: 280px;
  background: var(--wg-surface-2); overflow: hidden;
}
.wg-video-card__thumb img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.wg-video-card:hover .wg-video-card__thumb img { transform: scale(1.045); }
.wg-video-card__duration {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(0,0,0,.82); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  padding: 3px 7px; border-radius: 6px;
}
.wg-video-card__play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease; background: rgba(15,15,20,.18);
}
.wg-video-card:hover .wg-video-card__play { opacity: 1; }
.wg-video-card__play span {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  color: var(--wg-brand-2); font-size: 18px; padding-left: 4px;
  box-shadow: var(--wg-shadow-lg);
}
.wg-video-card__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 12px 14px 4px; font-size: 14.5px; font-weight: 700; line-height: 1.35;
  min-height: 2.7em;
}
.wg-video-card__meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 0 14px 14px; color: var(--wg-ink-soft); font-size: 12.5px;
}
.wg-video-card__meta .glyphicon { top: 2px; }

/* ==========================================================================
   9. ARTICLE CARDS — white cards on grey (Airbnb list style)
   ========================================================================== */
.wg-article-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px;
  background: var(--wg-surface);
  border: 1px solid var(--wg-line);
  border-radius: var(--wg-radius);
  box-shadow: var(--wg-shadow);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: var(--wg-ink);
  margin-bottom: 12px;
}
.wg-article-card:hover { transform: translateY(-2px); box-shadow: var(--wg-shadow-lg); color: var(--wg-ink); }
.wg-article-card__img {
  display: block; flex: 0 0 108px; width: 108px; height: 80px;
  border-radius: 12px; overflow: hidden; background: var(--wg-surface-2);
}
.wg-article-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wg-article-card__body { display: block; min-width: 0; }
.wg-article-card__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0 0 6px; font-size: 14px; font-weight: 700; line-height: 1.35;
}
.wg-article-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--wg-ink-soft); font-size: 12px; }
.wg-chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: rgba(114,9,183,.09); color: var(--wg-brand-2);
  font-size: 11px; font-weight: 700;
}
.wg-chip a { color: inherit; }

/* ==========================================================================
   10. BUTTONS / LOAD MORE
   ========================================================================== */
.show_more_container, .show_more_containero { margin: 20px 0; text-align: center; }
.show_more .btn, .show_moreo .btn,
.btn.btn-default {
  border-radius: 999px !important; border: 1px solid var(--wg-line) !important;
  background: #fff !important; color: var(--wg-ink) !important;
  padding: 10px 26px; font-weight: 700; font-size: 13px;
  box-shadow: var(--wg-shadow);
  transition: box-shadow .2s, transform .15s;
}
.show_more .btn:hover, .show_moreo .btn:hover, .btn.btn-default:hover {
  box-shadow: var(--wg-shadow-lg); transform: translateY(-1px);
}

/* ==========================================================================
   11. LEGACY CLASS RESTYLE (article + video pages, AJAX items)
   ========================================================================== */
.blog_item, .blog_itemo {
  background: var(--wg-surface) !important;
  border: 1px solid var(--wg-line);
  border-radius: var(--wg-radius);
  padding: 12px 14px !important;
  margin: 0 0 12px !important;
  box-shadow: var(--wg-shadow);
  transition: box-shadow .2s;
}
.blog_item:hover, .blog_itemo:hover { box-shadow: var(--wg-shadow-lg); }
.blog_item a, .blog_itemo a { color: var(--wg-ink); font-weight: 600; font-size: 14px; }
.blog_item a:hover, .blog_itemo a:hover { color: var(--wg-brand); }
.blog_item h5, .blog_itemo h5 { margin: 0; font-size: 13.5px; line-height: 1.45; }
.blog_item table, .blog_itemo table { width: 100%; }
.blog_item small, .blog_itemo small { font-size: 12px; color: var(--wg-ink-soft); }
.blog_item p[style*="para.jpg"], .blog_itemo p[style*="para.jpg"],
p[id="warning"], p[id="comments"],
p[style*="para.jpg"] {
  background-image: none !important; background: var(--wg-grad) !important;
  border-radius: 10px; padding: 8px 12px; font-weight: 700; letter-spacing: .4px;
  color: #fff !important; font-size: 13px;
}
#thumbo { border: 0 !important; padding: 0 !important; border-radius: 12px !important; object-fit: cover; }
#thumbo:hover { box-shadow: var(--wg-shadow) !important; }
#thumb { border-radius: 10px; }
.containere .contente {
  border-radius: 6px; font-size: 11px; font-weight: 700; text-align: center;
  background: rgba(0,0,0,.82) !important; margin-left: 0 !important;
  width: auto !important; padding: 2px 6px !important;
  right: 2px; left: auto !important;
}
.card {
  background: var(--wg-surface) !important; border: 1px solid var(--wg-line);
  border-radius: var(--wg-radius) !important; box-shadow: var(--wg-shadow) !important;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--wg-shadow-lg) !important; transform: translateY(-2px); }
.card img { border-radius: 12px; }
.columno { padding: 10px !important; }
.btno { border-radius: 999px !important; padding: 9px 20px !important; font-weight: 600; background: #fff !important; border: 1px solid var(--wg-line) !important; margin-right: 6px; }
.btno.active { background: var(--wg-grad) !important; color: #fff !important; border-color: transparent !important; }
.progress { border-radius: 999px !important; box-shadow: none !important; background: var(--wg-surface-2) !important; height: 36px !important; }
.progress-bar-success { background: var(--wg-grad) !important; font-weight: 700; letter-spacing: .5px; line-height: 36px !important; font-size: 13px; }
.badge, .badge-info { background: rgba(114,9,183,.12) !important; color: var(--wg-brand-2) !important; border-radius: 999px; font-weight: 700; }
.badge a { color: var(--wg-brand-2) !important; }
.panel { border: 0 !important; box-shadow: none !important; background: transparent !important; }
.panel-heading { background: var(--wg-grad) !important; color: #fff !important; border-radius: 10px !important; font-size: 13px; letter-spacing: .4px; border: 0 !important; }
.panel-body { padding: 10px 0; }

/* White content panels used by article/video templates (col-md-* articles) */
article.article-intro {
  background: var(--wg-surface) !important;
  border: 1px solid var(--wg-line);
  border-radius: var(--wg-radius);
  box-shadow: var(--wg-shadow) !important;
  padding: 18px !important;
  margin-bottom: 22px;
}

/* Comment areas */
.form-control {
  border-radius: 12px !important; border: 1px solid var(--wg-line) !important;
  box-shadow: none !important; min-height: 42px; font-size: 14px;
}
.form-control:focus { border-color: var(--wg-brand) !important; box-shadow: 0 0 0 3px rgba(181,23,158,.12) !important; }
textarea.form-control { width: 100% !important; }
.hiddenStaffs, div[class^="hiddenStaffs"] { border-radius: 14px; padding: 8px 12px; background: var(--wg-surface-2) !important; }

/* Popular-articles vertical ticker (bootstrapNews .demo1/.demo2):
   clean list, hidden overflow so the up/down slide looks right */
ul.demo1, ul.demo2, ul#demo3 {
  list-style: none; margin: 0; padding: 0;
  position: relative; overflow: hidden;
}
.news-item {
  padding: 10px 6px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--wg-line) !important;
  font-size: 13px;
}
.news-item img { border-radius: 10px; }
.news-item table td { vertical-align: top; }

/* ==========================================================================
   12. SITE FOOTER (new one from footer.php)
   ========================================================================== */
.wg-footer { background: #0f0f14; color: #b9bac6; margin-top: 60px; }
.wg-footer__grid {
  max-width: var(--wg-maxw); margin: 0 auto; padding: 48px 24px 20px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.wg-footer__brand { font-family: var(--wg-font-disp); color: #fff; font-size: 18px; letter-spacing: 1px; margin-bottom: 10px; }
.wg-footer h4 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; }
.wg-footer a { color: #b9bac6; text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.wg-footer a:hover { color: #fff; }
.wg-footer p { font-size: 14px; line-height: 1.65; }
.wg-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--wg-maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.wg-top-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--wg-grad); color: #fff; font-size: 16px;
  box-shadow: var(--wg-shadow-lg); display: none;
}
.wg-top-btn.is-visible { display: block; animation: wgPop .2s ease; }
@media (max-width: 800px) { .wg-footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 13. Accessibility & motion ---------- */
:focus-visible { outline: 3px solid rgba(181,23,158,.45); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .wg-slide { transition: none; }
}
