@charset "UTF-8";
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated:hover {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

/* News section */
.news-section {
  margin-top: 6px;
  margin-bottom: 6px; 
}

/* Make the text larger */
.highlight {
    /*font-size: 16px;   18px Or use 'larger' or '1.5em' */
    font-weight: 600;
    color: #0000008a; 
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  margin-right: 2px;

  background-color: #ffffff;
  border-radius: 2px; 
  vertical-align: middle; 
  text-decoration: none  !important;
}
.social-icon i {
  font-size: 33px;
  color: #990000;   
}

.news-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 8px;

  
  height: 300px; /* Adjust this to show more or less news */
  margin: 20px auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f8f9fa;
            
  /* The essential scroll properties */
  overflow-y: auto; 
  overflow-x: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-box h3 {
  margin-bottom: 8px;
  color: #ad0516;
  font-size: 18px;
  text-align: left;
}

.news-item {
  padding: 1px 0;
}

.news-date {
  display: inline-block;
  color: #ad0516;
  font-weight: 600;
  font-size: 16px;
  margin-right: 4px;
  min-width: 50px;
}

.news-text {
  display: inline;
  font-size: 16px;
  line-height: 1.4;
}

/* Publications section */
.publication-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: #ad0516;
}

.publication-thumbnail {
  margin-bottom: 15px;
}

.publication-image {
  max-width: 100%;
  height: 80px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.publication-card:hover .publication-image {
  transform: scale(1.05);
}

.publication-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.publication-title {
  font-size: 16px !important;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.publication-authors {
  font-size: 14px !important;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 36px;
}

.publication-conference {
  font-style: italic;
  color: #888;
  font-size: 13px !important;
  margin-bottom: 15px;
  line-height: 1.3;
  min-height: 34px;
}

.publication-links {
  margin-top: auto;
}

.publication-links .btn {
  margin-right: 10px;
  transition: all 0.3s ease;
}

.publication-links .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(148, 37, 3, 0.3);
}

/* Ensure equal heights for all cards in a row */
.row .col-md-4,
.row .col-lg-4 {
  display: flex;
  /* margin-bottom: 6px; */
}

.row .col-md-4 .publication-card,
.row .col-lg-4 .publication-card {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .publication-card {
    margin-bottom: 20px;
  }
  
  .publication-title {
    font-size: 15px !important;
    min-height: 40px;
  }
  
  .publication-authors {
    font-size: 13px !important;
    min-height: 32px;
  }
  
  .publication-conference {
    font-size: 12px !important;
    min-height: 30px;
  }
  
  .publication-image {
    height: 70px;
  }
  
  .row .col-md-4,
  .row .col-lg-4 {
    margin-bottom: 20px;
  }
}