/*
Theme Name: AIGC
Author: Zhan 
version: 1.0
*/

/**************************************************************/

.banner {
  width: 100%;
  margin: 0 auto;
  padding: 100px 20px 60px;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(236, 236, 236, 0.24) 0.53%,
    rgba(229, 248, 252, 0.55) 50%,
    #ebebff 100%
  );
}
.banner .desc {
  max-width: 900px;
  margin: 0 auto;
}

article {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}
article.homeIndex p {
  text-align: left;
}
.breadcrumbs,
.updated {
  color: #262626;
  font-size: 16px;
}
.wp-block-buttons {
  width: 100%;
  justify-content: space-between;
}

.blog-list-card a:hover {
  text-decoration: none;
}

.featureList {
  justify-content: space-between;
  padding: unset;
  margin: 30px auto 60px;
  background: linear-gradient(0deg, #596ce2, #3133c1);
  padding: 50px 30px !important;
  color: #fff;
  border-radius: 10px;
  box-shadow: rgb(35 55 80 / 30%) 0px 6px 12px;
  gap: unset !important;
}
.featureList > div {
  width: 30%;
  border-radius: 8px;
  box-shadow: rgb(0 0 0 / 10%) 0px 2px 4px 2px;
  padding: 15px;
  border: 1px solid #fefefe;
  background: #fff;
}
#tryBtn {
  margin: 30px auto;
}
.post-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1300px;
  margin: 50px auto;
}
.post-group h3 {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
}
.post-group .related_articles {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.post-group .related_articles a {
  width: 28%;
  margin-bottom: 45px;
}
.blog-list-card a:hover img,
.post-group .related_articles a:hover img {
  opacity: 0.7;
}
.blog-list-card {
  width: 42%;
  background: white;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: rgb(0 0 0 / 10%) 0px 2px 4px 2px;
  text-align: left;
  margin: 0 0 65px;
}
.blog-list-card .post-info {
  padding: 15px;
}
.blog-list-card h2 {
  font-size: 22px;
  margin: 10px 0;
}
.blog-list-card img {
  width: 100%;
  height: auto;
  margin: 0;
}
.post-desc {
  display: flex;
  align-items: end;
}
.post-desc .continue-reading {
  color: #596ce2;
  height: 25px;
}
.post-desc .desc {
  font-size: 16px;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.categoryPage article,
.singlePage article {
  text-align: left;
  display: flex;
  justify-content: space-between;
}

.singlePage.rtl article p {
  text-align: right;
}

.singlePage article a {
  color: #596ce2;
}
.singlePage article a:hover {
  text-decoration: underline;
}
article img,
article .wp-block-image img {
  display: block;
  margin: 15px auto;
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
}
article ul > li::before {
  display: inline-block;
  content: "";
  background: #596ce2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  text-align: center;
  margin-right: 12px;
}
article .desc {
  width: 100%;
  max-width: 700px;
}
article .related_articles {
  text-align: center;
}
.top-articles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 30px;
}

.btnList a,
.btnList span {
  display: block;
  width: 45%;
  height: 60px;
  line-height: 60px;
  padding: 0;
  box-shadow: #2c346f 0px 10px 15px;
  color: #fff;
  border-radius: 12px;
  font-size: inherit;
  cursor: pointer;
}
.sideBanner {
  max-width: 320px;
}
.aigcBtn.wp-block-buttons > .wp-block-button {
  width: 100%;
  margin: 0;
}
.aigcBtn.wp-block-buttons > .wp-block-button a {
  display: block;
  width: 280px;
  height: 50px;
  margin: 10px auto;
  background: linear-gradient(106.28deg, #8560fa 0%, #44d3ef 90.81%);
  color: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 10px;
  box-shadow: none;
}
.customizeList.wp-block-columns.has-background {
  padding: 0 5%;
}
.customizeList figure,
.customizeList p {
  margin: 0;
}
@media screen and (max-width: 760px) {
  .banner {
    padding: 40px 20px;
  }
  article {
    margin: 30px auto;
  }
  .breadcrumbs,
  .updated {
    font-size: 14px;
  }
  .featureList {
    margin: 30px auto;
  }
  .wp-block-buttons {
    justify-content: center;
    align-items: center;
  }

  .featureList > div {
    margin-bottom: 25px;
  }
  .featureList > div:last-child {
    margin: 0;
  }
  .post-group {
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .post-group h3 {
    font-size: 20px;
  }
  .post-group .related_articles {
    flex-direction: column;
    align-items: center;
  }
  .post-group .related_articles a {
    width: 100%;
    margin-bottom: 30px;
  }
  .categoryPage article,
  .singlePage article {
    flex-direction: column;
  }
  .blog-list-card {
    width: 100%;
    margin-bottom: 50px;
  }
  .blog-list-card h2 {
    font-size: 18px;
  }
  .post-desc .desc {
    font-size: 14px;
  }
  .aigcBtn.wp-block-buttons > .wp-block-button a {
    width: 240px;
  }
  .customizeList.wp-block-columns.has-background {
    padding: 0 20px;
    gap: unset;
  }
}
