.sponsored-content {
  padding: 20px;
  text-align: center;
  margin: 20px auto;
  max-width: 800px;
}

.sponsored-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Add transition for all transforming properties */
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.sponsored-img {
  width: 200px;
  height: auto;
  margin-right: 20px;
  /* Add transition for image */
  transition: transform 0.2s ease;
}

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

.sponsored-text {
  text-align: left;
  flex-grow: 1;
  /* Add transition for text color */
  transition: color 0.2s ease;
}

.sponsored-text h2 {
  color: #6b4423;
  margin: 0 0 10px 0;
  font-size: 24px;
  transition: color 0.2s ease;
}

.sponsored-text p {
  color: #666;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

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

/* Media query for screens smaller than 768px */
@media screen and (max-width: 768px) {
  .sponsored-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    width: 92%; /* Match original responsive width */
  }

  .sponsored-img {
    width: 150px;
    margin: 0 0 15px 0;
  }

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