.sponsored-content {
  width: 500px;
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
  clear: both;
}

.sponsored-card {
  background: #faf8ef;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  color: #776e65;
  /* Enhanced transitions */
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sponsored-card:hover {
  transform: scale(1.03); /* Slightly more pronounced scale */
  background-color: #fff9e6; /* Warm hover color */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.sponsored-img {
  width: 120px;
  height: auto;
  margin-right: 15px;
  transition: transform 0.2s ease-in-out;
}

.sponsored-card:hover .sponsored-img {
  transform: scale(1.05); /* Subtle image zoom on hover */
}

.sponsored-text {
  flex-grow: 1;
  transition: transform 0.2s ease;
}

.sponsored-text h2 {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #776e65;
  transition: color 0.2s ease;
}

.sponsored-text p {
  font-size: 15px;
  margin: 0;
  color: #776e65;
  transition: color 0.2s ease;
}

.sponsored-card:hover .sponsored-text h2 {
  color: #6b5b4c; /* Slightly darker on hover */
}

/* Media query for screens smaller than 520px */
@media screen and (max-width: 520px) {
  .sponsored-content {
    width: 280px;
    padding: 10px;
  }

  .sponsored-card {
    flex-direction: column;
    text-align: center;
  }

  .sponsored-img {
    width: 100px;
    margin: 0 0 10px 0;
  }

  .sponsored-text {
    text-align: center;
  }
}
