/* 1. HIDE FOOTER BRANDING */
.md-footer-meta__text--made-with,
.md-footer__link--powered-by {
  display: none !important;
}

/* 2. MODERN SCROLLBARS (Chrome/Safari) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #000; 
}
::-webkit-scrollbar-thumb {
  background: #333; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #cc0000; /* Red hover effect */
}

/* 3. STATIC INFOBOX (The Side Information) */
/* This makes the table float right but STAY at the top */
.wiki-infobox {
  float: right;
  width: 300px;
  margin-left: 20px;
  margin-bottom: 20px;
  background: #121212; /* Darker card background */
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  
  /* MODIFIED: Changed from 'sticky' to 'static' so it doesn't move */
  position: static; 
  /* top: 80px;  <-- Disabled */
  /* z-index: 10; <-- Disabled */
}

/* Mobile Adjustment: Stack vertically on phones */
@media screen and (max-width: 768px) {
  .wiki-infobox {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

/* Infobox Header Styling */
.wiki-infobox h3 {
  background: linear-gradient(45deg, #990000, #550000);
  color: white;
  margin: 0;
  padding: 12px 15px;
  font-size: 0.95rem;
  text-align: center;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

/* Infobox Table Styling */
.wiki-infobox table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}
.wiki-infobox td {
  padding: 8px 12px;
  border-bottom: 1px solid #222;
  color: #ccc;
}
.wiki-infobox td:first-child {
  font-weight: bold;
  color: #fff;
  width: 40%;
}
.wiki-infobox tr:last-child td {
  border-bottom: none;
}
