/* Hero Slider */
#heroSlider {
    background: #1a1a1a;
}

.slider-img-wrap {
    position: relative;
    height: 420px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-img-wrap::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: inherit;
    filter: blur(25px) brightness(0.5);
    transform: scale(1.1);
    z-index: 0;
}

.slider-img-wrap .slider-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#heroSlider .carousel-caption {
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 20px 15px;
    text-align: left;
    z-index: 2;
}

#heroSlider .carousel-caption h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

#heroSlider .carousel-indicators {
    margin-bottom: 15px;
}

#heroSlider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(139, 195, 74, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

#heroSlider:hover .carousel-control-prev,
#heroSlider:hover .carousel-control-next {
    opacity: 1;
}

#heroSlider .carousel-control-prev {
    left: 15px;
}

#heroSlider .carousel-control-next {
    right: 15px;
}

@media (max-width: 992px) {
    .slider-img-wrap {
        height: 350px;
    }
}

 @media (max-width: 768px) {
      .slider-img-wrap {
          height: 220px;
      }

      #heroSlider .carousel-control-prev,
      #heroSlider .carousel-control-next {
          width: 32px;
          height: 32px;
          opacity: 1;
      }

      #heroSlider .carousel-caption {
          padding: 15px 55px 10px;
      }

      #heroSlider .carousel-caption h5 {
          font-size: 0.85rem;
          margin-bottom: 6px;
      }

      #heroSlider .carousel-caption .btn {
          font-size: 0.75rem;
          padding: 2px 10px;
      }
  }


/* Home Latest Publications */
.home-pub-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.home-pub-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(139, 195, 74, 0.3);
}

.home-pub-year {
    min-width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 10px;
    flex-shrink: 0;
}

.home-pub-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.4;
}

.home-pub-title a {
    color: var(--secondary-color);
}

.home-pub-title a:hover {
    color: var(--primary-color);
}

.home-pub-authors {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.4;
}

.home-pub-source {
    font-size: 0.8rem;
    font-style: italic;
    color: #555;
}

.home-pub-type {
    font-size: 0.72rem;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .home-pub-item {
        padding: 1rem;
    }

    .home-pub-year {
        min-width: 44px;
        height: 44px;
        font-size: 0.78rem;
    }

    .home-pub-title {
        font-size: 0.88rem;
    }

    .home-pub-authors {
        font-size: 0.78rem;
    }
}
