/* 页面css -- begin */

/* 隐藏所有滚动条 */
::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* 在移动端调整字体大小 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
    /* 手机端字体稍小 */
  }
}

/* 在超小屏幕（如 iPhone SE）进一步调整 */
@media (max-width: 480px) {
  html {
    font-size: 10px;
  }
}

body {
  -ms-overflow-style: none;
  /* IE和Edge */
  scrollbar-width: none;
  /* Firefox */
  overflow: auto;
  overflow-y: scroll;
}

/* 页面css -- end */

/* === BASE HEADING === */

.heading h1 {
  position: relative;
  padding: 0;
  margin: 0;
  /* font-family: "Raleway", sans-serif; */
  font-weight: 600;
  font-size: 3em;
  color: var(--bs-light);
  -webkit-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.heading h1 span {
  display: block;
  line-height: 1.3;
  margin-top: 0.5em;
}

.heading h1 em {
  font-style: normal;
  font-weight: 600;
}

/* === HEADING STYLE #2 === */
.heading .two h1 {
  text-transform: capitalize;
  /* margin-bottom: ; */
  text-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}

.heading .two h1:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  content: "";
  background-color: rgb(230, 0, 0);
}

.heading .two h1 span {
  font-size: 0.5em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 2em;
  padding-left: 0.25em;
  /* color: rgba(0, 0, 0, 0.4); */
  color: var(--bs-light);
  padding-bottom: 10px;
  font-style: italic;
}

.heading .alt-two h1 {
  letter-spacing: 2px;
}

.heading .alt-two h1:before {
  left: 50%;
  margin-left: -30px;
}

/* 在移动端调整字体大小 */
@media (max-width: 768px) {
  .heading .two h1 {
    font-size: 2em;
    font-weight: 600;
  }
  r .heading .two h1 span {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1rem;
  }
}

/* === HEADING STYLE #3 === */
.heading .three h1 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
  font-style: italic;
  /* color: var(--bs-secondary-color) */
  color: rgb(208, 18, 27);
}

.heading .three h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 100px;
  background-color: var(--bs-border-color);
}

.heading .three h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 400px;
  background-color: var(--bs-border-color);
}

/* 图片，鼠标移动上去后，放大、显示蒙版、显示颜色  -- begin */

.image-container {
  position: relative;
  display: inline-block;
  /* border-radius: 15px; */
  /* 圆角大小 */
  overflow: hidden;
  /* 确保圆角效果 */
  /* margin: 20px; */
  height: 280px;
  width: 100%;
}

.image-container .hover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 保持比例填充容器 */
  transition: all 0.3s ease;
}

.image-container .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 0, 0, 0);
  /* 初始透明 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
  opacity: 0;
}

.image-container .overlay-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.image-container .overlay-subtitle {
  font-size: 16px;
}

.image-container:hover .image-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  /* 红色半透明 */
  opacity: 1;
}

.image-container:hover .hover-image {
  transform: scale(1.05);
  /* 可选：悬停时轻微放大 */
}

/* 地理标志图标容器 */
.image-container .geo-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* 地理标志图标 */
.image-container .geo-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* 悬停时图标效果 */
.image-container:hover .geo-indicator {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 1);
}

/* 图片，鼠标移动上去后，放大、显示蒙版、显示颜色  -- end */

.nav-item a.active {
  border-bottom: 2px solid rgb(230, 0, 0);
}

/* 每个部分的开头部分  --  begin */

.banner {
  position: relative;
  width: 100%;
  height: 15em;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.banner > * {
  position: relative;
  z-index: 1;
}

/* 每个部分的开头部分  --  end */

/* 新闻内容  --  begin */

.news_content p {
  line-height: 34px;
  text-indent: 2em;
  font-size: 18px;
}

.news_content img {
  margin-bottom: 20px;
}

/* 新闻内容  --  end */

/* 新闻列表  --  begin */

.news_list {
  margin-top: 20px;
}

.news_list .title {
  font-size: 24px;
  margin-bottom: 4px;
  font-weight: 600;
}

.news_list .content {
  margin-top: 30px;
  font-size: 18px;
  line-height: 30px;
}

/* 新闻列表  --  end */

/* 首页 carousel 中的标题 --  begin */

.hero {
  background-color: rgba(0, 0, 0, 0.5);
  height: 320px;
}

.hero .title {
  font-size: 4rem;
  font-weight: 800;
  padding-bottom: 10px;
}

.hero .title:before {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* 向左移动自身宽度的一半 */
  bottom: 0;
  width: 120px;
  height: 2px;
  content: "";
  background-color: rgb(230, 0, 0);
}

.hero .subtitle {
  margin-top: 1rem;
}

.hero .subtitle p {
  font-size: 1.5rem;
  font-style: italic;
}

/* 在移动端调整字体大小 */
@media (max-width: 768px) {
  .hero {
    height: 220px;
    padding-top: 70px;
  }

  .hero .title {
    font-size: 2rem;
    font-weight: 800;
  }

  .hero .subtitle {
    margin-top: 0.8rem;
  }

  .hero .subtitle p {
    font-size: 1rem;
    font-style: italic;
    margin: 0.3rem;
  }
}

/* 首页 carousel 中的标题 --  end */

/* 对于navbar-item dropdown 的相关修改 -- begin */
.dropdown:hover .dropdown-menu {
  display: block; /* 鼠标悬停，打开菜单 */
}

/* 1. 深色背景 */
.dropdown-menu-dark {
  background-color: rgba(0, 0, 0, 0.8);
}

/* 2. 白色文字 */
.dropdown-menu-dark .dropdown-item {
  color: #ffffff;
  margin: 5px 0px;
  text-align: center;
}

/* 3. 悬停效果 */
.dropdown-menu-dark .dropdown-item:hover {
  background-color: rgb(230, 0, 0, 0.8);
}

/* 4. 选中状态 - 红色 */
.dropdown-menu-dark .dropdown-item.active {
  background-color: rgb(230, 0, 0) !important;
  color: #ffffff !important;
}

/* 对于navbar-item dropdown 的相关修改 -- end */

/* 时令地标 -- begin */

.seasonal_gi_content {
  width: 100%;
  padding: 2rem 0rem;
}

.seasonal_gi_content .title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.seasonal_gi_content .subtitle {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--bs-secondary-color);
}

.seasonal_gi_content p {
  line-height: 34px;
  text-indent: 2em;
  font-size: 18px;
}

.seasonal_gi_content .heading .three {
  margin-bottom: 1.5rem;
}

.seasonal_gi_content .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: rgb(230, 0, 0);
  font-weight: 600;
}

.seasonal_gi_content .image_title {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-top: 0.5rem;
}

.seasonal_gi_content .image_subtitle {
  text-align: center;
  font-weight: 400;
  font-size: 14px;
  margin-top: 0.5rem;
  color: var(--bs-secondary-color);
}

/* 时令地标 -- end */

/* bd-callout 基础样式 -- begin */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  background-color: #f8f9fa;
  border-left: 0.25rem solid rgb(230, 0, 0);
  border-radius: 0.25rem;
}

.bd-callout h4,
.bd-callout h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.bd-callout p {
  font-size: 1rem;
  text-indent: 0em;
}

.bd-callout p:last-child {
  margin-bottom: 0;
}

/* bd-callout 基础样式 -- end */
