.top-banner {
  background-color: #336699;
  color: white;
  text-align: left;
  padding: 10px 0;
  font-size: 15px;
  font-weight: bold;
}
header {
  background-color: #224466;
  color: white;
  padding: 15px 0;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 2px;
}
nav#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #224466;
  display: flex;
  justify-content: center;
}
nav#nav ul li {
  position: relative;
}
nav#nav ul li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
nav#nav ul li a:hover {
  background-color: #336699;
}
nav#nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #224466;
  min-width: 140px;
  z-index: 1000;
}
nav#nav ul li:hover ul {
  display: block;
}
nav#nav ul li ul li a {
  padding: 10px 15px;
}
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 15px;
}
.vocational-carousel {
  position: relative;       
  overflow: hidden;
  width: 100vw;             
  max-width: 100%;          
  height: 400px;            
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  margin: 0 auto;
}  
.carousel-img {
  width: 100%;
  height: 400px;            
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
}
.carousel-img.active {
  opacity: 1;
  position: relative;
  z-index: 2;
}
.theme-intro {
  margin: 30px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  text-align: center;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white; 
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); 
  padding: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  border-radius: 50%;
  pointer-events: auto;
}
.carousel-arrow.left {
  left: 20px; 
}
.carousel-arrow.right {
  right: 20px;
}
.announcements {
  max-width: 700px;
  margin: 30px auto;
  padding: 0 10px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
}
.announcements h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.8em;
  color: #222;
}
.announcement {
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}
.announcement:last-child {
  border-bottom: none;
}
.announcement h3 {
  margin: 0 0 5px 0;
  font-size: 1.3em;
  color: #444;
}
.announcement time {
  float: right;
  font-size: 0.9em;
  color: #999;
  font-style: normal;
}
.announcement p {
  clear: both;
  white-space: pre-wrap;
  line-height: 1.6;
  margin-top: 10px;
  font-size: 1em;
}
.announcements {
  max-width: 700px;
  margin: 30px auto;
  padding: 0 10px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
}
.announcements > h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 2em;
  color: #222;
}
.announcement {
  margin-bottom: 40px;
}
.announcement h3 {
  font-size: 1.6em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: #444;
}
.announcement time {
  display: block;
  text-align: center;
  font-size: 0.95em;
  color: #888;
  margin-bottom: 15px;
  font-style: normal;
}
.announcements {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 10px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.announcement {
  flex: 1 1 30%;
  box-sizing: border-box;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.announcement h3 {
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: #222;
}
.announcement time {
  display: block;
  text-align: center;
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
  font-style: normal;
  user-select: none;
  text-shadow: 0 0 3px rgba(255,255,255,0.7);
}
.announcements {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 10px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.announcements > h2 {
  flex-basis: 100%; 
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 2em;
  color: #222;
}
.announcements {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 10px;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #333;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.announcements > h2 {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 2em;
  color: #222;
}
.announcement-wrapper {
  flex: 1 1 30%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 280px;
}
.announcement-header {
  width: 100%;
  margin-bottom: 10px;
  text-align: center;
}
.announcement-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #222;
  margin: 0 0 5px 0;
}
.announcement-time {
  font-size: 1em;
  color: #555;
  font-style: normal;
  user-select: none;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.7);
}

.announcement {
  width: 100%;
  height: 320px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #222;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

.announcement p {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 1em;
  margin: 0;
}
.announcement-footer-text {
  flex-basis: 100%;       
  text-align: center;
  font-size: 1.1em;
  color: #444;
  margin-top: 30px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .announcement-wrapper {
    flex: 1 1 100%;
  }
  .announcement {
    height: auto;
  }
}
