body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

header {
  background: #004466;
  color: white;
  padding: 2rem;
  text-align: center;
}

.slideshow {
  position: relative;
  width: 100%;
  max-width: 900px; /* container max width */
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio, adjust if needed */
  margin: auto;
  overflow: hidden;
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills container, crops if needed */
  object-position: center; /* keeps center of image in view */
}

@media (max-width: 600px) {
  .slideshow {
    padding-bottom: 75%; /* taller slideshow on mobile */
  }
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  background: rgba(0,0,0,0.5);
  border-radius: 3px;
  transform: translateY(-50%);
}

.weather {
  text-align: center;
}

.weatherwidget-io {
  margin: 1rem auto;
  max-width: 400px; /* keeps it compact on desktops */
  display: inline-block;
}

.prev { left: 10px; }
.next { right: 10px; }
.announcements ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.announcements li {
  background: #f9f9f9;
  border-left: 4px solid #004466;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-radius: 4px;
  font-size: 1rem;
}


.block {
  background: white;
  margin: 1rem auto;
  padding: 2rem;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1rem;
}
