.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 .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 .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;
}




@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;
  }
}


.Box1 .new-all .box {
  height: fit-content;
}

.Box1 .new-all .box a {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: block;
  position: relative;
  padding: 0;
  border-radius: 10px;
  transition: 0.4s;
}
.Box1 .new-all .box a:hover{
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.Box1 .new-all .box a .img {
  position: relative;
  height: 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  padding-top: 60%;
  /* background-color: red; */
}

.Box1 .new-all .box a .img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Box1 .new-all .box a .text {
  padding: 20px 30px 0 30px;
}

.Box1 .new-all .box a .text div {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
}

.Box1 .new-all .box a .text div h6 {
  font-weight: 600;
  color: #428CCC;
  margin: 0;
  margin-right: 10px;
  text-transform: capitalize;
}

.Box1 .new-all .box a .text div span {
  font-size: 13px;
  color: #939393;
}

.Box1 .new-all .box a .text .title {
  color: #000; 
  font-weight: bold; 
  overflow: hidden;
  position: relative;
  padding-top: 34%;
}

.Box1 .new-all .box a .text .title span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.List-Link{
  padding: 0;
}
.List-Link li{
  padding: 5px 0;
  border-bottom: 1px solid #0000001a;
}
.List-Link li a{
  color: #000;
  transition: 0.3s;
  width: 100%;
  display: block;
}
.List-Link li:hover a{
  color: #428CCC;
}

.Recent{
  margin-bottom: 30px;
}