/* Naudingi patarimai page cards */
.dp-advice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 10px 0 34px;
}

.dp-advice-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dfe6d5;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fffdf8 100%);
  box-shadow: 0 10px 24px rgba(35, 77, 53, .08);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dp-advice-card:hover {
  transform: translateY(-2px);
  border-color: #cad9bd;
  box-shadow: 0 14px 30px rgba(35, 77, 53, .12);
}

.dp-advice-card figure {
  margin: 0;
  height: 230px;
  overflow: hidden;
  background: #f4ffd9;
}

.dp-advice-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

.dp-advice-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.dp-advice-copy {
  padding: 18px 20px 20px;
}

.dp-advice-copy small {
  display: block;
  margin-bottom: 7px;
  color: #b76b4b;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.dp-advice-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #23391f;
  font-size: 24px;
  line-height: 1.18;
}

.dp-advice-copy span {
  display: block;
  color: #596356;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .dp-advice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dp-advice-card figure {
    height: 122px;
  }

  .dp-advice-copy {
    padding: 10px 11px 12px;
  }

  .dp-advice-copy small {
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.25;
  }

  .dp-advice-copy strong {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.15;
  }

  .dp-advice-copy span {
    font-size: 12px;
    line-height: 1.38;
  }
}

@media (max-width: 380px) {
  .dp-advice-card figure {
    height: 105px;
  }

  .dp-advice-copy strong {
    font-size: 15.5px;
  }

  .dp-advice-copy span {
    font-size: 11.5px;
  }
}
