/* ========== 页面通用设置 ========== */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* ========== 顶部导航栏 ========== */
.top-bar {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.top-inner {
  width: 60%; /* 与 text-column 对齐 */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
}

nav {
  display: flex;
  gap: 40px;
  align-items: center;
  position: relative;
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  position: relative;
}

nav a:hover {
    color: blue;  /* Changes the text color to blue on hover */
}

/* ========== 下拉菜单样式 ========== */
.dropdown {
  position: relative;
}

.dropdown > a {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 160px;
  padding: 10px 0;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: black;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

/* ========== Banner 样式 ========== */
.banner {
  width: 100%;
  height: 500px;
  background: url('atlbanner.jpg') no-repeat center center;
  background-size: cover;
}

.banner2024 {
  width: 100%;
  height: 500px;
  background: url('atlbanner24.jpg') no-repeat center center;
  background-size: cover;
}
/*

.banner2025 {
  width: 100%;
  height: 500px;
  background: url('atlbanner2025v1.jpg') no-repeat center center;
  background-size: cover;
}
*/

.banner2025 {
    background-image: url('atlbanner2025v1.jpg'); /* Adjust with your actual image path */
    height: 500px; /* Fixed height or adjust as needed */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* Ensures the image covers the div without stretching */
}

/* Media query for devices with a max-width of 600px (common breakpoint for phones) */
@media (max-width: 600px) {
    .banner2025 {
        height: 150px; /* Smaller height for smaller screens */
        background-size: contain; /* Adjusts image size to fit the div without cutting */
    }
}

@media (max-width: 600px) {
    .banner2025 {
        height: 150px;
        background-size: cover; /* Good for landscape orientation */
    }
}

@media (max-width: 600px) and (orientation: portrait) {
    .banner2025 {
        background-size: contain; /* Ensures entire image is visible in portrait mode */
    }
}

/* ========== 页面主内容布局 ========== */
.container {
  display: flex;
  width: 90%;
  margin: 0 auto;
  gap: 30px;
}

/* ========== 左侧 LOGO 栏 ========== */
.logo-column {
  flex: 0 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 垂直靠上 */
  align-items: center;
  padding-top: 40px;
}

.fixed-top-logo {
  max-width: 200px;
  height: auto;
}

/* ========== 中间文字栏 ========== */
.text-column p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}

.text-column h1 {
  text-align: center;
}

.text-column2024 {
    width: 70%;
    margin: 0 auto; /* Centers the div */
    text-align: center; /* Centers the text inside the div */
}

/* ========== 中间核心价值网格 ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}


.value-card {
  background-color: #f9f9f9;
  padding: 7px 16px;  /* 上下12px，左右16px，可根据喜好微调 */
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

.value-card h3 {
  margin-top: 0;
  color: #0a0a0a;
  font-size: 18px;
}

.value-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .container {
    flex-direction: column;
    width: 100% !important;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .values-grid {
    grid-template-columns: 1fr !important;
  }

  .value-card {
    width: 100% !important;
    margin: 3px 0 !important;
    box-sizing: border-box;
  }

  .text-column, .news-column {
    width: 100% !important;
    padding: 0 !important;
  }
}

@media (max-width: 600px) {
  .top-inner {
    width: 100% !important;
    flex-wrap: wrap;           /* 允许换行 */
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
  }

  nav {
    flex-wrap: wrap;           /* 允许菜单项换行显示 */
    gap: 20px;
  }

  nav a {
    font-size: 16px;
    white-space: nowrap;       /* 防止换行断词 */
  }
}

/* ========== 右侧新闻栏 ========== */
.news-column {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
}

.news-column h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.news-column p {
  margin: 6px 0;
  font-size: 16px;
}

/* 高亮新闻链接样式 */
.highlight-news a {
  color: blue;
  text-decoration: underline;
  font-weight: bold;
}

.image-70 {
    width: 70%;
    display: block; /* Makes it easier to center using margin */
    margin: 20px auto; /* Centers the image and adds some space around */
}

/* ========== 页脚样式 ========== */
.site-footer {
  background-color: #1a2230;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  margin: 0 auto;
  gap: 40px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-section p {
  margin: 0;
  font-size: 15px;
}

/* ========== Sponsors 样式 ========== */
.sponsor-logos {
  display: flex;
  gap: 20px;
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
}

.sponsor-item img {
  height: 60px;
  width: auto;
  border-radius: 6px;
  background-color: white;
  padding: 4px;
  margin-bottom: 6px;
}

.sponsor-item p {
  font-size: 14px;
  margin: 0;
}

.sponsor-item a {
    color: white; /* 默认链接颜色设置为白色 */
    text-decoration: none; /* 移除下划线 */
}
    .sponsor-item a:hover {
        color: blue; /* 鼠标悬停时链接颜色变为蓝色 */
    }