/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400&display=swap');

/* =============================================
   BASE & FLEX STICKY FOOTER
   ============================================= */
html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;                    /* Ensures full viewport height */
  background: black;
  color: #e6e6e6;
  font-family: "Times New Roman", serif;
  font-size: 17px;                      /* Modern readable body size */
  line-height: 1.6;
}

/* Main grows to push footer down on short pages */
main.content {
  flex: 1 0 auto;                       /* Key for sticky footer */
}

/* Footer never shrinks and stays at bottom */
footer {
  flex-shrink: 0;
  background: #111;
  padding: 0.125rem 1rem;
  text-align: left;
  border-top: 1px solid #333;
  font-size: 1rem;
  color: #aaa;
}

/* =============================================
   HEADER
   ============================================= */
header {
  width: 100%;
  border-bottom: 1px solid #333;
  padding: 1.5rem 1rem;
  text-align: center;
}

h1 {
  font-family: 'Libre Bodoni', 'Times New Roman', serif;
  font-size: 65px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 2px;
  font-variant: small-caps;
  line-height: 1.1;
  color: #ffffff;
}

.date {
  font-size: 1.25rem;
  color: #aaa;
  margin-top: 0.5rem;
}

/* =============================================
   NAVIGATION MENU
   ============================================= */
.menu {
  background: #111;
  border-bottom: 1px solid #333;
  padding: 0.5rem 0;
  text-align: center;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu li {
  display: inline-block;
  margin: 0 1.25rem;
}

.menu a {
  color: #aaa;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu a:hover,
.menu a:focus {
  color: #ffffff;
}

/* =============================================
   THREE-COLUMN CONTENT (using column-count as you had it)
   ============================================= */
.content {
  padding: 1rem 1rem;
  margin: 0 auto;
  column-count: 3;
  column-gap: 2.5rem;
  column-rule: 1px solid #333;
}

/* Individual story styling (optional but nice) */
.story {
  break-inside: avoid;                  /* Prevents ugly column breaks inside stories */
  margin-bottom: 1rem;
  padding: 1rem;
  background: #111;
  border-radius: 6px;
}

.story h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.story p {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

/* =============================================
   LINKS & GENERAL
   ============================================= */
a {
  color: #aaa;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #ffffff;
}

/* Ensure all text stays light */
p, li, small {
  color: #aaa;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .content {
    column-count: 1;                     /* Single column on mobile */
  }

  h1 {
    font-size: 48px;
  }

  .menu li {
    margin: 0 0.75rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 40px;
  }
}