/* ===== OMP Highlights Slider Redesign ===== */
.highlights {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.highlights .swiper-slide {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 2.5rem;
  height: auto !important;
}

/* This is the key fix: contain instead of cover, so the whole cover shows */

.highlights .swiper-slide-image {
  width: 220px;
  flex: 0 0 220px;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  border-radius: 4px;
  align-self: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.highlights .swiper-slide-image:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

.highlights .swiper-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.highlights .swiper-slide-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.highlights .swiper-slide-desc p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.highlights .swiper-slide-button {
  align-self: flex-start;
  background: #1d4d4f;
  color: #fff;
  border-radius: 6px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}
.highlights .swiper-slide-button:hover {
  background: #143838;
}

/* Pagination dots */
.highlights .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}
.highlights .swiper-pagination-bullet-active {
  background: #1d4d4f;
}

/* Nav arrows */
.highlights .swiper-button-prev,
.highlights .swiper-button-next {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: #1d4d4f;
}
.highlights .swiper-button-prev::after,
.highlights .swiper-button-next::after {
  font-size: 16px;
}

/* Mobile: stack image above text */
@media (max-width: 768px) {
  .highlights .swiper-slide {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .highlights .swiper-slide-image {
    width: 140px;
    flex: none;
    align-self: center;
  }
}

/* Featured list cover hover */
.obj_monograph_summary .cover {
  display: inline-block;
  overflow: visible;
}

.obj_monograph_summary .cover img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-radius: 3px;
}

.obj_monograph_summary .cover:hover img {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.22);
}

/* Optional: also highlight the title link on hover of the whole card */
.obj_monograph_summary {
  transition: transform 0.2s ease;
}

.obj_monograph_summary .title a {
  transition: color 0.2s ease;
}

.obj_monograph_summary:hover .title a {
  color: #143838; /* darker teal on hover, matches your button color */
}