/* Static-restore responsive + readability overrides for منتدى الهاشمية */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* vBulletin tables overflow on mobile -> allow horizontal scroll inside wrapper, not page */
.tborder, table.tborder, table { max-width: 100%; }
@media (max-width: 768px) {
  body { font-size: 15px; }
  table.tborder { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  td.alt1, td.alt2, td.alt1Active, td.thead, td.tcat { padding: 6px 8px; }
  /* touch targets */
  a { line-height: 1.6; }
  a.navbar, .navbar a, td a { min-height: 1px; }
  /* hide pixel-width forced layouts */
  table[width], td[width] { width: auto !important; }
}

/* Ensure links readable */
a:link, a:visited { color: #A3A304; }
a:hover { color: #683B05; }

/* Marquee fallback styling */
marquee { display: block; }

/* Tap-friendly nav buttons */
.vbmenu_control, .smallfont a { padding: 2px 4px; display: inline-block; min-height: 24px; }

/* Prevent fixed huge fonts overflow */
.bigusername, strong { word-break: break-word; }

/* De-linked forum links: keep original link appearance, non-navigating */
.forum-link { color: #A3A304; cursor: default; text-decoration: none; }
.forum-link:hover { color: #683B05; }
