/* Scootersoft.com - Modern Retro Redesign CSS */
/* Based on original 2001-2017 look: red accents, nested border effect, clean white content boxes */

:root {
  --red: #C70800;
  --red-dark: #C70D11;
  --dark-bg: #202020;
  --border-black: #000000;
  --white: #ffffff;
  --link-blue: #006ec7;
  --body-bg: #afbece;
  --text-dark: #000000;
  --text-gray: #5d7690;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;   /* White background as requested */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
  overflow-y: scroll;
}

/* Header background with repeating hback.gif (forced repeat-x) */
#header {
  width: 100%;
  border-bottom: 4px solid #C70D11;
}

.header-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
  width: auto;
}

.logo-text {
  font-size: 28px;
  font-weight: bold;
  color: var(--link-blue);
  text-decoration: none;
  margin-left: 10px;
}

.header-bar {
  background-color: var(--red-dark);
  color: white;
  padding: 4px 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.header-bar .left {
  font-family: Verdana, sans-serif;
}

.header-bar .right {
  font-size: 10px;
}

.header-bar a {
  color: white;
  text-decoration: none;
}

.header-bar a:hover {
  text-decoration: underline;
}

/* Main Layout */
#main-container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 15px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Left Menu */
#menu {
  width: 160px;
  flex-shrink: 0;
}

.menu-box {
  background-color: var(--dark-bg);
  padding: 1px;
  margin-bottom: 15px;
}

.menu-inner {
  background-color: var(--white);
  padding: 8px 12px;
}

.menu-inner a {
  display: block;
  margin: 8px 0;
  color: var(--link-blue);
  font-weight: bold;
  text-decoration: none;
  font-size: 13px;
}

.menu-inner a:hover {
  text-decoration: underline;
  color: #004a8c;
}

.menu-inner .section-title {
  font-size: 11px;
  color: #666;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dotted #ccc;
}

/* Main Content Area */
#content {
  flex: 1;
  max-width: 820px;
}

/* 
   Post styles below are kept for sub-pages that still use divs.
   On the homepage, posts are now rendered with the original nested <table> structure
   (dark outer + black inner + red header + white content) for the authentic clunky primitive look.
   No modern box-shadow — just the old-school multi-layer table borders.
*/

/* For sub-pages main content */
.page-content {
  background-color: var(--white);
  padding: 20px;
  border: 1px solid #ccc;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: var(--text-gray);
  font-size: 11px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Utility */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  #main-container {
    flex-direction: column;
  }
  
  #menu {
    width: 100%;
    max-width: 300px;
  }
  
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}