.Box1 {
  margin: 50px 0;
}

.Box1 .container-md.row {
  margin: 0 auto;
}

.Box1 .new-list form.search {
  background-color: white;
  padding: 0;
  border-radius: 5px;
  overflow: hidden;
}

.Box1 .new-list form.search input {
  background-color: transparent;
  padding: 0 10px;
}

.Box1 .new-list form.search button {
  background-color: #428CCC;
  color: white;
  display: block;
  padding: 10px;
}

.Box1 .new-list .news {
  padding: 0;
}

.Box1 .new-list .newtitle {
  font-size: 24px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.Box1 .new-list .newtitle::before {
  position: absolute;
  width: 25%;
  height: 3px;
  bottom: -2px;
  content: '';
  background-color: #428CCC;
}



.Box1 .new-list .news li {
  margin-bottom: 20px;
  

}

.Box1 .new-list .news li a {
  display: flex;
  align-items: center;
}

.Box1 .new-list .news li .text h6 {
  color: black;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  font-size: 18px;
  transition: 0.3s;
}
.Box1 .new-list .news li:hover .text h6{
  color: #428CCC;
} 
.Box1 .new-list .news li .text span {
  color: #999;
  font-size: 14px;
}



.Box1 .new-list .form {
  padding-top: 20px;
}

.Box1 .new-list .form input,
.Box1 .new-list .form textarea {
  width: 100%;
  border: none;
  padding: 10px 10px;
  background-color: #ffffff;
  margin-bottom: 20px;
  border: 1px solid #00000031;
  outline: none;
}

.Box1 .new-list .form textarea {
  height: 200px;
}

.Box1 .new-list .form button::before {
  position: absolute;
}

.Box1 .new-box {
  padding-left: 20px;
}

.Box1 button.custom-button {
  background: linear-gradient(135deg, #428CCC, #428ccc9d);
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.Box1 button.custom-button::before {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  top: 5px;
  right: 5px;
  border: 2px solid white;
  border-left: none;
  border-bottom: none;
  transition: all .3s ease;
  z-index: 3;
}

.Box1 button.custom-button::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background-color: #000;
  top: 0;
  left: -100%;
  transition: 0.3s;
}

.Box1 button.custom-button:hover::after {
  left: 0;
}

.Box1 button.custom-button .button-text {
  position: relative;
  z-index: 4;
}

.Box1 .new-box>a {
  display: block;
  padding: 30px;
  border-bottom: 1px solid #ddd;
  border-radius: 5px;
  transition: 0.3s;
}

.Box1 .new-box:hover>a {
  background-color: white;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.Box1 .new-box>a>div {
  display: flex;
  justify-content: space-between;
}

.Box1 .new-box div h4 {
  font-size: 18px;
  color: #428CCC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: 0.3s;
}
 
.Box1 .new-box div span {
  color: #999;
  font-size: 14px;
  margin-left: 30px;
  white-space: nowrap;
}

.Box1 .new-box p {
  font-size: 14px;
  color: #666;
  margin-top: 18px;
  text-indent: 2em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  line-height: 1.5;
}
.Box1 .page{
  display: flex;
  margin-top: 40px;
  padding-left: 20px;
}
@media screen and (max-width:768px) {
  .Box1 .page{
    padding-left: 0;
  }
}
.Box1 .page li{
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.Box1 .page li.thisclass{
  background-color: #428CCC;
  color: white;
}
.Box1 .page li:hover{
  background-color: #428CCC;
}
.Box1 .page li a{
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center; 
  color: #737373;
  transition: 0.3s;
}
.Box1 .page li:hover a{
  color: white;
}
@media screen and (max-width:991px) {
  .Box1 .new-list .newtitle:nth-child(2) {
    display: none;
  }

  .Box1 .new-list .form {
    margin-bottom: 30px;
  }
.Box1 .new-list{
  display: none;
}
}

@media screen and (max-width:768px) {
   
  .Box1 .new-box{
    padding-left: 0;
  }
  .Box1 .new-box>a>div{
    display: block;
  }
  .Box1 .new-box div span{
    margin-left: 0;
  }
  .Box1 .new-box p{
    margin-top: 10px;
  }
}
 