
.caso.card {
  border: 1px solid #e5e5e5;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  max-height: 600px;
  margin: 0 10px;
  border-radius: 15px;
  /* background: red; */
  /* min-height: 400px; */
  color: var(--dark-color);
}

.caso.card .card-footer {
  padding: 1rem;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background: white;
}

.caso.card .card-footer .categories-div span {
  white-space: nowrap;
  display: inline-block;
  margin: 0 10px 10px 0;
}

.caso.card .card-footer .btn.btn-primary:hover {
  color: #fff !important;
  background: #000 !important;
  border-color: #000 !important;
}

.caso.card .card-footer .btn.btn-secondary:hover {
  background-color: #dfe0da;
  color: rgb(27, 27, 27);
}

.caso.card .img-card {
  width: 93%;
  margin: 10px auto 0;
  height: 203px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}

.caso.card .card-body {
  min-height: 150px;
  padding: 2rem;
}
.caso.card .card-body .card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.caso.card .card-body .card-title a {
  font-size: 20px;
  line-height: 23px;
  font-family: var(--main-font);
  letter-spacing: 0.38px;
  font-weight: 600;
  text-decoration: none;
}

.caso.card .card-body .card_title a:hover {
  text-decoration: underline;
}

.caso.card .card-text {
  overflow: hidden;
  /* min-height: 150px; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 4;
}

.caso.card .card-text .description-short {
  font-family: var(--main-font);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  overflow: hidden;
  /* min-height: 150px; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 4;
}

.fig {
  color: white;
  position: relative;
  overflow: hidden;
}

.fig:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 93%;
  height: 203px;
  margin: 10px auto;
  height: 203px;
  content: "";
  background-color: rgba(0, 0, 0, 0.25);
  opacity: 0.5;
  transform: translateY(100%);
  transition: all 0.25s;
  transition-delay: 0.25s;
}

.fig:hover:before {
  transform: translateY(0);
  transition-delay: 0s;
}

.fig .caption {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0 !important;
  right: 0 !important;
  width: 93%;
  margin: 10px auto;
  height: 203px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.25s ease;
}

.fig h3,
.fig h5 {
  margin: 0;
  letter-spacing: 1px;
}

.fig h3 {
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 5px;
  font-size: 20px;
}

.fig h5 {
  /* background-color: rgba(0, 0, 0, 0.75); */
  background: linear-gradient(270.01deg, #00ff0080 -99.74%, #ffff0080 99.99%);
  background: linear-gradient(
    270.01deg,
    var(--main-color),
    var(--secondary-color)
  );
  padding: 3px 10px;
  width: fit-content;
  margin: 0 auto;
}

.fig:hover .caption {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

/* toda la card de arriba se podria mover a un componente */

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    line-height: 1.25;
    color: #007bff;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.pagination .page-numbers.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .page-numbers:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}


.breadcrumb {
    background-color: transparent !important;
}
