.category-title {
  color: var(--text-color);
}
/* Card container */
.library-card {
  background-color: var(--ea-background-color);
  border: 2px solid var(--ea-primary-color); /* or your desired color */
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  max-width: 300px; /* adjust as you like */
  transition: transform 0.3s ease;
  cursor: pointer; /* so the whole card feels clickable */
}

/* Card image (top) */
.library-card-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Card body container */
.library-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Title */
.library-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

/* Optional short description */
.library-card-desc {
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}

/* "Read More" link */
.library-card-readmore {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ea-primary-color); /* or #e45a2b or another accent color */
  font-weight: 500;
}

.library-card-readmore:hover {
  text-decoration: underline;
}

.swiper-slide img {
  width: 260px;
  height: 350px;
}
.swiper-slide {
  overflow: hidden;
  position: relative;
  transition: 0.5s;
  opacity: 1;
  width: 370px !important;
  margin-right: 15px;
  height: 355px !important;
  border-radius: 10px;
  background: transparent;
}
swiper-container {
  min-height: 360px !important;
}

@media (max-width: 1300px) and (min-width: 1024px) {
  .col-12 {
    padding-left: 25px;
  }
}
.library-section h1 {
  color: var(--text-color);
}
