/* 基础样式重置 */
body, dd, dl, fieldset, form, h1, h2, h3, h4, h5, h6, input, legend,p, select, td, textarea, th, ul {
	margin:0;
	padding:0
}

html {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  font-size: 62.5%; /* 使 1rem = 10px，便于计算 */
}


@media screen and (min-width:1367px) {
body .main {
width:1920px!important;
position:relative;
left:50%;
transform:translateX(-50%);
z-index:1
}
}
video {
	outline:0
}
a {
	color:initial;
	text-decoration:none;
	color:#000;
	outline:0;
	font-size: 15px;
}
a:hover {
	color:initial;
	text-decoration:none;
	font-size: 15px;
}

img {
	border:0;
	vertical-align:middle;
	object-fit:cover;
	font-family:"微软雅黑"
}

p {
	word-wrap:break-word
}


/* 基础样式 */
body {
	font-size: 15px; /* 默认字体大小为 16px */
}

.footer {
  width: 100%;
  box-sizing: border-box;
  background-color: #f3f5f7;
  margin-top:32px;
}

.footer .footer_main {
  width: 100%;
  margin: 0 auto;
  padding-left: 0;
  box-sizing: border-box;
}

.footer .footer_main .bottom_box {
	width: 100%;
	text-align: center;
	background-color: #182e82;
}

.footer .footer_main .bottom_box .bottom_w img {
  height: auto;
}

.footer .footer_main .left_right_parent {
	width: 90%;
	max-width: 1350px;
	margin: 0 auto;
	padding-top: 4rem;
	padding-bottom: 5rem;
	position: relative;
}



.footer .footer_main .left_right_parent .left .titles {
	font-size: 20px;
	font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
	font-weight: 700;
	color: #122b55;
	line-height: 3rem;
}

.footer .footer_main .left_right_parent .left .sponsor {
	border-bottom: 1px solid #122b55;
	padding: 3.3rem 0;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul {
  display: inline-block;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li {
  float: left;
  width: 3.9rem;
  height: 3rem;
  margin-right: 5rem;
  position: relative;
  list-style:none;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li .img {
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 10;
  position: absolute;
  bottom: -10rem;
  left: -2.2rem;
  width: 8.4rem !important;
  height: 8.4rem !important;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li .img::before {
  content: "";
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #fff;
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%);
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li .img .wxscale {
  width: 100%;
  height: 100%;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li a img {
  transition: opacity 0.5s;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-top:0.8rem;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li a img:nth-child(1) {
  opacity: 1;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li a img:nth-child(2) {
  opacity: 0;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li a:hover img:nth-child(1) {
  opacity: 0;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li a:hover img:nth-child(2) {
  opacity: 1;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li a:hover .wxscale {
  opacity: 1;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li:hover .img {
  opacity: 1;
}

.footer .footer_main .left_right_parent .right {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.footer .footer_main .left_right_parent .right .top_main {
	padding: 2rem 0 1.8rem 0;
	width: 100%;
	border-bottom: 0.1rem solid #122b55;
}

.footer .footer_main .left_right_parent .right .top_main .top {
	width: 80rem;
	box-sizing: border-box;
	padding-bottom: 1rem;
	display: flex;
	justify-content: space-between;
}

.footer .footer_main .left_right_parent .right .top_main .top > li {
  float: left;
  position: relative;
  font-size: 0 !important;
  list-style:none;
}

.footer .footer_main .left_right_parent .right .top_main .top > li:last-child {
  margin-right: 0;
}

.footer .footer_main .left_right_parent .right .top_main .top > li > p {
	font-size: 1.6rem;
	font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
	font-weight: 700;
	color: #122b55;
	line-height: 1.6rem;
}



.footer .footer_main .left_right_parent .right .top_main .top > li ul {
	width: 100%;
	display: inline-block;
	margin-top: 1.5rem;
	font-size: 0 !important;
}

.footer .footer_main .left_right_parent .right .top_main .top > li ul li {
	margin-bottom: 0.5rem;
	font-size: 15px !important;
	list-style:none;
}

.footer .footer_main .left_right_parent .right .top_main .top > li ul li a {
	font-size: 15px;
	font-family: "微软雅黑";
	color: #122b55;
	line-height: 1.6rem;
}

.footer .footer_main .left_right_parent .right .top_main .top > li ul li a:hover {
  text-decoration: underline;
}

.footer .footer_main .left_right_parent .right .top_main .top > li .Giving_li {
  cursor: pointer;
}

.footer .footer_main .left_right_parent .right .bottom {
  width: 100%;
  box-sizing: border-box;
  margin-top: 2.2rem;
  font-size: 0 !important;
  overflow: hidden; /* 清除浮动影响 */
}

/* 4. 修复列的宽度和间距 - 确保不溢出 */
.footer .footer_main .left_right_parent .right .bottom > li {
  float: left;
  position: relative;
  /* 关键：根据总列数计算宽度（假设4列） */
  width: calc(28% - 3.75rem);
  margin-right: 5rem;
  font-size: 0 !important;
  min-width: 200px; /* 缩小最小宽度，避免挤压 */
}




.footer .footer_main .left_right_parent .right .bottom > li:nth-child(3) {
  width: calc(44% - 3.75rem);
  margin-left: 0 !important;
}

.footer .footer_main .left_right_parent .right .bottom > li:nth-child(4) {

  margin-left: 0 !important;
}

/* 6. 修复子列表项浮动影响 */
.footer .footer_main .left_right_parent .right .bottom > li > ul li {
  float: none; /* 移除浮动，避免影响grid布局 */
  margin-right: 0;
  width: 100%;
}


.footer .footer_main .left_right_parent .right .bottom > li:last-child {
  margin-right: 0;
}

.footer .footer_main .left_right_parent .right .bottom > li > p {
  font-size: 1.6rem;
  font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
  font-weight: 700;
  color: #122b55;
  line-height: 1.8rem;
  margin-bottom:15px;
}

.footer .footer_main .left_right_parent .right .bottom > li > p span{
  font-size: 15px;
  font-family: MicrosoftYaHei;
  font-weight: 500;
  color: #122b55;
  line-height: 1.8rem;
}


 .copy{
	font-size: 15px;
	font-family: MicrosoftYaHei;
	font-weight: 500;
	color: #122b55;
	line-height: 1.8rem;
	text-align: center;
	margin-top:15px;
}



.footer .footer_main .left_right_parent .right .bottom > li > ul {
  margin-top: 2.5rem;
}

.footer .footer_main .left_right_parent .right .bottom > li > ul li {
  float: left;
  margin-right: 4.4rem;
}


    .footer .left_right_parent .right .bottom > li:nth-child(1) {

    margin-top: 10px;
}
  

 .footer .left_right_parent .right .bottom > li:nth-child(2) {

    margin-top: 10px;
}
  

.footer .footer_main .left_right_parent .right .bottom > li > ul li:last-child {
  margin-right: 0;
}

.footer .footer_main .left_right_parent .right .bottom > li > ul li p.title {
  display: inline-block;
  font-size: 1.6rem;
  font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
  font-weight: 700;
  color: #122b55;
  line-height: 1.8rem;
}

.footer .footer_main .left_right_parent .right .bottom > li > ul li p.last {
  margin-top: 7.1rem;


}

.footer .footer_main .left_right_parent .right .bottom > li > ul li p.content {
  font-size: 1.4rem;
  font-weight: 400;
  color: #122b55;
  line-height: 1.6rem;
  /* 移除限制行数与方向的旧样式，改用 flex 布局 */
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 控制每个 span 之间的间距 */
}

.footer .footer_main .left_right_parent .right .bottom > li > ul li p.content span {
	/* 让每个 span 占满父容器一半宽度（减去间距），实现一行 2 个 */
  width: calc(50% - 5px);
	display: block;
	font-size: 15px;
	font-family: "微软雅黑";
	color: #122b55;
	line-height: 1.2rem;
	margin-bottom: 0.2rem;
}


/* 同學會基地五行两列布局 */
.base-item {
  display: flex;
  flex-wrap: wrap; /* 自动换行 */
  list-style: none;
  margin: 0;
  padding: 0;
}

.base-link {
  flex: 0 0 50%; /* 每个链接占50%宽度，实现一行两个 */
  box-sizing: border-box;
  font-size: 15px;
  font-family: "微软雅黑";
  color: #122b55;
  line-height: 2.2; /* 行高适中，确保每行清晰分隔 */
  padding-right: 15px;
  text-decoration: none;
}

.base-link:hover {
  color: #182e82;
  text-decoration: underline;
}

/* 公众号图标样式 */
.wechat-container {
  margin-top: 15px;

}

.wechat-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.wechat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
  max-width: 180px;
}

.wechat-item img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.wechat-text {
  color: #122b55;
  margin-top: 8px;
  font-size: 15px;
  font-family: "微软雅黑";
}

/* 大屏幕适配 */
@media screen and (min-width: 1367px) {
  .footer .footer_main {
    max-width: 1920px;
    margin: 0 auto;
  }
  
 .footer .footer_main .bottom_box {
	width: 100%;
	text-align: center;
	background-color: #182e82;
}

.footer .footer_main .bottom_box .bottom_w img {
	width: 180px;
  height: auto;
  padding-top:10px;
  padding-bottom:10px;
}
}

/* 中等屏幕适配 */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  .footer .left_right_parent {
    width: 76%;
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
  
  .footer .bottom_box {
    height: 7.5rem;
  }
  
  .footer .bottom_box .bottom_w {
    line-height: 7.5rem;
  }
  
  .footer .bottom_box .bottom_w img {
    width: 15.7rem;
    height: 4.8rem;
  }
  
  .footer .left_right_parent .bottom_bg {
    top: 16.8rem;
    width: 43.6rem;
    height: 44rem;
  }
  
  .footer .left_right_parent .left .titles {
    font-size: 1.4rem;
    line-height: 1.9rem;
  }
  
  .footer .left_right_parent .left .sponsor .sponsor_ul li {
    width: 2.8rem;
    height: 2.2rem;
    margin-right: 3.7rem;
  }
  
  .footer .left_right_parent .right .top_main .top {
    width: 50rem;
  }
  
  .footer .left_right_parent .right .top_main .top > li > p {
    font-size: 1.4rem;
  }
  
  .footer .left_right_parent .right .top_main .top > li ul li a {
    font-size: 1.2rem;
  }
  
  .footer .left_right_parent .right .bottom > li {
    margin-right: 4.8rem;
  }
  
  .footer .left_right_parent .right .bottom > li > p {
    font-size: 1.4rem;
  }
  
  .footer .left_right_parent .right .bottom > li > ul li p.title {
    font-size: 1.4rem;
  }
  
  .footer .left_right_parent .right .bottom > li > ul li p.content {
    font-size: 1.2rem;
  }
  
  .footer .left_right_parent .right .bottom > li > ul li p.content span {
    font-size: 1.2rem;
  }
}

/* 小屏幕适配 - 重点修复手机端两个栏目的宽度问题 */
@media screen and (max-width: 768px) {
  /* 1. 确保最外层容器宽度充足 */
  .footer .left_right_parent {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    margin: 0 !important;
  }
  
  .footer .bottom_box {
  height: 7rem;
  }
  
  .footer .bottom_box .bottom_w {
    line-height: 7rem;
  }
  
  .footer .bottom_box .bottom_w img {
    width: 15.7rem;
    height: 4.8rem;
  }
  
  .footer .left_right_parent .bottom_bg {
    right: -1.8rem;
    top: 32rem;
    width: 37rem;
    height: 37.2rem;
  }
  
  .footer .left_right_parent .left .titles {
    font-size: 1.4rem;
    line-height: 1.9rem;
  }
  
  .footer .left_right_parent .left .sponsor .sponsor_ul li {
    width: 2.5rem;
    height: 2.2rem;
    margin-right: 3.1rem;
	
  }
  
  
  
  .footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li {
  float: left;
  width: 3.9rem;
  height: 3rem;
  margin-right: 0.5rem;
  position: relative;
}

.footer .footer_main .left_right_parent .left .sponsor .sponsor_ul li .img {
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 10;
  position: absolute;
  bottom: -10rem;
  left: -2.2rem;
  width: 8.4rem !important;
  height: 8.4rem !important;
}
  
  

  /* 手机端栏目两行两列布局 */
  .footer .left_right_parent .right .top_main .top {
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
  }
  
  .footer .left_right_parent .right .top_main .top > li {
    width: calc(50% - 10px) !important;
    float: none !important;
    margin-right: 0 !important;
  }
  
  /* 2. 修复"同學會基地"栏目 - 确保铺满屏幕 */
  .footer .left_right_parent .right .bottom > li:nth-child(1) {
    width: 100% !important;
    float: none;
    margin: 10px 0 20px 0 !important;
    padding: 0;
  }
  
  .base-item {
    width: 100% !important;
    padding: 0;
    margin: 0;
    gap: 10px;
  }
  
  .base-link {
    flex: 1 0 calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    font-size: 1.4rem;
    line-height: 1.8;
    padding: 0 5px;
  }
  
  /* 3. 修复"旗下網站"栏目 - 确保铺满屏幕 */
  .footer .left_right_parent .right .bottom > li:nth-child(2) {
    width: 100% !important;
    float: none;
    margin: 0 0 20px 0 !important;
    padding: 0;
  }
  
  .footer .left_right_parent .right .bottom > li:nth-child(2) > ul {
    width: 100% !important;
    padding: 0;
    margin: 2.5rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .footer .left_right_parent .right .bottom > li:nth-child(2) > ul li {
 
  }
  
  /* 其他底部区块样式保持不变 */
  .footer .left_right_parent .right .bottom > li {
    margin-right: 0 !important;
    margin-bottom: 20px;
  }
  
  .footer .left_right_parent .right .top_main .top > li > p {
    font-size: 1.4rem;
    line-height: 1.9rem;
  }
  
  .footer .left_right_parent .right .top_main .top > li ul li a {
    font-size: 1.2rem;
  }
  
  .footer .left_right_parent .right .bottom {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .footer .left_right_parent .right .bottom > li:nth-child(3) {
    width: 100%;
  }
  
  .footer .footer_main .left_right_parent .right .bottom > li:nth-child(3) {
  width: 100%;
  margin-left: 0 !important;
}
  
  .footer .footer_main .left_right_parent .right .bottom > li:nth-child(4) {
  margin-left: 0rem;
}
  
  .footer .left_right_parent .right .bottom > li > p {
    font-size: 1.4rem;
  }
  
  .footer .left_right_parent .right .bottom > li > ul li p.title {
    font-size: 1.4rem;
  }
  
  .footer .left_right_parent .right .bottom > li > ul li p.content {
    font-size: 1.2rem;
  }
  
  .footer .left_right_parent .right .bottom > li > ul li p.content span {
    font-size: 1.2rem;
    white-space: normal;
    word-break: break-word;
  }

  /* 手机端公众号布局调整 */
  .wechat-grid {
    gap: 15px;
  }
  
  .wechat-item {
    min-width: 100px;
  }
}

/* 超大屏幕适配 */
@media screen and (min-width: 1921px) {
  .footer .left_right_parent {
    max-width: 1280px;
  }
}
