/* **********/

.card {
  position: relative;
  width: calc(33% - 15px);
  padding: 20px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  margin-bottom: 30px;
  height: 550px;
  min-width: 350px;
  border-radius: 3px;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  box-shadow: 0 0 30px rgba(102, 102, 102, 0.15);
}

.card-content {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  width: 100%;
  font-size: 14px;
  line-height: 24px;
}

.card-content .card-date {
  width: 100%;
  text-align: right;
  font-size: .8rem;
  margin-top: 6px;
}

.card-content .heading {
  font-weight: 600;
  line-height: 20px;
  margin: 10px 0 25px 0;
  font-size: 1rem;
}

.card-content .card-body {
  width: 100%;
  overflow: hidden;
}

.card-content .card-image {
  width: 100%;
  height: 240px;
  background-position: center center;
  background-size: cover;
  margin-top: 10px;
  transition: all .3s linear;
}

.card-content .card-text {
  line-height: 21px;
}

.card-content .btn-novedad {
  color: var(--orange) !important;
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: none !important;
  border-radius: none !important;
  box-shadow: none !important;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.news-card-arrow {
  width: 16px;
  margin-left: 10px;
}

.card-content::before {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 5px;
  height: 5px;
  background-color: var(--orange);
  background-image: url('../img/layout/particles-white.webp');
  background-position: center center;
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-content:hover::before {
  height: calc(100% + 5px);
  width: calc(100% + 5px);
}

.card-content:hover {
  box-shadow: none;
}

.card-content:hover .btn-novedad {
  color: #fff !important;
}

.card-content:hover .card-image {
  opacity: 1;
}

.card-content:hover {
  color: #fff;
}

.card-content .btn-novedad:hover {
  color: #fff1c9 !important;
  text-shadow: 0 0 3px #ffd900;
}

.card-content .btn-novedad:active {
  box-shadow: none;
}

/* cards-home */
.cards-home-container {
  display: block;
  width: 100%;
}

.cards-home-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.cards-home-top h2 {
  width: calc(50% - 20px);
  font-size: 2rem;
  min-width: 400px;
  flex: 1;
}

.cards-home-top h3 {
  width: calc(50% - 20px);
  min-width: 400px;
  flex: 1;
}

.cards-home-body {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  row-gap: 30px;
}

.card-home {
  color: #fff;
  background-color: #e2e2e4;
  display: inline-block;
  width: calc(33.33% - 30px);
  box-sizing: border-box;
  min-width: 350px;
  height: 400px;
  text-align: center;
  position: relative;
  z-index: 1;
  background-position: top center;
  background-size: 100% auto;
  border-radius: 15px;
  background-repeat: no-repeat;
  overflow: hidden;
}

.card-home-overlay {
  background-color: rgba(1, 75, 150, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  height:180px;
  width: 100%;
  flex-direction: column;
  padding: 0 30px;
}

.card-home-img {
  display: block;
  padding: 20px;
  height: 100px;
  width: 100px;
  background: var(--gradient-orange);
  margin: 20px auto 100px auto;
  border-radius: 100%;
}

.card-home-img img {
  width: 60px;
  height: 60px;
}

.card-home-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.card-home-text {
  font-size: 1rem;
  line-height: 1.5rem;
}

.card-home-1 {
  background-image: url('../img/layout/bg-logistica.webp');
}

.card-home-2 {
  background-image: url('../img/layout/bg-farmaceutica.webp');
}

.card-home-3 {
  background-image: url('../img/layout/bg-industria.webp');
}