/* ===========================
   General Layout & Typography
=========================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #F4F4F4;
  color: #333;
}

/* ===========================
   Header & Sub-header
=========================== */
header {
  background-color: #fff;
  border-bottom: 6px solid #005A32;
  padding: 30px 20px;
  text-align: center;
}

.header-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  height: 70px;
  margin-bottom: 10px;
  object-fit: contain;
}

header h1 {
  font-size: 2.4rem;
  color: #005A32;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.sub-header.centered {
  background-color: #F4F4F4;
  text-align: center;
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
}

.sub-header h2 {
  font-size: 1.6rem;
  color: #005A32;
  margin: 0;
  font-weight: 600;
}

/* ===========================
   Navigation
=========================== */
nav {
  background-color: #F4F4F4;
  padding: 15px;
  text-align: center;
}

nav a {
  display: inline-block;
  background-color: #005A32;
  color: #fff;
  text-decoration: none;
  margin: 5px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: #007B4F;
}

nav a.active {
  border: 2px solid #fff;
}

/* ===========================
   Main Content
=========================== */
main {
  padding: 20px;
}

.intro {
  text-align: center;
  margin-bottom: 30px;
}

.results-table h3 {
  text-align: center;
  margin-bottom: 15px;
}

/* ===========================
   Table Styling
=========================== */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

thead {
  background-color: #005A32;
  color: #fff;
}

th {
  background-color: #005A32;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

tr:nth-child(even) {
  background-color: #F9F9F9;
}

/* ===========================
   Button-style Links
=========================== */
.btn,
.archive-button {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  padding: 6px 12px;
  transition: background-color 0.3s ease;
}

.btn {
  background-color: #D62828;
}

.btn:hover {
  background-color: #a61e1e;
}

.archive-button {
  background-color: #005A32;
  padding: 10px 18px;
  border-radius: 5px;
}

.archive-button:hover {
  background-color: #007f4f;
}

/* ===========================
   Footer
=========================== */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ===========================
   Results Layout
=========================== */
.results-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.results-column {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.results-column h2 {
  font-size: 1.4rem;
  color: #005A32;
  margin-bottom: 15px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

/* ===========================
   Category Group
=========================== */
.category-group {
  margin-bottom: 20px;
}

.category-group h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.category-group ul {
  list-style: none;
  padding-left: 0;
}

.category-group li {
  margin-bottom: 8px;
}

.category-group a {
  color: #0077cc;
  text-decoration: none;
}

.category-group a:hover {
  text-decoration: underline;
}

/* ===========================
   Archive Section
=========================== */
.archive-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.archive-link {
  margin-top: 60px;
  padding: 30px 20px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.archive-link h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #005A32;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.archive-link p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===========================
   Senior Series Table
=========================== */
.results-table table {
  width: 80%;
  margin: 0 auto 40px auto;
}

.results-table th {
  background-color: #005A32;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

.results-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.results-table td a {
  color: #005A32;
  font-weight: bold;
  text-decoration: none;
}

.results-table td a:hover {
  text-decoration: underline;
}