/* style */
/* ✅ Prevent horizontal scroll and enforce perfect fit */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* stops sideways scrolling */
  box-sizing: border-box;
}

/* ✅ Keep header and content perfectly centered */
body {
  background: #000;
  color: #ffd700;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* ✅ Make video logo scale nicely on mobile */
header .logo video,
header .logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ✅ Fix navigation layout */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 10px;
  box-sizing: border-box;
}

/* ✅ Ensure container never exceeds screen width */
.container {
  width: 95%;
  max-width: 1200px;
  margin: 20px auto;
  box-sizing: border-box;
}

/* ✅ Prevent share icons or ads from breaking layout */
.article, .ad-banner, footer {
  overflow-x: hidden;
  box-sizing: border-box;
}

/* ✅ Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  header .logo video,
  header .logo img {
    height: auto;
    width: 90%; /* fits nicely on mobile */
  }
  nav a {
    font-size: 14px;
  }
}
/* --- Fix text alignment and restore article layout --- */
body {
  text-align: left !important; /* restore normal text flow */
}

/* --- Ensure only header/nav stay centered --- */
header, nav, footer {
  text-align: center !important;
}

/* --- Fix link and source colors --- */
.article a,
.source a,
.article p a {
  color: #62718a !important;              /* light grey links */
  text-decoration: underline;
}

.article a:hover,
.source a:hover,
.article p a:hover {
  color: #ffd700 !important;           /* gold on hover */
}

/* --- Clean up "Continue Reading" and source text color --- */
.source span,
.article p {
  color: #ffd700 !important;
}

/* --- Optional: ensure article paragraphs stay aligned --- */
.article p {
  text-align: left !important;
  line-height: 1.6;
}

