/* ============================================
   COMPARISON LIST (LATEST SECTION)
   ============================================ */

.comparison-container {
  margin-bottom: 45px;
}

.latest-comparisons-box {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin-top: 40px;
  animation: fadeInUp 0.6s ease;
}

.latest-box-header {
  background: linear-gradient(135deg, #10777a 0%, #4caf50 100%);
  padding: 20px 30px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.latest-box-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.latest-box-header h3 i {
  font-size: 1.3rem;
}

.latest-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  display: block;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.comparison-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 30px;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.comparison-list-item:last-child {
  border-bottom: none;
}

.comparison-list-item:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding-left: 35px;
}

.list-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #10777a 0%, #4caf50 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(16, 119, 122, 0.3);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.comparison-list-item:hover .list-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(16, 119, 122, 0.4);
}

.list-slug-text {
  flex: 1;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-arrow {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #4caf50 0%, #10777a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.comparison-list-item:hover .list-arrow {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ANIMATION
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .latest-comparisons-box {
    margin-top: 30px;
  }

  .latest-box-header {
    padding: 15px 20px;
  }

  .latest-box-header h3 {
    font-size: 1.3rem;
    gap: 10px;
  }

  .latest-box-header h3 i {
    font-size: 1.1rem;
  }

  .latest-subtitle {
    font-size: 0.85rem;
  }

  .comparison-list-item {
    padding: 15px 20px;
    gap: 15px;
  }

  .comparison-list-item:hover {
    padding-left: 25px;
  }

  .list-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .list-slug-text {
    font-size: 0.95rem;
  }

  .list-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .latest-comparisons-box {
    margin-top: 25px;
    border-radius: 16px;
  }

  .latest-box-header {
    padding: 12px 15px;
  }

  .latest-box-header h3 {
    font-size: 1.1rem;
    gap: 8px;
    margin-bottom: 5px;
  }

  .latest-box-header h3 i {
    font-size: 1rem;
  }

  .latest-subtitle {
    font-size: 0.8rem;
  }

  .comparison-list-item {
    padding: 12px 15px;
    gap: 12px;
  }

  .comparison-list-item:hover {
    padding-left: 18px;
  }

  .list-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .list-slug-text {
    font-size: 0.85rem;
  }

  .list-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
  .latest-comparisons-box {
    margin-top: 20px;
    border-radius: 12px;
  }

  .latest-box-header {
    padding: 10px 12px;
  }

  .latest-box-header h3 {
    font-size: 1rem;
    gap: 6px;
    margin-bottom: 4px;
  }

  .latest-box-header h3 i {
    font-size: 0.9rem;
  }

  .latest-subtitle {
    font-size: 0.75rem;
  }

  .comparison-list-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .comparison-list-item:hover {
    padding-left: 14px;
  }

  .list-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .list-slug-text {
    font-size: 0.75rem;
  }

  .list-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}