.blog-banner {
  min-height: 700px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.blog-banner .blog-banner-content {
  position: absolute;
  top: 35%;
  max-width: 1660px;
  margin: 0 auto;
}
.blog-banner .blog-banner-content .blog-search-container {
  margin-top: 60px;
}
.blog-banner h3 ,.blog-banner h1 {
  font-weight: bold;
  font-size: 80px;
  color: #087FE7;
  line-height: 88px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.blog-banner .blog-search-container {
  display: flex;
  align-items: center;
  width: 900px;
  margin-top: 20px;
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 76px;
}
.blog-banner .blog-search-container .blog-search-input {
  width: 85%;
  min-height: 76px;
  padding: 0 20px;
  border: none;
  font-size: 16px;
  border-radius: 60px;
}
.blog-banner .blog-search-container .blog-search-input::placeholder {
  color: #999;
}
.blog-banner .blog-search-container .blog-search-input:focus {
  outline: none;
}
.blog-banner .blog-search-container .blog-search-button {
  width: 15%;
  padding: 24px;
  margin: 0 8px 0 0;
  border: none;
  border-radius: 60px;
  background: #0066FF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.blog-banner .blog-search-container .blog-search-button:hover {
  background: #0052cc;
}
.blog-banner .blog-search-container .blog-search-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.recommended-container {
  width: 100%;
}
.recommended-container .recommended-container-title {
  font-size: 60px;
  color: #1A1A1A;
  line-height: 80px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 104px;
  margin-bottom: 66px;
}
.blog-main-container {
  gap: 30px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.blog-card {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: #2788FF;
  transition: all 0.3s;
}
.blog-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.blog-card:hover .blog-title {
  color: #0066FF;
}
.blog-card:hover::after {
  width: 100%;
}
.blog-card .blog-card-content-top {
  background: url(../jpg/recommended_bg.jpg) no-repeat center center;
  padding: 36px;
  height: 374px;
  box-sizing: border-box;
}
.blog-card .blog-card-content-top .blog-card-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card .blog-card-content-top .blog-card-icon .blog-image {
  object-fit: cover;
  display: block;
}
.blog-card .blog-card-content-bottom {
  background-color: #fafafa;
  padding: 20px 36px;
  height: 234px;
  position: relative;
  box-sizing: border-box;
}
.blog-title {
  display: block;
  margin-top: 20px;
  text-decoration: none;
  line-height: 1.4;
  font-weight: 500;
  font-size: 22px;
  color: #1C1F1F;
  line-height: 40px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-description {
  font-weight: 400;
  font-size: 18px;
  color: #1C1F1F;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 90px;
}
.view-more {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 46px;
  width: 170px;
  height: 56px;
  color: #0066FF;
  font-size: 18px;
  color: #2788FF;
  line-height: 32px;
  cursor: pointer;
  border: 1px solid #2788FF;
  transition: all 0.3s;
}
.view-more:hover {
  color: #fff;
  background: #2788FF;
}
.lastest-container {
  width: 100%;
}
.lastest-container .lastest-container-title {
  font-size: 60px;
  color: #1A1A1A;
  line-height: 80px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-top: 104px;
  margin-bottom: 66px;
}
.lastest-container .lastest-blog-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
}
.lastest-container .lastest-blog-tabs .lastest-blog-tab-button {
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #999999;
  background-color: white;
  color: #666666;
}
.lastest-container .lastest-blog-tabs .lastest-blog-tab-button:hover {
  color: #2788FF;
  border-color: #2788FF;
}
.lastest-container .lastest-blog-tabs .lastest-blog-tab-button.active {
  background-color: #2788FF;
  color: #FFFFFF;
  border: none;
}
.custom-featured-card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.custom-featured-card {
  background: url(../png/latest_bg.png) no-repeat right bottom;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  padding: 50px 25px 80px 60px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  flex-wrap: wrap;
}
.custom-featured-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 4px;
  background-color: #2788FF;
  border-radius: 0px 0px 4px 4px;
  transition: all 0.3s;
}
.custom-featured-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.custom-featured-card:hover::after {
  width: 100%;
}
.custom-featured-card .custom-featured-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.custom-featured-card .custom-featured-label {
  background: #2a7de1;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.custom-featured-card .custom-featured-label img {
  width: 12px;
  height: 12px;
}
.custom-featured-card .custom-label-placeholder {
  font-size: 14px;
  color: #929292;
}
.custom-featured-card .custom-featured-card-title {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 20px;
  color: #333333;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 60px;
}
.custom-featured-card .custom-featured-card-title:hover {
  color: #2788FF;
}
.custom-featured-card .custom-featured-card-description {
  font-weight: 400;
  font-size: 16px;
  color: #888888;
  line-height: 26px;
  max-height: 72px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-featured-card .custom-featured-card-footer {
  margin-top: 10px;
}
.custom-featured-card .custom-featured-card-date {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
  color: #929292;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.custom-featured-card .custom-featured-card-date img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: flex;
  align-items: center;
}
.custom-featured-card .custom-featured-card-date span {
  display: flex;
  align-items: center;
}
.custom-featured-card2 {
  background: url(../png/latest_bg2.png) no-repeat right top;
  padding: 45px;
  padding-right: 20%;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 20px;
  position: relative;
}
.custom-featured-card2 .custom-featured-card-title {
  font-size: 22px;
  margin-bottom: 20px;
}
.custom-featured-card2 .custom-featured-card-title:hover {
  color: #00B738;
}
.custom-featured-card2::after {
  display: none !important;
}
.custom-featured-card2 .card-more {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 174px;
  height: 58px;
  border-radius: 0px 0px 0px 0px;
  border: 1px solid #00B738;
  font-weight: 500;
  font-size: 18px;
  color: #00B738;
  line-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: all 0.3s;
}
.custom-featured-card2 .card-more:hover {
  background: #00B738;
  color: #fff;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
  gap: 8px;
}
.page-btn,
.page-number {
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  transition: 0.3s;
}
.page-btn {
  display: flex;
  align-items: center;
  background: transparent;
  font-size: 18px;
}
.page-number {
  background: #eee;
  color: #333;
  margin-right: 10px;
}
.page-number:last-child {
  margin-right: 0;
}
.page-number:hover {
  background: #ddd;
}
.page-number.active {
  background: #007bff;
  color: #fff;
}
.next {
  justify-content: flex-end;
}
@media screen and (max-width: 1720px) {
  .blog-banner {
    min-height: 650px;
  }
}
@media screen and (max-width: 1620px) {
  .blog-banner {
    min-height: 600px;
  }
}
@media screen and (max-width: 1480px) {
  .blog-banner {
    min-height: 500px;
  }
  .blog-banner h3 ,.blog-banner h1{
    font-size: 60px;
    line-height: 70px;
  }
  .recommended-container .recommended-container-title {
    font-size: 50px;
    line-height: 70px;
    margin-top: 80px;
    margin-bottom: 50px;
  }
  .lastest-container .lastest-container-title {
    font-size: 50px;
    line-height: 70px;
    margin-top: 80px;
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 1200px) {
  .blog-banner {
    min-height: 400px;
  }
  .blog-banner h3 ,.blog-banner h1{
    font-size: 50px;
    line-height: 60px;
  }
  .blog-banner .blog-search-container {
    width: 700px;
    min-height: 60px;
  }
  .blog-banner .blog-search-container .blog-search-input {
    min-height: 60px;
  }
  .recommended-container .recommended-container-title {
    font-size: 40px;
    line-height: 60px;
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .lastest-container .lastest-container-title {
    font-size: 40px;
    line-height: 60px;
    margin-top: 60px;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 1023px) {
  .blog-banner {
    background-size: cover !important;
  }
  .blog-banner .blog-banner-content .blog-search-container {
    margin-top: 30px;
  }
  .blog-card .blog-card-content-top {
    background-size: cover !important;
  }
  .blog-card .blog-card-content-top {
    height: auto;
  }
  .blog-card .blog-card-content-bottom {
    height: 170px;
  }
  .blog-banner {
    min-height: 250px;
  }
  .blog-banner h3 ,.blog-banner h1{
    font-size: 36px;
    line-height: 46px;
  }
  .blog-banner .blog-search-container .blog-search-input {
    min-height: 50px;
    font-size: 14px;
  }
  .blog-banner .blog-search-container .blog-search-button {
    padding: 15px;
  }
  .blog-main-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .custom-featured-card-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-title {
    font-size: 18px;
    line-height: 30px;
  }
  .blog-description {
    font-size: 14px;
    line-height: 24px;
    max-height: 72px;
  }
  .recommended-container .recommended-container-title {
    font-size: 36px;
    line-height: 46px;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .lastest-container .lastest-container-title {
    font-size: 36px;
    line-height: 46px;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .lastest-container .lastest-blog-tabs {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .lastest-container .lastest-blog-tabs .lastest-blog-tab-button {
    font-size: 14px;
    padding: 8px 16px;
    width: 100%;
    max-width: 300px;
  }
  .custom-featured-card {
    padding: 30px 20px 60px 30px;
  }
  .custom-featured-card .custom-featured-card-title {
    font-size: 18px;
    line-height: 28px;
  }
  .custom-featured-card .custom-featured-card-description {
    font-size: 14px;
    line-height: 24px;
  }
  .view-more {
    width: 140px;
    height: 46px;
    font-size: 16px;
  }
}
@media screen and (max-width: 767px) {
  .blog-banner .blog-banner-content .blog-search-container {
    width: 300px;
  }
  .blog-banner .blog-search-container .blog-search-button {
    width: auto;
  }
  .blog-banner {
    background-size: cover !important;
  }
  .view-more {
    bottom: 10px;
  }
  .custom-featured-card {
    padding: 20px;
    padding-bottom: 80px;
  }
  .custom-featured-card2 .card-more {
    width: 150px;
    height: 46px;
    font-size: 16px;
  }
}
