 /* Reset and base styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #333;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul {
    list-style: none;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }

  /* Navigation - Updated position to top */
  .nav-bar {
    background-color: #e31212;
    color: white;
    position: relative;
    z-index: 1000;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    padding: 18px 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 18px;
  }

  .nav-item:hover {
    background-color: #c10000;
  }

  .nav-item.active {
    background-color: white;
    color: #e31212;
    font-weight: 500;
  }

  /* Mobile menu button */
  .menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 100;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Mobile header title */
  .mobile-header-title {
    display: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 15px 0;
  }

  /* Header/Banner area */
  .banner-area {
    width: 100%;
    height: 850px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
  }

  .banner-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  /* Announcement banner - UPDATED with background image */
  .announcement {
    /* background-image: url('./static/imgzty/announcement-bg.jpg'); */
    background-size: cover;
    background-position: center;
    padding: 25px 0;
    position: relative;
    background-color: #f3e9b6;
  }

  .announcement::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(
      255,
      255,
      255,
      0.8
    ); /* Semi-transparent white overlay */
    z-index: 1;
  }

  .announcement-container {
    display: flex;
    align-items: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
  }

  .announcement-content {
    text-align: center;
    flex-grow: 1;
  }

  .announcement-title {
    font-size: 32px;
    font-weight: bold;
    color: #e31212;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  }

  .announcement-subtitle {
    font-size: 26px;
    color: #e31212;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  }

/* Button styles */
.read-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 50px;
  background-color: #e31212;
  color: white;
  text-decoration: none;
  border-radius: 15px;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #c10000;
}


  /* Title section with decorative lines */
  .title-section {
    text-align: center;
    margin: 40px auto;
    position: relative;
    max-width: 800px;
  }

  .title-section h2 {
    display: inline-block;
    padding: 0 20px;
    font-size: 32px;
    color: #ff7800;
    position: relative;
    z-index: 1;
  }

  .title-section::before,
  .title-section::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 2px;
    background-color: #ff0000;
    width: 30%;
  }

  .title-section::before {
    left: 0;
  }

  .title-section::after {
    right: 0;
  }

  .subtitle-banner {
    background-color: #e31212;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    max-width: 400px;
    margin: 0 auto 30px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
  }

  /* Content image - properly sized */
  .content-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 30px auto;
    text-align: center;
    overflow: hidden;
  }

  .content-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* Content video - UPDATED for popup video */
  .video-thumbnail {
    width: 100%;
    max-width: 1200px;
    height: auto;
    aspect-ratio: 16/9;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  .video-thumbnail:hover .play-button-overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(227, 18, 18, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
  }

  .video-thumbnail:hover .play-button {
    transform: scale(1.1);
  }

  /* Video Modal */
  .video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
  }

  .video-modal.active {
    display: flex;
  }

  .video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background-color: #000;
  }

  .video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
  }

  .video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 10px;
    display: flex;
    align-items: center;
  }

  .video-progress {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
  }

  .video-progress-filled {
    height: 100%;
    background-color: #e31212;
    width: 0;
  }

  .video-button {
    background: none;
    border: none;
    color: white;
    margin-right: 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-time {
    color: white;
    font-size: 14px;
    margin-right: 15px;
  }

  .video-volume {
    display: flex;
    align-items: center;
    margin-right: 15px;
  }

  .video-volume-slider {
    width: 60px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-left: 10px;
    position: relative;
    cursor: pointer;
  }

  .video-volume-filled {
    height: 100%;
    background-color: white;
    width: 100%;
  }

  .video-fullscreen {
    margin-left: auto;
  }

  /* Carousel section */
  .carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
  }

  .carousel {
    display: flex;
    transition: transform 0.5s ease;
    margin: 0 -10px;
  }

  .carousel-item {
    flex: 0 0 calc(25% - 20px);
    height: 448px;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .carousel-image {
    width: 100%;
    height: 383px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
  }

  .carousel-caption {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    color: #333;
  }

  .carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    background-color: #e31212;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
    font-size: 20px;
    font-weight: bold;
  }

  footer {
            background-color: #e31212;
            color: white;
            padding: 30px 0;}

        .footer-container {
            width: 100%;
            padding: 0 40px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            max-width: none;}

        .footer-left {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-left: 20%;}

        .footer-left p {
            margin: 0;
            font-size: 14px;
            line-height: 1.5;}

        .footer-right {
            margin-right: 5%;}

        .footer-right h3 {
            font-size: 14px;
            font-weight: bold;
            margin: 0 0 15px 0;}

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 6px;}

        .footer-links a {
            color: white;
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;}

        .footer-links a:hover {
            color: #ffcccc;}

        .footer-bottom {
            border-top: 1px solid #c10000;
            padding-top: 20px;
            text-align: center;
            margin-top: 30px;}

        .footer-logo {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;}

        .footer-bottom p {
            margin: 4px 0;
            font-size: 14px;}

        /* Mobile responsive for footer */
        @media (max-width: 768px) {
            footer {
                padding: 20px 0;
            }
            
            .footer-container {
                flex-direction: column;
                gap: 0;
                padding: 0 20px;
            }
            
            .footer-left {
                margin-left: 0;
                margin-bottom: 25px;
                text-align: left;
            }
            
            .footer-left p {
                font-size: 13px;
                line-height: 1.6;
                margin-bottom: 6px;
            }
            
            .footer-right {
                margin-right: 0;
                text-align: left;
            }
            
            .footer-right h3 {
                font-size: 15px;
                margin-bottom: 12px;
                border-bottom: 1px solid rgba(255,255,255,0.3);
                padding-bottom: 8px;
            }
            
            .footer-links {
                gap: 8px;
            }
            
            .footer-links a {
                font-size: 13px;
                line-height: 1.5;
                padding: 4px 0;
                display: block;
            }
            
            .footer-bottom {
                margin-top: 25px;
                padding-top: 15px;
            }
            
            .footer-logo {
                font-size: 16px;
                margin-bottom: 6px;
            }
            
            .footer-bottom p {
                font-size: 13px;
                margin: 2px 0;
            }
        }


  /* Back to top button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e31212;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
  }

  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  /* Responsive - UPDATED for mobile menu */
  @media (max-width: 1200px) {
    .carousel-item {
      flex: 0 0 calc(33.333% - 20px);
    }
  }

  @media (max-width: 992px) {
    .carousel-item {
      flex: 0 0 calc(50% - 20px);
    }

    .announcement-title {
      font-size: 28px;
    }

    .announcement-subtitle {
      font-size: 22px;
    }
  }

  @media (max-width: 768px) {
   .banner-area {
      display: none;
    }

    /* Mobile menu styles */
    .nav-bar {
      padding: 0;
      height: 50px;
    }

    .mobile-header-title {
      display: block;
    }

    .menu-toggle {
      display: flex;
    }

    .nav-list {
      flex-direction: column;
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      height: 100vh;
      background-color: #e31212;
      display: block;
      z-index: 1001;
      transition: left 0.3s ease;
      box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
      padding-top: 60px;
      overflow-y: auto;
    }

    .nav-list.active {
      left: 0;
    }

    .nav-item {
      width: 100%;
      text-align: left;
      padding: 15px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-item.active {
      background-color: #c10000;
      color: white;
    }

    /* Overlay for mobile menu */
    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      display: none;
    }

    .menu-overlay.active {
      display: block;
    }

    /* Close button for mobile menu */
    .menu-close {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 30px;
      height: 30px;
      cursor: pointer;
    }

    .menu-close::before,
    .menu-close::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      width: 100%;
      height: 3px;
      background-color: white;
    }

    .menu-close::before {
      transform: rotate(45deg);
    }

    .menu-close::after {
      transform: rotate(-45deg);
    }

    .announcement-title {
      font-size: 24px;
    }

    .announcement-subtitle {
      font-size: 18px;
    }

    .title-section h2 {
      font-size: 24px;
    }

    .subtitle-banner {
      font-size: 16px;
      max-width: 300px;
    }

    .carousel-item {
      flex: 0 0 calc(100% - 20px);
      height: 400px;
    }

    .carousel-image {
      height: 320px;
    }

    .play-button {
      width: 60px;
      height: 60px;
    }

    .play-button::after {
      border-width: 10px 0 10px 18px;
    }

    .video-modal-content {
      width: 100%;
    }
  }

  @media (max-width: 576px) {
    .title-section::before,
    .title-section::after {
      width: 20%;
    }

    .back-to-top {
      width: 40px;
      height: 40px;
      bottom: 20px;
      right: 20px;
    }

    .announcement-title {
      font-size: 22px;
    }

    .announcement-subtitle {
      font-size: 16px;
    }
 .read-more-btn {
      padding: 10px 30px;
      font-size: 16px;
  }
  }

  /* Hamburger menu animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* 鞠躬十三载 */
  .containert {
    width: 1220px;
    height: 468px;
    margin: 0 auto;
    display: flex;
    border: 1px solid #e0e0e0;
  }

  /* 左侧自动轮播图 */
  .left-carouselt {
    flex: 3;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
  }

  .carousel-wrappert {
    width: 100%;
    height: 100%;
  }

  .carousel-slidet {
    width: 100%;
    height: 100%;
    display: none;
    background-color: #e0e0e0;
    text-align: center;
    line-height: 468px;
    font-size: 24px;
    color: #666;
  }

  .carousel-slidet.active {
    display: block;
  }

  /* 轮播控制按钮 */
  .carousel-controlst {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
  }

  .carousel-dott {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }

  .carousel-dott.active {
    background-color: #333;
  }

  /* 右侧图片展示区 */
  .right-galleryt {
    flex: 7;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border: none;
  }

  .gallery-rowt {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-left: 10px;
    border: none;
  }

  .gallery-itemt {
    width: calc(20% - 10px);
    text-align: center;
  }

  .gallery-imaget {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    margin-bottom: 5px;
  }

  .gallery-captiont {
    font-size: 14px;
    color: #333;
  }
  /* 响应式设计 */
  @media (max-width: 768px) {
    .containert {
      flex-direction: column;
      width: 100%;
      height: auto;
    }

    .left-carouselt {
      height: 300px;
    }

    .carousel-slidet {
      line-height: 300px;
      font-size: 18px;
    }

    .right-galleryt {
      padding: 10px 0;
    }

    .gallery-rowt {
      flex-wrap: wrap;
    }

    .gallery-itemt {
      width: calc(33.333% - 10px);
      margin-bottom: 10px;
    }
  }

  @media (max-width: 480px) {
    .gallery-itemt {
      width: calc(50% - 10px);
    }
  }
  /* 页脚的3个视频 */

  .st-video-thumbnails-container {
    width: 1240px;
    height: 305px;
    display: flex;
    justify-content: space-between;
    margin: 30px auto;
    position: relative;
  }

  .st-video-thumbnail {
    width: calc((100% - 20px) / 3);
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0 5px;
  }

  .st-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .st-play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
  }

  .st-video-thumbnail:hover .st-play-button-overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .st-play-button {
    width: 60px;
    height: 60px;
    background-color: rgba(227, 18, 18, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .st-play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 5px;
  }

  .st-video-thumbnail:hover .st-play-button {
    transform: scale(1.1);
  }

  /* Video Modal */
  .st-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
  }

  .st-video-modal.active {
    display: flex;
  }

  .st-video-modal-content {
    position: relative;
    width: 80%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background-color: #000;
  }

  .st-video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
  }

  .st-video-modal video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .st-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 10px;
    display: flex;
    align-items: center;
  }

  .st-video-progress {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
  }

  .st-video-progress-filled {
    height: 100%;
    background-color: #e31212;
    width: 0;
  }

  .st-video-button {
    background: none;
    border: none;
    color: white;
    margin-right: 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .st-video-time {
    color: white;
    font-size: 14px;
    margin-right: 15px;
  }

  .st-video-volume {
    display: flex;
    align-items: center;
    margin-right: 15px;
  }

  .st-video-volume-slider {
    width: 60px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-left: 10px;
    position: relative;
    cursor: pointer;
  }

  .st-video-volume-filled {
    height: 100%;
    background-color: white;
    width: 100%;
  }

  .st-video-fullscreen {
    margin-left: auto;
  }
  /* 移动端适配 */
  @media (max-width: 768px) {
    .st-video-thumbnails-container {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100%;
    }

    .st-video-thumbnail {
      width: 100%;
      height: auto;
      margin: 10px 0;
    }

    .st-video-thumbnail img {
      height: auto;
    }

    .st-video-modal-content {
      max-width: 100%;
    }

    .st-video-controls {
      flex-wrap: wrap;
      padding: 10px;
    }

    .st-video-time {
      order: 1;
      width: 100%;
      margin-bottom: 10px;
      text-align: center;
    }

    .st-video-progress {
      order: 2;
      width: 100%;
      margin-bottom: 10px;
    }

    .st-video-button {
      order: 3;
    }
  }