/* Overrides for legacy css.css on new iGaming/football pages */

/* 1) Nav fits 9 items by reducing per-item padding and font size */
#menu-middle ul li { padding: 0 12px !important; font-size: 14px !important; }
#menu-middle { padding-left: 16px !important; }
#menu-middle ul li ul { padding: 0 !important; }
#menu-middle ul li ul li { padding: 0 !important; font-size: 13px !important; }
#menu-middle ul li ul li a { padding: 6px 12px; display: block; }

/* 2) Typography inside the white content panel */
.ucj-main-body h1 {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
  font-family: Georgia, "Times New Roman", serif !important;
  color: #111 !important;
}
.ucj-main-body h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 26px 0 12px !important;
  font-family: Georgia, serif !important;
  color: #1a1a1a !important;
  border-bottom: 1px solid #e0ddd2 !important;
  padding-bottom: 6px !important;
}
.ucj-main-body h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 18px 0 8px !important;
  color: #1a1a1a !important;
  font-family: Georgia, serif !important;
}
.ucj-main-body h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 14px 0 6px !important;
  color: #1a1a1a !important;
}
.ucj-main-body p {
  font-size: 15px !important;
  line-height: 1.62 !important;
  margin: 0 0 12px !important;
  color: #222 !important;
}
.ucj-main-body ul, .ucj-main-body ol {
  font-size: 15px;
  line-height: 1.62;
  margin: 0 0 14px;
  padding-left: 22px;
}
.ucj-main-body li { margin-bottom: 4px; }
.ucj-main-body a { color: #7d1017; }
.ucj-main-body a:hover { text-decoration: underline; }

/* 3) Hero in the content area — make it stand out */
.ucj-hero-legacy h1 {
  font-size: 30px !important;
  font-family: Georgia, serif !important;
  color: #fff !important;
  margin: 0 0 10px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.ucj-hero-legacy p {
  font-size: 15px !important;
  color: #d4cfc2 !important;
}
.ucj-hero-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: #c7a24a;
  letter-spacing: 0.03em;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* 4) Breadcrumb on dark */
.ucj-crumb a { color: #c7a24a; }
.ucj-crumb a:hover { text-decoration: underline; color: #e0b357; }

/* 5) Ensure widgets render well inside content panel */
.ucj-main-body .ucj-rank-card {
  background: #fff;
  border: 1px solid #ddd8c8;
  border-left: 4px solid #7d1017;
  margin-bottom: 12px;
}
.ucj-main-body .ucj-rank-card.ucj-top { background: #fdfbf4; border-left-color: #c7a24a; }
.ucj-main-body .ucj-review { background: #fafaf5; border: 1px solid #e0ddd2; }
.ucj-main-body .ucj-compare thead th { background: #1a1a1a; color: #fff; }
.ucj-main-body .ucj-guide-card { background: #fff; border: 1px solid #e0ddd2; border-top: 3px solid #7d1017; color: #222; }
.ucj-main-body .ucj-faq details { background: #fff; border: 1px solid #e0ddd2; }
.ucj-main-body .ucj-faq summary { color: #111; }
.ucj-main-body .ucj-faq-body { color: #444; }
.ucj-main-body .ucj-rg { background: #111214; color: #e4dfd3; }
.ucj-main-body .ucj-rg strong, .ucj-main-body .ucj-rg a { color: #c7a24a; }
.ucj-main-body .ucj-licenta { background: #0c2a12; color: #cfe8d2; }
.ucj-main-body .ucj-stars { color: #c7a24a; }

/* 6) Author box uses actual image now */
.ucj-main-body .ucj-author {
  background: #fafaf5;
  border-left: 3px solid #c7a24a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  border-radius: 2px;
}
.ucj-main-body .ucj-author img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 52px;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.ucj-main-body .ucj-author strong { display: block; color: #1a1a1a; font-size: 15px; }
.ucj-main-body .ucj-author span { color: #666; font-size: 12.5px; }

/* 7) CTA buttons consistent */
.ucj-main-body .ucj-cta {
  background: #7d1017; color: #fff !important; border: 2px solid #7d1017;
  padding: 10px 18px; border-radius: 2px; font-weight: 700; text-transform: uppercase;
  font-size: 13.5px; letter-spacing: 0.04em; text-decoration: none !important;
  display: inline-block;
}
.ucj-main-body .ucj-cta:hover { background: #5c0a10; border-color: #5c0a10; }
.ucj-main-body .ucj-cta.ucj-ghost { background: transparent; color: #7d1017 !important; }
.ucj-main-body .ucj-cta.ucj-ghost:hover { background: #7d1017; color: #fff !important; }

/* 8) Responsive: if narrower than legacy 986px, allow nav to wrap */
@media (max-width: 1020px) {
  .centeres { width: auto !important; max-width: 100% !important; }
  #menu, #menu-middle, #content { width: auto !important; max-width: 100% !important; }
  #menu-middle { padding-left: 8px !important; padding-right: 8px !important; float: none !important; display: flex !important; flex-wrap: wrap; }
  #menu-middle ul#navMenu { display: flex !important; flex-wrap: wrap; }
  #menu-middle ul li { padding: 0 10px !important; font-size: 13px !important; }
  .ucj-main-body { padding: 14px !important; }
}
