﻿/* 鍗氬鍒楄〃鏁翠綋鏍峰紡 */
#app {
  background: #f5f5f6;
}

.blog {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  background: #f5f5f6;
}

.blog .inner {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* 鍗氬鍒嗙被鏍峰紡 */
.blog .section1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
  margin-bottom: 54px;
}

.blog .section1 .item {
  border: 0;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 28px;
  background: #eef2fb;
  color: #4f586a;
  font-family: "Source Han Sans SC";
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(28, 57, 142, 0.04);
  transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
  border-radius: 18641400px;
  background: rgba(237, 242, 253, 1);
  color: rgba(74, 85, 101, 1);
  font-family: Inter;
  font-weight: 500;
  font-size: 15px;
  line-height: 22.5px;
}

.blog .section1 .item:hover,
.blog .section1 .item.item-active {
background: rgba(58, 51, 126, 1);
box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
color: rgba(255, 255, 255, 1);
font-family: Inter;
font-weight: 500;
font-size: 15px;
line-height: 22.5px;
  transform: translateY(-2px);
}

/* 鍗氬鍗＄墖鍒楄〃鏍峰紡 */
.blog .section2 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  column-gap: 4%;
  row-gap: 52px;
}

.blog .section2 .item1 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 38, 66, 0.08);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.blog .section2 .item1:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(20, 38, 66, 0.12);
}

.blog .section2 .item1 .img {
  display: flex;
  width: 60%;
  overflow: hidden;
}

.blog .section2 .item1 .img img {
  display: block;
  width: 100%;
  aspect-ratio: 640 / 374;
  object-fit: cover;
  object-position: center center;
}

.blog .section2 .item1 .content {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  padding: 42px 54px;
}

.blog .section2 .item1 .top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  gap: 22px;
  margin-bottom: 22px;
}

.blog .section2 .item1 .tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px 12px;
  border-radius: 18641400px;
  background: rgba(255, 237, 212, 1);
}

.blog .section2 .item1 .tag svg {
  display: flex;
  margin-right: 7px;
}

.blog .section2 .item1 .tag p {
  display: flex;
color: rgba(240, 153, 22, 1);
font-family: Inter;
font-weight: 600;
font-size: 14px;
line-height: 20px;
}

.blog .section2 .item1 .date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.blog .section2 .item1 .date svg {
  display: flex;
  margin-right: 8px;
}

.blog .section2 .item1 .date p {
  display: flex;
  color: rgba(106, 114, 130, 1);
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.blog .section2 .item1 .title {
  display: flex;
  width: 100%;
  margin-bottom: 18px;
}

.blog .section2 .item1 .title p {
  display: flex;
  color: rgba(16, 24, 40, 1);
  font-family: Inter;
  font-weight: 700;
  font-size: 30px;
  line-height: 41.3px;
  transition: 0.5s;
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: 0.5s;
}

.blog .section2 .item1 .desc {
  display: flex;
  width: 100%;
  margin-bottom: 24px;
}

.blog .section2 .item1 .desc p {
  display: flex;
  color: rgba(74, 85, 101, 1);
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: 0.5s;
}

.blog .section2 .item1 .more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  cursor: pointer;
  color: #393184;
  transition: color 0.5s ease, transform 0.5s ease;
}

.blog .section2 .item1:hover .title p {
  color: #f09916;
}

.blog .section2 .item1 .more p {
  display: flex;
  color: rgba(58, 51, 126, 1);
  font-family: Inter;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

.blog .section2 .item1 .more svg {
  display: flex;
}

.blog .section2 .item2 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 30.6%;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(20, 38, 66, 0.07);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.blog .section2 .item2:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(20, 38, 66, 0.11);
}

.blog .section2 .item2 .img {
  display: flex;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.blog .section2 .item2 .img img {
  display: block;
  width: 100%;
  aspect-ratio: 372 / 226;
  object-fit: cover;
  object-position: center center;
}
.blog .section2 .item2 .img .category{
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 2;
  border-radius: 18641400px;
background: rgba(255, 255, 255, 0.9);
padding: 4px 12px;
}
.blog .section2 .item2 .img .category p{
color: rgba(58, 51, 126, 1);
font-family: Inter;
font-weight: 700;
font-size: 12px;
line-height: 16px;
}
.blog .section2 .item2 .content {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 28px 28px 30px;
}

.blog .section2 .item2 .date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
}

.blog .section2 .item2 .date svg {
  display: flex;
  margin-right: 8px;
}

.blog .section2 .item2 .date p {
  display: flex;
  color: rgba(153, 161, 175, 1);
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.blog .section2 .item2 .title {
  display: flex;
  width: 100%;
  margin-bottom: 16px;
}

.blog .section2 .item2 .title p {
  display: flex;
  color: rgba(16, 24, 40, 1);
  font-family: Inter;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  transition: all 0.5s ease;
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: 0.5s;
}

.blog .section2 .item2 .desc {
  display: flex;
  width: 100%;
  margin-bottom: 22px;
}

.blog .section2 .item2 .desc p {
  display: flex;
  color: rgba(74, 85, 101, 1);
  font-family: Inter;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.8px;
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: 0.5s;
}

.blog .section2 .item2 .more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  cursor: pointer;
  color: #f09916;
  transition: color 0.5s ease, transform 0.5s ease;
}

.blog .section2 .item2:hover .title p {
  color: rgba(240, 153, 22, 1);
}

.blog .section2 .item2 .more p {
  display: flex;
  color: rgba(240, 153, 22, 1);
  font-family: Inter;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  margin-right: 6px;
}

.blog .section2 .item2 .more svg {
  display: flex;
}

/* 鍗氬鍒嗛〉鏍峰紡 */

.blog .section2 .no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  background: #ffffff;
  color: rgba(74, 85, 101, 1);
  font-family: Inter;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.blog .page .page-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.blog .page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 24px;
  margin-top: 74px;
}

.blog .page .pre-pageBtn,
.blog .page .next-pageBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 83px;
  border: 0.6px solid rgba(229, 231, 235, 1);
  box-sizing: border-box;
  background: rgba(251, 144, 59, 1);
  cursor: pointer;
  transition: background 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
  width: 58px;
  max-width: 58px;
  min-width: 58px;
  height: 58px;
}

.blog .page .pre-pageBtn:hover,
.blog .page .next-pageBtn:hover {
  transform: translateY(-2px);
  background: rgba(251, 144, 59, 0.88);
}

.blog .page .pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.blog .page .num {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border: 0.6px solid rgba(229, 231, 235, 1);
  border-radius: 114px;
  background: rgba(255, 255, 255, 1);
  color: rgba(74, 85, 101, 1);
  font-family: "Noto Sans SC";
  font-size: 24px;
  line-height: 24px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24, 24, 24, 0.08);
  box-sizing: border-box;
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s ease;
  width: 58px;
  max-width: 58px;
  min-width: 58px;
  height: 58px;
}

.blog .page .num:hover,
.blog .page .num.num-active {
  background: rgba(57, 49, 132, 1);
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 1);
}

.blog .page .ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  color: #9a9baa;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

/* blog responsive styles */
@media only screen and (max-width: 1280px) {
  .blog {
    padding: 25px 0;
  }

  .blog .section1 {
    gap: 16px;
    margin-bottom: 25px;
  }

  .blog .section1 .item,
  .blog .section1 .item:hover,
  .blog .section1 .item.item-active {
    font-size: 15px;
    line-height: 22px;
  }

  .blog .section2 {
    row-gap: 25px;
  }

  .blog .section2 .item1 .content {
    padding: 25px;
  }

  .blog .section2 .item1 .top,
  .blog .section2 .item1 .title,
  .blog .section2 .item1 .desc,
  .blog .section2 .item2 .date,
  .blog .section2 .item2 .title,
  .blog .section2 .item2 .desc {
    margin-bottom: 18px;
  }

  .blog .section2 .item1 .title p {
    font-size: 24px;
    line-height: 32px;
  }

  .blog .section2 .item2 .title p {
    font-size: 18px;
    line-height: 25px;
  }

  .blog .section2 .item1 .desc p,
  .blog .section2 .item1 .more p,
  .blog .section2 .item2 .desc p,
  .blog .section2 .item2 .more p {
    font-size: 16px;
    line-height: 25px;
  }

  .blog .section2 .item2 .content {
    padding: 25px;
  }

  .blog .page {
    gap: 20px;
    margin-top: 25px;
  }

  .blog .page .num,
  .blog .page .ellipsis {
    font-size: 16px;
    line-height: 24px;
  }
}

@media only screen and (max-width: 1024px) {
  .blog .section2 .item1 .img,
  .blog .section2 .item1 .content {
    width: 100%;
  }

  .blog .section2 .item2 {
    width: 48%;
  }
}

@media only screen and (max-width: 820px) {
  .blog .section2 .item1 .title p,
  .blog .section2 .item2 .title p {
    font-size: 20px;
    line-height: 28px;
  }

  .blog .section2 .item1 .desc p,
  .blog .section2 .item1 .more p,
  .blog .section2 .item2 .desc p,
  .blog .section2 .item2 .more p,
  .blog .section2 .item1 .tag p,
  .blog .section2 .item1 .date p,
  .blog .section2 .item2 .date p {
    font-size: 14px;
    line-height: 22px;
  }

  .blog .section1 .item,
  .blog .section1 .item:hover,
  .blog .section1 .item.item-active {
    font-size: 14px;
    line-height: 22px;
  }
}

@media only screen and (max-width: 768px) {
  .blog {
    padding: 22px 0;
  }

  .blog .section2 {
    column-gap: 0;
  }

  .blog .section2 .item2 {
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .blog .section2 .item1 .desc p,
  .blog .section2 .item1 .more p,
  .blog .section2 .item2 .desc p,
  .blog .section2 .item2 .more p,
  .blog .section2 .item1 .tag p,
  .blog .section2 .item1 .date p,
  .blog .section2 .item2 .date p {
    font-size: 13px;
    line-height: 20px;
  }

  .blog .section2 .item1 .content,
  .blog .section2 .item2 .content {
    padding: 18px;
  }
}

@media only screen and (max-width: 414px) {
  .blog {
    padding: 20px 0;
  }

  .blog .section1 {
    gap: 12px;
    margin-bottom: 18px;
  }

  .blog .section1 .item {
    padding: 9px 16px;
  }

  .blog .section2 {
    row-gap: 18px;
  }

  .blog .page {
    gap: 12px;
    margin-top: 18px;
  }

  .blog .page .pages {
    gap: 10px;
  }
}


/* blog pagination 820 fixed responsive size */
@media only screen and (max-width: 820px) {
  .blog .page .pre-pageBtn,
  .blog .page .next-pageBtn,
  .blog .page .num {
    width: 40px;
    max-width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
  }

  .blog .page .pre-pageBtn svg,
  .blog .page .next-pageBtn svg {
    width: 8px;
    height: 14px;
  }

  .blog .page .num {
    font-size: 16px;
    line-height: 20px;
  }

  .blog .page .ellipsis {
    font-size: 13px;
    line-height: 20px;
    padding: 10px 5px;
  }
}

