/* Top List / Most Picked Section */
.top-list-section {
  background-color: #c5e4e7;
  padding: 60px 0;
}

.top-list-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

.top-list-title {
  font-size: 28px;
  color: #2a4a5e;
  margin-bottom: 30px;
  font-weight: 500;
}

/* Bento Grid Layout */
.top-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 20px;
}

/* Card Base */
.top-list-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.top-list-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.top-list-card:hover img {
  transform: scale(1.05);
}

/* First card spans 2 rows */
.top-list-card:first-child {
  grid-row: 1 / 3;
}

/* Ribbon Badge */
.top-list-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #e8685a;
  color: #ffffff;
  padding: 6px 16px;
  border-bottom-left-radius: 15px;
  border-top-right-radius: 15px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
  white-space: nowrap;
}

/* Card Info Overlay */
.top-list-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 18px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  z-index: 2;
}

.top-list-card-name {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 4px;
}

.top-list-card-location {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

/* CTA Button */
.top-list-cta {
  text-align: center;
  margin-top: 40px;
}

.top-list-button {
  display: inline-block;
  background-color: #e8685a;
  color: #ffffff;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.top-list-button:hover {
  background-color: #d45a4d;
}

/* Tablet - 2 columns */
@media (max-width: 1023px) {
  .top-list-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 180px 180px 180px;
  }

  .top-list-card:first-child {
    grid-row: 1 / 3;
  }

  .top-list-card-name {
    font-size: 16px;
  }

  .top-list-ribbon {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* Mobile - single column */
@media (max-width: 768px) {
  .top-list-section {
    padding: 40px 0;
  }

  .top-list-container {
    padding: 0 20px;
  }

  .top-list-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .top-list-card {
    height: 220px;
  }

  .top-list-card:first-child {
    grid-row: auto;
    height: 280px;
  }

  .top-list-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .top-list-cta {
    margin-top: 30px;
  }
}
