@gray-darker:               #444444;
@gray-dark:                 #696969;
@gray:                      #999999;
@gray-light:                #cccccc;
@gray-lighter:              #ececec;
@gray-lightest:             lighten(@gray-lighter,4%);

*,
*::before,
*::after { 
  box-sizing: border-box;
}

.btnp {
  background-color: white;
  border: 1px solid @gray-light;
  //border-radius: 1rem;
  color: @gray-dark;
  padding: 0.5rem;
  text-transform: lowercase;
}

.btnp--blockp {
  display: block;
  width: 100%;
}
 
.cardsp {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cardp:hover {
  box-shadow: 0 15px 30px -10px rgba(0,0,0,0.3); /* Sombra aumentada al pasar el mouse */
  transform: scale(1.08);
  transition-duration: 0.6s;
}

.cardsp__itemp {
  display: flex;
  padding: 1rem;
  @media(min-width: 40rem) {
    width: 50%;
  }
  @media(min-width: 56rem) {
    width: 33.3333%;
  }
}

.cardp {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 4px 30px -10px rgb(32 46 85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  &:hover {
    .cardp__imagep {
      filter: contrast(100%);
    }
  }
}

.cardp__contentp {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.cardp__imagep {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  filter: contrast(80%);
  filter: saturate(180%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(.43,.41,.22,.91);;
  &::before {
    display: block;
    padding-top: 56.25%; // 16:9 aspect ratio
  }
  @media(min-width: 40rem) {
    &::before {
      padding-top: 66.6%; // 3:2 aspect ratio
    }
  }
}

.cardp__titlep {
  color: #202e55;
  font-weight: bold;
  font-size: 15px;
  font-weight: 100;
  text-align: justify;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  padding-bottom: 3%;
  font-weight: bold;
}

.cardp__textp {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-align: justify;
}

