/* Core variables and colors (optional future enhancement)
:root {
  --bg-black: #000000;
  --text-light: #CCCC99;
  --link-red: #E60606;
  --link-visited: #666666;
  --link-hover: #FFFFFF;
}

/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  background-image: url('/images/BGImage8.jpg');
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
  color: #CCCC99;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

/* Link styling */
a:link {
  color: #E60606;
  text-decoration: none;
}

a:visited {
  color: #666666;
  text-decoration: none;
}

a:active {
  color: #FFFFFF;
  text-decoration: none;
}

a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Layout sections */
header {
  background-color: transparent;
  color: #CCCC99;
  text-align: center;
  padding: 1rem;
  border-bottom: 2px solid #222;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

.layout {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

nav {
  background-color: transparent;
  padding: 1rem;
  flex: 0 1 auto;
  border-right: 2px solid #222;
}

nav a {
  display: block;
  color: #CCCC99;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

main {
  flex: 1;
  padding: 1rem;
  background-color: transparent;
}

footer {
  background-color: transparent;
  color: #CCCC99;
  text-align: center;
  padding: 1rem;
  border-top: 2px solid #222;
}

/* Listing page additions */
.archive-list {
  list-style: none;
  padding-left: 0;
}

.archive-list li {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  color: #CCCC99;
}

.archive-list li strong {
  display: block;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  color: #CCCC99;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  nav {
    border-right: none;
    border-bottom: 2px solid #222;
  }
}

/* Style nh/ron email */
.nighthawk-email,
.ron-email {
  color: #E60606;
  text-decoration: underline;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 13px;
  transition: color 0.2s, text-decoration 0.2s;
}

.nighthawk-email:hover,
.ron-email:hover {
  color: white;
  text-decoration: underline;
}

/* Legacy archive page compatibility */
#post_date {
  text-align: center;
  color: #FFFFFF;
  font-style: italic;
  font-size: 19px;
  font-weight: bold;
}

#post_title {
  text-align: center;
  color: #CCCCCC;
  font-style: italic;
  font-weight: bold;
  font-size: 19px;
}

#post_body {
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

#person_that_posted {
  text-align: left;
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: red;
  margin-bottom: 2em;
}

#person_that_posted span,
#person_that_posted .nighthawk-email,
#person_that_posted .ron-email {
  color: red;
  font-style: normal;
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, text-decoration 0.2s;
}

/* Hover behavior for clickable names */
#person_that_posted span:hover,
#person_that_posted .nighthawk-email:hover,
#person_that_posted .ron-email:hover {
  color: white;
  text-decoration: underline;
}

#index-header {
  background-color: #000;
  height: 80px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.archive-nav {
  text-align: center;
  margin: 2em 0;
  font-size: 14px;
}

.archive-nav a {
  margin: 0 1em;
  color: #E60606;
  text-decoration: none;
}

.archive-nav a:hover {
  text-decoration: underline;
}
