.news .topbox {
  background-color: #000;
}
.news .topbox .toptext {
  background-image: -webkit-gradient(linear, left top, right top, from(#0079b4), to(#0dffff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.7em;
  width: 100px;
  margin: 0 auto;
  letter-spacing: 5px;
}
.news .list {
  border-radius: 20px;
  cursor: pointer;
}
/* Add your custom styles here */
.list {
  position: relative;
  background-color: #fff;
}
.content {
  transition: transform 0.2s ease;
  /* Add transition for smooth animation */
  background-color: #fff;
}
.popup {
  /* Add styles for the popup */
  position: absolute;
  top: 100%;
  /* Adjust the value to control the popup's position */
  left: 0;
  width: 100%;
  background-color: #fff;
  border-radius: 0 0 20px 20px;
  padding: 10px;
  transform: scaleY(0);
  /* Set initial scale to 0 to hide the popup */
  transform-origin: top;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  /* Add transition for smooth animation */
}
.list:hover .content {
  transform: translate(10px, -10px);
  /* Move the content up slightly on hover */
  transition: transform 0.5s ease;
  border-radius: 20px 20px 0 0;
}
.list:hover .popup {
  /* Show the popup on hover */
  transform: scaleY(1);
  /* Set scale to 1 to show the popup */
  opacity: 1;
}
.shadow-lg {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.175) !important;
}
.newsdetail .topbox {
  background-color: #000;
}
.newsdetail p {
  margin: 0 0 15px;
}
.newsdetail .detailcontent img {
  width: 100% !important;
  height: 100% !important;
}
