

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
  background-color: #fefefe;
  margin: 0;
  padding: 0;
}

/* Use container for layout */
.container {
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
}

/* Header */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}


header img {
  height: 60px;
  margin-right: 1.25rem;
  flex-shrink: 0;
}

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

h2 {
  border-bottom: none;
  margin-bottom: 1rem;
  box-shadow: inset 0 -2px 0 #eee;
  padding-bottom: 0.5rem;
}

h2.subtitle {
  font-size: 1.1rem;
  font-weight: normal;
  color: #555;
  margin-top: 0.25rem;
  margin-bottom: 2rem;
  border: none;
  padding: 0;
  box-shadow: none;          
  padding-bottom: 0;        
}


h3 {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

section {
  margin-bottom: 2.5rem;
}


section.announcement {
  max-height: 200px;
  overflow-y: scroll;  /* always show scrollbar */
  background-color: #f0f8ff;
  border-left: 4px solid #0055a4;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

section.announcement::-webkit-scrollbar {
  width: 8px;
}

section.announcement::-webkit-scrollbar-thumb {
  background-color: #0055a4;
  border-radius: 4px;
  transition: background-color 0.3s;
}

section.announcement::-webkit-scrollbar-thumb:hover {
  background-color: #003d7a;
}

section.announcement::-webkit-scrollbar-track {
  background-color: #f0f8ff;
}

section.announcement h2 {
  margin-top: 0.25rem; 
  margin-bottom: 1rem; 
}



p {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

/* Links */
a {
  color: #0055a4;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: 2px dashed #0055a4;
  outline-offset: 2px;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.625rem;
}

th,
td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: left;
}

th {
  background-color: #fefefe;
}

/* Responsive */

@media (max-width: 768px) {
  .container {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header img {
    margin-right: 0;
    margin-bottom: 0.625rem;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 1.25rem auto;
    padding: 0 0.75rem;
  }

  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  th,
  td {
    padding: 0.375rem;
  }

  header {
    align-items: center;
  }
}


@media (max-width: 600px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/*  Dark Mode */

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #f1f1f1;
  }

  a {
    color: #66aaff;
  }

  th {
    background-color: #2a2a2a;
  }

  td,
  th {
    border-color: #444;
  }
}
