/* =========================================================
   MUOnline.ai - unified full-width style for individual guide pages
   The /guides search/filter hub keeps its own css/guides.css layout.
   ========================================================= */
:root {
  --guide-bg:#f6f7fb;
  --guide-bg-soft:#eef1f7;
  --guide-text:#273142;
  --guide-muted:#647084;
  --guide-card:#fff;
  --guide-panel:#f8fafc;
  --guide-brand-1:#a24b7f;
  --guide-brand-2:#7f2ba2;
  --guide-brand-3:#c56a99;
  --guide-hover:#d1a1b3;
  --guide-border:#e2e7f0;
  --guide-border-strong:#d1d8e5;
  --guide-shadow:0 10px 24px rgba(25,31,44,.10);
  --guide-shadow-soft:0 6px 16px rgba(25,31,44,.08);
  --guide-radius:10px;
  --guide-radius-lg:14px;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.62;
  margin:0;
  padding:0;
  background:
    radial-gradient(circle at top left,rgba(162,75,127,.08),transparent 34rem),
    radial-gradient(circle at bottom right,rgba(127,43,162,.07),transparent 30rem),
    var(--guide-bg);
  color:var(--guide-text);
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* Top article navigation: compact and guide-only. */
.header,
.guide-header {
  background:linear-gradient(90deg,var(--guide-brand-1),var(--guide-brand-2));
  color:#fff;
  padding:13px 10px;
  text-align:center;
  margin-bottom:14px;
  box-shadow:0 3px 12px rgba(35,15,54,.22);
}

.guide-header__inner {
  width:100%;
  max-width:none;
  margin:0 auto;
}

.guide-header__title {
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(1.3rem,2vw,2rem);
  line-height:1.2;
  text-shadow:0 1px 1px rgba(0,0,0,.25);
}

.header p,
.guide-header__nav {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.35rem .65rem;
  margin:0;
}

.header a,
.guide-header a {
  color:#fff;
  text-decoration:none;
  font-weight:700;
  line-height:1.25;
  transition:color .18s ease,transform .18s ease,background-color .18s ease;
}

.guide-header a[href^="/advertise"] {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.24);
}

.header a:hover,
.header a:focus-visible,
.guide-header a:hover,
.guide-header a:focus-visible {
  color:#fff;
  background:rgba(255,255,255,.18);
  transform:translateY(-1px);
  outline:none;
}

.guide-nav-separator { opacity:.55; }

/* Full-width three-column guide layout, like the original HTML pages. */
.layout {
  width:100%;
  max-width:none;
  display:flex;
  flex:1;
  gap:14px;
  margin:0 0 16px;
  padding:0 10px;
  align-items:flex-start;
}

.guide-center-column {
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.layout > .container,
.guide-center-column > .container {
  flex:1 1 auto;
  min-width:0;
  width:100%;
  background:var(--guide-card);
  border:1px solid rgba(209,216,229,.85);
  border-radius:var(--guide-radius-lg);
  box-shadow:var(--guide-shadow);
  padding:clamp(16px,1.6vw,24px);
  margin:0;
}

.main-content,
.layout > .container > article,
.layout > .container > main,
.guide-center-column > .container > article,
.guide-center-column > .container > main {
  max-width:100%;
}

.main-content h1,
.layout > .container > h1,
.layout > .container article h1,
.guide-center-column > .container > h1,
.guide-center-column > .container article h1 {
  color:#252b37;
  font-size:clamp(1.8rem,2.25vw,2.35rem);
  line-height:1.18;
  margin:.1rem 0 .8rem;
  text-shadow:1px 1px 1px rgba(255,255,255,.6);
}

.main-content h2,
.layout > .container > h2,
.layout > .container article h2,
.guide-center-column > .container > h2,
.guide-center-column > .container article h2 {
  color:var(--guide-brand-1);
  font-size:clamp(1.25rem,1.5vw,1.72rem);
  line-height:1.25;
  margin:1.25rem 0 .65rem;
  border-bottom:2px solid rgba(162,75,127,.9);
  padding-bottom:.32rem;
}

.main-content h3,
.layout > .container > h3,
.layout > .container article h3,
.guide-center-column > .container > h3,
.guide-center-column > .container article h3 {
  color:#303744;
  font-size:clamp(1.05rem,1.08vw,1.22rem);
  line-height:1.3;
  margin:1rem 0 .42rem;
}

.main-content p,
.layout > .container > p,
.layout > .container article p,
.guide-center-column > .container > p,
.guide-center-column > .container article p {
  font-size:1.04rem;
  line-height:1.78;
  margin:0 0 .85rem;
}

.main-content ul,
.main-content ol,
.layout > .container ul,
.layout > .container ol,
.guide-center-column > .container ul,
.guide-center-column > .container ol {
  margin:.4rem 0 .9rem;
  padding-left:1.28rem;
}

.main-content li,
.layout > .container li,
.guide-center-column > .container li {
  margin-bottom:.32rem;
  font-size:1.01rem;
  line-height:1.68;
}

.main-content a,
.layout > .container a,
.guide-center-column > .container a {
  color:var(--guide-brand-1);
  font-weight:700;
}

.main-content a:hover,
.layout > .container a:hover,
.guide-center-column > .container a:hover {
  color:var(--guide-brand-2);
}

/* Compact, readable left/right navigation. */
.sidebar,
.guide-sidebar {
  flex:0 0 236px;
  width:236px;
  min-width:236px;
  background:linear-gradient(180deg,#fff,#f7f8fc);
  border:1px solid rgba(209,216,229,.95);
  border-radius:var(--guide-radius-lg);
  box-shadow:var(--guide-shadow-soft);
  padding:12px;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}

@media(min-width:981px) {
  .sidebar,
  .guide-sidebar {
    position:sticky;
    top:10px;
    max-height:calc(100vh - 20px);
    overflow:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(162,75,127,.45) rgba(226,231,240,.55);
  }
}

.sidebar::-webkit-scrollbar,
.guide-sidebar::-webkit-scrollbar { width:8px; }
.sidebar::-webkit-scrollbar-thumb,
.guide-sidebar::-webkit-scrollbar-thumb {
  background:rgba(162,75,127,.45);
  border-radius:999px;
}
.sidebar::-webkit-scrollbar-track,
.guide-sidebar::-webkit-scrollbar-track { background:rgba(226,231,240,.55); }

.sidebar h3,
.guide-sidebar h3 {
  color:#252b37;
  font-size:.82rem;
  line-height:1.15;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
  margin:0 0 6px;
  text-align:left;
}

.sidebar h3:not(:first-child),
.guide-sidebar h3:not(:first-child),
.guides-sidebar h3:not(:first-of-type) {
  margin-top:12px;
}

.sidebar ul,
.guide-sidebar ul {
  list-style:none;
  padding:0;
  margin:0;
  width:100%;
}

.sidebar ul li,
.guide-sidebar ul li {
  margin:0;
  padding-left:0;
  position:static;
}

.sidebar ul li:before,
.guide-sidebar ul li:before { content:none; }

.sidebar ul li a,
.guide-sidebar ul li a,
.guides-sidebar li a {
  position:relative;
  display:block;
  padding:4px 7px 4px 12px;
  border-radius:8px;
  color:#344054;
  font-size:.79rem;
  line-height:1.22;
  text-decoration:none;
  font-weight:600;
  transition:color .14s ease,background-color .14s ease,transform .14s ease,box-shadow .14s ease;
}

.sidebar ul li a:before,
.guide-sidebar ul li a:before,
.guides-sidebar li a:before {
  content:"";
  position:absolute;
  left:5px;
  top:5px;
  bottom:5px;
  width:3px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--guide-brand-1),var(--guide-brand-2));
  opacity:0;
  transition:opacity .14s ease;
}

.sidebar ul li a:hover,
.guide-sidebar ul li a:hover,
.guides-sidebar li a:hover,
.sidebar ul li a.is-active,
.guide-sidebar ul li a.is-active,
.guides-sidebar li a.is-active {
  color:#111827;
  background:#f1e9f5;
  transform:translateX(1px);
  box-shadow:inset 0 0 0 1px rgba(162,75,127,.13);
}

.sidebar ul li a:hover:before,
.guide-sidebar ul li a:hover:before,
.guides-sidebar li a:hover:before,
.sidebar ul li a.is-active:before,
.guide-sidebar ul li a.is-active:before,
.guides-sidebar li a.is-active:before {
  opacity:1;
}

.banners-sidebar,
.guides-sidebar {
  width:100%;
  box-sizing:border-box;
}

.banners-sidebar {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:10px;
}

.banners-sidebar .banner-box {
  display:block;
  width:100%;
  box-sizing:border-box;
  border-radius:12px;
  padding:10px 11px;
  background:radial-gradient(circle at 0 0,#1f2937,#030712);
  box-shadow:0 9px 20px rgba(15,23,42,.38);
  border:1px solid rgba(148,163,184,.42);
  color:#e5e7eb;
  transition:transform .15s ease,box-shadow .15s ease;
}

.banners-sidebar .banner-box a {
  display:flex;
  align-items:center;
  gap:9px;
  color:inherit;
  text-decoration:none;
}

.banners-sidebar img {
  display:block;
  width:46px;
  height:46px;
  object-fit:contain;
  flex-shrink:0;
  border-radius:9px;
  box-shadow:0 3px 10px rgba(0,0,0,.55);
  margin:0;
}

.banners-sidebar .banner-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  flex-shrink:0;
  font-size:18px;
  font-weight:800;
  background:radial-gradient(circle at 30% 0,#fed7aa,#ea580c);
  border:1px solid rgba(255,255,255,.65);
}

.banners-sidebar .banner-text {
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:11px;
  line-height:1.18;
}

.banners-sidebar .banner-tag {
  align-self:flex-start;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(251,191,36,.16);
  color:#facc15;
}

.banners-sidebar .banner-title {
  font-weight:800;
  color:#f9fafb;
}

.banners-sidebar .banner-description { opacity:.9; }
.banners-sidebar .banner-box:hover {
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(15,23,42,.55);
}

.banners-sidebar .banner-box.banner-register {
  background:linear-gradient(135deg,#f97316,var(--guide-brand-1));
  border-color:rgba(248,187,89,.72);
}

.banners-sidebar .banner-box.banner-register .banner-tag {
  background:rgba(254,215,170,.48);
  color:#fff7ed;
}

.guides-sidebar {
  background:linear-gradient(180deg,#fff,#f8fafc);
  border-radius:12px;
  padding:10px;
  box-shadow:inset 0 0 0 1px rgba(209,216,229,.70);
  border:0;
}

.guides-sidebar h3 {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.guides-sidebar .guides-badge {
  font-size:9px;
  font-weight:800;
  padding:1px 6px;
  border-radius:999px;
  background:rgba(124,58,237,.1);
  color:#4c1d95;
}

.guides-sidebar ul {
  list-style:none;
  margin:3px 0 0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}

/* Center-only ad strip above the article card. It no longer pushes sidebars down. */
.guide-ad-container {
  width:100%;
  margin:0;
  padding:10px;
  border-radius:var(--guide-radius-lg);
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(250,245,250,.92));
  border:1px solid rgba(209,216,229,.9);
  box-shadow:var(--guide-shadow-soft);
  box-sizing:border-box;
}

.guide-ad-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,468px),468px));
  gap:8px;
  align-items:center;
  justify-content:center;
}

.guide-ad-slot {
  width:468px;
  height:60px;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:7px;
  background:linear-gradient(135deg,#7f2ba2,#a24b7f);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-sizing:border-box;
  box-shadow:0 4px 11px rgba(31,41,55,.14);
}

.guide-ad-slot img {
  display:block;
  width:468px;
  max-width:100%;
  height:60px;
  object-fit:cover;
  margin:0;
  border-radius:7px;
  transform:none;
}

.guide-ad-slot--empty {
  border:1px dashed rgba(127,43,162,.42);
  flex-direction:column;
  font-size:13px;
  line-height:1.15;
  background:linear-gradient(135deg,#fbf7fd,#fff);
  color:var(--guide-brand-1);
}

.guide-ad-slot--empty small {
  font-size:11px;
  opacity:.78;
}

img {
  display:block;
  max-width:100%;
  height:auto;
  margin:18px auto;
  border-radius:var(--guide-radius);
  transition:transform .22s ease;
}

.main-content img:hover,
.layout > .container img:hover,
.guide-center-column > .container img:hover {
  transform:scale(1.015);
}

figure { margin:1rem 0; }
figcaption {
  color:var(--guide-muted);
  font-size:.92rem;
  text-align:center;
}

.table-wrap,
.table-responsive {
  overflow-x:auto;
  border-radius:10px;
}

table {
  width:100%;
  border-collapse:collapse;
  margin:1rem 0 1.2rem;
  background:#fff;
  border:1px solid var(--guide-border);
  border-radius:8px;
  overflow:hidden;
}

caption {
  text-align:left;
  padding:8px 0;
  font-weight:800;
}

th,
td {
  border:1px solid var(--guide-border);
  padding:.68rem .72rem;
  text-align:left;
  vertical-align:top;
}

th {
  background:var(--guide-brand-1);
  color:#fff;
  font-weight:800;
}

tbody tr:nth-child(even) { background:#fcfcfd; }
tbody tr:hover { background:#faf3f7; }

.note,
.tip,
.warning,
.info-box,
.callout {
  border-radius:10px;
  padding:12px 14px;
  margin:14px 0;
  border:1px solid #ddd;
  background:#fafafa;
}

.warning {
  border-color:rgba(185,28,28,.24);
  background:rgba(254,242,242,.9);
}

.tip {
  border-color:rgba(21,128,61,.24);
  background:rgba(240,253,244,.9);
}

.note {
  border-color:rgba(162,75,127,.24);
  background:rgba(250,245,250,.9);
}

.tip strong,
.note strong,
.warning strong { color:var(--guide-brand-1); }

.toc {
  border:1px solid #eee;
  border-radius:10px;
  padding:12px 14px;
  background:#fff;
  margin:14px 0 18px;
}

.toc a { text-decoration:none; }
.toc ul { margin:8px 0 0; }
.extra-damage { color:#1b7f2a; font-weight:800; }
.weak-against { color:#b00020; font-weight:800; }

input[type=text],
input[type=search],
select,
textarea {
  width:100%;
  max-width:100%;
  min-height:40px;
  border:1px solid var(--guide-border);
  border-radius:8px;
  padding:.55rem .65rem;
  font:inherit;
}

button,
.button,
.btn {
  border:0;
  border-radius:999px;
  background:var(--guide-brand-1);
  color:#fff;
  padding:.6rem 1rem;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

footer,
.guide-footer {
  background:#333;
  color:#f1f1f1;
  text-align:center;
  padding:18px 20px;
  font-size:.9rem;
  margin-top:auto;
  box-shadow:0 -2px 5px rgba(0,0,0,.1);
}

footer p,
.guide-footer p { margin:.25rem 0; }
footer a,
.guide-footer a {
  color:#ffd700;
  text-decoration:none;
  transition:color .2s ease;
}
footer a:hover,
.guide-footer a:hover { color:#fff; }

@media(max-width:980px) {
  .layout {
    flex-direction:column;
    gap:12px;
    padding:0 10px;
  }
  .guide-center-column { width:100%; order:1; }
  .guide-sidebar--left { order:2; }
  .guide-sidebar--right { order:3; }
  .sidebar,
  .guide-sidebar {
    width:100%;
    min-width:0;
    flex:0 0 auto;
    max-height:none;
    overflow:visible;
  }
  .guides-sidebar ul {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:2px 6px;
  }
  .banners-sidebar {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  }
}

@media(max-width:640px) {
  .header,
  .guide-header { padding:11px 8px; margin-bottom:10px; }
  .guide-header__nav { gap:.3rem .45rem; font-size:.92rem; }
  .guide-nav-separator { display:none; }
  .layout { padding:0 8px; }
  .layout > .container,
  .guide-center-column > .container { padding:14px; border-radius:12px; }
  .main-content h1,
  .guide-center-column > .container article h1 { font-size:1.62rem; }
  .main-content p,
  .guide-center-column > .container article p { font-size:1rem; line-height:1.68; }
  th,td { padding:.58rem .6rem; }
  .guide-ad-container { padding:8px; }
}


/* Batch 7 polish: cleaner guide-only header, wider desktop view and compact menus. */
.guide-header__nav a:first-child {
  padding:4px 8px;
  border-radius:999px;
}
.guide-header__nav a:first-child:hover {
  background:rgba(255,255,255,.13);
}
.guide-article-ad-strip {
  width:100%;
  margin:0;
}
@media(min-width:981px) {
  .layout { flex-direction:row !important; }
  .guide-sidebar--left,
  .guide-sidebar--right { order:initial; }
  .guide-center-column { order:initial; }
}
@media(min-width:1440px) {
  .sidebar,
  .guide-sidebar {
    flex-basis:248px;
    width:248px;
    min-width:248px;
  }
  .layout { gap:16px; }
}

.guide-article-ad-strip {
  width:100%;
  display:block;
}

/* Content polish for the normalized legacy articles. */
.breadcrumbs {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 6px;
  margin:0 0 14px;
  padding:8px 10px;
  border-radius:10px;
  background:#f8fafc;
  border:1px solid rgba(209,216,229,.75);
  color:var(--guide-muted);
  font-size:.86rem;
  line-height:1.3;
}
.breadcrumbs a { text-decoration:none; }
.quick-answer,
.tip-box,
.faq,
details.faq {
  border:1px solid rgba(162,75,127,.18);
  background:linear-gradient(135deg,#fff,#fbf7fd);
  border-radius:12px;
  padding:12px 14px;
  margin:13px 0;
  box-shadow:0 5px 14px rgba(25,31,44,.05);
}
.quick-answer p:last-child,
.tip-box p:last-child { margin-bottom:0; }
details.faq summary {
  cursor:pointer;
  font-weight:800;
  color:#252b37;
}
.related-links {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:6px 10px;
  padding-left:0 !important;
  list-style:none;
}
.related-links li a {
  display:block;
  padding:8px 10px;
  border-radius:10px;
  background:#f8fafc;
  border:1px solid rgba(209,216,229,.75);
  text-decoration:none;
}
.related-links li a:hover {
  background:#f1e9f5;
}

/* =========================================================
   Batch 8 production guide/article UI
   - traditional forum-like full-width guide pages
   - direct .guide-menu sidebars, no internal desktop scrollbar
   - compact menu rows for better overview
   - guide-styled advertiser account pages
   ========================================================= */
:root {
  --forum-bg:#edf1f6;
  --forum-card:#ffffff;
  --forum-panel:#f7f9fc;
  --forum-line:#cfd7e4;
  --forum-line-soft:#e2e7f0;
  --forum-ink:#1f2937;
  --forum-text:#334155;
  --forum-muted:#64748b;
  --forum-purple:#8f3f86;
  --forum-purple-dark:#6f257e;
  --forum-purple-soft:#f3eaf4;
  --forum-blue:#26354d;
  --forum-radius:8px;
  --forum-shadow:0 4px 14px rgba(15,23,42,.08);
  --forum-shadow-soft:0 2px 8px rgba(15,23,42,.06);
}
html { scroll-behavior:smooth; }
body.guide-article-body,
body.advertising-body {
  margin:0 !important;
  padding:0 !important;
  min-height:100vh;
  color:var(--forum-text);
  background:
    radial-gradient(circle at 12% 0%,rgba(143,63,134,.08),transparent 30rem),
    radial-gradient(circle at 88% 16%,rgba(38,53,77,.07),transparent 34rem),
    linear-gradient(180deg,#f8fafc 0,#edf1f6 48%,#e8edf5 100%) !important;
  font-family:Arial,Helvetica,sans-serif;
  font-size:15px;
  line-height:1.58;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.guide-article-body .header,
body.guide-article-body .guide-header,
body.advertising-body .guide-header {
  margin:0 0 8px !important;
  padding:7px 10px !important;
  background:linear-gradient(90deg,var(--forum-purple),var(--forum-purple-dark)) !important;
  color:#fff;
  box-shadow:0 2px 10px rgba(28,18,45,.20) !important;
  border-bottom:1px solid rgba(255,255,255,.18);
  text-align:center;
}
.guide-header__inner { width:100%; max-width:none; margin:0 auto; }
.guide-header__title { margin:0 0 5px; color:#fff; font-size:clamp(1.12rem,1.55vw,1.62rem); line-height:1.18; }
.guide-header__nav {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:4px 7px;
  margin:0;
  font-size:.9rem;
  line-height:1.2;
}
.guide-header__nav a {
  display:inline-flex;
  align-items:center;
  min-height:23px;
  padding:3px 9px;
  border-radius:999px;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:850;
  letter-spacing:.01em;
}
.guide-header__nav a[href^="/advertise"] { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); }
.guide-header__nav a:hover,.guide-header__nav a:focus-visible { background:rgba(255,255,255,.20); transform:translateY(-1px); }
.guide-nav-separator { opacity:.42; }

body.guide-article-body .layout,
body.advertising-body .layout {
  width:100%;
  max-width:none;
  flex:1 1 auto;
  display:flex;
  align-items:flex-start !important;
  justify-content:stretch !important;
  gap:9px !important;
  padding:0 8px 12px !important;
  margin:0 !important;
}
.guide-center-column,
.advertising-center {
  flex:1 1 auto !important;
  min-width:0 !important;
  display:flex;
  flex-direction:column;
  gap:8px !important;
}
.guide-center-column > .container,
.layout > .container,
.advertising-page {
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:clamp(13px,1.15vw,20px) !important;
  background:var(--forum-card) !important;
  border:1px solid var(--forum-line) !important;
  border-radius:var(--forum-radius) !important;
  box-shadow:var(--forum-shadow) !important;
}
.main-content,
.guide-center-column > .container > main,
.guide-center-column > .container > article { max-width:100% !important; }
.main-content h1,
.guide-center-column > .container article h1,
.layout > .container article h1 {
  margin:0 0 .64rem !important;
  color:var(--forum-ink) !important;
  font-size:clamp(1.55rem,1.75vw,2.08rem) !important;
  line-height:1.16 !important;
  letter-spacing:-.018em;
  text-shadow:none !important;
}
.main-content h2,
.guide-center-column > .container article h2,
.layout > .container article h2 {
  margin:1rem 0 .48rem !important;
  padding:.42rem .58rem !important;
  color:var(--forum-purple-dark) !important;
  border-left:4px solid var(--forum-purple) !important;
  border-bottom:1px solid var(--forum-line-soft) !important;
  border-radius:7px !important;
  background:linear-gradient(90deg,#f7edf7,#fff 84%) !important;
  font-size:clamp(1.11rem,1.3vw,1.44rem) !important;
  line-height:1.23 !important;
}
.main-content p,
.guide-center-column > .container article p { line-height:1.66 !important; margin:0 0 .70rem !important; }
.main-content li,
.guide-center-column > .container li { margin-bottom:.18rem !important; }

/* Direct sidebars. No nested .sidebar/.guide-sidebar article wrapper. */
.guide-menu {
  flex:0 0 236px !important;
  width:236px !important;
  min-width:236px !important;
  align-self:flex-start !important;
  margin:0 !important;
  padding:7px !important;
  color:var(--forum-text) !important;
  background:linear-gradient(180deg,#fbfcff 0%,#f2f5fa 100%) !important;
  border:1px solid var(--forum-line) !important;
  border-radius:var(--forum-radius) !important;
  box-shadow:var(--forum-shadow-soft) !important;
  overflow:visible !important;
  max-height:none !important;
  scrollbar-width:none !important;
}
@media (min-width:981px) {
  .guide-menu {
    position:sticky !important;
    top:7px !important;
    height:auto !important;
    min-height:calc(100vh - 14px) !important;
    max-height:none !important;
    overflow:visible !important;
  }
}
.guide-menu::-webkit-scrollbar { display:none !important; width:0 !important; height:0 !important; }
.guide-menu h3 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:0 !important;
  margin:5px 0 2px !important;
  padding:3px 6px !important;
  border:1px solid #dfe5ee !important;
  border-radius:6px !important;
  background:linear-gradient(90deg,#eef2f8,#f9fbff) !important;
  color:var(--forum-ink) !important;
  font-size:.68rem !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:.047em !important;
  text-transform:uppercase !important;
}
.guide-menu h3:first-child { margin-top:0 !important; }
.guide-menu ul {
  list-style:none !important;
  margin:0 0 3px !important;
  padding:0 !important;
  display:block !important;
}
.guide-menu li { margin:0 !important; padding:0 !important; line-height:1.05 !important; }
.guide-menu li + li { margin-top:0 !important; }
.guide-menu li::before { content:none !important; }
.guide-menu a {
  position:relative;
  display:block !important;
  min-height:0 !important;
  padding:1px 5px 1px 11px !important;
  border-radius:5px !important;
  color:#334155 !important;
  background:transparent !important;
  box-shadow:none !important;
  font-size:.735rem !important;
  line-height:1.13 !important;
  font-weight:500 !important;
  text-decoration:none !important;
  letter-spacing:0 !important;
  overflow-wrap:anywhere;
}
.guide-menu a::before {
  content:"";
  position:absolute;
  left:4px;
  top:3px;
  bottom:3px;
  width:2px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--forum-purple),var(--forum-purple-dark));
  opacity:0;
}
.guide-menu a:hover,
.guide-menu a:focus-visible {
  color:#111827 !important;
  background:#eef1f7 !important;
  box-shadow:inset 0 0 0 1px rgba(127,43,162,.10) !important;
  transform:none !important;
}
.guide-menu a.is-active,
.guide-menu a[aria-current="page"] {
  color:#111827 !important;
  background:linear-gradient(90deg,#f3e9f7,#fff) !important;
  box-shadow:inset 0 0 0 1px rgba(127,43,162,.18) !important;
}
.guide-menu a:hover::before,
.guide-menu a:focus-visible::before,
.guide-menu a.is-active::before,
.guide-menu a[aria-current="page"]::before { opacity:1; }
.guides-badge { display:inline-flex; margin-left:5px; padding:1px 5px; border-radius:999px; background:rgba(127,43,162,.10); color:#5f2378; font-size:.55rem; line-height:1; letter-spacing:.03em; white-space:nowrap; }
.guide-menu > .banner-box {
  display:block !important;
  width:100% !important;
  margin:0 0 4px !important;
  padding:6px !important;
  border-radius:7px !important;
  background:linear-gradient(135deg,#141c2c,#090e17) !important;
  border:1px solid rgba(148,163,184,.36) !important;
  box-shadow:0 4px 11px rgba(15,23,42,.20) !important;
  color:#e5e7eb !important;
}
.guide-menu > .banner-box.banner-register { background:linear-gradient(135deg,#f97316,#7f2ba2) !important; border-color:rgba(248,187,89,.56) !important; }
.guide-menu > .banner-box a {
  display:grid !important;
  grid-template-columns:24px minmax(0,1fr) !important;
  gap:5px !important;
  align-items:center !important;
  padding:0 !important;
  color:inherit !important;
  background:transparent !important;
  text-decoration:none !important;
  box-shadow:none !important;
}
.guide-menu > .banner-box a::before { content:none !important; }
.guide-menu > .banner-box img,
.guide-menu > .banner-box .banner-icon { width:24px !important; height:24px !important; margin:0 !important; border-radius:7px !important; font-size:13px !important; }
.guide-menu > .banner-box .banner-text { display:grid !important; gap:1px !important; min-width:0 !important; line-height:1.08 !important; }
.guide-menu > .banner-box .banner-description { display:none !important; }
.guide-menu > .banner-box .banner-tag { font-size:.50rem !important; line-height:1 !important; }
.guide-menu > .banner-box .banner-title { font-size:.69rem !important; line-height:1.08 !important; }

.guide-article-ad-strip { width:100%; display:block; margin:0 !important; }
.guide-ad-container { padding:7px !important; border-radius:8px !important; box-shadow:var(--forum-shadow-soft) !important; }
.guide-ad-grid { gap:6px !important; }
.guide-footer { margin-top:0 !important; }

/* Advertiser pages reuse the guide chrome instead of the main website shell. */
.advertising-body .guide-advertising-layout { padding-top:0 !important; }
.advertising-body .advertising-page { max-width:none !important; }
.advertising-body .advertising-main { margin:0 !important; padding:0 !important; }
.advertising-body .white-box,
.advertising-body .ad-card,
.advertising-body .page-header-box {
  border-color:var(--forum-line) !important;
  box-shadow:var(--forum-shadow-soft) !important;
}

@media (min-width:1420px) {
  .guide-menu { flex-basis:244px !important; width:244px !important; min-width:244px !important; }
  body.guide-article-body .layout, body.advertising-body .layout { gap:11px !important; padding-left:10px !important; padding-right:10px !important; }
}
@media (max-width:1180px) {
  .guide-menu { flex-basis:204px !important; width:204px !important; min-width:204px !important; }
  .guide-menu a { font-size:.71rem !important; }
}
@media (max-width:980px) {
  body.guide-article-body .layout, body.advertising-body .layout { flex-direction:column !important; gap:8px !important; padding:0 6px 10px !important; }
  .guide-center-column,.advertising-center { order:1; width:100% !important; }
  .guide-menu--left { order:2; }
  .guide-menu--right { order:3; }
  .guide-menu { width:100% !important; min-width:0 !important; flex:0 0 auto !important; position:static !important; min-height:0 !important; }
  .guide-menu ul { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(158px,1fr)) !important; gap:1px 5px !important; }
  .guide-nav-separator { display:none; }
}


/* Final safety: old sidebar classes never create an inner scrollbar if a legacy page still uses them. */
.sidebar.guide-sidebar,
.guide-sidebar {
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: none !important;
}
.sidebar.guide-sidebar::-webkit-scrollbar,
.guide-sidebar::-webkit-scrollbar { display:none!important; width:0!important; height:0!important; }

/* =========================================================
   Batch 9 - readable forum-style guide menu polish
   Fixes: menu readability, visible bullet markers, stable header height,
   stronger left/right vs middle contrast, and no inner desktop scrollbars.
   ========================================================= */
:root {
  --forum-sidebar-bg:#f3f7fc;
  --forum-sidebar-bg-2:#eaf0f7;
  --forum-sidebar-border:#bac7d7;
  --forum-sidebar-heading:#1b2a3d;
  --forum-sidebar-link:#1f334a;
  --forum-sidebar-link-muted:#334861;
  --forum-sidebar-hover:#ffffff;
  --forum-center-bg:#ffffff;
  --forum-center-border:#cfd8e6;
  --forum-dot:#8f3f86;
}

body.guide-article-body,
body.advertising-body {
  font-size:16px !important;
  line-height:1.62 !important;
  background:
    radial-gradient(circle at 6% 2%, rgba(143,63,134,.10), transparent 32rem),
    radial-gradient(circle at 94% 12%, rgba(38,53,77,.08), transparent 34rem),
    linear-gradient(180deg,#f6f8fb 0%,#edf2f7 46%,#e9eef5 100%) !important;
}

body.guide-article-body .header,
body.guide-article-body .guide-header,
body.advertising-body .guide-header {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  margin:0 0 10px !important;
  padding:7px 10px !important;
  background:linear-gradient(90deg,#9a4a86 0%,#842aa4 100%) !important;
  box-shadow:0 2px 10px rgba(28,18,45,.20) !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
}

.guide-header__inner {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:30px !important;
}

.guide-header__nav,
.advertising-guide-nav {
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  width:100% !important;
  min-height:30px !important;
  margin:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  scrollbar-width:none !important;
  -webkit-overflow-scrolling:touch;
}
.guide-header__nav::-webkit-scrollbar,
.advertising-guide-nav::-webkit-scrollbar { display:none !important; }

.guide-header__nav a,
.advertising-guide-nav a {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  min-height:28px !important;
  padding:5px 11px !important;
  border:1px solid transparent !important;
  border-radius:999px !important;
  color:#fff !important;
  font-size:.96rem !important;
  line-height:1 !important;
  font-weight:850 !important;
  text-decoration:none !important;
}

.guide-header__nav a[href^="/advertise"],
.advertising-guide-nav a[href^="/advertise"] {
  border-color:rgba(255,255,255,.24) !important;
  background:rgba(255,255,255,.13) !important;
}

.guide-header__nav a:hover,
.guide-header__nav a:focus-visible,
.advertising-guide-nav a:hover,
.advertising-guide-nav a:focus-visible {
  border-color:rgba(255,255,255,.34) !important;
  background:rgba(255,255,255,.20) !important;
  transform:none !important;
}

.guide-nav-separator { flex:0 0 auto !important; opacity:.42 !important; }

body.guide-article-body .layout,
body.advertising-body .layout {
  gap:12px !important;
  padding:0 10px 14px !important;
  align-items:flex-start !important;
}

.guide-center-column,
.advertising-center {
  gap:10px !important;
}

.guide-center-column > .container,
.layout > .container,
.advertising-page {
  background:var(--forum-center-bg) !important;
  border:1px solid var(--forum-center-border) !important;
  border-radius:10px !important;
  box-shadow:0 5px 18px rgba(15,23,42,.08) !important;
}

.main-content h1,
.guide-center-column > .container article h1,
.layout > .container article h1 {
  color:#172235 !important;
}

.guide-menu {
  flex:0 0 282px !important;
  width:282px !important;
  min-width:282px !important;
  padding:10px 9px !important;
  color:var(--forum-sidebar-link) !important;
  background:linear-gradient(180deg,var(--forum-sidebar-bg) 0%,var(--forum-sidebar-bg-2) 100%) !important;
  border:1px solid var(--forum-sidebar-border) !important;
  border-radius:10px !important;
  box-shadow:0 4px 14px rgba(15,23,42,.075) !important;
  overflow:visible !important;
  max-height:none !important;
  scrollbar-width:none !important;
}

.guide-menu--right {
  background:linear-gradient(180deg,#f8fafc 0%,#eef3f8 100%) !important;
}

@media (min-width:981px) {
  .guide-menu {
    position:sticky !important;
    top:8px !important;
    height:auto !important;
    min-height:calc(100vh - 18px) !important;
    max-height:none !important;
    overflow:visible !important;
  }
}

.guide-menu::-webkit-scrollbar { display:none !important; width:0 !important; height:0 !important; }

.guide-menu h3 {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  margin:8px 0 4px !important;
  padding:5px 8px 5px 9px !important;
  border:1px solid #d7e0ec !important;
  border-left:4px solid var(--forum-purple,#8f3f86) !important;
  border-radius:7px !important;
  background:linear-gradient(90deg,#e8eef7 0%,#f9fbff 100%) !important;
  color:var(--forum-sidebar-heading) !important;
  font-size:.78rem !important;
  line-height:1.1 !important;
  font-weight:950 !important;
  letter-spacing:.045em !important;
  text-transform:uppercase !important;
}
.guide-menu h3:first-child { margin-top:0 !important; }

.guide-menu ul {
  list-style:none !important;
  display:block !important;
  margin:0 0 6px !important;
  padding:0 !important;
}

.guide-menu li {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1.15 !important;
}
.guide-menu li + li { margin-top:0 !important; }
.guide-menu li::before { content:none !important; }

.guide-menu a {
  position:relative !important;
  display:block !important;
  min-height:0 !important;
  padding:2px 7px 2px 20px !important;
  border-radius:6px !important;
  color:var(--forum-sidebar-link-muted) !important;
  background:transparent !important;
  box-shadow:none !important;
  font-size:.84rem !important;
  line-height:1.24 !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-decoration:none !important;
  overflow-wrap:anywhere !important;
}

.guide-menu a::before {
  content:"" !important;
  position:absolute !important;
  left:8px !important;
  top:50% !important;
  bottom:auto !important;
  width:5px !important;
  height:5px !important;
  margin-top:-2.5px !important;
  border-radius:999px !important;
  background:var(--forum-dot) !important;
  opacity:.52 !important;
  box-shadow:0 0 0 1px rgba(143,63,134,.12) !important;
}

.guide-menu a:hover,
.guide-menu a:focus-visible {
  color:#0f172a !important;
  background:var(--forum-sidebar-hover) !important;
  box-shadow:inset 0 0 0 1px rgba(143,63,134,.13), 0 1px 3px rgba(15,23,42,.04) !important;
  transform:none !important;
  outline:none !important;
}

.guide-menu a.is-active,
.guide-menu a[aria-current="page"] {
  color:#111827 !important;
  background:linear-gradient(90deg,#ffffff 0%,#f4eaf7 100%) !important;
  box-shadow:inset 0 0 0 1px rgba(143,63,134,.24), 0 1px 4px rgba(15,23,42,.06) !important;
  font-weight:900 !important;
}

.guide-menu a.is-active::before,
.guide-menu a[aria-current="page"]::before,
.guide-menu a:hover::before,
.guide-menu a:focus-visible::before {
  opacity:1 !important;
}

.guides-badge {
  padding:2px 6px !important;
  font-size:.58rem !important;
  background:#fff !important;
  color:#6f257e !important;
  border:1px solid rgba(143,63,134,.16) !important;
}

.guide-menu > .banner-box {
  margin:0 0 8px !important;
  padding:9px !important;
  border-radius:9px !important;
  box-shadow:0 5px 14px rgba(15,23,42,.20) !important;
}
.guide-menu > .banner-box a {
  grid-template-columns:32px minmax(0,1fr) !important;
  gap:8px !important;
  padding:0 !important;
  font-size:inherit !important;
}
.guide-menu > .banner-box a::before { content:none !important; }
.guide-menu > .banner-box img,
.guide-menu > .banner-box .banner-icon {
  width:32px !important;
  height:32px !important;
  border-radius:8px !important;
  font-size:15px !important;
}
.guide-menu > .banner-box .banner-text {
  gap:2px !important;
  line-height:1.16 !important;
}
.guide-menu > .banner-box .banner-tag {
  font-size:.57rem !important;
  line-height:1 !important;
}
.guide-menu > .banner-box .banner-title {
  font-size:.80rem !important;
  line-height:1.14 !important;
}
.guide-menu > .banner-box .banner-description {
  display:block !important;
  color:#cbd5e1 !important;
  font-size:.68rem !important;
  line-height:1.15 !important;
  opacity:.92 !important;
}

.guide-article-ad-strip {
  margin:0 0 0 !important;
}
.guide-ad-container {
  background:linear-gradient(180deg,#fff,#f8fafc) !important;
  border:1px solid var(--forum-center-border) !important;
  border-radius:10px !important;
}

.advertising-body .advertising-grid {
  gap:12px !important;
}
.advertising-body .page-header-box,
.advertising-body .ad-card,
.advertising-body .white-box {
  background:#fff !important;
  border-color:var(--forum-center-border) !important;
}
.advertising-body .guide-menu--advertising {
  background:linear-gradient(180deg,var(--forum-sidebar-bg) 0%,var(--forum-sidebar-bg-2) 100%) !important;
}

@media (min-width:1500px) {
  .guide-menu {
    flex-basis:300px !important;
    width:300px !important;
    min-width:300px !important;
  }
  body.guide-article-body .layout,
  body.advertising-body .layout {
    gap:14px !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

@media (max-width:1280px) {
  .guide-menu {
    flex-basis:246px !important;
    width:246px !important;
    min-width:246px !important;
  }
  .guide-menu a { font-size:.80rem !important; }
}

@media (max-width:980px) {
  body.guide-article-body .layout,
  body.advertising-body .layout {
    flex-direction:column !important;
    gap:10px !important;
    padding:0 8px 12px !important;
  }
  .guide-center-column,
  .advertising-center { order:1; width:100% !important; }
  .guide-menu--left { order:2; }
  .guide-menu--right { order:3; }
  .guide-menu {
    width:100% !important;
    min-width:0 !important;
    flex:0 0 auto !important;
    min-height:0 !important;
    position:static !important;
  }
  .guide-menu ul {
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr)) !important;
    gap:1px 6px !important;
  }
  .guide-header__nav,
  .advertising-guide-nav {
    justify-content:flex-start !important;
    padding:0 4px !important;
  }
  .guide-nav-separator { display:none !important; }
}

/* =========================================================
   Batch 10 - menu comfort override
   User request: remove heavy menu font weight, make menu text larger,
   and use softer differentiated side menu backgrounds.
   ========================================================= */
:root {
  --guide-menu-left-bg-start:#f0f5fa;
  --guide-menu-left-bg-end:#e7eef6;
  --guide-menu-right-bg-start:#f4f0f8;
  --guide-menu-right-bg-end:#ebe6f1;
  --guide-menu-border:#bccada;
  --guide-menu-heading-bg-start:#ffffff;
  --guide-menu-heading-bg-end:#e6edf5;
  --guide-menu-link:#21344c;
  --guide-menu-link-hover:#0f172a;
  --guide-menu-link-hover-bg:rgba(255,255,255,.84);
  --guide-menu-active-bg-start:#ffffff;
  --guide-menu-active-bg-end:#f5edf7;
  --guide-menu-dot:#7f2ba2;
}

body.guide-article-body .guide-header,
body.advertising-body .guide-header,
body.guide-article-body .header {
  min-height:44px !important;
  height:44px !important;
  padding:6px 10px !important;
  box-sizing:border-box !important;
}

.guide-header__inner,
.guide-header__nav,
.advertising-guide-nav {
  min-height:30px !important;
  height:30px !important;
  box-sizing:border-box !important;
}

.guide-header__nav a,
.advertising-guide-nav a {
  height:28px !important;
  min-height:28px !important;
  padding:0 12px !important;
  box-sizing:border-box !important;
  line-height:28px !important;
}

.guide-menu,
.guide-menu--left,
.advertising-body .guide-menu--advertising {
  background:linear-gradient(180deg,var(--guide-menu-left-bg-start) 0%,var(--guide-menu-left-bg-end) 100%) !important;
  border-color:var(--guide-menu-border) !important;
}

.guide-menu--right {
  background:linear-gradient(180deg,var(--guide-menu-right-bg-start) 0%,var(--guide-menu-right-bg-end) 100%) !important;
  border-color:#cfc8d9 !important;
}

.guide-menu h3 {
  background:linear-gradient(90deg,var(--guide-menu-heading-bg-start) 0%,var(--guide-menu-heading-bg-end) 100%) !important;
  color:#192638 !important;
  font-size:.82rem !important;
  font-weight:800 !important;
  letter-spacing:.032em !important;
  line-height:1.14 !important;
}

.guide-menu a {
  color:var(--guide-menu-link) !important;
  font-size:.94rem !important;
  line-height:1.27 !important;
  font-weight:400 !important;
  font-stretch:normal !important;
  font-variation-settings:normal !important;
  letter-spacing:0 !important;
  padding:3px 8px 3px 23px !important;
  text-shadow:none !important;
}

.guide-menu a::before {
  left:9px !important;
  width:5px !important;
  height:5px !important;
  margin-top:-2.5px !important;
  background:var(--guide-menu-dot) !important;
  opacity:.72 !important;
}

.guide-menu a:hover,
.guide-menu a:focus-visible {
  color:var(--guide-menu-link-hover) !important;
  background:var(--guide-menu-link-hover-bg) !important;
}

.guide-menu a.is-active,
.guide-menu a[aria-current="page"] {
  color:#0f172a !important;
  background:linear-gradient(90deg,var(--guide-menu-active-bg-start) 0%,var(--guide-menu-active-bg-end) 100%) !important;
  font-weight:600 !important;
}

@media (max-width:1280px) {
  .guide-menu a {
    font-size:.91rem !important;
    line-height:1.25 !important;
  }
}

@media (max-width:980px) {
  body.guide-article-body .guide-header,
  body.advertising-body .guide-header,
  body.guide-article-body .header {
    height:auto !important;
    min-height:44px !important;
  }
  .guide-header__inner,
  .guide-header__nav,
  .advertising-guide-nav {
    height:auto !important;
    min-height:30px !important;
  }
  .guide-menu a {
    font-size:.96rem !important;
    line-height:1.3 !important;
    padding-top:4px !important;
    padding-bottom:4px !important;
  }
}
