:root {
  --text-color-default: #000;
  --text-color-primary: #323232;
  --text-color-secondary: #6c6c6c;
  --text-color-meta: #737474;
  --text-color-hint: #999;
  --text-color-input: #333;
  --placeholder-color: #b1b1b1;
  --text-color-white: #fff;
  --bg-color-page: #f7f7f7;
  --bg-color-white: #fff;
  --bg-color-primary: #249fac;
  --bg-color-secondary: #f2f2f2;
  --border-color-primary: #249fac;
  --box-shadow-default: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 -10px 15px -3px rgba(0, 0, 0, 0.05);
}
body,
html {
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.page {
  width: 100%;
  min-width: 1200px;
  min-height: 100%;
  background: url("../img/loginBg.jpg") no-repeat;
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
}

/* 中间区域 */
.main {
  width: 1200px;
  margin: 5% auto 0;
  padding-bottom: 100px;
  /* background-color: palegoldenrod; */
}

.main .top {
  width: 1000px;
  margin: 0 auto;
  /* background-color: palegoldenrod; */
}

.main .top img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.contentArea {
  width: 700px;
  margin: 100px auto 0;
}

/* 1.学校登录 */
.main .login_content {
  width: 100%;
  padding: 35px 60px 30px;
  box-sizing: border-box;
  margin: 0px auto;
  background-color: #fff;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.content_title_img {
  width: 40%;
  margin: 0 auto;
}
.content_title_img img {
  width: 100%;
  height: auto;
  display: block;
}
.content_title_tip {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  color: #727272;
}
.login_area {
  margin-top: 35px;
  /* background-color: palegoldenrod; */
}

/* input */
.area_item {
  width: 100%;
  margin-bottom: 40px;
}

.area_item input {
  padding: 0 20px;
  display: block;
  width: 100%;
  height: 55px;
  background-color: #ebebeb;
  border-radius: 8px;
  box-sizing: border-box;
  border: none;
  outline: none;
  font-size: 18px;
  color: #333333;
}

.area_item input::placeholder {
  color: #a1a1a1;
  font-size: 17px;
}

.item_tips {
  /* background-color: pink; */
  font-size: 12px;
  padding-left: 4px;
  box-sizing: border-box;
  color: var(--text-color-secondary);
  margin: 8px 0 25px;
  line-height: 18px;
}

.layui-input:hover {
  border-color: #249fac !important;
}

.layui-input:focus {
  border-color: #249fac !important;
  box-shadow: none !important;
}

.area_code {
  display: flex;
  justify-content: space-between;
}

.area_code input {
  width: calc(100% - 180px);
}

.area_code .sendBtn {
  display: block;
  width: 160px;
  background-color: #249fac;
  text-align: center;
  height: 55px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 18px;
  color: #ffffff;
  line-height: 55px;
  cursor: pointer;
}

.loginBtn {
  width: 100%;
  height: 55px;
  text-align: center;
  line-height: 55px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  margin-top: 40px;
  background-color: #249fac;
  letter-spacing: 2px;
  font-weight: bold;
}

.targetTips {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
}
.targetTips a {
  font-size: 16px;
  color: #747474;
  text-decoration: underline;
  outline: none;
  cursor: pointer;
}
.targetTips a:hover {
  color: #5e5a5a;
}

.banquan {
  width: 100%;
  padding: 0px 0px 0 20px;
  box-sizing: border-box;
  margin: 30px auto 0;
  /* background-color: lightblue; */
}

.banquan p {
  font-size: 14px;
  width: 100%;
  line-height: 1.7;
  letter-spacing: 1px;
  color: #585858;
}
.banquan p span:nth-child(n + 1) {
  margin-left: 10px;
}

/* 2.作品展示页面 */

.flexCenter {
  display: flex;
  align-items: center;
}
.flexCenter {
  display: flex;
  align-items: center;
}
.mb35 {
  margin-bottom: 35px;
}

.page_index {
  width: 100%;
  min-height: 100%;
  min-width: 1250px;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color-default);
}

.banner {
  width: 100%;
}
.banner img {
  width: 100%;
  height: auto;
  display: block;
}
.mainArea {
  width: 1200px;
  flex: 1;
  margin: 100px auto;
}

.areaContent {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.contentLeft {
  width: 820px;
  background-color: var(--bg-color-white);
  box-shadow: var(--box-shadow-default);
  border-radius: 10px;
  overflow: hidden;
  align-self: flex-start;
}
.workShow {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}
.blockTitle {
  width: 202px;
  margin: 0 auto;
}
.blockTitle img {
  width: 100%;
  display: block;
}

.blockContent {
  margin-top: 45px;
}

.byItemLeft {
  width: 51px;
  height: 35px;
  line-height: 35px;
  flex-shrink: 0;
  font-size: 14px;
  align-self: flex-start;
  color: var(--text-color-secondary);
}

.byItemRight {
  width: calc(100% - 51px);
  display: flex;
  flex-wrap: wrap;
}

.byItemRight span {
  width: 93px;
  height: 35px;
  line-height: 35px;
  color: var(--text-color-secondary);
  background-color: var(--bg-color-secondary);
  border-radius: 5px;
  margin-right: 13px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  flex-shrink: 0;
}
.typeRight span {
  margin-bottom: 25px;
}
.typeRight span:nth-child(7n) {
  margin-right: 0;
}
.typeRight span:nth-child(n + 7) {
  margin-bottom: 0;
}
.byItemRight .span_active {
  color: var(--text-color-white);
  background-color: var(--bg-color-primary);
}

.searchArea {
  padding-left: 51px;
  box-sizing: border-box;
}
.searchRight {
  width: 100%;
}

.searchRight input {
  width: 80%;
  padding: 0 15px;
  box-sizing: border-box;
  color: var(--text-color-input);
  font-size: 16px;
  height: 44px;
  border: 2px solid var(--border-color-primary);
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.searchRight input::placeholder {
  color: var(--placeholder-color);
  font-size: 15px;
  letter-spacing: 1px;
}

.searchRight button {
  width: 20%;
  height: 44px;
  line-height: 44px;
  color: var(--text-color-white);
  background-color: var(--bg-color-primary);
  text-align: center;
  font-size: 16px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.searchRight button:hover {
  opacity: 0.9;
}
.listArea {
  width: 100%;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
}
.work_item {
  width: calc(33.333% - 16px);
  margin-right: 24px;
  margin-bottom: 20px;
  cursor: pointer;
}
.work_item:nth-child(3n) {
  margin-right: 0;
}

.work_top {
  width: 100%;
  max-height: 177px;
  overflow: hidden;
}

.work_top img {
  width: 100%;
  min-height: 177px;
  transition: all 0.735s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work_top img:hover {
  transform: scale(1.1);
}
.work_bottom {
  margin-top: 20px;
  cursor: pointer;
}
.work_bottom h3 {
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 0.3s cubic-bezier(0.43, 0.195, 0.02, 1);
}

.work_bottom .workInfo {
  color: var(--text-color-secondary);
  font-size: 15px;
  margin-top: 17px;
  padding: 0 5px 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workInfo .info_school {
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.workInfo .info_author {
  width: 80px;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.work_top:hover + .work_bottom h3 {
  color: var(--bg-color-primary);
}

/* 弹窗 */
.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 100%;
  max-width: 800px;
  /* background-color: white; */
  border-radius: 15px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  overflow: hidden;
}
.popup * div {
  box-sizing: border-box;
}
.popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
/* 弹窗头部 */
.popup-header {
  background: linear-gradient(135deg, #39a2ad 0%, #249fac 100%);
  color: white;
  padding: 25px 10px 15px;
  position: relative;
}
.popup-title {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}
.popup-meta {
  text-align: center;
  color: #ffffffd5;
  font-size: 14px;
}
.subDetail {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subDetail span {
  font-size: 16px;
  color: #999999;
  margin: 0 20px;
}

.close_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
/* 弹窗内容 */
.popup .popup-content {
  padding: 30px;
  position: relative; 
  background-color: #fff;
}

/* 修改滚动区域样式 */
.scrollArea {
  width: 100%;
  max-height: calc(100vh - 200px); 
  overflow-y: auto; 
  overflow-x: hidden; 
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
}

.scrollArea::-webkit-scrollbar {
  width: 6px; /* 滚动条宽度 */
}
.scrollArea::-webkit-scrollbar-track {
  background: #f5f5f5; /* 滚动条轨道背景 */
}
.scrollArea::-webkit-scrollbar-thumb {
  background-color: #ccc; /* 滚动条滑块背景 */
  border-radius: 3px;
}

/* 图片样式调整，确保适应滚动区域 */
.thubImg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.thubImg img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.scrollArea video {
  width: 100%;
  /* height: 520px; */
  border: none;
  outline: none;
}

/* 分页 */
.block_pagenation {
  margin: 30px auto 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
  background-color: var(--bg-color-primary);
}
.layui-laypage a:hover {
  color: var(--bg-color-primary);
}

.contentRight {
  width: 350px;
}
.contentRight .blockTitle {
  width: 180px;
}

.backBtn {
  width: 100%;
  margin-bottom: 30px;
  cursor: pointer;
}

.backBtn img {
  width: 100%;
  height: 100%;
  display: block;
}

.teacherLogin {
  width: 100%;
  padding: 30px 20px;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: var(--box-shadow-default);
  margin-bottom: 30px;
}

.contentRight .login_area {
  margin-top: 30px;
}
.contentRight .login_area .area_item {
  margin-bottom: 25px;
}
.contentRight .login_area .area_item input {
  height: 45px;
  border-radius: 4px;
  font-size: 17px;
}
.contentRight .login_area .area_item input::placeholder {
  font-size: 16px;
}
.contentRight .login_area .area_code input {
  width: calc(100% - 135px);
}
.contentRight .login_area .area_item .sendBtn {
  width: 120px;
  height: 45px;
  line-height: 45px;
  font-size: 15px;
  border-radius: 4px;
}

.contentRight .login_area .loginBtn {
  height: 45px;
  line-height: 45px;
  font-size: 17px;
  border-radius: 4px;
}
.contentRight .login_area .loginBtn:hover {
  opacity: 0.9;
}

/* 证书查询和下载 */
.prizeQuery {
  width: 100%;
  padding: 30px 20px;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: var(--box-shadow-default);
}

.prizeQuery .querBtn {
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  color: #ffffff;
  cursor: pointer;
  margin-top: 40px;
  background-color: var(--bg-color-primary);
  letter-spacing: 2px;
  font-weight: bold;
  height: 45px;
  line-height: 45px;
  font-size: 17px;
  border-radius: 4px;
}
.prizeQuery .querBtn:hover {
  opacity: 0.9;
}
.backBtn_normal {
  width: 350px;
  height: auto;
  margin-bottom: 30px;
  cursor: pointer;
}
.backBtn_normal img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.queryPrizeDetail {
  width: 820px;
  padding: 40px 50px;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: #fff;
  float: left;
}
.prizeTitle {
  width: 215px;
  margin: 0 auto;
}
.prizeTitle img {
  width: 100%;
  height: auto;
  display: block;
}
.prizeImg {
  width: 65%;
  margin: 30px auto;
  cursor: pointer;
  box-shadow: 0 0 10px 0 #ccc;
}
.prizeImg img {
  width: 100%;
  max-width: 100%;
  display: block;
}
.downTips {
  margin-top: 30px;
}
.downTips p {
  font-size: 16px;
  text-align: center;
  line-height: 27px;
}

.downBtn {
  width: 150px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  background-color: var(--bg-color-primary);
  margin: 30px auto 0;
}


/* 资讯 */
.announceAra {
  width: 100%;
  padding: 30px 20px 15px;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: var(--box-shadow-default);
  margin-top: 30px;
}

.infoList {
  margin-top: 15px;
}
.infoList .list_box {
  display: flex;
  padding: 18px 10px;
  box-sizing: border-box;
  border-bottom: 1px dashed #dcdcdc;
  cursor: pointer;
}
.infoList .list_box:hover {
  background-color: #f5f5f5;
}

.infoList .list_box:last-child {
  border-bottom: none;
}
.infoList .list_box .box_left {
  width: 20px;
  flex-shrink: 0;
  /* background-color: orange; */
}
.infoList .list_box .box_left .icon_circle {
  width: 6px;
  height: 6px;
  background-color: #333333;
  border-radius: 50%;
  margin-top: 6px;
}
.box_right {
  width: calc(100% - 20px);
  /* background-color: lightgreen; */
}
.box_right .infoTitle {
  width: 100%;
  color: #242424;
  font-size: 15px;
  line-height: 20px;
  text-align: justify;
}
.box_right .infoTime {
  color: #9a9a9a;
  font-size: 13px;
  margin-top: 10px;
}

/*资讯详情  */
.announceDetail {
  width: 100%;
  padding: 40px 50px;
  box-sizing: border-box;
}
.announceDetail .detailTitle {
  text-align: center;
  font-size: 22px;
  line-height: 26px;
  font-weight: bold;
}

.announceDetail .detailInfo {
  text-align: center;
  font-size: 15px;
  color: #8b8886;
  margin-top: 30px;
}

.announceDetail .devideLine {
  width: 100%;
  height: 1px;
  background-color: #ccc;
  margin-top: 20px;
}
.announceDetail .detailInfo span {
  margin: 0 30px;
}
.announceDetail img {
  max-width: 100%;
  display: block;
  margin: 50px auto 40px;
}

.announceDetail .middleText {
  text-align: justify;
  font-size: 15px;
  line-height: 30px;
  color: #585858;
  margin-top: 30px;
}
.announceDetail .middleText p {
  text-align: justify;
  font-size: 15px;
  line-height: 30px;
  color: #585858;
  margin-bottom: 25px;
}

/* footer */
.footer {
  width: 100%;
  background-color: var(--bg-color-primary);
  padding: 50px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer p {
  font-size: 15px;
  width: 100%;
  line-height: 1.8;
  letter-spacing: 1px;
  color: #fff;
}
.footer p span {
  margin-right: 20px;
}
.footer p span:last-child{
  margin-right: 0;
}

.pageNation {
    margin: 30px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.M-box2,
.M-famousBox {
    /* width: 300px; */
    min-width: 50%;
    /* height: 35px; */
    box-sizing: border-box;
    background-color: #fff;
    margin: 0 auto;
    /* background-color: lightblue; */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .M-box2 a,
    .M-box2 span {
        display: inline-block;
        width: 40px;
        height: 30px;
        text-decoration: none;
        text-align: center;
        line-height: 30px;
        border: 1px solid #efefef;
        color: #454545;
        /* margin-right: 15px; */
        border-radius: 2px;
        font-size: 13px;
    }

    .M-box2 span {
        border-left: none;
    }

    .M-box2 .active,
    .M-famousBox .active {
        /* background-color: #C24B8C; */
        background-image: linear-gradient(to right, #5b99f9, #5896f8, #5a98f8, #5997f8, #5a98f8, #5795f7);
        color: #fff;
        border: 1px solid transparent;
    }

    .M-box2 .prev,
    .M-box2 .next {
        width: 70px;
        height: 30px;
        font-size: 14px;
    }
    /* 
.M-famousBox .prev,
.M-famousBox .next {
    width: 70px;
    height: 30px;
    font-size: 14px;
} */

    .M-box2 .next {
        margin-right: 0;
        border-left: none;
        /* cursor: no-drop; */
    }

    .M-box2 .prev {
        border-right: none;
    }

.totalData {
    color: #898887;
    font-size: 12px;
    margin-left: 7px;
}

    .totalData .count {
        display: inline;
        color: #000;
    }