:root {
  --blog-color: #1bb228;
}

:root {
  --font-bold: 'HARMONYOS_SANS_BOLD';
  --font-medium: 'HARMONYOS_SANS_MEDIUM';
  --font-regulary: 'HARMONYOS_SANS_REGULAR';
}
body {

  --font-size-h2: 3.5rem;
  --font-size-h3: 24px;
  --font-size-p: 16px;
  --font-size-26: 26px;
  --font-size-22: 22px;
  --font-size-18: 18px;
}
@media (max-width: 1300px) {
  body {
    --font-size-h2: 36px;
    --font-size-h3: 22px;
    --font-size-p: 16px;
    --font-size-26: 24px;
    --font-size-22: 20px;
    --font-size-18: 17px;
  }
}
@media (max-width: 790px) {
  body {
    --font-size-h2: 28px;
    --font-size-h3: 20px;
    --font-size-p: 14px;
    --font-size-26: 22px;
    --font-size-22: 18px;
    --font-size-18: 16px;
  }
}
/* 整体边距 */
.w1200 {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
}
/*单行文本省略号*/
.dot {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
p{
  line-height: 1.6;
}
.dot2,
.dot3,
.dot4,
.dot5,
.dot6 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  -webkit-box-orient: vertical;
}
/*多行文本省略号*/
.dot2 {
  -webkit-line-clamp: 2;
}
.dot3 {
  -webkit-line-clamp: 3;
}
.dot4 {
  -webkit-line-clamp: 4;
}
.dot5 {
  -webkit-line-clamp: 5;
}
.dot6 {
  -webkit-line-clamp: 6;
}

/* 按钮 */
.moreBox {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  width: 215px;
  line-height: 50px;
  background-image: linear-gradient(90deg, #fe4b08 0%, #f59c36 100%),
    linear-gradient(#f87311, #f87311);
  background-blend-mode: normal, normal;
  border-radius: 25px;
  font-size: 18px;
  color: #ffffff;
  font-family: 'Gilroy-Bold';
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.moreBox:hover {
  background-image: linear-gradient(90deg, #f59c36 0%, #fe4b08 100%),
    linear-gradient(#f87311, #f87311);
}
.moreBox span {
  position: relative;
  z-index: 1;
  display: inline-block;
}
.moreBox::before {
  position: absolute;
  top: 0;
  left: -45px;
  width: 25px;
  height: 100%;
  background: #fff;
  content: '';
  opacity: 0.3;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
.moreBox:hover::before {
  left: calc(100% + 45px);
  width: 25px;
}

.moreBox2 {
  background-image: linear-gradient(90deg, #f87312 0%, #ffa627 100%),
    linear-gradient(#f87311, #f87311);
  background-blend-mode: normal, normal;
}
.moreBox2 em {
  color: #fff;
  background-color: #f2bc2e;
}

/* newlist */
.newslist {
  padding: 5% 0;
}

.newslist .result{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.newslist .result .leicon{
  width: 40px;
}
.newslist .result .leicon img{
  width: auto;
  max-width: 100%;
}

.newslist .result .total{
  color: #888888;
  font-size: var(--font-size-p);
  font-family: var(--font-regulary);
  
}


.newslist .n-list {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  list-style: none;
}

.newslist .n-item {
  width: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: 0 0 20px 0 #ddd;
}


.newslist .n-img {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.newslist .n-img img {
  width: 100%;
  display: block;
  transition: all 0.5s;
  height: 200px;
}

.newslist .n-img .time {
  position: absolute;
  top: 50%;
  left: 0;
  background-color: var(--blog-color);
  padding: 10px 15px;
  color: white;
  font-size: 15px;
  background-size: 16px;
}

.newslist .des {
  padding: 30px;
}

.newslist .des .n-tit {
  font-size: 18px;
  font-family: 'NeueHaasDisplay-Medium', sans-serif;
  line-height: 1.3;
  margin-bottom: 10px;
  height: 46px;
}

.newslist .des .n-info {
  font-size: 16px;
  color: #666666;
  line-height: 1.3;
  height: 60px;
}

.newslist .des .n-more {
  color:var(--blog-color);
  font-family: 'NeueHaasDisplay-Medium';
  margin-top: 20px;
  display: block;
  font-size: 15px;
  cursor: pointer;
}

.newslist .n-item:hover {
  background-color: var(--blog-color);
}

.newslist li:hover .des .n-tit {
  color: white;
}

.newslist li:hover .des .n-info {
  color: white;
}

.newslist li:hover .des .n-more {
  color: white;
}

.newslist li:hover .n-img img {
  transform: scale(1.05);
}

@media screen and (max-width: 1459px) {
  .newslist .des {
    padding: 25px;
  }
}

@media screen and (max-width: 1000px) {
  .newslist {
    padding: 50px 0;
    
  }
  .newslist .n-list{
    grid-template-columns: repeat(2,1fr);
  }
  .newslist .n-item {
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
  }

  .newslist .des .n-tit {
  }

  .newslist .des .n-info {
  }

  .newslist .des {
    padding: 20px;
  }
}


/* 页码 */
.pagebox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
.pagebox .pagenum{
  display: flex;
  align-items: center;
  
}
.pagebox .pagenum .page{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #777777;
  width: 40px ;
  height: 40px;
  margin-right:13px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: all 0.5s;
}
.pagebox .pagenum .page-numbers{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #777777;
  width: 40px ;
  height: 40px;
  margin-right:13px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: all 0.5s;
}
.pagebox .pagenum .point{
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: auto ;
  margin-right:13px;

}
.pagebox .pagenum .page:hover{
  background: var(--blog-color);
  border: 1px solid var(--blog-color);
  color: #fff;
}
.pagebox .pagition{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.pagebox .pagition .cricle{
  width: 40px;
  height: 40px;
  margin-left: 13px;
  border-radius: 50%;
  border: 1px solid #888888;
  transition:  all 0.5s;
}
.pagebox .pagition .prev{
  background: url(../images/prev.png) no-repeat center center;
}
.pagebox .pagition .next{
  background: url(../images/next.png) no-repeat center center;
}
.pagebox .pagition .prev:hover{
  border: 1px solid var(--blog-color);
  background: var(--blog-color) url(../images/prevhov.png) no-repeat center center;
}
.pagebox .pagition .next:hover{
  border: 1px solid var(--blog-color);
  background: var(--blog-color) url(../images/nexthov.png) no-repeat center center;
}
@media screen and (max-width: 750px) {
  .newslist .n-list {
    grid-template-columns: repeat(1,1fr);
  }
  .pagebox .pagenum .page{
    width: 30px;
    height: 30px;
  }
  .pagebox .pagition .cricle{
    width: 30px;
    height: 30px;
  }
}




/* 作者信息 */
.author {
  padding: 190px 0 5rem;
  background: #f8f8f8;
}
.author-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
 
}

.author-box .author-img {
  flex: 0 0 auto;
  width: 37.5%; /* Image takes 25% of the container minus margin */
  margin-right: 3.75rem;
  position: relative;
}
.author-box .author-img .btnbox{
  position: relative;
  display: flex;
  justify-content: center;
  left: 50%;
  bottom: 0;
  transform: translate(-50%,-50%);
}
.author-box .author-img img {
  width: 100%;
  height: auto;
}

.author-box .intr {
  flex: 1;
}

.author-box .intr .author-name {
  font-size: var(--font-size-h2);
  font-family: var(--font-bold);
  font-weight: bold;
  margin-bottom: 0;
}

.author-box .intr .author-job {
  font-size: var(--font-size-18);
  color: #666;
  margin-bottom: 20px;
}

.author-box .intr .author-info {
  font-size: var(--font-size-p);
  color: #333;
  line-height: 1.5;
  margin-bottom: 40px;
}

.author-box .intr .way {
  font-size: 20px;
  color: #111111;
  margin-bottom: 5px;
  font-family: var(--font-bold);
}

.author-box .intr .author-email .color {
  color: var(--blog-color);
}

@media (max-width: 1000px) {
  .author{
    padding: 110px 0 40px;
  }
  .author-box {
    flex-direction: column;
  }

  .author-box .author-img {
    width: auto;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .author-box .intr {
    flex: 1;
  }
}



/* 详情页 */
.detail-banner{
  padding: 100px 0 0;
  background:var(--blog-color);
}
.introdution {
  display: flex;
  justify-content: space-between;
  padding: 80px 0;
}

.introdution .intr-left {
  flex: 1;
  margin-right: 20px;
}

.introdution .intr-left .updatetime {
  font-size: var(--font-size-p);
  color: #fff;
  margin-bottom:10px;
  font-family: var(--font-regulary);
}

.introdution .intr-left .intr-title {
  font-size: 3rem;
  font-family: var(--font-bold);
  margin-bottom: 20px;
  color: #fff;
  line-height: 1;
}

.introdution .intr-left .au-outbox {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.introdution .intr-left .au-leimg {
  margin-right: 15px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  overflow: hidden;
}

.introdution .intr-left .au-leimg img {
 width: 100%;
 height: 100%;
 object-fit: cover;
  
}

.introdution .intr-left .au-ribox {
  flex: 1;
}

.introdution .intr-left .au-ribox .au-tit {
  font-size: 20px;
  font-family: var(--font-bold);
  margin-bottom: 5px;
  background-color: rgb(255, 255, 255,0.2);
	border-radius: 4px;
  color: #fff;
  width: fit-content;
  padding: 2px 10px;
}

.introdution .intr-left .au-ribox .au-txt {
  font-size: 20px;
  color: #fff;
}

.introdution .intr-right {
  flex: 0 0 auto;
  width: calc(33% - 20px);
}

.introdution .intr-right img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .introdution {
    flex-direction: column;
    padding: 20px 0 60px;
  }

  .introdution .intr-left {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .introdution .intr-right {
    width: 100%;
  }
}

.article{
  padding: 4.375rem 0;
}
.art-layout {
  display: flex;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.art-layout .art-body {
  width: calc(100% - 360px);
  margin-right: 60px;
}

.art-layout .art-body .part {
  margin-bottom: 50px;
}

.art-layout .art-body .part .art-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 20px 0;
}

.art-layout .art-body .part img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}
.art-layout .art-body .part .h2{
  font-size: var(--font-size-h2);
 font-family: var(--font-bold);
 margin-bottom: 20px;
 line-height: 1.3;
}
.art-layout .art-body .part .h3{
  font-size: var(--font-size-h3);
 margin-bottom: 20px;
 line-height: 1.3;
}
.art-layout .art-body .part .c-list{
  margin: 30px 0;
}
.art-layout .art-body .part .c-list .x-item{
 display: flex;
 align-items: stretch;
 justify-content: space-between;

}
.art-layout .art-body .part .c-list .x-item .letit{
   margin-right: 2px;
   margin-bottom: 2px;
   width: 20%;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: #f4f6f9;
 }
 .art-layout .art-body .part .c-list .x-item .ritxt{
  flex: 1;
  margin-bottom: 2px;
  font-size: var(--font-size-p);
  padding: 20px ;
  background-color: #f4f6f9;
  
}
 

.art-layout .art-menu {
  width: 300px; 
  position: relative;
  height: fit-content;
 
}
.art-layout .art-menu.on {
  position: fixed;
  top: 120px;
  right: calc((100% - 1200px) / 2);
}

.more-list{
  margin: 50px 0;
}
.more-list .title{
  font-size: 16px;
  font-family: var(--font-bold);
  color: #333;
  margin-bottom: 10px;
}
.more-list .link-list a{
  display: block;
  font-size: 16px;
  font-family: var(--font-bold);
  margin-bottom: 10px;
  color: #555;
  
}
.more-list .link-list span{
  color: var(--blog-color);
  text-decoration: underline;
}



@media (max-width: 1439px) {
  .art-layout .art-menu.on {
    position: fixed;
   right: 5%;
  }
}
.art-layout .art-menu .menu-tit {
  font-size: 22px;
  font-weight: bold;
  font-family: var(--font-bold);
  margin-bottom: 15px;
}

.art-layout .art-menu .hreflist {
  list-style-type: none;
  padding: 0;
}

.art-layout .art-menu .hreflist .hrefitem {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-bold);
  color: #333;
  text-decoration: none;
  padding-left: 20px;
  font-size: 18px;
  position: relative;
}

.art-layout .art-menu .hreflist .hrefitem::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 8px solid var(--blog-color);
  border-bottom: 6px solid transparent;
}



@media (max-width: 1000px) {
  .art-layout {
      flex-direction: column;
  }

  .art-layout .art-menu {
      width: 100%;
      position: relative; 
      top: 0;
      order: -1;
      margin-bottom: 40px;
  }
  .art-layout .art-menu .hreflist {
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.art-layout .art-menu .hreflist .hrefitem{
  margin-right: 30px;
}
.art-layout .art-menu.on {
  position: relative;
  top: 0;
  right: 0;
}
.art-layout .art-body{
  width: 100%;
}
}
.art-bottom{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.art-bottom .lepic{
  width: 188px;
  height: 188px;
}
.art-bottom .lepic img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-bottom .ribox{
 flex: 1;
padding-left: 3.125rem;
}
.art-bottom .ribox .tit{
  font-family: var(--font-bold);
  font-size: 22px;
  color: #333;
  line-height: 1.3;
  margin-bottom:15px;
 }
 .art-bottom .ribox .mid-txt{
  margin: 15px 0 25px;
 }
 @media (max-width: 1000px) {
  .art-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .art-bottom .ribox{
    padding: 0;
    margin: 20px 0;
   }
   .art-bottom .lepic{
   justify-self: center;
  }
 }


 /* 分类栏 */
 .classify{
   width: 600px;
   max-width: 100%;
   display: grid;
   grid-template-columns: repeat(2,1fr);
   gap: 20px;
   margin:0 0 40px ;
 }
 @media (max-width: 1000px) {
  .classify{
    width: 100%;
    grid-template-columns: repeat(1,1fr);
    gap: 10px;
    
  }
 }
 .dropdown {
  width: 100%;
  overflow: hidden; 
  position: relative;
  border-radius: 5px; 
  background-color: #f8f8f8; 
  border: 1px solid #ccc;
  height: 50px;
}

.dropdown select {
  width: 100%; 
  height: 100%;
  padding:0 10px ;
  border: none; 
  background: transparent; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
  appearance: none; 
  font-size: 16px; 
  color: #666; 
}

.dropdown:after {
  content: ''; 
  width: 20px;
  height: 20px;
  position: absolute; 
  top: 50%; 
  right: 10px; 
  pointer-events: none; 
  transform: translateY(-50%); 
  color: #999; 
  background: url(../images/blog-arr.png);
  
}
.search-box{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f8f8; 
  border: 1px solid #ccc;
  padding:0 10px;
  border-radius: 5px;
  height: 50px;

}
.search-box input{
  flex: 1;
}
.search-box .sea-img{
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
}
.search-box .sea-img img{
  width: auto;
  height: auto;
  cursor: pointer;
  margin: 0;
}
tbody, tfoot, thead, tr, th, td{
  margin: 0;
  padding: 0;
  border: 1px solid #0c0c0c !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
