* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

table a,
.news-item p a {
  color: #0077b9;
  text-decoration: underline;
  transition: color 0.3s ease;
}

table a:hover,
.news-item p a:hover {
  color: #f9be17;
}

body {
  background: linear-gradient(to bottom right, #d6ecfa, #d6ecfa);
}

nav {
  width: 250px;
  background-color: #34495e;
  color: #ecf0f1;
  padding: 20px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
}

nav ul {
  list-style: none;
}

nav ul li {
  margin: 10px 0;
}

nav ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

nav ul li a:hover {
  color: #f9be17;
}

.submenu {
  display: none;
  margin-left: 15px;
}

.has-submenu.open .submenu {
  display: block;
}

.arrow {
  margin-left: 6px;
  font-size: 0.7em;
  display: inline-block;
  transform: translateY(1px);
}

main {
  margin-left: 250px;
  padding: 30px;
  flex: 1;
}

main h1 {
  font-size: 32px;
  color: #0077b9;
  margin-bottom: 10px;
}

main p {
  color: #555;
  margin-bottom: 30px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
  }

.news-thread {
  margin-top: 20px;
  padding: 25px;
  background: #ffffff;
  border-left: 8px solid #f9be17;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.news-thread h2 {
  margin-bottom: 15px;
  color: #0077b9;
}

.news-item {
  margin-bottom: 20px;
  padding-bottom: 0px;
  border-bottom: 1px solid #ddd;
}

.news-item h3 {
  margin-bottom: 5px;
  color: #2980b9;
}

.news-item p {
  color: #333;
}

.news-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 8px;
}

/* Hamburger Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  background-color: #0077b9;
  border: none;
  padding: 10px 12px;
  border-radius: 6px;
  z-index: 1001;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: #f9be17;
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    z-index: 999;
    overflow-y: auto;
  }

  nav.open {
    transform: translateY(0);
  }

  main {
    margin-left: 0 !important;
    padding-top: 80px;
  }

}

/* Apply paragraph font styling to table text */
table, table td, table th {
  color: #555;
}